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
This undoes the change that replaced each terminal's own "reconnecting" notice with one shared card per disconnected server. Remote terminals go back to the reconnect notices they had in v1.4.279.
Files
Added
Deleted
Net
Test
4
$\color{#1a7f37}{\Huge{\mathbf{+}}}$80
$\color{#cf222e}{\Huge{\mathbf{−}}}$115
$\color{#cf222e}{\Huge{\mathbf{−}}}$35
Prod
33
$\color{#1a7f37}{\Huge{\mathbf{+}}}$146
$\color{#cf222e}{\Huge{\mathbf{−}}}$1224
$\color{#cf222e}{\Huge{\mathbf{−}}}$1078
What Changed
The first commit is a plain git revert of de6977f from #50138. The two commits after it only add tests.
Removes the window-level server outage cards (RemoteServerOutageCard(s)), the pane veil (RemoteServerPaneVeil), the warning dot and "Server disconnected" label on tabs, the nudge animation, the ghost-muted-disclosure button variant, and the five i18n keys that fix(terminal): unify remote reconnect notices across panes #50138 added to all 11 catalogs.
Restores RemoteServerOutageNotice: one shared notice per down server, with per-pane Reconnect banners once retries stop. It also restores the earlier () => boolean control-ready reviver shape.
Removes the wheel forwarding through the veil. Native file drops into a disconnected pane go back to their pre-veil behavior: they are no longer refused while the pane is down.
Restores the recovery card's own 1 s useNow interval in RemoteRuntimeRecoveryCard.tsx, which runs only while a card shows a down-since time (useNow(downSince !== null)). The matching +1 entry for that file returns to config/recurring-timer-baseline.txt.
Parity with v1.4.279: of the 36 files, 23 aren't shared. Fourteen of those are back to their exact v1.4.279 contents. That includes RemoteServerOutageNotice.tsx, which fix(terminal): unify remote reconnect notices across panes #50138 had deleted, along with SortableTab.tsx, TerminalSurface.tsx, TerminalPaneRecoveryPortals.tsx, RemoteRuntimeRecoveryCard.tsx, remote-server-notice-claims.ts, the revivers, the file-drop modules and the timer baseline. The other 9 are the files fix(terminal): unify remote reconnect notices across panes #50138 added, which are removed again.
#50138 made per-pane outage and recovery updates wake up unrelated surfaces through one shared listener list. Every mounted terminal tab and every server card subscribed to it, and each pane's retry-state change published to it as well. The change hasn't shipped, so reverting it returns to the released behavior.
N/A: no new UI. This restores the v1.4.279 per-pane notice.
Testing
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Every added test fails without this change and avoids the test anti-patterns
The three test files #50138 added (terminal-drop-target.test.ts, remote-server-notice-claims.test.ts and remote-server-pane-retries.test.ts) are removed along with the code they covered. Two tests-only commits follow the revert:
remote-server-notice-claims.test.ts (new): one speaker per down server, hidden surfaces stay quiet, the handoff keeps the outage clock, the outage releases after the hold, and server Y's own claim values are unaffected by server X.
remote-server-outage-subscribers.test.ts (new): the removed remote-server-outage-signals and remote-server-pane-retries modules stay absent. SortableTab.tsx, TerminalSurface.tsx, TerminalPaneRecoveryPortals.tsx and remote-server-notice-claims.ts reference none of useTabHasDownServer, useRemoteServerOutageNudge, useReportRemoteServerPaneRetries, RemoteServerOutageCards or RemoteServerPaneVeil. The same predicate fails on main and passes on this head.
Also checked:
The revert commit is the exact inverse of de6977f (matching git patch-id), and the test commits change no production file.
CI passed on the revert-only head and is running again on this head.
Performance
This removes wake-ups that #50138 added; source-derived, not measured:
remote-server-outage-signals.ts had one module-wide listener Set. Every mounted SortableTab (useTabHasDownServer) and every server card (useRemoteServerOutageNudge) subscribed, so each pane's down-tab mount or unmount, and each nudge, ran a snapshot for every tab and card.
useReportRemoteServerPaneRetries added per-pane latched/retrying joins, so each pane's retry-state change also notified every claim subscriber, including the four snapshots on each card.
Restored cost: each recovery card that shows a down-since time runs its own 1 s interval again, as in v1.4.279, recorded by the +1 timer-baseline entry. It stops when the card hides or recovery completes.
Risk
Level: Medium. The diff is large (+146/−1347) but mechanical.
Users lose the single per-server card, its Details, Tailscale hint, Reconnect now and Copy command controls, and the veil that refused file drops into a disconnected pane. They get back the v1.4.279 per-pane notices. Recovery after a reconnect still goes through the control-ready revivers, which are unchanged from v1.4.279.
To back out, revert this revert.
AI Disclosure
Review
Agent skill upstream boundary
Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
I stated the risk: what could break, for whom, and how to back it out
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)
No actionable comments were generated in the recent review.
Walkthrough
The change replaces terminal-wide remote-server outage cards and per-pane veils with a claimed outage notice rendered by terminal recovery portals. It removes outage-card retry and nudge signals, changes recovery registration to a single callback, and removes tab outage indicators. File-drop validation no longer rejects veiled panes. Related translations are removed, and the recovery card is added to the recurring-timer baseline.
Merge Risk: Minimal · up to 568bf
This reverts an unreleased outage-card redesign and restores the previous per-pane reconnect notices. Users lose the shared card's controls and the veil during outages, but this is the intended revert. No concrete regression was found, so it is ready to merge once CI passes.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title states that the PR reverts #50138, which is the change the PR body and objectives describe. It names the reverted commit's subject line, so a teammate scanning history can identify the prima…
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 covers every template section that matters for a revert. It has a clear ELI5, a detailed What Changed list, a Why, a Linked Issue (reverts #50138), a Visual Proof marked N/A with reaso…
Full details: Title check
Explanation
The title states that the PR reverts #50138, which is the change the PR body and objectives describe. It names the reverted commit's subject line, so a teammate scanning history can identify the primary change. The title does not list the restored per-pane notices, but that detail is not required for a revert title.
Full details: Description check
Explanation
The description covers every template section that matters for a revert. It has a clear ELI5, a detailed What Changed list, a Why, a Linked Issue (reverts #50138), a Visual Proof marked N/A with reason, Testing notes, a Performance section with an explicit reason, a Risk section with a level and back-out path, and a completed checklist. Gaps: the template's 'Fixes #' line is replaced by 'Reverts #50138', which is an acceptable substitute because the change is a revert. The AI Disclosure and Review sections are empty, and the 'manually tested' box is unchecked. The description also states that CI for the revert-only head passed while lint, typecheck, and tests remain pending on this head. Those are minor gaps and do not make the description largely incomplete.
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; 5 remain after this review.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 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
This undoes the change that replaced each terminal's own "reconnecting" notice with one shared card per disconnected server. Remote terminals go back to the reconnect notices they had in v1.4.279.
What Changed
The first commit is a plain
git revertof de6977f from #50138. The two commits after it only add tests.RemoteServerOutageCard(s)), the pane veil (RemoteServerPaneVeil), the warning dot and "Server disconnected" label on tabs, the nudge animation, theghost-muted-disclosurebutton variant, and the five i18n keys that fix(terminal): unify remote reconnect notices across panes #50138 added to all 11 catalogs.RemoteServerOutageNotice: one shared notice per down server, with per-pane Reconnect banners once retries stop. It also restores the earlier() => booleancontrol-ready reviver shape.useNowinterval inRemoteRuntimeRecoveryCard.tsx, which runs only while a card shows a down-since time (useNow(downSince !== null)). The matching+1entry for that file returns toconfig/recurring-timer-baseline.txt.RemoteServerOutageNotice.tsx, which fix(terminal): unify remote reconnect notices across panes #50138 had deleted, along withSortableTab.tsx,TerminalSurface.tsx,TerminalPaneRecoveryPortals.tsx,RemoteRuntimeRecoveryCard.tsx,remote-server-notice-claims.ts, the revivers, the file-drop modules and the timer baseline. The other 9 are the files fix(terminal): unify remote reconnect notices across panes #50138 added, which are removed again.main.css,button.tsxand the 11 locale catalogs) lose only the fix(terminal): unify remote reconnect notices across panes #50138 hunks. No unrelated contents are reverted: later edits to them onmainstay.Why
#50138 made per-pane outage and recovery updates wake up unrelated surfaces through one shared listener list. Every mounted terminal tab and every server card subscribed to it, and each pane's retry-state change published to it as well. The change hasn't shipped, so reverting it returns to the released behavior.
Linked Issue
Reverts #50138.
Visual Proof
N/A: no new UI. This restores the v1.4.279 per-pane notice.
Testing
The three test files #50138 added (
terminal-drop-target.test.ts,remote-server-notice-claims.test.tsandremote-server-pane-retries.test.ts) are removed along with the code they covered. Two tests-only commits follow the revert:remote-server-notice-claims.test.ts(new): one speaker per down server, hidden surfaces stay quiet, the handoff keeps the outage clock, the outage releases after the hold, and server Y's own claim values are unaffected by server X.remote-server-outage-subscribers.test.ts(new): the removedremote-server-outage-signalsandremote-server-pane-retriesmodules stay absent.SortableTab.tsx,TerminalSurface.tsx,TerminalPaneRecoveryPortals.tsxandremote-server-notice-claims.tsreference none ofuseTabHasDownServer,useRemoteServerOutageNudge,useReportRemoteServerPaneRetries,RemoteServerOutageCardsorRemoteServerPaneVeil. The same predicate fails onmainand passes on this head.Also checked:
git patch-id), and the test commits change no production file.main.CI passed on the revert-only head and is running again on this head.
Performance
This removes wake-ups that #50138 added; source-derived, not measured:
remote-server-outage-signals.tshad one module-wide listenerSet. Every mountedSortableTab(useTabHasDownServer) and every server card (useRemoteServerOutageNudge) subscribed, so each pane's down-tab mount or unmount, and each nudge, ran a snapshot for every tab and card.useReportRemoteServerPaneRetriesadded per-panelatched/retryingjoins, so each pane's retry-state change also notified every claim subscriber, including the four snapshots on each card.+1timer-baseline entry. It stops when the card hides or recovery completes.Risk
Level: Medium. The diff is large (+146/−1347) but mechanical.
Users lose the single per-server card, its Details, Tailscale hint, Reconnect now and Copy command controls, and the veil that refused file drops into a disconnected pane. They get back the v1.4.279 per-pane notices. Recovery after a reconnect still goes through the control-ready revivers, which are unchanged from v1.4.279.
To back out, revert this revert.
AI Disclosure
Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)