Skip to content

fix: Windows alphas follow the current Gateway release line - #1593

Merged
RomneyDa merged 2 commits into
openclaw:mainfrom
RomneyDa:ci/align-alpha-with-gateway
Oct 16, 2026
Merged

RomneyDa merged 2 commits into
openclaw:mainfrom
RomneyDa:ci/align-alpha-with-gateway

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: daily Windows alpha releases stay on an older release line after the stable Gateway advances.

User Impact

User impact: future Windows alphas follow a newer canonical Gateway release line without downgrading an already newer Windows line.

Why This Change Was Made

The daily workflow reads the latest stable release from openclaw/openclaw, starts a matching Windows train at alpha.1 only when that line is newer, and otherwise preserves GitVersion's result. Stable-correction ordering remains independent.

The CI repair merges main's canonical #1606 (fix(test): stabilize native gateway startup cancellation). The original contributor commit is preserved, and the six-file alpha-alignment feature diff remains unchanged relative to the integrated base.

Evidence

  • Current head: ae1f86f0c38c7e53e928cc8255d88f347fe6c447; integrated base: f9ce47d2cf3eed6082c6c8b3f99d042b0a6861d0.
  • Live Gateway lookup returned v2026.10.4. The production selector returned 2026.10.4-alpha.1 for Windows input 2026.9.9-alpha.36.
  • Offline selector matrix: 5 accepted and 3 rejected cases passed, including same-line continuation, no downgrade, correction-tag base extraction, numeric ordering, and malformed inputs.
  • The previously failing NativeGatewayRuntimeTests.DisposeDuringStartup_CancelsAndPreventsRestart passes in hosted CI. All 56 tests in that class also pass on local native Windows ARM64.

Change Type

  • Bug fix
  • Feature
  • Refactor
  • Docs or instructions
  • Tests or validation
  • Security hardening
  • Chore or infrastructure

Scope

  • Tray or WinUI UX
  • Windows node capability
  • Local MCP or winnode
  • Gateway, connection, or pairing
  • Setup or onboarding
  • Permissions, privacy, or security
  • Tests, CI, or docs

Required proof pools

  • none: the changed contract is deterministic release-metadata selection. No custom UI, Gateway, MXC, installer, or GPU runtime claim is made.

Validation

Hosted Build and Test, attempt 2 succeeded on the exact current head: 15 jobs passed, 5 intentionally skipped, 0 failed. Required CI Gate: SUCCESS.

Current-head attempt 1 hit a WinUI bootstrap hang and the existing setup E2E gateways.json sharing violation documented in docs/CI_FAILURES.md. The failed jobs and dependents were retried once on unchanged source and passed. This PR does not claim to fix those unrelated flakes.

Required local closeout on native Windows ARM64 (Parallels, Windows build 26340, .NET SDK 10.0.401), at the current head:

Command Result
./build.ps1 Passed: full repository build, Debug/win-arm64
dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore 4,314 passed, 35 skipped, 0 failed
dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore 4,083 passed, 0 skipped, 0 failed
dotnet test ./tests/OpenClaw.Connection.Tests/OpenClaw.Connection.Tests.csproj --filter FullyQualifiedName~NativeGatewayRuntimeTests 56 passed, 0 skipped, 0 failed
./scripts/test-daily-alpha-version.ps1 5 accepted and 3 rejected cases passed
./scripts/test-dev-msix-release.ps1 Passed
git diff f9ce47d2cf3eed6082c6c8b3f99d042b0a6861d0...HEAD --check Passed

Both test projects were explicitly built before the --no-restore runs; fresh TRX reports confirm actual execution. OPENCLAW_REPO_ROOT and an isolated OPENCLAW_TRAY_DATA_DIR were set. Source remained clean at the frozen head. Evidence archive SHA-256: bc185f158916966fc6b264178c6e873a175133c969667d3a6c24310976072c8f.

Earlier local attempts exposed runner setup problems: a single-branch clone lacked the main ref needed by GitVersion, and runner-supplied Gateway path overrides bypassed unit fixtures. Only the validation environment was corrected, then the entire required closeout sequence was rerun successfully. No fixes for those runner mistakes were added to this PR.

