Skip to content

fix(ci): restore beta release harnesses - #116596

Merged
vincentkoc merged 5 commits into
mainfrom
fix-release-beta6-harnesses-20260730
Jul 31, 2026
Merged

vincentkoc merged 5 commits into
mainfrom
fix-release-beta6-harnesses-20260730

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes release validation failures where the frozen beta candidate was tested through stale trusted harness behavior:

  • Windows installer checks attempted managed service setup with an isolated state identity, so onboarding reported that the service was not installed.
  • The Codex npm plugin check installed a local archive directly, which correctly remained untrusted and could not exercise trusted official-plugin helpers.
  • The authenticated update-restart fixture modeled user and system systemctl show queries identically, producing a false ownership conflict.
  • Native Windows checks could prefer stale runner PATH entries over the Node runtime provisioned by setup-node.

Why This Change Was Made

The release harness now keeps installer download/setup isolated while moving only managed service lifecycle checks onto a pristine, exclusively leased host account. It also serves the exact Codex tarball through the fixture npm registry, models system-scope ownership probes explicitly, and keeps the current setup-node PATH first.

Product runtime behavior is unchanged. These changes make trusted release validation match the installed environments it claims to prove.

User Impact

Maintainers can validate the frozen 2026.7.2-beta.6 candidate without false failures from Windows service identity, official plugin trust shape, systemd ownership probing, or stale Windows Node selection.

Evidence

@vincentkoc vincentkoc self-assigned this Jul 31, 2026
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts docker Docker and sandbox tooling size: L maintainer Maintainer-authored PR labels Jul 31, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review July 31, 2026 00:29
@vincentkoc
vincentkoc force-pushed the fix-release-beta6-harnesses-20260730 branch from f0ba644 to ba820bc Compare July 31, 2026 00:57
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Jul 31, 2026
@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 30, 2026, 9:06 PM ET / July 31, 2026, 01:06 UTC.

ClawSweeper review

What this changes

This PR repairs beta release-validation harnesses so Windows managed-service checks use the leased host identity, the Codex plugin test uses a fixture registry, systemd probes distinguish system scope, and setup-node’s Node runtime remains first on Windows PATH.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep this PR open for explicit maintainer release review. It changes the test environments that decide whether the frozen beta candidate is accepted, and both the protected maintainer label and MEMBER authorship require human judgment rather than automated cleanup.

Priority: P2
Reviewed head: ba820bc83be17bb32e00ee828de801c53cddb27c
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch has a coherent narrow purpose, focused regression coverage, and no concrete review finding from the supplied evidence; release-owner validation remains the merge gate.
Proof confidence 🌊 off-meta tidepool Not applicable: This MEMBER-authored release-harness PR is exempt from the external-contributor real-behavior-proof gate; its reported focused tests and candidate-run links remain relevant release evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored release-harness PR is exempt from the external-contributor real-behavior-proof gate; its reported focused tests and candidate-run links remain relevant release evidence.
Evidence reviewed 5 items Release harness scope: The proposed branch changes the managed installer suite, Windows PATH bootstrap, Codex npm-plugin Docker scenario, and two systemd fixtures; these are the environments used to validate beta candidates.
Focused regression coverage: The PR body reports 123 passing cross-OS release-check tests, 178 passing Docker helper tests, shell syntax checks for the changed harnesses, and a clean whitespace check.
Candidate-validation context: The PR identifies frozen candidate e43b7df and links its original full validation plus release-check child run; the supplied check state also shows the security and most fast checks succeeding while several compact and Windows lanes remain active or queued.
Findings None None.
Security None None.

How this fits together

OpenClaw’s cross-platform release checks install and exercise a candidate build across Windows, Docker, and Linux-like fixtures before a beta is accepted. These harnesses feed release confidence rather than changing the shipped agent runtime directly.

flowchart LR
  A[Beta candidate artifact] --> B[Cross-platform release harness]
  B --> C[Windows installer and service checks]
  B --> D[Codex plugin registry check]
  B --> E[Systemd update-restart fixture]
  B --> F[Windows Node runtime selection]
  C --> G[Candidate validation result]
  D --> G
  E --> G
  F --> G
Loading

Decision needed

Question Recommendation
Should release owners accept these changed Windows, npm-registry, systemd, and PATH fixtures as the correct release gate for candidate e43b7df after the remaining validation completes? Confirm fixture fidelity and merge: Compare the revised fixtures with the candidate’s installed behavior and merge after the remaining release validation succeeds.

Why: This PR deliberately changes the environments and assumptions used to accept a beta candidate; focused unit coverage cannot by itself establish release-gate fidelity.

Before merge

  • Resolve merge risk (P1) - Merging changes to the release fixtures without release-owner confirmation could turn a real Windows installer, official-plugin trust, systemd ownership, or Node-runtime defect into a false beta pass or a false release failure.
  • Resolve merge risk (P1) - The supplied checks still show two compact Node lanes in progress and the Windows test lane queued, so final candidate acceptance evidence is incomplete.
  • Complete next step (P2) - This needs release-owner review and completed candidate validation, not an automated repair or cleanup action.
Agent review details

Security

None.

PR surface

Tests +133, Other +421. Total +554 across 8 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 136 3 +133
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 6 442 21 +421
Total 8 578 24 +554

Review metrics

Metric Value Why it matters
Acceptance contracts 4 changed validation contracts Windows service identity, official-plugin installation shape, systemd ownership probing, and Node selection collectively determine whether a beta candidate passes release validation.

Stored data model

Persistent data-model change detected: serialized state: scripts/e2e/codex-npm-plugin-live-docker.sh. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Validate fixture fidelity before merge (recommended)
    Require release-owner confirmation that the fixtures reproduce the intended installed environments and wait for the active candidate checks to complete.
  2. Accept the bounded release-gate risk
    Release owners may merge based on the focused tests and existing candidate evidence while explicitly owning the remaining fixture-fidelity uncertainty.

Technical review

Best possible solution:

Confirm that each revised fixture still models the installed candidate’s production contract, then complete the beta candidate validation and merge only if the release owner accepts that evidence.

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

No high-confidence local reproduction was completed because the restricted shell could not inspect or execute the repository. The supplied PR context nevertheless identifies four concrete failing harness paths and focused regression coverage for them.

Is this the best way to solve the issue?

Unclear: the patch is a coherent, narrow fixture repair, but the best solution still requires release-owner confirmation that the revised fixtures represent the candidate’s real installed environments rather than only the test model.

AGENTS.md: unclear because the file could not be read completely.

Codex review notes: model internal, reasoning high; reviewed against 3a6ee79a72e4.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P2: This is a bounded but important release-validation repair; it affects beta acceptance rather than the shipped agent runtime directly.
  • merge-risk: 🚨 automation: The PR changes CI and release-harness behavior, so an inaccurate fixture could make automation accept or reject a candidate incorrectly.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored release-harness PR is exempt from the external-contributor real-behavior-proof gate; its reported focused tests and candidate-run links remain relevant release evidence.

Evidence

What I checked:

  • Release harness scope: The proposed branch changes the managed installer suite, Windows PATH bootstrap, Codex npm-plugin Docker scenario, and two systemd fixtures; these are the environments used to validate beta candidates. (scripts/lib/cross-os-release-checks/lanes.ts:397, ba820bc83be1)
  • Focused regression coverage: The PR body reports 123 passing cross-OS release-check tests, 178 passing Docker helper tests, shell syntax checks for the changed harnesses, and a clean whitespace check. (test/scripts/openclaw-cross-os-release-checks.test.ts:182, ba820bc83be1)
  • Candidate-validation context: The PR identifies frozen candidate e43b7df and links its original full validation plus release-check child run; the supplied check state also shows the security and most fast checks succeeding while several compact and Windows lanes remain active or queued. (ba820bc83be1)
  • Prior review continuity: The prior ClawSweeper cycle reported no actionable code findings and required maintainer review because fixture changes can create false beta acceptance or rejection if they cease to represent installed behavior. (ba820bc83be1)
  • Repository-policy inspection limitation: The shell sandbox failed before a full local AGENTS.md, current-main source, and git-history pass could be completed; this does not alter the keep-open decision, which is independently required by the protected maintainer label and MEMBER authorship. (AGENTS.md)

Likely related people:

  • vincentkoc: The supplied PR history attributes all five focused commits for systemd ownership, Docker package probing, Windows runtime selection, and managed-service isolation to this contributor; current-main ownership could not be independently traced in the restricted shell. (role: recent release-harness contributor; confidence: medium; commits: 346bfa48153f, 55e9b8c5de67, 70478a1bcaae; files: scripts/lib/cross-os-release-checks/lanes.ts, scripts/lib/cross-os-release-checks/installed.ts, scripts/e2e/codex-npm-plugin-live-docker.sh)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Complete the queued and in-progress candidate checks.
  • Have a release owner confirm that the changed fixtures faithfully represent the installed candidate environments.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-07-31T01:00:41.743Z sha ba820bc :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Jul 31, 2026
@vincentkoc
vincentkoc merged commit 39156a9 into main Jul 31, 2026
114 of 119 checks passed
@vincentkoc
vincentkoc deleted the fix-release-beta6-harnesses-20260730 branch July 31, 2026 01:17
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Jul 31, 2026
* origin/main:
  fix(ci): restore beta release harnesses (#116596)
vincentkoc added a commit that referenced this pull request Jul 31, 2026
…e2e-integration-20260730

* origin/main:
  fix(agents): resume Code Mode through gateway restarts (#116605)
  fix(ci): restore beta release harnesses (#116596)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 31, 2026
* test(release): model systemd ownership probes

* fix(ci): restore release Docker package probes

* fix(release): preserve Windows setup-node runtime

* fix(release): isolate Windows service validation

* fix(release): strip isolated Windows service identity
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 31, 2026
* origin/main:
  fix(ci): restore beta release harnesses (openclaw#116596)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: L 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