You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(terminal): unify remote reconnect notices across panes - #50138
When a remote server drops, one notice sits over the workspace and the affected terminals dim. You can still read their scrollback.
Files
Added
Deleted
Net
Test
3
$\color{#1a7f37}{\Huge{\mathbf{+}}}$123
0
$\color{#1a7f37}{\Huge{\mathbf{+}}}$123
Prod
33
$\color{#1a7f37}{\Huge{\mathbf{+}}}$1224
$\color{#cf222e}{\Huge{\mathbf{−}}}$146
$\color{#1a7f37}{\Huge{\mathbf{+}}}$1078
What Changed
Stack one compact card per affected server with a shared outage clock. Details offers a copyable Tailscale check and a retry. When automatic pane retries end, show Reconnect on the card.
Mark affected tabs and veil only panes on the down server. A click points to the card. Wheel scrolling through normal scrollback works while pointer input to the terminal is held. The veil refuses native file drops.
Checked against how comparable products handle this.
Visual Proof
Two tab groups and three affected panes in light and dark fixtures.
Testing
Chromium fixture with the actual pane manager, terminal recovery portals, tab strip, and xterm. Verified mixed splits, wheel scrollback without PTY input, focus, both reconnect actions, the copy command, and cleanup when service returns in light and dark.
Verified both narrow states, stacked cards, the Details popover, and reduced motion. Focused tests cover the outage clock, retry classification, and drop eligibility after the veil appears.
Chromium verified that background tabs keep their outage dots and expose the localized status in their accessible names. Both clear on recovery.
Verified that the open agent update toast matches main pixel for pixel and the reconnect Details button keeps its open-state highlight.
Chromium verified the no-drop effect over a veiled pane. Native OS drag/drop, native Linux middle-click suppression, and a live Electron/SSH reconnect were not exercised.
Renderer typecheck, formatting, and lint passed locally. CI covers the broader checks and ratchets while the shared local preflight is queued.
Performance
Recovery labels share the existing visibility-aware clock. Pane veils add compositor work only during an outage. The normal terminal output route and IPC polling cadence stay the same.
Risk
Low. The renderer uses existing recovery and retry paths. A revert restores the prior recovery UI. Scrollback wheel forwarding is limited to normal-buffer panes without mouse reporting. Drops accepted before the veil appears can still follow the existing input hold once a write is in flight.
The change adds shared remote-server outage and retry state across terminal surfaces. Eligible panes can show an outage veil, tabs can display a down-server marker, and workspace-level outage cards show recovery status and controls. Veiled panes reject file drops, and permitted wheel events can reach terminal scrollback. The cards support immediate reconnect actions and connection guidance. Fixtures, tests, styles, and translations are also added.
Merge Risk: Low · up to 75750
The agent update toast's Hide list button will not be highlighted while its list is open, which falls short of the stated goal. This is a small cosmetic gap that is easy to fix and does not endanger terminal reconnect behavior.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "fix(terminal): unify remote reconnect notices across panes" matches the main change. The PR replaces the per-pane outage notice with one stacked reconnect card per server, veils only panes …
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description check
The description follows the template and covers the main sections. The ELI5, What Changed, Visual Proof, Testing, Performance, and Risk sections are filled in with specific content, including the mech…
Full details: Title check
Explanation
The title "fix(terminal): unify remote reconnect notices across panes" matches the main change. The PR replaces the per-pane outage notice with one stacked reconnect card per server, veils only panes on the down server, and marks affected tabs. The title is specific and concise. It omits the veil and tab-marking parts, which is acceptable.
Full details: Description check
Explanation
The description follows the template and covers the main sections. The ELI5, What Changed, Visual Proof, Testing, Performance, and Risk sections are filled in with specific content, including the mechanism, verification done, and a Risk level in plain prose. Two items are weak. The Linked Issue section is missing: it still reads 'Fixes #' with no issue number, and the template says there should always be one for outside contributors. The Why section is missing entirely. The AI Disclosure, Review, and Agent skill upstream boundary sections are also absent or unchecked, and the Checklist is not ticked. The Testing checkboxes are unchecked. The Risk level is written as 'Low' in prose, not as the template's labeled Level field. The description is mostly complete, so this passes, but the remediation below is needed before merge.
Resolution
Before merge, add the following. (1) Replace 'Fixes #' with a real linked issue number. (2) Add a 'Why' section that explains the problem and why this approach was chosen over alternatives. (3) Tick the Testing checkboxes that apply, or state why they do not. (4) Add the Level label in the Risk section, for example 'Level: Low'. (5) Complete or mark the Review and Agent skill upstream boundary sections. (6) Fill in the AI Disclosure section if AI tools were used, and tick the Checklist items that apply.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.
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
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.
ELI5
When a remote server drops, one notice sits over the workspace and the affected terminals dim. You can still read their scrollback.
What Changed
Visual Proof
Two tab groups and three affected panes in light and dark fixtures.
Testing
Chromium fixture with the actual pane manager, terminal recovery portals, tab strip, and xterm. Verified mixed splits, wheel scrollback without PTY input, focus, both reconnect actions, the copy command, and cleanup when service returns in light and dark.
Verified both narrow states, stacked cards, the Details popover, and reduced motion. Focused tests cover the outage clock, retry classification, and drop eligibility after the veil appears.
Chromium verified that background tabs keep their outage dots and expose the localized status in their accessible names. Both clear on recovery.
Verified that the open agent update toast matches main pixel for pixel and the reconnect Details button keeps its open-state highlight.
Chromium verified the no-drop effect over a veiled pane. Native OS drag/drop, native Linux middle-click suppression, and a live Electron/SSH reconnect were not exercised.
Renderer typecheck, formatting, and lint passed locally. CI covers the broader checks and ratchets while the shared local preflight is queued.
Performance
Recovery labels share the existing visibility-aware clock. Pane veils add compositor work only during an outage. The normal terminal output route and IPC polling cadence stay the same.
Risk
Low. The renderer uses existing recovery and retry paths. A revert restores the prior recovery UI. Scrollback wheel forwarding is limited to normal-buffer panes without mouse reporting. Drops accepted before the veil appears can still follow the existing input hold once a write is in flight.