Repository navigation
test(eval): give srt a short runtime directory - #442
Open
gmemuriuki wants to merge 1 commit into
Open
gmemuriuki wants to merge 1 commit into
gmemuriuki wants to merge 1 commit into
Conversation
This was referenced Nov 9, 2026
gmemuriuki
force-pushed
the
fix/agent-eval-srt-runtime-dir
branch
from
November 10, 2026 09:00
79618ed to
fe488e7
Compare
fnzko
approved these changes
Nov 10, 2026
gmemuriuki
force-pushed
the
fix/agent-eval-srt-runtime-dir
branch
from
November 16, 2026 11:31
fe488e7 to
126a625
Compare
gmemuriuki
force-pushed
the
fix/agent-eval-srt-runtime-dir
branch
from
November 16, 2026 12:15
126a625 to
db85f75
Compare
jackh726
force-pushed
the
fix/agent-eval-srt-runtime-dir
branch
2 times, most recently
from
November 16, 2026 14:55
46b1101 to
4f9c0e5
Compare
gmemuriuki
force-pushed
the
fix/agent-eval-srt-runtime-dir
branch
from
November 16, 2026 16:59
4f9c0e5 to
4f47d2e
Compare
Bind each sandbox's own tmp/ at /tmp/symposium-srt in the outer bwrap and make that srt's TMPDIR, so its proxy sockets fit Linux's 107-byte limit however deep the evaluation root. Each namespace maps the alias to its own sandbox, so concurrent sandboxes never share it. Run the command through env with its sandbox's tmp/ as TMPDIR, over the /tmp/claude srt would set, and drop the evaluation root length check.
jackh726
force-pushed
the
fix/agent-eval-srt-runtime-dir
branch
from
November 16, 2026 17:24
4f47d2e to
a1c94d7
Compare
This branch has not been deployed
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.
What does this PR do?
SRT creates its proxy sockets below TMPDIR. When TMPDIR is inside a deeply nested trial directory, the socket path can exceed Unix's limit and every grading command fails before it starts.
This gives each sandbox a short, private runtime directory under /tmp and removes it when the command finishes. The evaluation directory can therefore live at an ordinary user-selected path without affecting SRT's socket paths.
The current runner is sequential. The implementation documents that assumption because concurrent sandboxes will need stronger separation between their runtime directories.
Stack: #436 → #437 → #438 → #439 → #441 → #442 → #443
Disclosure questions
AI disclosure.
Questions for reviewers.
Does the runtime-directory lifecycle make the present sequential assumption clear enough?