A resumed run whose slot is held moves to a free one (#336) #337

Merged
cmoriarty merged 1 commit from claude/resume-moves-slot into main 2026-10-30 10:53:02 -04:00
Owner

Closes nothing yet: #336 closes once run 158 resumes on production.

  • reattach: when a resumed run's recorded slot is held by another run's server, its server starts in the lowest free slot instead of waiting.
  • osf.run.server_started carries workspace_slot, and the reducer records it, so the preview port and compose project follow.
  • Change resume-takes-a-free-slot (run-resume delta), test tests/engine/test_resume_slot.py (fails without the fix).

./tools/test.sh passes.

🤖 Generated with Claude Code

Closes nothing yet: #336 closes once run 158 resumes on production. - `reattach`: when a resumed run's recorded slot is held by another run's server, its server starts in the lowest free slot instead of waiting. - `osf.run.server_started` carries `workspace_slot`, and the reducer records it, so the preview port and compose project follow. - Change `resume-takes-a-free-slot` (run-resume delta), test `tests/engine/test_resume_slot.py` (fails without the fix). `./tools/test.sh` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(runtime): a resumed run whose slot is held moves to a free one (#336)
All checks were successful
test / suite (pull_request) Successful in 34s
d509bd337a
Run 158 was resumed while the Stocks run held its recorded slot 0, and its
server waited for the slot with apply held as engine_down. reattach now gives
it the lowest free slot, and osf.run.server_started records the slot so the
run's preview port and compose project follow it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/braid!337
No description provided.