Repository navigation
Cloud: report repository copy progress and duration - #30517
Conversation
…roducer # Conflicts: # webviews/src/agent-session/acpmux/CloudStartView.test.tsx
…startup-checklist
…roducer # Conflicts: # cmux-tui/crates/cmux-tui/src/link/start_chat_cli.rs
|
Found 12 test failures on Blacksmith runners: Failures
...and 2 more test failures. View all on Blacksmith
|
|
Review (subagent claude-opus-5-5 medium, carried): SHIP at 8063ab4 Carried from the SHIP at 0bcab80. The PR's changed lines against base differ by one test line, |
8063ab4 to
1464bac
Compare
|
Review (subagent claude-opus-5-5 medium, carried): SHIP at 1464bac Carried from the SHIP at 8063ab4. Against base, the PR's changed lines differ by one added line: |
|
Review (subagent claude-opus-5-5 medium, carried): SHIP at 96de160 Carried from the SHIP at 1464bac. The delta replaces the three |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
…hine (#31106) * Cloud start: a copy of a folder this Mac trusts is trusted on the machine A send to Cloud from a folder the person trusts opened its copy on the machine behind "Trust the cloud-proof repo?", and the first message never went (capture at ff3f8c9, 2026-11-01). `cmux link start-chat copy --acpmux-home H` now answers `source_trusted`: this Mac's acpmux reads the chat's folder trusted (acp.trust.get's level). The App then records `trusted` for the copy on the person's own Cloud machine (agent-session-trust, owner link only) before the chat shows. An unknown or untrusted folder is still asked about there. This narrows cx-1bhjj: the person's answer on this Mac counts for their own copy of the same folder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5 * start-chat copy test: no redundant clones (clippy) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5 * CloudStartChat: keep #30517's report lines as they were Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5 * start-chat copy: source_trusted in its own module (god-file cap); App source lines flat Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5 * start-chat copy: add source_trusted without indexing (panic ratchet) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5 --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: cmux-bot[bot] <348531757+cmux-bot[bot]@users.noreply.github.com>
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Cloud startup now reports repository-copy state and duration on the clone row. The Rust start-chat copy answer emits seed_state, seed_phase, seed_started_at and seed_finished_at on successful, cached and failed copies; Swift forwards them into clone.startedAt/finishedAt before handling a failure. Copying no longer claims to measure machine boot or harness startup.
Follow-up to #30386. Leo asked: “and if i click the < it takes me to environment setup / which is the same as where the cog takes me”. Existing callback behavior stays covered; checklist tests now cover collapsed rendering, elapsed duration, the setup action and the forwarded copy timing shape. Cached copy detail uses the existing localized string.
Validation at 4211953: app compile passed (104 s); targeted Cargo start_chat_cli tests passed 34/34 (run); CloudStartView/cloudStartProgress Bun tests passed 17/17 (run). Both ran remotely through cmux-ci. The base merge preserves the existing resume-and-lease copy operation; timing wraps its result, including early returns. Rust formatting and git diff --check pass. Machine/harness lifecycle timestamp sources and an interaction test for re-expansion are tracked in #30577.
Agent session: agent session
Re-land note: #30792 reverted #30386 while CmuxNextApp grew. This PR keeps only the four emitted
seed_*clone fields in CmuxNextApp; environment, copy-progress, and machine/harness timing fields remain in the follow-up producer work.