Repository navigation
Treat a machine that's away as normal, and keep errors for machines that need you (851-4469) - #1516
Merged
Merged
Conversation
…hat need you (851-4469) A machine that's asleep or briefly unreachable no longer shows errors or banners. Each machine now reads as ready, quiet (connecting, away, or this device offline), busy (starting, updating, restarting), needs-you (update needed, removed) or failed (this Mac's own server), and the UI follows that: - Chats on an away machine open from the cache with no "Reconnecting…" text; sends keep their progress bar and go out when the machine is back, with no 10-minute cap. Sends to a machine that needs you fail with its reason. - First connect and capabilities wait for the machine and retry on their own instead of raising "Waiting for the server…" or a Retry rail, and a connect failure no longer sets both an error row and a composer error. - A chat never opened on this device, and terminal, files, browser and other live tabs, show a plain spinner while the machine is away (after 5s, so blips change nothing). iOS drops the full-screen "Can't Reach" screen. - When this device can't reach the cloud for 5s, the Mac sidebar footer and the iOS home toolbar show one "Offline" hint. - A machine that needs you shows one card with "Open Settings" in its workspaces. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…469)
Scrolling up in a partly cached chat while its machine was away or this
device was offline turned the failed page into the chat's error row ("Studio
is offline", Retry), left no spinner at the top, and never retried. An older
page that loses its connection now keeps loading, so the top spinner stays,
waits for the machine and loads by itself once it's back. Other failures
still show their error.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…4469) A send to a machine that's away, or from a device that's offline, now waits 30 seconds and is then marked Not Delivered with Try Again, using the existing row. Try Again sends it again with another 30 seconds. Shorter blips still just show the progress bar and go through. This applies both while the send waits for its machine and after it loses its connection mid-send, and a give-up is not reported as an error. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Linear: 851-4469
Normal disconnects no longer look like errors. Each machine now reads as ready, quiet (connecting, away, or this device offline), busy (starting / updating / restarting: main's screens kept), needs you (update needed, removed) or failed (this Mac's own server), and the UI follows that.
Root causes fixed:
The cache stays read-only: sends still go to the machine as before.
Tophat
Tested in the Mac dev app and iOS simulator with Codex signed in. The away machine is a second dev server ("Studio") signed into the worktree's dev cloud. I stopped it for "away", paused it for a blip, and paused the dev cloud and relays for "device offline". Covered: cold launch with Studio unreachable, a 4s blip, device offline, Studio coming back with sends waiting on both devices (both went out and got replies), and a send left over 30 seconds with Studio away (Not Delivered on both devices; Try Again after Studio was back delivered and got replies).
Not exercised live:
Checks
bun run swift:testpasses.bun run swift:lintis clean.🤖 Generated with Claude Code