Real Behavior Proof

  • Environment tested: live public GitHub release lookup and the production PowerShell selector; native Windows ARM64 for build and tests.
  • PR head tested: ae1f86f0c38c7e53e928cc8255d88f347fe6c447.
  • Exact commands: gh api repos/openclaw/openclaw/releases/latest --jq .tag_name, then pwsh -NoLogo -NoProfile -File ./scripts/Resolve-DailyAlphaVersion.ps1 -GitVersionSemVer 2026.9.9-alpha.36 -GatewayTag v2026.10.4.
  • Observed output: 2026.10.4-alpha.1. Equal or older Gateway lines preserve the Windows result in the regression matrix.
  • Screenshot or artifact links verified: no screenshots are applicable; the linked CI run is verified.
  • Not verified: publication and signing of a new Gateway-aligned release were not performed. This task repairs PR CI; it does not merge or publish the PR.

Security Impact

  • New permissions or capabilities: No.
  • Secrets or token handling changed: No.
  • New network call: authenticated read-only lookup of the public openclaw/openclaw latest stable release. The returned tag must match the canonical stable format before use.
  • Command execution or data-access scope changed: No.

Compatibility and Migration

  • Backward compatible: Yes.
  • Configuration changes or migration required: No.
  • Windows alpha version selection can advance to the Gateway line but never downgrade an already newer Windows line. Stable-correction validation remains independent.

Review Conversations

  • No actionable findings were left by the original ClawSweeper review. A fresh review was not requested automatically; this handoff reports CI status, not merge approval.

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

🦞👀
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.

@RomneyDa RomneyDa added the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Oct 2, 2026
@clawsweeper clawsweeper Bot added P2 Normal priority bug or improvement with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. 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. labels Oct 2, 2026
@clawsweeper

clawsweeper Bot commented Oct 2, 2026

Copy link
Copy Markdown

Codex review: needs maintainer review before merge. Reviewed October 1, 2026, 11:41 PM ET / October 2, 2026, 03:41 UTC.

ClawSweeper review

What this changes

The PR advances daily Windows alpha versions to a newer Gateway release line while preserving equal or newer Windows versions, with selector tests and updated versioning documentation.

Merge readiness

✅ Ready for maintainer review

This PR remains useful: current main does not align daily alpha releases with the Gateway release line. No concrete introduced defect was found, and maintainer-authored work must remain open.

Priority: P2
Reviewed head: d407f9e63306e9a603d69a1023e86894eb3cac69

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused implementation with relevant selector proof and regression coverage; no blocking patch defect was identified.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): The captured current-head evidence exercises the actual release selector on macOS with a live canonical Gateway tag and records the expected newer alpha line. It proves selection rather than hosted publication; Windows closeout remains with CI. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The captured current-head evidence exercises the actual release selector on macOS with a live canonical Gateway tag and records the expected newer alpha line. It proves selection rather than hosted publication; Windows closeout remains with CI. No stored-data contract changes.
Evidence reviewed 7 items Pinned introduced changes: The verified base-to-head delta contains six files and adds the Gateway lookup, deterministic selector, workflow wiring, documentation, and regression coverage.
Still necessary on main: The pinned main workflow passes GitVersion's semVer directly to alpha-tag creation without considering the Gateway release line. The supplied latest Windows release is v2026.9.4; no merged replacement was established.
Version and publication safeguards: The selector compares numeric release components and preserves equal or newer Windows lines. Existing tag-reuse and monotonicity checks remain intact; CI still checks exact tag identity, reserves package versions, and validates artifacts before publication.
Findings None None.
Security None None.

How this fits together

The daily release workflow combines Windows git history with Gateway release metadata to choose an alpha tag. That tag enters the existing validated build, package-version allocation, signing, and publication pipeline.

flowchart TD
  A[Windows git history] --> C[Select alpha version]
  B[Latest stable Gateway release] --> C
  C --> D[Validate monotonic alpha tag]
  D --> E[Build and validate packages]
  E --> F[Sign and publish alpha release]
Loading

Before merge

None.

Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Production and test growth production +70, tests +117; workflow net +36; docs net +10 The production growth isolates version comparison in one selector, with more added regression lines than production lines.

Technical review

Best possible solution:

