Phase 4c: add Java local runner - #47
Conversation
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches✨ Simplify code
Comment |
Summary
Adds
javatoIMPLEMENTED_LANGUAGESand executes Java submissions through Java source-file mode:The fixed
Solution.javasource name supports standard LeetCode-stylepublic class Solutionsnippets while keeping the same isolated tempHOME, timeout, clean-env, sandbox wrapping, and stdout/stderr capture path used by the Python/Go runners.Updates runner tool copy and runtime-gated unit/e2e coverage so Java executes when a JDK/JRE is present and cleanly reports
LANGUAGE_RUNTIME_NOT_FOUNDotherwise. Verified locally withnpm run build,npm run test:types,npx prettier --check ., focused runner/integration/e2e tests,npm test,npm run test:e2e, andnpm run test:all.Link to Devin session: https://app.devin.ai/sessions/3e6f3e63f6e54852b9bf6da1c792774f
Requested by: @SPerekrestova