Skip to content

gallery: incoming-message-disclosure plays open the "Received N messages" row first - #32820

Merged
teamleaderleo merged 12 commits into
feat-cmux-nextfrom
lane/web-base-red-fold-keeps-place
Nov 3, 2026
Merged

teamleaderleo merged 12 commits into
feat-cmux-nextfrom
lane/web-base-red-fold-keeps-place

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Base-red-job: web / react-apps-check

The base red webviews/test/agent-pane-fold-keeps-place.test.ts:80 (TimeoutError: waitFor: Timeout 30000ms exceeded) was fixed on base by #32832 while this PR was open. This PR now carries only the matching fix in the gallery entry that the test renders.

Cause: #32720 ("a turn's inbox notices and received lines are one 'Received N messages' row") deliberately gathers delivered messages from other sessions into one collapsed "Received N messages" row (Leo, 2026-11-02: "can't we simply just display most of these as recieved x messages and all of them get revealed then we can expand the messages"). In the agent-pane.incoming-message-disclosure gallery fixture, the three delivered lines (dep-fleet, fanout-infra, nx-sidebar) are now inside that row, so the fanout-infra line's toggle the test waits for is not drawn until the row opens.

The behaviour change was intended, so the gallery follows it rather than the product changing:

  • IncomingMessageDisclosure.gallery.ts: openWaiting (used by the a-shipped-open play and the B/C/D variants, which otherwise wait for 5 .cv-received lines that never draw) opens that row too, and the a-shipped note describes the row.

Risk: test and gallery only; no shipped code changes.
Agent session: agent session

🤖 Generated with Claude Code

…lines

#32720 gathers delivered messages into one collapsed "Received N
messages" row, so the fanout-infra line the fold test waits for is not
drawn until that row opens. The test and the gallery entry's plays now
open it first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?id=aid-2f629b93d5a20c58e6f8
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

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

Review a1dc1a2: 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=pr32820 -f ref=lane/web-base-red-fold-keeps-place -f platform=macos -f backend_mode=local

Gallery before/after for 01584d1: 16 states rendered, 15 images differ, 3311 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 41664901969 -R manaflow-ai/cmux -n gallery-advisory-32820-01584d136da073a1c03e01629f1e5f496644e600 (then read gallery-review.json)

States
State Theme Status Diff Picked by
agent-pane.incoming-message-disclosure/a-shipped Apple System Colors Light unchanged 0% own IncomingMessageDisclosure.gallery.ts
agent-pane.incoming-message-disclosure/a-shipped Apple System Colors unchanged 0% own IncomingMessageDisclosure.gallery.ts
agent-pane.incoming-message-disclosure/a-shipped-open Apple System Colors Light changed 1.02% own IncomingMessageDisclosure.gallery.ts
agent-pane.incoming-message-disclosure/a-shipped-open Apple System Colors changed 0.963% own IncomingMessageDisclosure.gallery.ts
agent-pane.incoming-message-disclosure/b-received-wording Apple System Colors Light changed 1.09% own IncomingMessageDisclosure.gallery.ts
agent-pane.incoming-message-disclosure/b-received-wording Apple System Colors changed 0.824% own IncomingMessageDisclosure.gallery.ts
agent-pane.incoming-message-disclosure/c-line-count Apple System Colors Light changed 0.936% own IncomingMessageDisclosure.gallery.ts
agent-pane.incoming-message-disclosure/c-line-count Apple System Colors changed 0.924% own IncomingMessageDisclosure.gallery.ts
agent-pane.incoming-message-disclosure/d-sender-only Apple System Colors Light changed 1.06% own IncomingMessageDisclosure.gallery.ts
agent-pane.incoming-message-disclosure/d-sender-only Apple System Colors changed 0.918% own IncomingMessageDisclosure.gallery.ts
agent-pane.access-offer/turn-no-credits Apple System Colors Light unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.access-offer/turn-no-credits Apple System Colors unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.access-offer/turn-low-credits Apple System Colors Light unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.access-offer/turn-low-credits Apple System Colors unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.access-offer/turn-no-offer Apple System Colors Light unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.access-offer/turn-no-offer Apple System Colors unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.acpmux-batch-send/batches Apple System Colors Light changed 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.acpmux-batch-send/batches Apple System Colors unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.acpmux-batch-send/batch-raw Apple System Colors Light changed 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.acpmux-batch-send/batch-raw Apple System Colors changed 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.acpmux-batch-send/batch-sending Apple System Colors Light unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.acpmux-batch-send/batch-sending Apple System Colors unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.activity-line-looks/none Apple System Colors Light unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.activity-line-looks/none Apple System Colors unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.activity-line-looks/spinner Apple System Colors Light changed 0.0529% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.activity-line-looks/spinner Apple System Colors changed 0.0509% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.activity-line-looks/kind Apple System Colors Light changed 0.0265% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.activity-line-looks/kind Apple System Colors changed 0.0231% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.activity-line-looks/aligned Apple System Colors Light unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.activity-line-looks/aligned Apple System Colors unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.addressed-message/relayed Apple System Colors Light unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts
agent-pane.addressed-message/relayed Apple System Colors unchanged 0% same-folder IncomingMessageDisclosure.gallery.ts

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

