feat: Add Python 3 sandboxed execution endpoint (auto-committed) - #2
Open
sumansahoo1 wants to merge 2 commits into
Open
feat: Add Python 3 sandboxed execution endpoint (auto-committed)#2sumansahoo1 wants to merge 2 commits into
sumansahoo1 wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Built the Python 3 sandboxed execution endpoint via Write —
server/src/services/sandboxRunner.js(shared security envelope: no network, 0.5 CPU, 512MB, read-only, dropped caps — inherited not re-declared),server/src/controllers/runPythonController.js(writes Solution.py + per-input input.txt, runstimeout --signal=KILL 10s python3 Solution.pyvia the runner, language='python', DI seam for testing),server/src/docker/python/Dockerfile(python:3-slim, non-root runner, WORKDIR /app), `Known issues
Broken doom-loop PreToolUse hook (permission-denied opening
/app/scripts/lib/doom_loop_hook.py) blocked EVERY Bash+Edit call this iter — could NOTgit commit(attempted, blocked), run the red-firstnode --testproof, oryarn lint; changes sit uncommitted in the working tree for the wrapper. AC5 e2e is the honest Docker-required manual QA step, pending a Docker daemon. (Kaizen candidate: fix the hook script's read permissions so dev iters can commit and run red-first proofs.)