Skip to content

fix(ui): remove redundant queued message notice - #146194

Merged
steipete merged 2 commits into
mainfrom
codex/remove-generic-queued-notice
Sep 12, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/remove-generic-queued-notice

Conversation

@steipete

@steipete steipete commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

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-root graph, 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

  • 308 focused pending-input and chat-thread tests passed. Three updated assertions failed on the original code because it rendered the generic notice.
  • All five GitHub-project browser scenarios passed, covering project/worktree startup, attachment continuity, canonical message promotion, and actionable preparation failures.
  • node scripts/check-changed.mjs passed, including core-test/UI type checks, i18n verification, formatting, dead-export scans, and scoped lint.
  • All 24 shard-owner tests passed after the rebalance; the 308 UI tests and five browser scenarios also passed again on the refreshed base.
  • The existing shard inventory regression reproduced the baseline failure (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.
  • Independent review found no actionable P0–P2 findings.
  • Inspected synthetic browser captures below show the same preparation state before and after the change.
Before After
Before: generic queue notice above workspace progress After: workspace progress without the generic notice

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 ebe742afe0d1ed54a756c49cedbe4d3589185923 passed in run 34706234734; the watcher returned GREEN with zero pending checks. The refreshed ClawSweeper review found no actionable issues and accepted the visual proof.

@clawsweeper

clawsweeper Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: XS maintainer Maintainer-authored PR labels Sep 12, 2026
@steipete
steipete marked this pull request as ready for review September 12, 2026 16:29
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 12, 2026
@clawsweeper

clawsweeper Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 12, 2026, 12:57 PM ET / 16:57 UTC (Revision 3).

ClawSweeper review

What this changes

Removes 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
Reviewed head: ebe742afe0d1ed54a756c49cedbe4d3589185923

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, maintainable patch with convincing visual evidence and no actionable findings.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected synthetic Control UI browser captures directly demonstrate the changed pending-input presentation during project preparation: the generic notice is gone, while the message and workspace-progress indicator remain. The focused browser assertions supplement this visual proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected synthetic Control UI browser captures directly demonstrate the changed pending-input presentation during project preparation: the generic notice is gone, while the message and workspace-progress indicator remain. The focused browser assertions supplement this visual proof.
Evidence reviewed 7 items Current-main behavior still needs the change: Current main unconditionally adds a notice for queued input, falling back to the generic waiting-for-agent text.
Narrow presentation boundary: The introduced change retains message construction and specific setup, synchronization, cancellation, and interruption notices. Its caller still merges pending messages into the transcript by timestamp; delivery, persistence, authorization, and Codex contracts are unchanged.
Inspected visual proof: Inspected prepared proof-image-1.png and proof-image-2.png from the media manifest. The synthetic browser captures show the same project-preparation state: the generic notice disappears while the user message and Preparing workspace indicator remain. Sources: https://github.com/user-attachments/assets/9ca5a018-cef2-4d5e-8511-e4d79dabb370 and https://github.com/user-attachments/assets/15e9a59c-c7b0-49b1-99d3-9cdeb0aa0450.
Findings None None.
Security None None.

How this fits together

The 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]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source -1, Tests -13, Docs 0. Total -14 across 8 files.

View PR surface stats
Area Files Added Removed Net
Source 2 11 12 -1
Tests 5 4 17 -13
Docs 1 3 3 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 8 18 32 -14

Review metrics

Metric Value Why it matters
Gateway shard headroom 416 / 620 / 318 roots; 700-root guard All three Gateway shards remain below the existing inventory threshold after moving the session-test family.

Technical review

Best 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.

Labels

Label justifications:

  • P3: This is a bounded chat-presentation cleanup with a coverage-preserving test-shard rebalance.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): Inspected synthetic Control UI browser captures directly demonstrate the changed pending-input presentation during project preparation: the generic notice is gone, while the message and workspace-progress indicator remain. The focused browser assertions supplement this visual proof.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected synthetic Control UI browser captures directly demonstrate the changed pending-input presentation during project preparation: the generic notice is gone, while the message and workspace-progress indicator remain. The focused browser assertions supplement this visual proof.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected synthetic Control UI browser captures directly demonstrate the changed pending-input presentation during project preparation: the generic notice is gone, while the message and workspace-progress indicator remain. The focused browser assertions supplement this visual proof.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • jalehman: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (2 earlier review cycles)
  • reviewed 2026-09-12T16:39:08.606Z sha 62bc868 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-12T16:51:41.310Z sha ebe742a :: needs maintainer review before merge. :: none

@steipete
steipete force-pushed the codex/remove-generic-queued-notice branch from 62bc868 to ebe742a Compare September 12, 2026 16:46
@steipete

Copy link
Copy Markdown
Contributor Author

@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.

@clawsweeper

clawsweeper Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete
steipete merged commit f17715b into main Sep 12, 2026
137 checks passed
@steipete
steipete deleted the codex/remove-generic-queued-notice branch September 12, 2026 17:03
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant