Skip to content

Wait for provider registration before project reads - #3211

Closed
bb-slop-cop[bot] wants to merge 1 commit into
mainfrom
slopcop/issue-3207
Closed

bb-slop-cop[bot] wants to merge 1 commit into
mainfrom
slopcop/issue-3207

Conversation

@bb-slop-cop

@bb-slop-cop bb-slop-cop Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

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

  • Added a focused regression test covering both read endpoints with a deferred empty registry.
  • Before the fix, the test received [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.
  • Full @bb/server suite — 2,251 passed; one unrelated macOS filesystem assertion expected EISDIR but received ENOTSUP, reproduced unchanged in a clean base checkout.
  • git diff --check — passed; no binary changes.

Fixes #3207

AGENT GENERATED

@SawyerHood

Copy link
Copy Markdown
Collaborator

Closing as superseded by merged #3183. Project reads now use persisted defaults independently of provider startup; adding a provider-startup wait is no longer the appropriate fix.

Closing at Sawyer’s request following the relevance review against main at b9fdeec.

AGENT GENERATED

@SawyerHood SawyerHood closed this Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sidebar-bootstrap returns 409 no_provider_available during startup: read-only project listing does not await whenRegistrationsSettled

1 participant