Repository navigation
ci: test exact Windows release artifacts against gateway candidate - #1104
Conversation
|
Codex review: needs changes before merge. Reviewed August 8, 2026, 8:42 AM ET / 12:42 UTC. ClawSweeper reviewWhat this changesAdds a reusable release workflow that verifies immutable Gateway and Windows artifact identities, then runs Windows setup and connection E2E coverage against the Gateway candidate. Merge readiness⛔ Blocked by patch quality or review findings - 4 items remain Keep open and block merge: the release gate verifies a downloaded artifact but its E2E fixture still launches the locally built tray executable, so a passing run does not prove the released Windows app works with the Gateway candidate. Priority: P1 Review scores
Verification
How this fits togetherThe reusable release gate downloads a selected Gateway package and a released Windows tray archive, then runs setup and MCP-based E2E checks. Its result is consumed by the cross-repository release candidate decision. flowchart LR
Caller[Release candidate caller] --> Inputs[Immutable package and release inputs]
Inputs --> Verify[Artifact identity verification]
Verify --> Download[Released Windows tray archive]
Download --> E2E[Windows setup and connection E2E]
E2E --> Outcome[Pass or protocol mismatch]
Outcome --> Release[Release decision]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Make the fixture use a validated explicit release-executable override for this workflow, add regression coverage for that selection, then rerun the immutable release candidate lane and retain its artifact-backed result. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection shows the workflow sets OPENCLAW_E2E_TRAY_EXE, while the exact-head fixture ignores it and constructs a source-tree executable path. Is this the best way to solve the issue? No. Artifact download and hashing are useful, but the fixture must launch that verified executable for the E2E outcome to establish the intended release compatibility. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e295df266c72. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (27 earlier review cycles; latest 8 shown)
|
2eb2812 to
986f285
Compare
|
Rebased onto current main and addressed the MXC review finding at 986f285. The reusable hosted windows-latest gate now runs only setup/connect/node E2E coverage. It no longer selects MXC containment tests or presents skipped MXC coverage as release proof. The repository has no known MXC-capable self-hosted runner contract; MXC containment remains a separate required non-skipping proof on a known-capable self-hosted/local Windows lane. Exact-head validation is green: Build and Test run 31100242244, CodeQL run 31100238676, plus local actionlint and git diff --check. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Rebased repair head: 4a48e04. This addresses the remaining release-verdict findings. The reusable workflow now resolves the selected x64 asset and SHA-256 from the official openclaw-windows-node release record itself, verifies the declared annotated tag resolves to the supplied immutable release commit, and no longer accepts caller-provided artifact URLs, names, or digests. The allowed incompatibility path now requires a schema-versioned fixture result and a TRX containing only fixture-initialization failures; unrelated E2E failures remain red. Exact-head validation is green: Build and Test 31105375023 (full test suite, all three E2E lanes, x64 and ARM64 builds), CodeQL 31105375107, actionlint, and git diff --check. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Maintainer repair head: The literal-dot asset matcher, workflow-call input boundary, and exact gateway-version findings are fixed. The gate now also binds the harness checkout to GitHub OIDC Exact-head validation is green locally, including 3,412 Shared tests, 2,168 Tray tests, 716 SetupEngine tests, focused workflow/fixture contracts, and both non-skipping real gateway MXC proofs. The focused authoritative caller dispatch is queued at https://github.com/openclaw/openclaw/actions/runs/31127901763 and is recorded as blocked, not passed, in the PR body. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Current repair head: The prior current-head request was acknowledged during the Actions incident but did not start a ClawSweeper run, and there is no active duplicate. Required current-head checks are now green. The authoritative reusable-workflow retry is running from trusted caller ref @clawsweeper re-review |
|
Current repair head: The authoritative hosted run reached both reusable lanes and exposed one hosted-only blocker: GitVersion requires a non-shallow checkout. This head adds @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
0defe9e to
0ccd096
Compare
Download the exact caller artifact from its immutable workflow run instead of assuming the reusable workflow shares the producer run. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 84bc73e4-939a-4e25-ba88-26af9f4fc8b5
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 84bc73e4-939a-4e25-ba88-26af9f4fc8b5
Recognize the Gateway 2026.7.2 wizard restart error so setup uses the existing bounded, ownership-verified replay path instead of failing before reconnect. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 84bc73e4-939a-4e25-ba88-26af9f4fc8b5
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 84bc73e4-939a-4e25-ba88-26af9f4fc8b5
What Problem This Solves
The reusable Windows release-candidate E2E could test a different release asset than the caller selected, and cancelled staging could leave partial candidate bytes. Immutable proof also exposed a release blocker in OpenClaw 2026.7.2: hosted wizard config writes repeatedly restarted the managed Gateway until the bounded replay budget was exhausted.
Resolution
The workflow binds the caller-selected Windows asset name/SHA-256, downloaded bytes, immutable release commit, candidate artifact, and reusable-workflow revision. Setup cleanup uses a separate bounded token.
SetupEngine owns the hosted wizard lifecycle: suspend config reloads, prove health and managed-listener ownership, reconnect with the established device identity, send
installDaemon=falsewhere supported (with an exact legacy-schema fallback), restore the effective configured reload mode on every exit, restart once, then re-prove health and ownership. Restoration failure blocks false success.This recovery is based on #1105 and contains no #1101 refactor work.
Exact Head
599faffd2c1dde42e55e3a442b8e13ebb8ea9595e295df266c72c67d134538674b9f619653382b23Local Validation
build.ps1: passed, 0 warnings/errors.scripts/validate-mxc-e2e.ps1withoutAllowSkip: 17/17 passed.system.runthrough MXC, and blocked tray-data writes.3327ad0cuninstalled and cleaned up successfully.Exact-Head Hosted Validation
Immutable Cross-Repository Proof
2f51806d5488118737803e0c7b788d3603ccb162release-ci/2f51806d5488-178619157693103199823: passed setup/connect/invoke.93103199849: passed setup/connect/invoke.Resolved tuples:
v0.6.12→ commit4166e0fd63f80a9ac330e6e4d9b89066c0e1ac50→OpenClawTray-0.6.12-win-x64.zip→ SHA-2569c791282741463f3e5540fee5153c24c253b5d751e426be1a4c275e325a4a6ef.v0.6.11-msixtest.1→ commitb14e0a0b992a527a6e4d89d715b3b0cd36f98215→OpenClaw.Tray.WinUI_0.6.11.0_x64.msix→ SHA-25645d1c6fa4e2324123799ced0035f202afa4bfb8a9f7dbeb264954b177dd8721c.Review
gpt-5.6-sol, high): clean, no accepted/actionable findings; patch-correct confidence 0.89.Security and Compatibility
Credential precedence, paired-device-token non-downgrade, authenticated reconnect, and managed-listener provenance remain fail closed. Older Gateways retry only the proven exact
unexpected property 'installDaemon'rejection; all other protocol errors remain hard failures. No user migration is required.