Skip to content

Support upstream stable correction release versions - #1266

Merged
karkarl merged 3 commits into
mainfrom
karkarl-verify-latest-main
Aug 28, 2026
Merged

karkarl merged 3 commits into
mainfrom
karkarl-verify-latest-main

Conversation

@karkarl

@karkarl karkarl commented Aug 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • treat upstream numeric correction tags such as v2026.7.1-2 as stable releases instead of SemVer prereleases
  • preserve the exact correction version in product metadata, portable assets, and installers
  • add correction-aware updater ordering for builds that include this change
  • require an exact published stable openclaw/openclaw release, reject non-advancing corrections, serialize release jobs, and revalidate immediately before publication
  • align CI with the repository-pinned GitVersion 6.8 series and document the safe one-time transition from the pre-feature Windows v2026.7.1-2 tag

Validation

  • exact-head Windows CI (f3747d52) passed after retrying one unrelated MXC cleanup timing flake: full build/test matrix, repo hygiene, three gateway E2E partitions, accessibility, and x64/ARM64 release artifact builds
  • CodeQL passed for C#, Python, and Actions
  • focused production-boundary tests cover Updatum declining the ordinary check, rejection of an incompatible newer correction, and activation of the compatible numeric correction
  • structured autoreview passed with no findings (confidence 0.96)
  • earlier implementation-head local validation passed ./build.ps1, Shared tests (3,840 passed, 32 skipped), Tray tests (2,805 passed), and ./scripts/Test-OpenClawStableCorrectionRelease.ps1 -Tag v2026.7.1-2
  • current-head local rerun was unavailable on the macOS host because PowerShell and the .NET SDK are not installed; exact-head Windows CI above provides the executable validation

Real behavior proof

  • the current-head updater boundary test proves the ordinary Updatum check can decline before the correction fallback selects and activates a compatible numeric correction
  • earlier implementation-head ARM64 release proof compiled with ./scripts/build-inno-local.ps1 -Arch arm64 -Version 2026.7.1-2 -Fast, produced Output/OpenClawCompanion-Setup-arm64.exe, and reported ProductVersion: 2026.7.1-2
  • current-head CI successfully built and published both x64 and ARM64 tray artifacts and verified their GitVersion assembly metadata

Existing v2026.7.1 Windows clients use Updatum's old suffix-stripping comparison and cannot discover the first eligible numeric correction automatically. They require a one-time manual upgrade. Builds containing this change use OpenClaw correction ordering for later corrections and subsequent stable versions. The pre-feature Windows v2026.7.1-2 tag must not be moved, rebuilt, or reused; support begins with the first eligible upstream stable release after this PR merges.

Treat numeric OpenClaw correction tags as stable releases while preserving exact product versions and monotonic updater ordering. Validate correction tags against upstream and serialize publication.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 1c2a154c-928c-41b9-be0d-4209869d504d
@clawsweeper

clawsweeper Bot commented Aug 28, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@karkarl karkarl added the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Aug 28, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. P2 Normal priority bug or improvement with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 28, 2026
@clawsweeper

clawsweeper Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

Codex review: needs maintainer review before merge. Reviewed August 28, 2026, 7:05 PM ET / 23:05 UTC.

ClawSweeper review

What this changes

The PR recognizes numeric upstream correction tags as stable Windows releases in CI, artifact metadata, installers, and the tray update check.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep open for maintainer release-policy approval. The current head resolves the two prior code-review concerns with a correction-aware updater fallback and a documented first-release transition, and no introduced line-level defect was found; collaborator-authored work is not eligible for automatic closure.

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

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, well-covered release and updater change with no verified blocking code defect, pending the explicit release-policy decision and normal CI completion.
Proof confidence 🌊 off-meta tidepool Not applicable: This collaborator-authored PR is outside the external-contributor proof gate. Its body nevertheless reports a current-head ARM64 installer build, exact ProductVersion 2026.7.1-2, and produced installer; the source ties that artifact identity to the resolved workflow version and local build script.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This collaborator-authored PR is outside the external-contributor proof gate. Its body nevertheless reports a current-head ARM64 installer build, exact ProductVersion 2026.7.1-2, and produced installer; the source ties that artifact identity to the resolved workflow version and local build script.
Evidence reviewed 6 items Current main does not contain this PR: The exact PR head is not an ancestor of current main, so the requested behavior is not already implemented on the default branch.
Correction-aware fallback is on the production update path: When Updatum declines an update, the new pipeline checks only published, non-prerelease releases with compatible assets and activates a tag that is newer under correction ordering.
Release publishing validates and preserves the correction version: The workflow recognizes numeric correction tags, validates them against the upstream release and current Windows latest release, then injects the resolved version into build, installer, and release settings.
Findings None None.
Security None None.

How this fits together

CI converts upstream tags into signed Windows installers and portable assets. The installed tray app queries those releases and selects a compatible newer update for the user.

flowchart LR
  A[Upstream correction tag] --> B[CI release resolver]
  B --> C[Signed Windows artifacts]
  C --> D[GitHub release]
  D --> E[Tray update check]
  F[Installed app version] --> E
  E --> G[Compatible installer]
Loading

Decision needed

Question Recommendation
Should the release policy accept a one-time manual upgrade for existing v2026.7.1 users before the first correction-aware Windows build can deliver later corrections automatically? Accept the controlled transition: Land the PR and publish the next eligible upstream correction or newer unsuffixed stable release with the documented manual-upgrade guidance.

Why: The code cannot change the suffix-comparison behavior of already-installed clients, so accepting this documented upgrade transition is a release-owner decision rather than a mechanical code fix.