Passes: CI passes on 01584d136d.

CI passes on 01584d136d (run 41664902700 attempt 1).

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.

web and size checks: green

Shipped in:

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (subagent opus-5.5 medium): SHIP at 18b7c90

Visual verdict: unchanged by this diff. It changes no UI code, only the gallery note and play.

Checked: the selector reaches the MessageGroupHead button of the single delivered inbox batch, which has aria-expanded. The waiting steer and the queued message draw in .cv-pending and never join that batch. With the row open, the fold test's kept-room case is unchanged. The gallery's >= 5 .cv-received wait still holds (3 delivered + 2 waiting).

Follow-ups: other gallery plays and tests that wait for delivered .cv-received lines without opening .cv-lane-batch first may break the same way after #32720.

@github-actions github-actions Bot added the risk:normal Risk tier (docs/ci/risk-tiers.md) label Nov 3, 2026
…se-red-fold-keeps-place

# Conflicts:
#	webviews/test/agent-pane-fold-keeps-place.test.ts
@teamleaderleo teamleaderleo changed the title base red: agent-pane-fold-keeps-place opens the "Received N messages" row first gallery: incoming-message-disclosure plays open the "Received N messages" row first Nov 3, 2026
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (subagent opus-5.5 medium): SHIP at 6bf3254

Visual verdict: unchanged by this diff (gallery play and note only).

The play opens the single delivered "Received 3 messages" batch (idempotent on aria-expanded) before the waiting group and the >=5 .cv-received wait, mirroring #32832. The waiting steer and queued message end the run, so they stay out of that batch, and the note is accurate.

Follow-ups: none.

…waiting group at the end

With the "Received 3 messages" row opened first, the plays render
again (they timed out on base). Opening the waiting group at the
transcript's end then pushes the rows above up 66px (the pinned end,
Leo 2026-11-02), measured 0.0777 in gallery health run 41563279796,
the same kind of shift a-shipped-open already carries.

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

Copy link
Copy Markdown
Collaborator Author

Review (subagent opus-5.5 medium): SHIP at b5f1fcf

Visual verdict: unchanged by this diff (gallery play, note and shift baseline only).

Delta since the SHIP at 6bf3254: B/C/D shift baselines go from 0 to 0.0777. On base those plays timed out before the waiting-group step, so the 0 rows never measured it. The measured shift (gallery health run 41563279796) is the deliberate open at the transcript end pushing the rows above up 66px, the same kind of shift that a-shipped-open already carries at 0.16476. D runs the identical play.

Follow-ups: lower D's row with bun shift-baseline.ts --from <artifacts> if the next health run scores it under 0.0622. Check whether ctx.click on the toggles in openWaiting lowers these scores.

Gallery health run 41564747382 measured a-shipped-open at 0.2829: the
waiting group opening at the end (0.0777, as in B/C/D) plus the report
opening (0.2051). On base the play times out, so its row of 0.16476
predates #32720.

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

Copy link
Copy Markdown
Collaborator Author

Review (subagent opus-5.5 medium): SHIP at a1dc1a2

Visual verdict: unchanged by this diff (gallery play, note and shift baseline only).

Delta since the SHIP at b5f1fcf: the a-shipped-open row goes from 0.16476 to 0.2829. The old row came from #30256, before #32720. The new total is the 0.0777 push-up from opening the waiting group at the end plus the report opening (0.2051), where only user-6 below the report moves down and the opened line stays put. That is the intended "panel grows under it" behaviour, not a hidden regression.

Follow-ups: a per-step baseline for the report-open wait would catch drift without the push-up folded in. If opening at the end is later made to hold still, lower all four rows together.

@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 04:03 Inactive
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 04:03 Inactive
@blacksmith-sh

blacksmith-sh Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Found 1 test failure on Blacksmith runners:

Failure

Test View Logs
test_every_compile_job_names_its_warm_sources (main.ThisTree.test_every_compile_job
_names_its_warm_sources)/
test_every_compile_job_names_its_warm_sources (main.ThisTree.test_every_compile_job
_names_its_warm_sources)
View Logs

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

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (codex gpt-6-astra high, sweep, via the review router; full diff from merge base d8a711b to this head): SHIP at 595e24a

No P1/P2 findings.

@cursor

cursor Bot commented Nov 3, 2026

Copy link
Copy Markdown

Bugbot needs on-demand usage enabled

Bugbot uses usage-based billing for this team and requires on-demand usage to be enabled.

A team admin can enable on-demand usage in the Cursor dashboard.

@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 05:03 Inactive
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 05:04 Inactive
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 07:22 Inactive
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 07:22 Inactive
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 07:28 Inactive
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 07:31 Inactive
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 08:26 Inactive
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 08:32 Inactive
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 09:24 Inactive
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 09:26 Inactive
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (next-review patch-id; carried): SHIP at 603f906

The independent SHIP at 595e24a carries to this head: the PR's own change (git diff $(git merge-base feat-cmux-next HEAD) HEAD) has the same git patch-id --verbatim (2840ad8d3cd6856a) at both heads, and no merge between them was resolved by hand. Nothing new to review. A newer BLOCK, or any change to the PR's own diff, ends the carry.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (next-review patch-id; carried): SHIP at 4ebe630

The independent SHIP at 595e24a carries to this head: the PR's own change (git diff $(git merge-base feat-cmux-next HEAD) HEAD) has the same git patch-id --verbatim (2840ad8d3cd6856a) at both heads, and no merge between them was resolved by hand. Nothing new to review. A newer BLOCK, or any change to the PR's own diff, ends the carry.

teamleaderleo added a commit that referenced this pull request Nov 3, 2026
…Received N messages" row

The plays open #32720's gathered row before they open its lines, so the
rows under it move once more; rows set to this PR's measured worst
(run 41631275437), as #32820 does for the disclosure entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
teamleaderleo added a commit that referenced this pull request Nov 3, 2026
…er's mark centres on its line (#33752)

* gallery: received-row plays open "Received N messages"; a sender's mark centres on its line

#32720 gathers received lines next to each other into one closed "Received N
messages" row, so plays that waited for .cv-received lines timed out
(incoming-message files, files-elsewhere, minimal-open, minimal-fade-count,
minimal-inline-name; agent-message-row folded-run-opened). They now open that
row first, as #32820 does for the disclosure entry.

The row's head draws the one sender's mark (SenderMark) in the tool icon
slot; its glyph sat in nested inline spans on a text baseline, 2px above the
line's centre (center-line, row received:user-N in message-preview and
folded-run). The wrappers now centre the glyph, in the head and in a
received line's mark.

agent-message-row#both-directions-opened's shift row follows the opened
lines' current geometry (0.02068 -> 0.0265).

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

* gallery health: shift rows for the received plays that now open the "Received N messages" row

The plays open #32720's gathered row before they open its lines, so the
rows under it move once more; rows set to this PR's measured worst
(run 41631275437), as #32820 does for the disclosure entry.

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>
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 13:31 Inactive
@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 13:32 Inactive
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

