Skip to content

fix: keep optional release tooling comparisons advisory - #200527

Merged
RomneyDa merged 2 commits into
mainfrom
openclaw/rri563-advisory-tooling-lag-20261117
Nov 18, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
openclaw/rri563-advisory-tooling-lag-20261117

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

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

  • Replacement CLI regression fails on baseline 6747b1ec5ae3de93c92c50d37b51c33ee3370d50 at the injected Git comparison error, then passes with the unchanged production fix: advisory warning, successful exit, and both expected synthetic dispatches.
  • All 106 tests in full-release-validation-at-sha.test.ts pass 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.
  • Fresh local autoreview of the complete simplification delta against 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.
  • Prior independent/local production reviews and hosted review found no actionable defects. Production code is unchanged by this simplification; previous-head CI was green. Exact-head CI for 5f833bceec1c7151f14605381acd8a2e49bde330 is pending.
  • The regression runs the real CLI with local Git repositories, an injected comparison failure, and synthetic remote transports. It does not prove live GitHub/network recovery, hosted dispatch, cross-platform execution, or large-output buffering.

@clawsweeper

clawsweeper Bot commented Nov 17, 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 scripts Repository scripts size: M labels Nov 17, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 17, 2026
@clawsweeper

clawsweeper Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

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

  • Before: The exception aborts preflight before the remaining qualification checks.
  • After: The helper warns and continues; mandatory qualification failures remain fatal.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The patch is focused and source-correct, but required behavior proof is limited to mocked external commands.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release operators cannot continue qualification when an optional Git comparison throws.
Reason: This restores the recorded advisory contract with a focused change, and the maintainer-authored direction requires no additional product decision.

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
Reviewed head: 6a20386a900f62c0bce9583c57189f1fdf60c3fa

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: A CLI dry run using real Git that shows a comparison failure warning followed by continued qualification checks is missing.
Agent review details

How this fits together

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

Technical review

Best 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

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Dallin Romney: Raw commit 753c73d adds scripts/full-release-validation-at-sha.mts:842 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 753c73dd43d9; files: scripts/full-release-validation-at-sha.mts)
  • Vincent Koc: Raw commit 51a0704 adds scripts/full-release-validation-at-sha.mts:168 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 51a070491351; files: scripts/full-release-validation-at-sha.mts)

PR surface

Tests +158, Other +7. Total +165 across 4 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 3 158 0 +158
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 44 37 +7
Total 4 202 37 +165

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: Optional drift reporting can abort release-operator qualification, with no demonstrated end-user runtime outage.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Optional drift reporting can abort release-operator qualification, with no demonstrated end-user runtime outage.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

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]>
@RomneyDa
RomneyDa enabled auto-merge (squash) November 18, 2026 12:03
@RomneyDa
RomneyDa merged commit 069c3e2 into main Nov 18, 2026
106 checks passed
@RomneyDa
RomneyDa deleted the openclaw/rri563-advisory-tooling-lag-20261117 branch November 18, 2026 12:11
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
)

* 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]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
* 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)
RomneyDa added a commit that referenced this pull request Nov 19, 2026
* 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)
github-actions Bot pushed a commit to clawhaven/openclaw that referenced this pull request Nov 23, 2026
)

* 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. scripts Repository scripts size: S 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