Skip to content

improve(release): reuse exact-SHA validation evidence - #104162

Merged
vincentkoc merged 26 commits into
mainfrom
feat/release-controller-efficiency
Jul 11, 2026
Merged

vincentkoc merged 26 commits into
mainfrom
feat/release-controller-efficiency

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Jul 11, 2026 •

Copy link
Copy Markdown
Member

Closes #104161

What Problem This Solves

Resolves a release-operations problem where unchanged beta and stable candidates repeatedly redo changelog GitHub queries, full validation workflows, run discovery, and Testbox hydration after retries or interrupted sessions.

Why This Change Was Made

This makes release preparation resumable and exact-SHA aware without weakening proof. Changelog data is checkpointed by immutable commit range, candidate state and run IDs are persisted, exact-target CI evidence is reused only across trusted-main lineage and strictly revalidated before publish, and Testbox leases rotate when environment inputs drift while still syncing current source every run.

User Impact

Release managers can resume an unchanged candidate instead of restarting hours of validation. Fresh validation remains available with reuse_evidence=false, and any target, workflow, lineage, dependency, or candidate-option drift fails closed.

Evidence

  • 436 focused tests passed after rebasing onto current main.
  • Final SHA-pinned evidence resolver suite: 36/36 passed.
  • QA packaging regression fix: 84 focused tests passed.
  • Script lint repair: 230 focused tests passed.
  • node --check passed for the changed release and Testbox scripts.
  • bash -n scripts/github/find-reusable-release-validation.sh
  • git diff --check origin/main...HEAD
  • Structured autoreview completed with no accepted or actionable findings.
  • Exact-head CI exposed and this branch fixes the same QA packaging failure present on current main: non-publish QA artifacts may explicitly use Unreleased notes while publishing remains strict.
  • Remote Testbox subsets passed during development; later Blacksmith lifecycle attempts intermittently dropped fresh boxes before readiness, so final focused verification used the repository's narrow local fallback.

AI-assisted implementation. The full 25-commit stack was reviewed and is intentionally preserved without squashing.

@vincentkoc vincentkoc self-assigned this Jul 11, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: XL maintainer Maintainer-authored PR labels Jul 11, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review July 11, 2026 04:22
@vincentkoc
vincentkoc requested a review from a team as a code owner July 11, 2026 04:22
@openclaw-barnacle openclaw-barnacle Bot added the docker Docker and sandbox tooling label Jul 11, 2026
@clawsweeper

clawsweeper Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 5d742697f3ba3f5ae69d123e887e6f8f544eceac, but the PR head is now 16ba8b52847a9f980c61578097b3d9fce4fd1323. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

@vincentkoc
vincentkoc merged commit c47ceb0 into main Jul 11, 2026
87 of 91 checks passed
@vincentkoc
vincentkoc deleted the feat/release-controller-efficiency branch July 11, 2026 04:48
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

@vincentkoc

Copy link
Copy Markdown
Member Author

Follow-up correction: this PR initially landed as a squash because the linked
worktree invocation silently re-executed stale scripts/pr code from the
canonical checkout.

PR #104181 restored the requested history without rewriting main:

  • final merge commit: daf3b86f45a650871b2cefdf0187ead5a6132469
  • original PR head 16ba8b52847a9f980c61578097b3d9fce4fd1323 is now reachable from main
  • the follow-up also makes scripts/pr reject dirty or revision-mismatched
    canonical wrapper code before re-exec
  • exact-head CI run 29141169099 passed all 55 jobs

Repository merge settings and the linear-history ruleset were restored
immediately after the exact merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 11, 2026
* perf(release): share changelog verification snapshots

* perf(release): reuse exact-SHA validation evidence

* feat(release): checkpoint candidate workflow state

* feat(release): watch CI transitions compactly

* fix(testbox): rotate stale reusable leases

* refactor(release): move CI verifier into scripts

* fix(release): preserve verifier executable mode

* fix(testbox): force noninteractive remote hydration

* perf(testbox): skip sync for proven clean heads

* fix(testbox): keep changed gates synchronized

* fix(testbox): isolate git state probes

* fix(testbox): isolate wrapper git commands

* fix(testbox): preserve git command contracts

* fix(release): validate reused SHA evidence

* fix(release): resume serialized plugin selections

* fix(testbox): sync source on every lease reuse

* fix(release): verify from trusted workflow checkout

* fix(release): gate evidence reuse on trusted lineage

* fix(release): support legacy verifier checkouts

