Repository navigation
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. |
|
Coordination resolved: #149726 landed the planner fixture, and #149697 landed the Goal read-budget and renderer line-limit repairs with verified required CI. The resulting frozen main is Our blocker-repair PR #149722 is closed as superseded. This PR’s separate reply-setter deduplication remains unlanded and author-owned; we are not requesting takeover, branch changes, or closure. The alternative UI PRs remain with their own lanes. The diagnostics work proceeds from the repaired main. |
|
Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 1:31 AM ET / 05:31 UTC. ClawSweeper reviewWhat this changesThe chat pane renderer reuses its reply setter when canceling a reply, reducing duplicate code while preserving existing behavior. Merge readiness✅ Ready for maintainer review This remains a useful, narrowly scoped repair for the lint failure on pinned main. No actionable defect was found, and the maintainer discussion favors this approach over the broader alternatives. Priority: P3 Review scores
Verification
How this fits togetherThe Control UI chat pane converts session and presentation state into transcript and composer controls. Reply selection and cancellation update pane-local state and request a render. flowchart LR
A[Select reply] --> B[Existing selection gate]
B --> C[Shared reply setter]
D[Cancel reply] --> C
C --> E[Pane reply state]
E --> F[Refresh composer preview]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource -3. Total -3 across 1 file. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep reply state updates in the existing setter and retain the unchanged lint limit and interaction gates. Do we have a high-confidence way to reproduce the issue? Yes, from source: pinned main exceeds the configured 700-line limit at 702 counted lines. Lint execution was not repeated in this read-only review. Is this the best way to solve the issue? Yes. Reusing the existing setter removes duplication while preserving nullable reply state, unconditional cancellation, and gated selection. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against db1d5d2dccbc. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
The circular blocker is resolved on main by #149697, landed as Our alternative union #149722 is now closed as superseded; the reviewed commits and additional Matrix sibling-identity regression are retained. We will use the canonical main implementation for the diagnostics work. Your reply-setter cleanup in this PR has not landed and remains an optional author-owned cleanup; your branch was not changed. No handoff or independent-green wait is needed from this coordination thread. |
|
Superseded by #149697, landed as 08584b3. The renderer is back at 700 counted lines under the unchanged 700-line limit. Source CI passed 132 jobs with 12 skipped: https://github.com/openclaw/openclaw/actions/runs/35059526202. The landed renderer and relevant lint inputs match that source head. Post-merge CI was cancelled before any jobs ran: https://github.com/openclaw/openclaw/actions/runs/35061054370. Closing this alternative as already fixed. |
What Problem This Solves
Fixes: Control UI lint fails on the merged mainline after the progress-card update in #149384 pushes the chat pane renderer above its 700-line limit.
User Impact
There is no user-visible change; selecting and canceling a reply keep the same behavior.
Why This Change Was Made
Both actions now use the existing reply setter, removing duplicate state assignment and render notification while preserving the progress-card changes and the line-limit guard.
Evidence
Exact-file static lint reproduces the original 702-line failure and passes after this three-line reduction with the unchanged repository config. On Node 24.20.0 with private frozen dependencies, production UI types and the repository typed-lint wrapper pass. The existing message-actions browser file passes all nine cases, including repeated Reply/Cancel interactions (33.91 seconds). Formatting,
git diff --check, and independent P2 source review also pass. Hosted CI is pending.