Retain shared machines while new workspaces prepare - #3569
Merged
ymichael merged 1 commit intoSep 12, 2026
Merged
Conversation
ymichael
force-pushed
the
bb/fixer-retain-shared-machines-while-new-workspace-thr_5gp3967adn
branch
from
September 12, 2026 04:25
9010298 to
3868096
Compare
ymichael
deleted the
bb/fixer-retain-shared-machines-while-new-workspace-thr_5gp3967adn
branch
September 12, 2026 04:45
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.
Human comments
What was wrong
Automatic shared-machine cleanup counted live thread executions but missed pending and starting threads whose workspace was still being prepared or whose scheduled start had not dispatched. Archiving the previous last owner could therefore remove an ephemeral machine underneath new work already assigned to it. The gap came from b3c5434 (#3274).
What changed
No UI, host-daemon wire contract, CLI, public SDK, generated file, or lockfile changes.
How you verified
pnpm exec turbo run test build typecheck --filter=@bb/server --filter=@bb/db --forcepassed all 13 Turbo tasks: 2,606 server tests and the full database suite passed, with one intentional server skip.git diff --check origin/main...HEADpassed, and Git reports a conflict-free merge with currentmain.