* fix(testbox): export CI across shell snippets

* fix(release): revalidate reused evidence before publish

* fix(release): reject untrusted reuse before lookup

* fix(release): reuse SHA-pinned root evidence

* fix(ci): allow unreleased notes in QA packages

* fix(release): satisfy script lint contracts

* fix(release): handle Unicode workflow refs safely
vincentkoc added a commit that referenced this pull request Jul 11, 2026
* perf(release): share changelog verification snapshots

* perf(release): reuse exact-SHA validation evidence

* feat(release): checkpoint candidate workflow state

* feat(release): watch CI transitions compactly

* fix(testbox): rotate stale reusable leases

* refactor(release): move CI verifier into scripts

* fix(release): preserve verifier executable mode

* fix(testbox): force noninteractive remote hydration

* perf(testbox): skip sync for proven clean heads

* fix(testbox): keep changed gates synchronized

* fix(testbox): isolate git state probes

* fix(testbox): isolate wrapper git commands

* fix(testbox): preserve git command contracts

* fix(release): validate reused SHA evidence

* fix(release): resume serialized plugin selections

* fix(testbox): sync source on every lease reuse

* fix(release): verify from trusted workflow checkout

* fix(release): gate evidence reuse on trusted lineage

* fix(release): support legacy verifier checkouts

* fix(testbox): export CI across shell snippets

* fix(release): revalidate reused evidence before publish

* fix(release): reject untrusted reuse before lookup

* fix(release): reuse SHA-pinned root evidence

* fix(ci): allow unreleased notes in QA packages

* fix(release): satisfy script lint contracts

* fix(release): handle Unicode workflow refs safely

(cherry picked from commit c47ceb0)
wheakerd pushed a commit to wheakerd/clawdbot that referenced this pull request Jul 15, 2026
* perf(release): share changelog verification snapshots

* perf(release): reuse exact-SHA validation evidence

* feat(release): checkpoint candidate workflow state

* feat(release): watch CI transitions compactly

* fix(testbox): rotate stale reusable leases

* refactor(release): move CI verifier into scripts

* fix(release): preserve verifier executable mode

* fix(testbox): force noninteractive remote hydration

* perf(testbox): skip sync for proven clean heads

* fix(testbox): keep changed gates synchronized

* fix(testbox): isolate git state probes

* fix(testbox): isolate wrapper git commands

* fix(testbox): preserve git command contracts

* fix(release): validate reused SHA evidence

* fix(release): resume serialized plugin selections

* fix(testbox): sync source on every lease reuse

* fix(release): verify from trusted workflow checkout

* fix(release): gate evidence reuse on trusted lineage

* fix(release): support legacy verifier checkouts

* fix(testbox): export CI across shell snippets

* fix(release): revalidate reused evidence before publish

* fix(release): reject untrusted reuse before lookup

* fix(release): reuse SHA-pinned root evidence

* fix(ci): allow unreleased notes in QA packages

* fix(release): satisfy script lint contracts

* fix(release): handle Unicode workflow refs safely

(cherry picked from commit c47ceb0)
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
* perf(release): share changelog verification snapshots

* perf(release): reuse exact-SHA validation evidence

* feat(release): checkpoint candidate workflow state

* feat(release): watch CI transitions compactly

* fix(testbox): rotate stale reusable leases

* refactor(release): move CI verifier into scripts

* fix(release): preserve verifier executable mode

* fix(testbox): force noninteractive remote hydration

* perf(testbox): skip sync for proven clean heads

* fix(testbox): keep changed gates synchronized

* fix(testbox): isolate git state probes

* fix(testbox): isolate wrapper git commands

* fix(testbox): preserve git command contracts

* fix(release): validate reused SHA evidence

* fix(release): resume serialized plugin selections

* fix(testbox): sync source on every lease reuse

* fix(release): verify from trusted workflow checkout

* fix(release): gate evidence reuse on trusted lineage

* fix(release): support legacy verifier checkouts

* fix(testbox): export CI across shell snippets

* fix(release): revalidate reused evidence before publish

* fix(release): reject untrusted reuse before lookup

* fix(release): reuse SHA-pinned root evidence

* fix(ci): allow unreleased notes in QA packages

* fix(release): satisfy script lint contracts

* fix(release): handle Unicode workflow refs safely

(cherry picked from commit c47ceb0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling docs Improvements or additions to documentation maintainer Maintainer-authored PR scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve release candidate validation reuse and recovery

1 participant