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. |
|
Codex review: blocked before merge. Reviewed September 16, 2026, 2:09 AM ET / 06:09 UTC (Revision 2). ClawSweeper reviewWhat this changesMoves queued-message editing properties into the existing chat session-controls module to bring the renderer below its lint limit without changing behavior. Merge readiness⛔ Blocked before merge - 2 items remain No actionable patch defects found. Current main already resolves the lint failure through #149697; this protected maintainer PR remains open for a decision about retaining the optional extraction. Priority: P3 Review scores
Verification
How this fits togetherThe Control UI chat renderer combines session state and callbacks into properties consumed by the composer. The extracted assembly supplies the queued-message editor’s draft, source message, and editing actions. flowchart LR
A[Chat session state] --> C[Session controls]
B[Participation access] --> C
C --> D[Queued edit properties]
D --> E[Chat composer]
E --> F[Existing edit callbacks]
Decision needed
Why: The original blocker is resolved, but the maintainer-authored, protected PR cannot be automatically closed; retaining extra renderer headroom is a maintainer choice. Before merge
Agent review detailsSecurityNone. PR surfaceSource +8. Total +8 across 2 files. 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 the existing lint limit and unchanged queued-edit behavior; the landed callback simplification already supplies the required lint repair. Do we have a high-confidence way to reproduce the issue? Not applicable to a user-facing bug: source counting confirms the historical lint overage, while fetched main now meets the limit. No tests or lint processes were executed in this read-only review. Is this the best way to solve the issue? The extraction is a sound, narrow refactor, but it is no longer necessary to solve the stated problem because a merged alternative already restores compliance. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9b73eb1e90be. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Independent review of the full diff: scoped-clean at P1 — the eight queued-edit expressions move unchanged into the session-controls owner with evaluation order, callback references and participation guards preserved, no suppression or baseline touch, and the core lint jobs are green on this head. This is the fix for the red |
|
Superseded by #149697, merged as 08584b3. Current main 932846b retains that repair: the chat pane renderer is exactly at the unchanged 700-line lint limit. The landed callback simplifications preserve their gates, side effects, and undefined return values, so this separate props extraction is no longer needed. The Gateway startup timeout observed in this PR's CI remains a separate, unproven issue; this superseded closure does not claim to fix it. |
(cherry-picked from openclaw#149733)
Related: #149712
What Problem This Solves
The chat pane renderer exceeds the existing 700-line lint limit, blocking UI lint checks.
User Impact
There is no user-visible change. This restores lint compliance while preserving queued-message editing behavior.
Why This Change Was Made
Move queued-edit props assembly into the existing session-controls owner. The renderer falls from 702 to 693 counted lines without changing the limit. Returned values, callback identities, participation gates, lookup order, and the unconditional cancel callback remain unchanged.
Evidence
Exact-head CI passed both core lint jobs, the aggregate lint check, and all three UI test shards. Required CI remains blocked by failures in unchanged Node test files: planner fixture tails 48/49 and a Gateway post-ready close timeout. Native preparation is held until required CI is green.