Skip to content

Conversation

@xinyinghou
Copy link
Contributor

@xinyinghou xinyinghou commented Feb 6, 2026

  • CodeTailor runs Java tests automatically in book_server_api, but Java test runs fail on the platform with: Error while running Java tests: [Errno 2] No such file or directory: 'javac'.
  • This update uses the JOBE Java compiler.
  • Also fixes formatting issues in existing CodeTailor files.

@xinyinghou xinyinghou requested a review from bnmnetp as a code owner February 6, 2026 20:52
@bnmnetp
Copy link
Member

bnmnetp commented Feb 6, 2026

We do not run javac on the book server. The JOBE server is set up to compile java. The book server cannot be having cpu cycles used for compiling programs.

@xinyinghou
Copy link
Contributor Author

In this case, do you have any suggestions for handling this use case? Ideally, we want to run tests in book_server to verify that the personalized puzzles are correct in both Java and Python before sending them to students.

@xinyinghou
Copy link
Contributor Author

I can submit a version that removes Java testing from the workshop pipeline for now, and I can follow up with Barb later to discuss a longer-term approach.

@bnmnetp
Copy link
Member

bnmnetp commented Feb 6, 2026

Our JOBE server has its own well documented API for submitting code Java with unit tests and getting back the results. That is the right place for the short term and the long term.

@xinyinghou
Copy link
Contributor Author

Thanks, I have switched to JOBE and now using the book_server-associated rsproxy.py. I tested and it works on my server.

@xinyinghou xinyinghou changed the title Fix CodeTailor Java version: include javac to book_server Dockerfile Fix CodeTailor Java version: : use JOBE to compile Java code in book_server Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants