fix: show the browser as offline when its worker is unreachable - #64
Merged
davidmckayv merged 2 commits intoSep 26, 2026
Merged
Conversation
Contributor
|
Needs two things before merge. CONTRIBUTING requires a screenshot for UI changes, so add one showing the offline state. The test covers |
asasemahmed
force-pushed
the
fix/browser-worker-status
branch
from
September 25, 2026 20:32
3c14d53 to
824cb06
Compare
davidmckayv
approved these changes
Sep 26, 2026
davidmckayv
left a comment
Contributor
There was a problem hiding this comment.
Both requested additions are present: a workspace-route regression for unavailable workers and screenshots showing the offline state. All seven CI checks pass on the reviewed head.
markhiltonapps
pushed a commit
to markhiltonapps/openmuse
that referenced
this pull request
Sep 27, 2026
Brings in five fixes from CopilotKit/OpenMuse main: - keep browser evidence identity separate from session identity (CopilotKit#29) - suggest the openai/ prefix for gateway model IDs (CopilotKit#55) - alert on every failure streak of a watch, not just the first (CopilotKit#60) - show the browser as offline when its worker is unreachable (CopilotKit#64) - keep completed reviewed actions terminal on replay (CopilotKit#37) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MfTjvNDS5CdhPPisYxjwAv
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.
What changed
The header showed "Computer · ready" whenever a browser worker was configured, even if the worker was down. Now the workspace checks the worker's
/health(2-second timeout, cached for 15 seconds). If it doesn't answer, the browser shows as offline, and "take control" only shows when the worker is reachable.Screenshots
Worker configured but not running:
Worker running:
Verification
reachable()test: the browser counts as reachable only while the worker answers, and a recent answer is reused briefly.GET /api/workspacereports the browser connection asunavailablewhen the worker's/healthfails, andconnectedwhen it answers. It fails without theapp.tschange.pnpm typecheckpasses,biome cipasses on the changed files, andpnpm test: 200 passed, 0 failed, 1 skipped (POSIX-only).