Skip to content

Restore base: undo 164d65f's stale-tree overwrite, keep its Screen Sharing change - #34890

Closed
teamleaderleo wants to merge 1 commit into
feat-cmux-nextfrom
lane/status-thinking-duration-align
Closed

teamleaderleo wants to merge 1 commit into
feat-cmux-nextfrom
lane/status-thinking-duration-align

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

164d65f ("cmux-next iOS: + in a workspace offers Screen Sharing") was committed
from a tree based on 12e55d4 (#34455), so it overwrote 339 files with their older
contents (+1312 / -14365) and silently reverted every PR merged between
12e55d4 and fe3a6ae: #34866's live line "total" removal and dot gap among them,
plus CI workflows, the CEF shim, the sidebar, the personal write ledger, Settings
strings and the iOS chat polish.

This puts every file back to fe3a6ae (the commit before 164d65f) and re-applies
only the intended change, 12e55d4..80ace4f (the Screen Sharing entry, its tests
and verify note). scripts/ci/cmux-next-ios-sim.sh keeps base's opt-in video
recorder, which the branch's own "tmp: base sim script" commit had also restored.
#34678 (on top of 164d65f) is kept as is.

Check: the tree differs from fe3a6ae only by #34678's 3 files and the 10
Screen Sharing files.

Leo-ask: ask-147c151a65

Leo, on the agent pane's live line showing "· 15s total" again: "this aint aligned also the total is redundant did we remove this yet". We had (#34866); 164d65f undid it along with everything else above.

Risk: wide by file count, but it is a mechanical restore to already-merged content; the only hand merge is WorkspaceTabsSource.swift (both the teams block from base and the Screen Sharing block kept).

🤖 Generated with Claude Code

Agent session: agent session


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Restores the tree after a cmux-next iOS Screen Sharing commit was built on a stale base and overwrote 339 files with older contents, silently reverting every change merged in between. Every file returns to the state before that commit, and only the Screen Sharing change (its entry, tests, and verify note) is re-applied. The branch's temporary CI sim-script change and a follow-up PR stacked on the stale commit are kept as they were.

  • The tree now differs from the pre-commit state only by the Screen Sharing files and the kept follow-up PR.

Written for commit de68ea1. Summary will update on new commits.

View guided diff Turn on auto-fix

…en Sharing change

164d65f ("cmux-next iOS: + in a workspace offers Screen Sharing") was committed
from a tree based on 12e55d4 (#34455), so it overwrote 339 files with their older
contents (+1312 / -14365) and silently reverted every PR merged between
12e55d4 and fe3a6ae: #34866's live line "total" removal and dot gap among them,
plus CI workflows, the CEF shim, the sidebar, the personal write ledger, Settings
strings and the iOS chat polish.

This puts every file back to fe3a6ae (the commit before 164d65f) and re-applies
only the intended change, 12e55d4..80ace4f (the Screen Sharing entry, its tests
and verify note). scripts/ci/cmux-next-ios-sim.sh keeps base's opt-in `video`
recorder, which the branch's own "tmp: base sim script" commit had also restored.
#34678 (on top of 164d65f) is kept as is.

Check: the tree differs from fe3a6ae only by #34678's 3 files and the 10
Screen Sharing files.

Leo-ask: ask-147c151a65

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?id=aid-9e1bb10a81a0d367d453
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (subagent claude-opus-5-5 medium): SHIP at de68ea1
Checked: the tree vs fe3a6ae is only the 10 Screen Sharing files plus the 21 files of the 4 commits landed after 164d65f (hunks match apart from offsets); sim script equals fe3a6ae; WorkspaceTabsSource.swift merge is coherent with no duplicate declarations; no conflict markers; the later commits do not depend on the overwritten tree.
Follow-ups: none

@blacksmith-sh

blacksmith-sh Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Found 15 test failures on Blacksmith runners:

Failures

Test View Logs
src/agent-session/acpmux/queuePausedState.test.ts/queuePausedState.test View Logs
src/agent-session/acpmux/queuePausedState.test.ts/queuePausedState.test View Logs
test/agent-pane-working-counts.test.ts/agent-pane-working-counts.test View Logs
test/agent-pane-working-counts.test.ts/agent-pane-working-counts.test View Logs
test/composer-permission-pill.test.ts/composer-permission-pill.test View Logs
test/composer-permission-pill.test.ts/composer-permission-pill.test View Logs
test/incoming-message-disclosure-browser.test.ts/
incoming-message-disclosure-browser.test
View Logs
test/incoming-message-disclosure-browser.test.ts/
incoming-message-disclosure-browser.test
View Logs
test/incoming-message-disclosure-browser.test.ts/
incoming-message-disclosure-browser.test
View Logs
test/incoming-message-disclosure-browser.test.ts/
incoming-message-disclosure-browser.test
View Logs

...and 5 more test failures. View all on Blacksmith: run 41780597414, run 41780597084

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

cmux status (one comment, edited in place; each line is updated by the job that owns it)

Review de68ea1: HQ feed card · gallery before/after runs · checks

App of this head (app.zip, kept 1 day)

gh workflow run reload-build.yml -R manaflow-ai/cmux --ref feat-cmux-next -f tag=pr34890 -f ref=lane/status-thinking-duration-align -f platform=macos -f backend_mode=local

Yours to fix: transcript-chevron-after-label.test.ts (a file this PR changes), transcript-chevron-after-label.test.ts (a file this PR changes). Seen on other PRs too (likely flaky): queuePausedState.test.ts, incoming-message-disclosure-browser.test.ts, model-pick-prompt-focus.test.ts and 5 more.

CI failed on de68ea1d52 (run 41780597414 attempt 1): 3 code, 2 unknown.

Job Verdict Why
web / diff-sidecar-check unknown no known signature; failed step: Test Rust sidecar
web / react-apps-base-check (6) code a web test failed
web / react-apps-base-check (4) code a web test failed
web / react-apps-base-check (7) code a web test failed
web / react-apps-check unknown no known signature; failed step: Check webview test shards

Failures:

  • seen on other PRs queuePausedState.test.ts a turn sent now while the queue stays paused shows running: timed out after 30000ms (job)
  • yours transcript-chevron-after-label.test.ts agent-pane.claude-desktop-organization#shared at 760px: every chevron starts within 8px after its wo...: failed (job)
  • yours transcript-chevron-after-label.test.ts agent-pane.claude-desktop-organization#shared at 420px: every chevron starts within 8px after its wo...: failed (job)
  • seen on other PRs incoming-message-disclosure-browser.test.ts a delivered message and a waiting one draw the same line: chevron after the words, actions on hover: failed (job)
  • seen on other PRs model-pick-prompt-focus.test.ts chromium: New Tab composer: a compact menu reopened before a pick's focus lands still closes to the ...: failed (job)
  • seen on other PRs model-pick-prompt-focus.test.ts webkit: New Tab composer: a compact menu reopened before a pick's focus lands still closes to the mo...: failed (job)
  • seen on other PRs incoming-message-disclosure-browser.test.ts the chat's last row, opened with the view at its end, pushes the text up; closed, stays on its pixel: failed (job)
  • seen on other PRs composer-permission-pill.test.ts codex: permission control keeps the shared capsule geometry: failed (job)
  • seen on other PRs agent-pane-working-counts.test.ts the line counts the subagents and background shells still running: failed (job)
  • seen on other PRs agent-pane-working-counts.test.ts with the tray on, the line counts nothing: the tray lists the same work: failed (job)
Matched log lines
web / react-apps-base-check (6): (fail) a turn sent now while the queue stays paused shows running [30000.00ms]
web / react-apps-base-check (4): (fail) a delivered message and a waiting one draw the same line: chevron after the words, actions on hover [1483.57ms]
web / react-apps-base-check (7): (fail) codex: permission control keeps the shared capsule geometry [1223.68ms]

Not re-run automatically: web / diff-sidecar-check, web / react-apps-base-check (6), web / react-apps-base-check (4), web / react-apps-base-check (7), web / react-apps-check are not machine failures.

Written by scripts/ci/classify_failures.py (ci-failure-attribution.yml); signatures are its SIGNATURES table. A machine verdict is the runner's fault, not this PR's; yours means the failing file is one this PR changes, also red on main that main's latest full suite fails the same way, seen on other PRs that it failed on another pull request's run lately.

red: web / Web status; a job it gathers is red on this change (its line here); do not merge until green; see lane-rules
red: web / diff-sidecar-check; no finished base run on 3d4d1d7 to compare; do not merge until green; see lane-rules
red: web / react-apps-base-check (4); NEW webview test reds: test/incoming-message-disclosure-browser.test.ts > the chat's last row, opened with the view at its end, pushes the text up; closed, stays on its pixel; do not merge until green; see lane-rules
red: web / react-apps-base-check (6); NEW webview test reds: test/transcript-chevron-after-label.test.ts > agent-pane.claude-desktop-organization#shared at 760px: every chevron starts within 8px after its words; test/transcript-chevron-after-label.test.ts > agent-pane.claude-desktop-organization#shared at 420px: every chevron starts within 8px after its words; do not merge until green; see lane-rules
red: web / react-apps-base-check (7); NEW webview test reds: test/agent-pane-working-counts.test.ts > with the tray on, the line counts nothing: the tray lists the same work; test/agent-pane-working-counts.test.ts > the line counts the subagents and background shells still running; do not merge until green; see lane-rules
red: web / react-apps-check; a job it gathers is red on this change (its line here); do not merge until green; see lane-rules

Default changes

This pull request changes 5 defaults at de68ea1d52c8 (what everyone gets without configuring anything):

  • setting.window.titlebar: "minimal" -> "standard"
  • tunable-source.CmuxNextDesign/Metrics.swift:tabBackgroundInset: (none) -> "05f61ebcc7dc6b93bac9b9f410f34d7d1e3e023a5bbe2b58fd5c3b2b44e3a8a2"
  • tunable-source.CmuxNextTabs/TabTunables.swift:pinnedDivider: (none) -> "a95bdf7ba8aafdbe80d2f28b38c6d6af0441c27ac7dcad662a059ca4c07a54df"
  • tunable-source.CmuxNextTabs/TabTunables.swift:pinnedGroupGap: "c6b1a23ebd2b98633f976e395c023ff9e153b53271ffb235934c8f1e22f54517" -> "460e790cddb8281b6a681d26898fabe24f5a08b8c7c7569f9188e7b8fb518235"
  • tunable.tabs.pinnedDivider: (none) -> true

Signed off on this commit by review (claude opus-5-5 medium, claude-sr2-coord).

Regenerate the snapshot with python3 scripts/ci/defaults_guard.py snapshot.

Gallery before/after for de68ea1: 16 states rendered, 10 images differ, 3483 more touched states not rendered. Images are in the run's artifact, not on this public PR; the independent review of this head reads them on its own, so the PR needs no hand-made screenshots of these states.

gh run download 41780597296 -R manaflow-ai/cmux -n gallery-advisory-34890-de68ea1d52c8065d34fd1c50c19298feb4f02142 (then read gallery-review.json)

States
State Theme Status Diff Picked by
agent-pane.access-offer/turn-no-credits Apple System Colors Light unchanged 0% own conversation.css
agent-pane.access-offer/turn-no-credits Apple System Colors unchanged 0% own conversation.css
agent-pane.access-offer/turn-low-credits Apple System Colors Light unchanged 0% own conversation.css
agent-pane.access-offer/turn-low-credits Apple System Colors unchanged 0% own conversation.css
agent-pane.access-offer/turn-no-offer Apple System Colors Light unchanged 0% own conversation.css
agent-pane.access-offer/turn-no-offer Apple System Colors unchanged 0% own conversation.css
agent-pane.acpmux-batch-send/batches Apple System Colors Light changed 0.0301% own acpmuxSends.ts
agent-pane.acpmux-batch-send/batches Apple System Colors changed 0.0298% own acpmuxSends.ts
agent-pane.acpmux-batch-send/batch-raw Apple System Colors Light changed 0.0301% own acpmuxSends.ts
agent-pane.acpmux-batch-send/batch-raw Apple System Colors changed 0.0298% own acpmuxSends.ts
agent-pane.acpmux-batch-send/batch-sending Apple System Colors Light changed 0.0301% own acpmuxSends.ts
agent-pane.acpmux-batch-send/batch-sending Apple System Colors changed 0.0298% own acpmuxSends.ts
agent-pane.activity-line-looks/none Apple System Colors Light unchanged 0% own conversation.css
agent-pane.activity-line-looks/none Apple System Colors unchanged 0% own conversation.css
agent-pane.activity-line-looks/spinner Apple System Colors Light changed 0.0496% own conversation.css
agent-pane.activity-line-looks/spinner Apple System Colors changed 0.0476% own conversation.css
agent-pane.activity-line-looks/kind Apple System Colors Light changed 0.0271% own conversation.css
agent-pane.activity-line-looks/kind Apple System Colors changed 0.0235% own conversation.css
agent-pane.activity-line-looks/aligned Apple System Colors Light unchanged 0% own conversation.css
agent-pane.activity-line-looks/aligned Apple System Colors unchanged 0% own conversation.css
agent-pane.add-project-panel/environment Apple System Colors Light unchanged 0% own styles.css
agent-pane.add-project-panel/environment Apple System Colors unchanged 0% own styles.css
agent-pane.add-project-panel/sources Apple System Colors Light unchanged 0% own styles.css
agent-pane.add-project-panel/sources Apple System Colors unchanged 0% own styles.css
agent-pane.add-project-panel/directory Apple System Colors Light unchanged 0% own styles.css
agent-pane.add-project-panel/directory Apple System Colors unchanged 0% own styles.css
agent-pane.add-project-panel/long-directory Apple System Colors Light unchanged 0% own styles.css
agent-pane.add-project-panel/long-directory Apple System Colors unchanged 0% own styles.css
agent-pane.add-project-panel/keyboard Apple System Colors Light unchanged 0% own styles.css
agent-pane.add-project-panel/keyboard Apple System Colors unchanged 0% own styles.css
agent-pane.add-project-panel/browse-error Apple System Colors Light unchanged 0% own styles.css
agent-pane.add-project-panel/browse-error Apple System Colors unchanged 0% own styles.css

Pick other states with a Gallery: entry.id, entry.id/variant line in the PR body.

@github-actions github-actions Bot added the risk:high Risk tier (docs/ci/risk-tiers.md) label Nov 4, 2026
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (claude opus-5-5 medium, claude-sr2-coord): SHIP at de68ea1

Checked the tree: across the 339 paths 164d65f touched, this head differs from 164d65f^ (fe3a6ae) in 12 files only:

@teamleaderleo teamleaderleo left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review (codex gpt-6.1-sol xhigh, next-review, since=20261104T061629Z): SHIP at de68ea1

SHIP at de68ea1
Visual verdict: no images; Leo tries the build

  1. [P2] [follow-up] [category:correctness] [finding:F1] [outcome:pending] WorkspacesList.swift:421: Empty group headers depend on their Mac having Recent rows. When every workspace is pinned, New Workspace Group succeeds but its header never appears. Render empty groups independently of Recent.

  2. [P2] [follow-up] [category:tests] [finding:F2] [outcome:pending] Thinking.tsx:306: No after screenshots were supplied. Capture the restored live-line alignment and iOS Screen Sharing menu for visual verification.

Follow-ups:

  • Display empty groups when their Mac has no Recent rows.
  • Supply after screenshots.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (codex gpt-6.1-sol xhigh, router-review on 3d4d1d7..de68ea1): BLOCK at de68ea1

Visual verdict: no images supplied (range review)

  1. [P1] [blocking] [category:tests] [finding:F1] [outcome:pending] Packages/macOS/CmuxNext/Sources/CmuxNextSettings/AgentPaneComposerSetting.swift:165 — SettingsSchema.all now includes agentPane.composerRing, but the checked-in schema and MDM exports omit it; SettingsSchemaExportTests.exportIsFresh fails and CI's "Fail on stale generated files" step trips. Regenerate the settings exports.
  2. [P2] [follow-up] [category:correctness] [finding:F2] [outcome:pending] AgentPaneComposerSetting.swift:70 — composerRing isn't wired to the web composer (readComposerSettings drops it; Composer.tsx always renders ContextRing).
  3. [P2] [follow-up] [category:tooling] [finding:F3] [outcome:pending] scripts/journeys/vdisplay120.m:111 — make the virtual display main before reporting readiness (reuse scripts/ci/frame-pacing/vdisplay.m's app-scoped approach).

Follow-ups: F2, F3
(router-review's --post was refused by the GraphQL floor; carried by hand from its output.)

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Owned by an agent session · session

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Closing as superseded: 93703fe ("Restore the files 164d65f reverted by mistake") already restored the same 331 files on feat-cmux-next. Compared over the files this PR changes, this head's tree differs from 93703fe only in webviews/src/agent-session/acpmux/App.tsx and cmux-next-ios/CmuxMobileKit/Sources/CmuxMobileShell/ShellModel.swift. Both differences come from base commits newer than this branch's parent (#34584, #34805, 3d4d1d7), so merging this PR now would revert them. It also conflicts with base.

Review findings (receipt #34890 (comment)):
Finding outcome: comment-6624299519/F1 dismissed the stale settings export comes from #34732 (it added agentPane.composerRing without exports, at 04:42Z, after the last base autofix at 04:34Z), it is on base as well, and the base autofix that is pending on the current tip regenerates it; this restore did not cause it
Finding outcome: comment-6624299519/F2 filed-follow-up #34965
Finding outcome: comment-6624299519/F3 filed-follow-up #34966

This branch was previously deployed

3 inactive deployments
artifacts — de68ea1d Deployed Nov 4, 2026 by teamleaderleo via publish tree-addressed cmux-tui #109868
sentry-dsyms — de68ea1d Deployed Nov 4, 2026 by teamleaderleo via upload cmux-tui dSYMs to Sentry #109868
ci-routing-agent — de68ea1d Deployed Nov 4, 2026 by teamleaderleo via namespace autofix #14026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:high Risk tier (docs/ci/risk-tiers.md)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant