Skip to content

fix(browser): forward preferred profile through health checks#2183

Open
Missing-Identity wants to merge 1 commit into
jackwener:mainfrom
Missing-Identity:fix/preferred-context-health-routing
Open

fix(browser): forward preferred profile through health checks#2183
Missing-Identity wants to merge 1 commit into
jackwener:mainfrom
Missing-Identity:fix/preferred-context-health-routing

Conversation

@Missing-Identity

Copy link
Copy Markdown

Summary

Fixes #2164 by forwarding a persisted preferredContextId through the browser daemon health and readiness routes.

  • Keep explicit contextId routing strict.
  • Thread the soft preference through bridge startup, lifecycle readiness, transport URL serialization, /status, and doctor.
  • Cover preference forwarding in focused unit tests and the real-daemon transport E2E.

Validation

  • Focused unit tests: 60 passed
  • TypeScript typecheck
  • Real-daemon transport E2E: 7 passed
  • git diff --check

The full suite was also run; 41 tests failed only because this hosted sandbox has no writable /root home for OpenCLI's home-directory fixtures. The production build's tsx wrapper could not open its local IPC socket in this sandbox, while its TypeScript compile and direct manifest generation completed successfully.

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.

bug(browser): forward preferredContextId through health and readiness routing

1 participant