Repository navigation
fix(pr): refresh tooling before preparing reviewed incoming PRs - #206236
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 changes before merge. What this changesThis PR adds regression tests for refreshing frozen PR tooling after an incoming review and before preparation. Example: A maintainer finishes reviewing the Android CodeQL repair at #203843 and needs newer preparation tooling.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Partial Merge readiness⛔ Needs changes before merge - 1 item remains Keep this maintainer-authored draft open: it covers a concrete tooling gap, but the pinned head contains only tests and cannot yet deliver the intended behavior. Reviewed head: Before merge
Findings
Agent review detailsHow this fits togetherThe native PR wrapper selects trusted tooling from a retained Git binding, validates review and preparation evidence, and advances that binding before subsequent preparation commands. flowchart TD
A[Reviewed incoming PR] --> B[Native PR wrapper]
B --> C[Trusted workflow selection]
C --> D[Review evidence validation]
D --> E[Workflow binding transition]
E --> F[Ordinary preparation]
Technical reviewBest possible solution: Extend the existing workflow-binding and successor owners to admit reviewed incoming PRs without fabricating preparation records or changing their reviewed source. Do we have a high-confidence way to reproduce the issue? Source establishes the unsupported path: the new fixture supplies --incoming-review, which the unchanged parser rejects, and the existing successor owner also requires preparation records; no target code was executed. Is this the best way to solve the issue? Reusing the existing successor and V3 binding owner is a focused approach, but the pinned tests-only head does not implement it. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 54c7dc134e87. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +189. Total +189 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 26, 2026, 7:05 PM ET / November 27, 2026, 00:05 UTC. |
3204c50 to
75da214
Compare
|
Merged via squash.
|
* commit '7df6cb759f9e604921536a700e2f527c5516e7de': (185 commits) docs: clarify what telemetry OpenClaw sends and how to opt out refactor(ui): remove retired stream-follow test seams (#206316) fix: distinguish missing command results from unknown outcomes (#206313) fix(build): reuse stamps after identical pnpm installs (#206282) chore(ci): inventory Gateway model catalog worker lifecycles (#206251) fix: keep failed image inspections inside chat activity (#206283) fix: clarify sent-message labels and chat activity icons (#206048) fix(cron): use the service's free memory for extra automation runs (#206322) test(android): reuse the shared TLS fixture (#206280) fix(ui): restore New Session recovery during startup (#206319) test(macos): align new Gateway URL expectations (#206281) feat: let doctor --fix tell when its startup repairs have nothing to do (#206246) fix(android): pause idle gateway discovery without blocking consumers (#196209) fix(ci): prepare the Android SDK for scheduled CodeQL scans (#203843) fix(memory): read delegated cgroup pressure from the mapped leaf (#206308) improve(config): reuse plugin metadata during auto-enable (#206289) improve: copy only the selected model for agent completions (#206287) fix(pr): refresh tooling before preparing reviewed incoming PRs (#206236) fix: keep Gateway ready while plugins drain after updates (#206299) fix(crabbox): keep unused prepared mirrors reusable (#206267) ...
…claw#206236) * test(pr): reproduce reviewed incoming workflow succession failure * fix(pr): refresh tooling for reviewed incoming PRs before preparation * test(pr): brace incoming authority fixtures
What Problem This Solves
A reviewed incoming PR cannot reach preparation when its frozen tooling is broken: workflow succession previously required preparation records that do not exist yet. This blocks the Android CodeQL repair in #203843.
User Impact
prepare-workflow-successor --incoming-reviewadvances authenticated current-main tooling while preserving the exact reviewed source and evidence. Ordinary preparation and all existing review, CI, and merge gates still apply.Why This Change Was Made
The change extends the existing V3 binding, evidence inventory, authentication, and atomic transition owners. It rejects pending transitions and incompatible lifecycle state before any recovering guard can change the checkout. Prepared READY, correction, and proof paths retain their contracts. Production growth is 49 net lines for the missing incoming-review lifecycle stage; tests add 193 net lines.
Evidence
Final head:
75da2142c384d65f2b4aab702f8e3e623cdc25d8, based oneb8e41d8847be846cf260bb15ef0e832bd34a757.openclaw/ci-gaterollup is successful; no exemption is requested.bdde034781f5b8b6be700e74efdde57b56cd9ee4executed 118 Bun cases: 114 passed and four failed at the missing incoming-transition capability. This is historical failure evidence. Historical V3 reader refusal is verified from its strict discriminator check, not a separate historical-reader runtime execution.openSettingsDialog,checkDoctorLegacyStateDirPending,startBrokerExeca), independently fixed by fix(ci): resolve production export consumers #206238. This does not claim whole-workflow success. Normal automatic CI and the actual required rollup subsequently passed on this same head.