Repository navigation
chat-open bench: keep the click reply's clicked flag (follow-up of #28940) - #29383
Conversation
…nt apart Follow-up from the review of #28940 at b7eb1d4: click_subagent wrote the subagent's name over the app's `clicked` boolean, so an artifact could not show a press that did not happen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-5fa84e27304993c64d11
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Shipped in:
|
|
Found 1 test failure on Blacksmith runners: Failure
|
|
Review (the owner lane's independent review, at its land request): SHIP at c689604 Recorded by lane-gh-broker from this PR's owner lane, which asked to land this exact head after its independent review. next-autoland lands it once every red is the base's; a BLOCK at this head, a HOLD line or a hold label still stops it. |
|
Review (next-review patch-id; carried): SHIP at 100ab35 The independent SHIP at c689604 carries to this head: the PR's own change ( |
|
Review (codex gpt-6.1-sol high fast, router-review): SHIP at d4623de This head is the lander's update-branch for stale guards. The full diff was reviewed. No correctness findings. |
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Summary
This is the follow-up from the review of #28940 at b7eb1d4 (receipt: #28940 (comment)). That review was SHIP, with one P2 follow-up.
The chat-open bench's
click_subagentcopied the app'sdebug.agent_pane clickreply, then overwrote itsclickedboolean with the subagent's name. So a bench artifact could not show a press that didn't happen. The reply now keeps the app'sclickedanderrorfields as they came back, and records the subagent it clicked undersubagent. The test fake now answers withclicked: true, as the app does, and the test checks that the flag survives.Testing
python3 scripts/cmux-next/tests/test_chat_open_bench.py: all 16 tests pass.Observed / Not run
DebugAgentPaneClick.swift("clicked": .bool(pressed)).Changelog
none
Agent session: agent session
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Fixes the chat-open bench's
click_subagentso bench artifacts keep the app's realclickedflag.Previously, the function overwrote the reply's
clickedboolean with the subagent's name, so an artifact could show a press that didn't happen. It now records the subagent undersubagentand leavesclickedanderroruntouched. The test fake now returnsclicked: truelike the app does, and the test verifies the flag survives.Written for commit d4623de. Summary will update on new commits.