Before merge

  • Resolve merge risk (P1) - Existing v2026.7.1 clients cannot automatically discover the first numeric correction artifact because their Updatum parser strips the suffix; the documented mitigation is a manual install of the next eligible correction release or a later unsuffixed stable release.
  • Resolve merge risk (P1) - The release workflow now depends on live GitHub release metadata at tag time, so an upstream release-state change between CI stages intentionally blocks publication during revalidation.
  • Complete next step (P2) - A release owner must accept or defer the documented one-time manual upgrade transition; no narrow automated repair is needed.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Changed surface 12 files, +606 / -32 The PR spans release automation, runtime update selection, documentation, and focused tests.
Implementation versus tests runtime/CI/scripts +308, tests +230, docs +68 Most behavioral implementation is accompanied by targeted version-ordering and update-pipeline coverage.

Merge-risk options

Maintainer options:

  1. Accept the manual transition (recommended)
    Release owners can accept the documented first-correction manual install requirement and allow CI to enforce later correction ordering.
  2. Use a newer stable base first
    Defer a numeric correction release until an unsuffixed stable artifact can update existing clients through Updatum's existing ordering.
  3. Defer correction-tag rollout
    Pause this release-policy change if the one-time manual upgrade is not acceptable.

Technical review

Best possible solution:

Land the correction-aware resolver and updater fallback only if release owners accept the one-time manual-transition policy, then publish a newly tagged eligible correction or a newer unsuffixed stable release from main.

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

Not applicable: this is a proposed release and updater capability, not a report of a currently reproducible defect.

Is this the best way to solve the issue?

Yes, conditionally: the branch keeps the correction exception narrow, validates release ordering before publication, and documents the unavoidable legacy-client transition; release owners must decide whether that transition is acceptable.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 5649f95e2010.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This collaborator-authored PR is outside the external-contributor proof gate. Its body nevertheless reports a current-head ARM64 installer build, exact ProductVersion 2026.7.1-2, and produced installer; the source ties that artifact identity to the resolved workflow version and local build script.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This changes normal release delivery and upgrade behavior but does not establish an active service outage.
  • merge-risk: 🚨 compatibility: Older installed clients require a manual transition before correction-aware ordering can take effect.
  • merge-risk: 🚨 automation: The PR changes tag resolution, release validation, build metadata, and publication behavior in CI.
  • 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 collaborator-authored PR is outside the external-contributor proof gate. Its body nevertheless reports a current-head ARM64 installer build, exact ProductVersion 2026.7.1-2, and produced installer; the source ties that artifact identity to the resolved workflow version and local build script.

Evidence

What I checked:

  • Current main does not contain this PR: The exact PR head is not an ancestor of current main, so the requested behavior is not already implemented on the default branch. (f3747d522c6f)
  • Correction-aware fallback is on the production update path: When Updatum declines an update, the new pipeline checks only published, non-prerelease releases with compatible assets and activates a tag that is newer under correction ordering. (src/OpenClaw.Tray.WinUI/Services/UpdateCheckPipeline.cs:35, f3747d522c6f)
  • Release publishing validates and preserves the correction version: The workflow recognizes numeric correction tags, validates them against the upstream release and current Windows latest release, then injects the resolved version into build, installer, and release settings. (.github/workflows/ci.yml:70, f3747d522c6f)
  • First-transition limitation is explicit: The release documentation records that the existing v2026.7.1-2 tag predates this implementation and that users on the matching unsuffixed version must manually install the first new numeric correction artifact. (docs/RELEASING.md:84, f3747d522c6f)
  • Relevant feature history: Prior merged work established the release updater configuration, and recent current-main history includes release-signing and artifact work by the listed routing candidates. (src/OpenClaw.Tray.WinUI/App.xaml.cs:46, dae64b6c49e9)
  • Structured review helper limitation: The required structured autoreview helper was invoked against the pinned base and head but could not create its isolated temporary workspace. This is reviewer infrastructure, not missing contributor proof.

Likely related people:

  • Dallin Romney: Previously contributed release tray-artifact E2E work and authored the current correction-contract and updater-fallback commits. (role: recent release and updater contributor; confidence: high; commits: 520f8051c19a, 3a5643090cda, f3747d522c6f; files: src/OpenClaw.Tray.WinUI/Services/UpdateCoordinator.cs, src/OpenClaw.Tray.WinUI/Services/UpdateCheckPipeline.cs)
  • Karen Lai: Introduced the prior merged side-by-side release work that owns the Updatum application configuration. (role: original updater configuration contributor; confidence: high; commits: dae64b6c49e9; files: src/OpenClaw.Tray.WinUI/App.xaml.cs)
  • Scott Hanselman: Recent main history includes release-signing and repository release-process work adjacent to the changed workflow. (role: recent release-pipeline contributor; confidence: medium; commits: adef8fcf30d7, 2439d4371096; files: .github/workflows/ci.yml, docs/RELEASING.md)

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 (2 earlier review cycles)
  • reviewed 2026-08-28T21:37:53.702Z sha 1fd6a29 :: found issues before merge. :: [P2] Prove the correction fallback through the real updater | [P3] Align the canonical versioning contract
  • reviewed 2026-08-28T22:53:44.734Z sha 3a56430 :: found issues before merge. :: [P2] Provide a viable first correction-aware release path | [P2] Align the GitVersion source used for forced build metadata

@clawsweeper clawsweeper Bot added 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 rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 28, 2026
@karkarl
karkarl merged commit f46400a into main Aug 28, 2026
32 of 33 checks passed
@karkarl
karkarl deleted the karkarl-verify-latest-main branch August 28, 2026 23:44
@karkarl karkarl removed the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. P2 Normal priority bug or improvement with limited blast radius. 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.

2 participants