Skip to content

improve(ci): shorten release candidate evidence binding - #199780

Merged
RomneyDa merged 2 commits into
mainfrom
openclaw/openclaw-release-validation-optimization
Nov 15, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
openclaw/openclaw-release-validation-optimization

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Proposed title: improve(ci): shorten release candidate evidence binding

What Problem This Solves

Full release validation waits for a complete dependency installation in a candidate-evidence job that only executes Node built-ins and shell tools.

User Impact

Candidate-dependent validation can start earlier without removing any validation or changing candidate identity and artifact verification.

Why This Change Was Made

Remove the unused release-harness dependency installation and check out only scripts. Preserve the supported Node runtime, authenticated exact workflow revision, producer verification, artifact digests/expiry, manifest generation and binding. Net diff: 5 insertions, 8 deletions across the workflow and two existing regressions; no new test scaffolding.

Evidence

  • Observed FRV parent 43751831666: https://github.com/openclaw/openclaw/actions/runs/43751831666 . Candidate producer 43753547018 binder job132934606522 took83s; checkout37s and unnecessary Setup trusted release harness27s. Candidate acquisition delayed candidate-dependent children until19:47:45UTC.
  • Second observed parent43759426550 candidate binder https://github.com/openclaw/openclaw/actions/runs/43761997396/job/132960855788 took82s, checkout31s and unnecessary setup29s.
  • Removed setup cost is measured27–29s across two jobs. End-to-end FRV savings and sparse-checkout improvement are estimates, not measured post-change hosted results; runner queues can change the critical path.
  • The exact production candidate_evidence shell step rebuilt the retained manifest from parent43751831666 using only its eight-script dependency closure and no node_modules, while validating actual read-only GitHub producer/artifact metadata. Rebuilt manifest digest exactly matched fbc6271f255ec73220e5d15e03442a7b98f663e64eece27469639fd9170a0898. This does not test GitHub action checkout execution itself.
  • Existing focused candidate regression: red before workflow change, green after. Complete package-acceptance-workflow suite: 587 passed, 103.98s, at commit 35ba43a90e1c3c3840cda15be320af260ac8a262.
  • Exact first-head CI exposed a missed sibling assertion in release-no-push-workflow: it still required the removed setup step. Reproduced it locally, then preserved the actual invariant instead: authenticated revision restoration must precede candidate evidence creation. Also assert the scripts-only checkout. Both release-no-push-workflow and release-harness-restore-workflow suites now pass: 100 tests, 12.26s. Canonical scripts test typecheck, targeted lint, formatting and git diff --check passed after this repair. The workflow/production code is unchanged from the 587-test passing head; new-head hosted CI passed (see current-head gate evidence below).
  • Workflow validation passed: pinned actionlint, zizmor, generated CI Git-owner guard, composite action interpolation guard and conflict-marker guard. Used a workspace-local pre-commit 4.7.0 environment, with the inherited empty GITHUB_TOKEN removed for the validator subprocess. No checks weakened.
  • Repaired the missing-zip validation environment with a workspace-local extraction of Ubuntu Info-ZIP. The final complete suite passed without skipped cases or weakened checks; the earlier interrupted attempt is superseded.
  • Separate local independent review was explicitly waived by the requester on November 15, 2026. Hosted ClawSweeper review, exact-head CI, and mergeability remain required before calling this review-ready.
  • Simplification pass: removed unused setup rather than introducing caching or another owner. All producer identity, expiry and artifact integrity checks stay intact. No new test harness; the existing binder contract guards the dependency-free path.

Current-head review readiness — November 15, 2026

@clawsweeper

clawsweeper Bot commented Nov 15, 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.

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 15, 2026
@clawsweeper

clawsweeper Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR removes the candidate-evidence job’s unused dependency installation and limits its checkout to scripts.

Example: Full Release Validation creates candidate evidence after producing package and image artifacts.

  • Before: The binder installs release-harness dependencies; two linked jobs spent 27 and 29 seconds on that setup.
  • After: The binder uses its existing Node runtime and scripts directly; realized hosted savings remain unmeasured.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused optimization supported by verified baseline timings, a compatible dependency closure, reported production-step replay, and passing exact-head CI.
Proof confidence 🐚 platinum hermit (4/6) This CI-only optimization needs no shipped-product demonstration; the body reports a dependency-free production-step replay with an identical manifest digest, while explicitly excluding hosted checkout and post-change timing claims.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Release operators wait for an unnecessary dependency installation before candidate-dependent validation can proceed.
Reason: The maintainer-authored direction removes demonstrated waste with a small deletion and preserves existing validation and artifact contracts.

Merge readiness

✅ Ready for maintainer review

This PR is a useful, narrowly scoped CI optimization with no actionable correctness or security findings; the exact-head CI gate passes.

Priority: P3
Reviewed head: 0f0c4db56cc3792d1dd35e5ab9b85f25e1b79c8c

Before merge

None.

Findings

None.

Agent review details

How this fits together

The release candidate binder receives producer identity and artifact metadata, verifies their integrity and workflow revision, and emits an uploaded manifest plus a binding for downstream validation.

flowchart LR
  A[Candidate producer] --> B[Artifact metadata]
  B --> C[Trusted binder]
  D[Authenticated workflow scripts] --> C
  C --> E[Verified candidate manifest]
  E --> F[Downstream validation]
Loading

Technical review

Best possible solution:

Keep the existing binder and its verification checks while removing the unused installation and retaining the scripts dependency closure.

Do we have a high-confidence way to reproduce the issue?

Current main visibly installs dependencies in a binder whose executed dependency closure requires none, and both linked hosted jobs confirm that setup cost.

Is this the best way to solve the issue?

The patch follows the smallest complete approach: delete unused work at the existing owner, preserve the trust contract, and update the affected sibling assertions.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against b145115bb67a.

Provenance checked

  • Trusted candidate-evidence binder keeps the original intent (1186e6a: Isolate evidence creation from selected-target execution and bind immutable artifact and producer identities.)
  • Authenticated harness revision restoration keeps the original intent (38740f2: Restore and verify the authenticated workflow revision before executing repository scripts.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Raw commit 1186e6a adds .github/workflows/openclaw-live-and-e2e-checks-reusable.yml:2965 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 1186e6a6f3d4; files: .github/workflows/openclaw-live-and-e2e-checks-reusable.yml)
  • Dallin Romney: Raw commit d76b29e adds .github/workflows/openclaw-live-and-e2e-checks-reusable.yml:634 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d76b29e1529d; files: .github/workflows/openclaw-live-and-e2e-checks-reusable.yml)
  • RoboClaw: Raw commit 38740f2 adds .github/workflows/openclaw-live-and-e2e-checks-reusable.yml:3507 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 38740f233d7a; files: .github/workflows/openclaw-live-and-e2e-checks-reusable.yml)

PR surface

Tests +1, Config -4. Total -3 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 4 3 +1
Docs 0 0 0 0
Config 1 1 5 -4
Generated 0 0 0 0
Other 0 0 0 0
Total 3 5 8 -3

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.

Review metrics

Metric Value Why it matters
Binder dependency installations 1 → 0 Deletes an unused setup operation measured at 27–29 seconds without introducing caching or changing validation coverage.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: A bounded CI efficiency improvement with no end-user runtime change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit 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 15, 2026, 5:38 PM ET / 22:38 UTC.

@RomneyDa
RomneyDa merged commit 319a142 into main Nov 15, 2026
122 of 123 checks passed
@RomneyDa
RomneyDa deleted the openclaw/openclaw-release-validation-optimization branch November 15, 2026 23:41
RomneyDa added a commit that referenced this pull request Nov 16, 2026
* improve(ci): shorten release candidate evidence binding

* test(ci): preserve binder restore ordering without setup

Release adaptation: exact canonical patch. The candidate-owned evidence binder needs only scripts and retains trusted-workflow identity and manifest validation; no lane or proof removed. Companion #199785 and #199836 tracked separately.

(cherry picked from commit 319a142)
Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 16, 2026
* improve(ci): shorten release candidate evidence binding

* test(ci): preserve binder restore ordering without setup

(cherry picked from commit 319a142)

Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 16, 2026
)

* improve(ci): shorten release candidate evidence binding

* test(ci): preserve binder restore ordering without setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS 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