Skip to content

fix(core): wait for initial catalog readiness#35267

Open
kitlangton wants to merge 1 commit into
v2from
catalog-readiness
Open

fix(core): wait for initial catalog readiness#35267
kitlangton wants to merge 1 commit into
v2from
catalog-readiness

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

Summary

  • track initial catalog discovery and provider-source refreshes without blocking Location or TUI startup
  • make session model selection wait race-safely for discovery/model availability while keeping catalog snapshots nonblocking
  • distinguish incomplete catalog initialization from a genuinely unavailable model
  • move models.dev, OpenCode, and OpenAI initial refreshes into scoped tracked background work

Testing

  • bun test --only-failures --timeout 15000 test/catalog.test.ts test/location-layer.test.ts test/state.test.ts (35 passed)
  • bun run typecheck from packages/core
  • pre-push workspace typecheck (31 tasks passed)
  • git diff --check

Note

A full bun run test from packages/core did not complete within a five-minute local timeout and emitted no assertion failure before termination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant