Repository navigation
fix(web): a reconnecting environment can be retried at once - #667
Merged
Merged
Conversation
The chat banner hid Reconnect while an environment was reconnecting, and the retry wait grows to five minutes, so web and desktop had nothing to press until the timer ran out. Keep the button for every phase but a first connect, and add Reconnect now to the environment's menu in Settings › Connections. Both call upstream's retryNow, as mobile's Retry now does. Recorded as register D37 and a FORK.md temporary patch. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
This review includes 4 billable files and costs up to $1.00.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 10 minutes for your next included review. View limit details
Comment |
Jacksondr5
added a commit
that referenced
this pull request
Oct 19, 2026
Jacksondr5
added a commit
that referenced
this pull request
Oct 19, 2026
Jacksondr5
added a commit
that referenced
this pull request
Oct 19, 2026
This was referenced Oct 19, 2026
Jacksondr5
added a commit
that referenced
this pull request
Nov 23, 2026
Jacksondr5
added a commit
that referenced
this pull request
Nov 23, 2026
Jacksondr5
added a commit
that referenced
this pull request
Nov 23, 2026
This branch was successfully deployed
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.
Problem
When an environment fails to connect, the client waits longer and longer between attempts, up to five minutes. On web and desktop, the chat view's banner hid its Reconnect button while the environment was "reconnecting", and Settings › Connections had no retry at all. So a server that came back could sit unused for minutes with nothing to press. The mobile app already offers "Retry now" in that state.
What changed
connecting). Before, it showed only forofflineanderror.Both call upstream's existing
environmentCatalog.retryNow, which mobile's button already uses. During an attempt it starts that attempt over; between attempts it skips the rest of the wait. No new state or machinery.UI changes
Before: the banner says Remote is reconnecting and the person can only wait for the next automatic attempt.
before-banner-waits-for-retry.mp4
After: Reconnect connects at once and the banner clears.
after-banner-reconnect.mp4
Before: Remote's menu in Settings › Connections has no retry while it is reconnecting.
before-settings-no-reconnect-action.mp4
After: Reconnect now connects, then leaves the menu.
after-settings-reconnect-now.mp4
Live testing
Pass. Tested commit
dffde69ecc, which is the head, against basea2ab050af2(origin/j5/main). Tested by a GPT-6 Astra peer agent in its own worktree, through the Browser panel. Report:artifacts/test-reports/j5code-live-test-667/dffde69ecc.md.--baseand--peercan't be combined, so the tester ran a separate--peersetup whose Remote both the base and head tabs paired with. Before and after show the same data. Stopping and starting that Remote made the outages.My testing decisions:
--freshrun: there is no stored state, migration or startup change.Not exercised live: the Electron shell and packaged desktop build (it renders this same web UI), relay and tunnel connections, a second machine, and mobile (unchanged). Pressing Reconnect during an attempt that is already in flight, and waiting for the full five-minute cap, were not exercised separately: both use upstream's unchanged
retryNow. Nothing needs testing by hand.Upstream impact
Two upstream-owned files, recorded as a temporary patch in
FORK.md("A reconnecting environment can be retried at once on web and desktop"), to be dropped when upstream ships an equivalent:apps/web/src/components/ChatView.tsx: one condition.apps/web/src/components/settings/ConnectionsSettings.tsx: one menu item.This changes what upstream's product does (it shows a control upstream hides), so it is register entry D37 in
docs/j5/product/upstream.md. Jackson approved it on 2026-10-19 in conversation, on the plan to build it in J5 first and then evaluate it as a giveback. Upstreammainstill has the same gap as of 2026-10-19.Checklist
FORK.mdin this PR (temporary patches section; there is no case number)docs/j5/product/upstream.mdClaude Opus 5.5 in Claude Code (J5 Code).
🤖 Generated with Claude Code