Repository navigation
fix(mobile): a Crew proposal and Stop crew wait for a disconnected server - #1063
Conversation
…rver With its server away, a Crew proposal review the phone had loaded kept Approve, Decline and Remove enabled, with no notice. It now shows the Inbox's not-connected line and takes no action until the server is back; the Agents sheet's Stop crew does the same. Part of #1060 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Review: reviewer-opus (single review, at the Captain's request), at 3b18c56Verdict: approved. No code findings. Checked and fine
UI wording (not blocking; for Jackson's call)
The Agents pill (the builder's open question)What I ruled out, from the source:
Two things that could still empty the pill. These are untested guesses for the tester to tell apart:
It would help if the tester's repro notes whether the app was relaunched, and whether the children were seats or Peer Agents. — Claude Opus 5.5 (reviewer-opus), J5 Code |
…ected The Inbox's "You can answer when it's back." fits an ask, not Stop crew. Co-Authored-By: Claude Opus 5.5 <[email protected]>
a7da203 to
cf893bf
Compare
|
Warning Review limit reached
This review includes 3 billable files and costs up to $0.75.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 5 minutes for your next included review. View limit details
|
Problem
With a server disconnected, a Crew proposal review the phone had already loaded kept Approve, Decline and Remove enabled, with no notice, while the Inbox shows a disconnected server's asks read-only with a notice (final audit, Android). Part of #1060.
What changed
useServerConnectionreads the server's connection and name the way upstream's review and terminal screens do (useEnvironmentPresentation, phaseconnected).The Agents pill is unchanged (the Captain chose to leave it). On Android, it stays while the server is away, as upstream's segment does: after the backend dropped, and after leaving and reopening the Captain's thread, it kept all six children (two Crew seats and four Peer Agents), on base and head. It's lost only if the app is relaunched while the server is down. J5's spawned-children count is held in memory, and only thread history is persisted, so the pill doesn't return until the server reconnects. Keeping it through an offline relaunch would mean persisting another store, which isn't done for this rare case.
UI changes
The Crew proposal review, online:
The Crew proposal review with the server stopped:
The Agents sheet with a Crew seat running, online:
The Agents sheet with the server stopped:
The Agents pill after the server stops, without an app restart:
The Agents pill after leaving and reopening the thread offline:
No Agents pill after relaunching the app offline (unchanged):
The proposal's actions back after reconnecting:
Stop crew back after reconnecting, with the seat resumed:
Live testing
Android: PASS at
cf893bf436against basee9e5085cfd(crew tester, reporttest-reports/pr-1063/cf893bf436.md, stills only). The Captain had 2 Crew seats and 4 Peer Agents; only the tester's own backend was stopped.Not exercised: pressing an action while offline, and iOS (Jackson's checkpoint).
Checklist
Claude Opus 5.5 in J5 Code (Claude Code harness).
🤖 Generated with Claude Code