Keep alpha alignment in the narrow release selector while retaining independent stable correction ordering and the existing package-publication safeguards.

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

Not applicable as an established-behavior bug: this changes the documented release policy. Current-main inspection confirms that alpha selection currently uses only Windows GitVersion output.

Is this the best way to solve the issue?

Yes. A focused numeric selector is a maintainable way to add alpha alignment while preserving existing versions, stable correction independence, and downstream publication checks.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This is a bounded release-version improvement without evidence of an urgent user-facing runtime regression.
  • add proof: sufficient: Contributor real behavior proof is sufficient. The captured current-head evidence exercises the actual release selector on macOS with a live canonical Gateway tag and records the expected newer alpha line. It proves selection rather than hosted publication; Windows closeout remains with CI. No stored-data contract changes.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The captured current-head evidence exercises the actual release selector on macOS with a live canonical Gateway tag and records the expected newer alpha line. It proves selection rather than hosted publication; Windows closeout remains with CI. No stored-data contract changes.

Label justifications:

  • P2: This is a bounded release-version improvement without evidence of an urgent user-facing runtime regression.
  • 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. Sufficient (terminal): The captured current-head evidence exercises the actual release selector on macOS with a live canonical Gateway tag and records the expected newer alpha line. It proves selection rather than hosted publication; Windows closeout remains with CI. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The captured current-head evidence exercises the actual release selector on macOS with a live canonical Gateway tag and records the expected newer alpha line. It proves selection rather than hosted publication; Windows closeout remains with CI. No stored-data contract changes.

Evidence

What I checked:

  • Pinned introduced changes: The verified base-to-head delta contains six files and adds the Gateway lookup, deterministic selector, workflow wiring, documentation, and regression coverage. (.github/workflows/daily-alpha-release.yml:132, d407f9e63306)
  • Still necessary on main: The pinned main workflow passes GitVersion's semVer directly to alpha-tag creation without considering the Gateway release line. The supplied latest Windows release is v2026.9.4; no merged replacement was established. (.github/workflows/daily-alpha-release.yml:141, 85f66247850e)
  • Version and publication safeguards: The selector compares numeric release components and preserves equal or newer Windows lines. Existing tag-reuse and monotonicity checks remain intact; CI still checks exact tag identity, reserves package versions, and validates artifacts before publication. (scripts/Resolve-DailyAlphaVersion.ps1:63, d407f9e63306)
  • Authoritative Gateway release input: The introduced workflow explicitly consumes this repository's latest-release API. The read-only lookup confirmed canonical stable tag v2026.9.7, prerelease false, published September 30. This establishes the release-metadata dependency, without involving Gateway MSIX packaging.
  • Current-head behavior evidence: The captured PR body identifies head d407f9e and reports a live Gateway lookup followed by the production selector: Windows 2026.9.5-alpha.79 plus Gateway v2026.9.7 produced 2026.9.7-alpha.1. Supplemental coverage reports five accepted and three rejected selector cases and ten passing versioning contracts. Native Windows closeout is explicitly pending CI; this reviewer did not execute builds or tests. (scripts/Resolve-DailyAlphaVersion.ps1:66, d407f9e63306)
  • Prior release-policy boundary: GitHub confirms fix(release): decouple stable correction validation from upstream releases #1303 (fix(release): decouple stable correction validation from upstream releases) merged. Its decision concerns stable correction validation. This PR leaves that validator independent and documents daily alpha selection as a separate policy. (docs/VERSIONING.md:22, bd7702c5149a)

Likely related people:

  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • shanselman: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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.

@RomneyDa
RomneyDa marked this pull request as ready for review October 16, 2026 20:09
@clawsweeper

clawsweeper Bot commented Oct 16, 2026

Copy link
Copy Markdown

ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment @clawsweeper review. Please avoid repeated requests while a review is queued or running; agents should not request reviews automatically.

Includes the canonical fix from openclaw#1606 for the failed startup-disposal test. The Gateway-aligned alpha feature remains unchanged relative to main.
@RomneyDa RomneyDa removed the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Oct 16, 2026
@RomneyDa
RomneyDa merged commit 248e95c into openclaw:main Oct 16, 2026
42 of 46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority bug or improvement with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant