Repository navigation
fix(ui): remove redundant queued message notice - #146194
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 12, 2026, 12:57 PM ET / 16:57 UTC (Revision 3). ClawSweeper reviewWhat this changesRemoves the generic queued-message notice from Control UI chat, updates documentation and assertions, and moves Gateway session tests between existing typecheck shards. Merge readiness✅ Ready for maintainer review The PR remains useful: current main still renders the redundant notice. The revised shard allocation preserves coverage and headroom, and no actionable correctness or security findings remain. Priority: P3 Review scores
Verification
How this fits togetherThe Control UI turns Gateway pending-input records into chat messages and status notices. Separately, the typecheck shard configuration assigns Gateway tests to bounded compiler runs. flowchart TD
A[Gateway pending inputs] --> B[Chat presentation]
B --> C[Message bubbles]
B --> D[Specific setup and interruption notices]
E[Gateway test files] --> F[Existing typecheck shards]
F --> G[Coverage and capacity checks]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource -1, Tests -13, Docs 0. Total -14 across 8 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep pending messages visible and ordered, reserve notices for specific actionable states, and retain complete test coverage within existing shard budgets. Do we have a high-confidence way to reproduce the issue? Not applicable as a defect reproduction gate for this presentation cleanup; current-main source and inspected before/after captures directly establish the redundant notice. Is this the best way to solve the issue? Yes. The patch changes the existing presentation owner, preserves specific feedback, and rebalances existing test graphs without adding another implementation path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 4c02bfa0a6e0. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
62bc868 to
ebe742a
Compare
|
@clawsweeper re-review Updated head includes the four-line Gateway test-shard rebalance needed after the initial CI run hit the existing 700-root inventory guard. All 24 shard-owner tests, 308 UI tests, and five browser scenarios pass. Graph identities, test coverage, limits, and compiler concurrency are preserved; the PR body includes the failure and inventory evidence. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
* fix(ui): remove redundant queued message notice * ci: restore Gateway test shard headroom
Related: #144694
What Problem This Solves
Fixes an issue where users waiting for an agent would see an unhelpful “Queued · waiting for the agent” line in the conversation, including alongside a more specific startup indicator such as “Preparing workspace…”.
Why This Change Was Made
Remove the generic queued-message notice and its unused English string. Keep the specific worker setup and workspace sync notices, interruption and cancellation feedback, and existing message delivery behavior. Update the queue documentation and existing rendering and browser assertions.
Initial CI exposed an unrelated test-shard capacity regression from main. Return top-level Gateway session tests to the existing
gateway-rootgraph, which has space following the server-test split. This two-file rebalance preserves all test coverage, graph identities, cache paths, compiler concurrency, and the existing limits.User Impact
The chat stays cleaner while messages wait, with the actual startup progress still visible. Pending messages and attachments continue to appear once and retain their order.
Evidence
node scripts/check-changed.mjspassed, including core-test/UI type checks, i18n verification, formatting, dead-export scans, and scoped lint.gateway-other: 701 test roots exceeds the 700 limit). After moving the complete 81-test session family, Gateway other/root/server inventories are 620/416/318, with all 10,077 canonical test roots assigned exactly once across 18 graphs.Initial CI run 34705371165 failed the pre-existing Gateway test-root capacity check above; this is why the small shard rebalance is included.
Final exact-head CI for
ebe742afe0d1ed54a756c49cedbe4d3589185923passed in run 34706234734; the watcher returnedGREENwith zero pending checks. The refreshed ClawSweeper review found no actionable issues and accepted the visual proof.