Repository navigation
fix: keep optional release tooling comparisons advisory - #200527
Conversation
Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
|
🦞👀 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. What this changesThis PR makes optional release-tooling Git comparison failures produce a warning instead of aborting qualification. Example: During qualification for release/2026.8.1, the advisory git diff --shortstat command fails.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR narrowly repairs a current advisory-preflight failure, with no introduced correctness defect found. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Full Release Validation helper accepts candidate and tooling revisions, checks their prerequisites, reports optional drift from main, and submits an admitted qualification request. flowchart TD
A[Release operator] --> B[Trusted tooling checks]
B --> C[Advisory Git comparison]
C --> D[Candidate qualification checks]
D --> E[Admission]
E --> F[Workflow dispatch]
Technical reviewBest possible solution: Keep comparison error handling inside the existing advisory owner while preserving bounded output, frozen identities, and every mandatory gate. Do we have a high-confidence way to reproduce the issue? Source shows that a failed comparison command throws through preflight on current main; the PR reports baseline failures and repaired passes with synthetic responses, and no execution was performed during this read-only review. Is this the best way to solve the issue? The scoped catch is the smallest complete repair: advisory comparison failures stop escaping their owner while mandatory validation remains outside it. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7f07edeba9ea. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +158, Other +7. Total +165 across 4 files. Added test files: 1. 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 17, 2026, 4:41 AM ET / 09:41 UTC. |
Reuse the existing dispatch fixture for one advisory comparison failure; remove the standalone preload and duplicate preflight harness. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
) * fix: keep optional release tooling comparisons advisory Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * test: simplify release tooling lag regression Reuse the existing dispatch fixture for one advisory comparison failure; remove the standalone preload and duplicate preflight harness. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> --------- Co-authored-by: vincentkoc <[email protected]>
* chore: retire June upgrade baselines from release validation Advance the shared automatic qualification floor to 2026.7.1 and align existing baseline fixtures. Preserve explicit historical baseline selection. Co-authored-by: RomneyDa <[email protected]> * chore: retire June upgrade baselines from release validation OpenClaw-Publication: 30a4a362-5ccc-4ac7-b2cf-b340fdb0e66a * chore: remove pinned oldest upgrade baseline Co-authored-by: RomneyDa <[email protected]> * Publish openclaw/remove-outdated-release-upgrade-scenarios OpenClaw-Publication: 69a19a1c-7527-4f9e-a1ba-62c34bd25bd0 --------- Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 142e499) Companion audit: #201313, #200527, #200386, #200562 touch workflow/test neighbors but are independent and assigned separately. Explicit historical baseline selectors remain supported. (cherry picked from commit 9fc44690ad196164e038afe931c81c113d79e87f)
* fix: keep optional release tooling comparisons advisory Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * test: simplify release tooling lag regression Reuse the existing dispatch fixture for one advisory comparison failure; remove the standalone preload and duplicate preflight harness. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> --------- Co-authored-by: vincentkoc <[email protected]> (cherry picked from commit 069c3e2) Co-authored-by: RomneyDa <[email protected]> Backport review: No later same-path/PR companions. #191037 contains source SHA mention but changes WhatsApp notices, unrelated to advisory Git comparisons.: (cherry picked from commit f250e7d75f219fadb3e994a33c67fdd073080387)
) * fix: keep optional release tooling comparisons advisory Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * test: simplify release tooling lag regression Reuse the existing dispatch fixture for one advisory comparison failure; remove the standalone preload and duplicate preflight harness. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> --------- Co-authored-by: vincentkoc <[email protected]> (cherry picked from commit 069c3e2) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit ced9e77f04b61f817fa12297756b6c516cd2fd01)
What Problem This Solves
Fixes release-validation preflight aborting when an optional candidate-tooling comparison fails, even though its independent qualification checks can still run.
Related: openclaw/tideclaw#11 (RRI-563).
User Impact
Release operators receive a warning and can continue through the existing qualification checks when Git cannot compute advisory tooling drift. Mandatory trusted-source, package-source, provenance, and admission failures remain fatal. No real release is dispatched by the tests.
Why This Change Was Made
Keep error handling inside the existing advisory comparison owner. Bounded
--shortstat, the existing command buffer, and frozen candidate/tooling/admission identities remain unchanged.At maintainer request, removed the standalone 80-line preload and 49-line helper. One focused regression now reuses the existing CLI dispatch fixture; pre-existing prerequisite-rejection tests remain unchanged. Compared with the previous revision, this removes 142 net test/support lines. The complete PR now adds 16 test/support lines; production remains +44/-37 (net +7, largely try/catch indentation).
Evidence
6747b1ec5ae3de93c92c50d37b51c33ee3370d50at the injected Git comparison error, then passes with the unchanged production fix: advisory warning, successful exit, and both expected synthetic dispatches.full-release-validation-at-sha.test.tspass through the standard repository runner (67.78 seconds wall time; focused regression 2.20 seconds). Scoped lint, tooling-test typecheck, formatting, and whitespace checks pass. New-head CI duration is not yet available.6a20386a900f62c0bce9583c57189f1fdf60c3fa(OpenClaw engine, openai/gpt-6.1-sol, P2 threshold): scoped-clean, no actionable findings. The reviewer inspected the supplied diff and execution evidence; it did not independently execute tests or inspect unchanged fixture code.5f833bceec1c7151f14605381acd8a2e49bde330is pending.