Repository navigation
Wait for provider registration before project reads - #3211
Closed
bb-slop-cop[bot] wants to merge 1 commit into
Closed
bb-slop-cop[bot] wants to merge 1 commit into
bb-slop-cop[bot] wants to merge 1 commit into
Conversation
3 tasks done
Collaborator
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
Thread-inclusive project reads resolved create-thread defaults while provider plugin registration could still be pending. Projects without stored execution defaults therefore consulted an empty registry and returned HTTP 409 during startup. The reproduced root cause and two-checkout evidence are in the investigation report.
What changed
The sidebar bootstrap route now waits for provider registrations to settle before building project defaults. The project-list route does the same when threads are included; lean project listings remain independent of provider readiness. No wire, CLI, configuration, migration, or protocol behavior changed. The diff contains 62 changed text lines across 2 files.
How you verified
[409, 409]before settlement and failed; after the fix, both requests remained pending and completed with[200, 200].pnpm exec turbo run test --filter=@bb/server -- --run test/public/public-threads.defaults.test.ts— 14 passed.pnpm exec turbo run typecheck build --filter=@bb/server— passed.@bb/serversuite — 2,251 passed; one unrelated macOS filesystem assertion expectedEISDIRbut receivedENOTSUP, reproduced unchanged in a clean base checkout.git diff --check— passed; no binary changes.Fixes #3207