fix(runs): check cancellation through repositories#1205
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
federicodeponte
force-pushed
the
fix/1161-repo-cancel-check
branch
2 times, most recently
from
June 15, 2026 13:40
24f8528 to
4b2bcd4
Compare
federicodeponte
force-pushed
the
fix/1161-repo-cancel-check
branch
from
June 15, 2026 13:51
4b2bcd4 to
4114eb3
Compare
itachi-hue
pushed a commit
that referenced
this pull request
Jun 19, 2026
itachi-hue
pushed a commit
that referenced
this pull request
Jun 19, 2026
itachi-hue
pushed a commit
that referenced
this pull request
Jun 19, 2026
itachi-hue
pushed a commit
that referenced
this pull request
Jun 20, 2026
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
Fixes #1161.
Verification
python3 -m ruff check apps/api/runner_sandbox/cancellation.py apps/api/runner_sandbox/agent_driver.py apps/api/runner_sandbox/e2b_driver.py apps/api/tests/test_e2b_cancel_on_user_request.py tests/test_e2b_artifact_collection.pypython3 -m compileall -q apps/api/runner_sandbox/cancellation.py apps/api/runner_sandbox/agent_driver.py apps/api/runner_sandbox/e2b_driver.pypython3 -m pytest apps/api/tests/test_e2b_cancel_on_user_request.py tests/test_e2b_artifact_collection.py::test_e2b_cancelled_sandbox_exception_reads_active_repository tests/test_e2b_artifact_collection.py::test_e2b_driver_maps_oom_command_exception_to_sandbox_oom -q-> 7 passedNote
python3 -m pytest tests/test_e2b_artifact_collection.py -qcurrently has 2 unrelated failures on origin/main-era install-timeout expectations:test_long_worker_timeout_extends_install_and_sandbox_lifetimeandtest_sandbox_lifetime_caps_at_e2b_one_hour_limitexpect 900 but current code returns 1200/3600.