take it. The gallery-health base-red owner may carry this fix on their own branch: the incoming-message-disclosure#c-line-count layout shift (0.1328 > baseline 0.0777, run 41645121159). Land it there, and I will close this PR with a link once yours merges.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Carried on #33987 (your commits kept with authorship). It also fixes the one state still red here, #c-line-count: the plays now open the received row and the waiting group as their own ctx.click steps, so the bottom-fold push-up is exempt for its target instead of landing untargeted in the following wait.

Agent session: agent session

@cmux-bot
cmux-bot Bot temporarily deployed to ci-routing-agent November 3, 2026 15:33 Inactive
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (next-review patch-id; carried): SHIP at 01584d1

The independent SHIP at 595e24a carries to this head: the PR's own change (git diff $(git merge-base feat-cmux-next HEAD) HEAD) has the same git patch-id --verbatim (2840ad8d3cd6856a) at both heads, and no merge between them was resolved by hand. Nothing new to review. A newer BLOCK, or any change to the PR's own diff, ends the carry.

teamleaderleo added a commit that referenced this pull request Nov 3, 2026
…he plays measure

With each opening its own clicked step, gallery health run 41665103842
measured b-received-wording, c-line-count and d-sender-only at 0 (back to
base's 0, from #32820's 0.0777) and a-shipped-open at 0.16622/0.16639
(0.1664, from #32820's 0.2829; base's 0.16476 predates #32720's received row,
whose opening now lands in the same play). The report line is waited for
before it is clicked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
@teamleaderleo
teamleaderleo merged commit 463b738 into feat-cmux-next Nov 3, 2026
172 of 181 checks passed
@teamleaderleo
teamleaderleo deleted the lane/web-base-red-fold-keeps-place branch November 3, 2026 16:27
teamleaderleo added a commit that referenced this pull request Nov 4, 2026
… clicked step (carries #32820) (#33987)

* test(agent pane fold): open the "Received N messages" row before its lines

messages" row, so the fanout-infra line the fold test waits for is not
drawn until that row opens. The test and the gallery entry's plays now
open it first.

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

* gallery: B/C/D disclosure variants keep the push-up from opening the waiting group at the end

With the "Received 3 messages" row opened first, the plays render
again (they timed out on base). Opening the waiting group at the
transcript's end then pushes the rows above up 66px (the pinned end,
Leo 2026-11-02), measured 0.0777 in gallery health run 41563279796,
the same kind of shift a-shipped-open already carries.

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

* gallery: a-shipped-open carries the waiting group's push-up too

Gallery health run 41564747382 measured a-shipped-open at 0.2829: the
waiting group opening at the end (0.0777, as in B/C/D) plus the report
opening (0.2051). On base the play times out, so its row of 0.16476
predates #32720.

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

* gallery: incoming-message-disclosure plays open each fold as its own clicked step

The plays opened the "Received 3 messages" row and the waiting group with
raw element clicks in one task, then waited. At the transcript's end each
opening pushes the rows above up by design (#32644), and the box-shift gate
exempts that only while the step's own target sits in the row marked
data-bottom-fold (#33784). A raw click is no step and has no target, so the
push-up landed in the following wait, scored as shift (c-line-count 0.1328,
user-1 and assistant-2 moving -21.9px). Each opening is now ctx.click, settled
before the next, and fanout-infra's report opens the same way.

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

* gallery health: incoming-message-disclosure shift rows back to what the plays measure

With each opening its own clicked step, gallery health run 41665103842
measured b-received-wording, c-line-count and d-sender-only at 0 (back to
base's 0, from #32820's 0.0777) and a-shipped-open at 0.16622/0.16639
(0.1664, from #32820's 0.2829; base's 0.16476 predates #32720's received row,
whose opening now lands in the same play). The report line is waited for
before it is clicked.

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

* gallery health: keep base's other shift rows; only the four disclosure rows change

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>

This branch was previously deployed

1 inactive deployment
ci-routing-agent — 01584d13 Deployed Nov 3, 2026 by cmux-bot[bot] via wait for same-key tree publisher #106664
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant