Repository navigation
fix(ci): restore beta release harnesses - #116596
Conversation
f0ba644 to
ba820bc
Compare
|
Codex review: needs maintainer review before merge. Reviewed July 30, 2026, 9:06 PM ET / July 31, 2026, 01:06 UTC. ClawSweeper reviewWhat this changesThis 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 readinessKeep 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 Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’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
Decision needed
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
Agent review detailsSecurityNone. PR surfaceTests +133, Other +421. Total +554 across 8 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest 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. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Merged via squash.
|
* origin/main: fix(ci): restore beta release harnesses (#116596)
* 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
* origin/main: fix(ci): restore beta release harnesses (openclaw#116596)
What Problem This Solves
Fixes release validation failures where the frozen beta candidate was tested through stale trusted harness behavior:
systemctl showqueries identically, producing a false ownership conflict.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.6candidate without false failures from Windows service identity, official plugin trust shape, systemd ownership probing, or stale Windows Node selection.Evidence
e43b7df0869c7af6181d4ba1a44dee5effffc9ecnode scripts/run-vitest.mjs test/scripts/openclaw-cross-os-release-checks.test.ts- 123 passednode scripts/run-vitest.mjs test/scripts/docker-build-helper.test.ts- 178 passedbash -npassed for the four changed shell harnessesgit diff --check origin/main...HEADpassed