Skip to content

fix(release): alpha notes show only chronologically ordered new changes - #1617

Merged
RomneyDa merged 4 commits into
mainfrom
openclaw/windows-alpha-release-notes-issue
Oct 3, 2026
Merged

RomneyDa merged 4 commits into
mainfrom
openclaw/windows-alpha-release-notes-issue

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: alpha release notes accumulate old changes or present the new changes out of chronological order when GitHub chooses an unsuitable comparison tag.

User Impact

User impact: each alpha release now lists only changes since the newest reachable published alpha, ordered oldest-to-newest within GitHub's standard generated sections.

Why This Change Was Made

The release workflow now finds the newest published canonical alpha tag that is an ancestor of the current release tag and passes it to GitHub as previous_tag_name. It then uses GitHub's chronological Compare API result to order pull-request bullets without replacing the standard generated headings, author links, contributor section, or full-changelog link. Stable releases keep their existing behavior, and the first alpha retains GitHub's fallback comparison selection.

Evidence

The published v2026.9.5-alpha.90 release incorrectly linked a changelog from v2026.9.5-alpha.2. Calling the same GitHub release-note API with previous_tag_name=v2026.9.5-alpha.84 produces the intended v2026.9.5-alpha.84...v2026.9.5-alpha.90 range with six pull requests. Executing the exact workflow step emits those six entries in oldest-to-newest commit order.

Historical backfill is complete for all 15 published alphas from September 11 through October 2. Each body was regenerated from its immediately previous published ancestor alpha, kept its existing release preamble, and passed a fresh byte-for-byte API comparison against the expected body.

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: this changes GitHub release-note range selection and ordering and needs no capacity-dependent Windows host class.

Validation

  • dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore --filter FullyQualifiedName~VersioningContractTests: 10 passed, 0 failed.
  • Exact extracted Generate alpha release notes from previous published alpha workflow step against v2026.9.5-alpha.84...v2026.9.5-alpha.90: passed; emitted six entries in oldest-to-newest order with the expected full-changelog link.
  • Fresh GitHub API verification of 15 repaired historical alpha bodies: 15 exact, 0 differences.
  • git diff --check: passed.
  • pwsh ./build.ps1: blocked locally because the repository build rejects non-Windows hosts.
  • dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore: macOS diagnostic run completed with 4,088 passed, 136 Windows-dependent failures, and 34 skipped. This is not Windows merge validation.
  • dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore: macOS diagnostic run completed with 3,788 passed, 101 Windows-dependent failures, and 2 skipped. This is not Windows merge validation.
  • Native Windows CI for the exact updated head passed, including CI Gate, release metadata, tray, core/CLI, UI/accessibility, E2E, MSIX, and CodeQL lanes.

Real Behavior Proof

  • Environment tested: GitHub Releases and Compare APIs against openclaw/openclaw-windows-node, plus focused contract tests on macOS.
  • PR head or commit tested: 94f5b927.
  • Exact steps or command run: rebased onto current main, moved full-history checkout to the publishing job, then extracted and executed the workflow's Generate alpha release notes from previous published alpha PowerShell step with RELEASE_TAG=v2026.9.5-alpha.90, then regenerated and verified every published alpha since September 11.
  • Evidence after fix: the workflow selected v2026.9.5-alpha.84, emitted six pull requests oldest-to-newest, and retained https://github.com/openclaw/openclaw-windows-node/compare/v2026.9.5-alpha.84...v2026.9.5-alpha.90. Fifteen historical release bodies now exactly match their corrected generated form.
  • Observed result: explicit previous-alpha selection bounds generated notes, and Compare API order makes each generated pull-request section chronological.
  • Screenshot or artifact links verified? (Yes/No/N/A): N/A.
  • Not verified or blocked: none.

Security Impact

  • New permissions or capabilities? (Yes/No): No.
  • Secrets or tokens handling changed? (Yes/No): No.
  • New or changed network calls? (Yes/No): Yes.
  • Command or tool execution surface changed? (Yes/No): No.
  • Data access scope changed? (Yes/No): No.
  • If any answer is Yes, explain the risk and mitigation: the workflow adds authenticated GitHub API calls using the existing ephemeral github.token, scoped to listing this repository's releases, generating notes, and reading the selected tag comparison. No credentials are persisted or exposed.

Compatibility and Migration

  • Backward compatible? (Yes/No): Yes.
  • Config or environment changes? (Yes/No): No.
  • Migration needed? (Yes/No): No.
  • If yes, list the exact upgrade steps: N/A.

Review Conversations

  • I replied to or resolved every bot review conversation addressed by this PR.
  • I left unresolved only conversations that still need maintainer judgment.

@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. 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 3, 2026, 3:11 AM ET / 07:11 UTC (Revision 6).

ClawSweeper review

What this changes

The PR bounds alpha release notes to the previous published ancestor alpha and orders pull-request entries chronologically, with documentation and workflow contract checks.

Merge readiness

✅ Ready for maintainer review

This remains useful: current main still delegates alpha comparison selection to GitHub. The previous full-history blocker is resolved, and no blocking defect remains in the reviewed patch.

Priority: P2
Reviewed head: 94f5b927539c4e22f684ada92544e849820969f4

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, supported repair with real API evidence and the previous publishing-history defect resolved.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The captured current-head proof exercises the publishing workflow's exact note-generation step against real GitHub Releases and Compare APIs; the selected alpha.84 boundary, six chronological entries, and full-changelog link are corroborated by public API output. 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 (live_output): The captured current-head proof exercises the publishing workflow's exact note-generation step against real GitHub Releases and Compare APIs; the selected alpha.84 boundary, six chronological entries, and full-changelog link are corroborated by public API output. No stored-data contract changes.
Evidence reviewed 8 items Introduced change and remaining necessity: The pinned main-to-head delta adds explicit previous-alpha selection, Compare API ordering, and full history in the publishing job. Main retains generate_release_notes: true without this selection or ordering.
Previous blocker resolved: The publishing job itself now uses fetch-depth: 0, and the contract test checks that job under both LF and CRLF. This directly resolves the retained prior finding about history being fetched in the wrong job.
Current-head real API proof: The captured PR body reports executing the exact workflow step at head 94f5b92 against alpha.84...alpha.90, selecting alpha.84 and emitting six chronological entries. Independent read-only inspection confirms the published alpha.90 body contains those six entries and the expected comparison link.
Findings None None.
Security None None.

How this fits together

The release publishing workflow combines signed Windows downloads with GitHub-generated change notes. This change selects and orders the alpha changelog before publishing the release page.

flowchart TD
  A[Alpha release tag] --> C[Select published ancestor alpha]
  B[Published releases and Git history] --> C
  C --> D[Generate bounded release notes]
  C --> E[Read chronological commits]
  D --> F[Order pull request entries]
  E --> F
  F --> G[Publish release page]
Loading

Before merge

None.

Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Workflow and test growth workflow +114/-1, tests +17/-0, docs +7/-0; application production +0 The added workflow logic is justified by explicit comparison selection and ordering; application runtime code is unaffected.

Technical review

Best possible solution:

Keep explicit alpha comparison selection and chronological ordering in the existing publishing workflow while preserving GitHub's generated sections and stable-release behavior.

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

Yes, the captured real API scenario identifies the unsuitable automatic comparison for alpha.90, and current main still uses automatic selection. This review inspected source and corrected API output without executing the workflow.

Is this the best way to solve the issue?

Yes, supplying GitHub's existing previous-tag parameter and ordering its generated entries repairs the existing workflow without introducing a competing release-note system.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Incorrect alpha changelog ranges and ordering are a bounded release-quality bug.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The captured current-head proof exercises the publishing workflow's exact note-generation step against real GitHub Releases and Compare APIs; the selected alpha.84 boundary, six chronological entries, and full-changelog link are corroborated by public API output. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The captured current-head proof exercises the publishing workflow's exact note-generation step against real GitHub Releases and Compare APIs; the selected alpha.84 boundary, six chronological entries, and full-changelog link are corroborated by public API output. No stored-data contract changes.

Evidence

What I checked:

  • Introduced change and remaining necessity: The pinned main-to-head delta adds explicit previous-alpha selection, Compare API ordering, and full history in the publishing job. Main retains generate_release_notes: true without this selection or ordering. (.github/workflows/ci.yml:1473, 94f5b927539c)
  • Previous blocker resolved: The publishing job itself now uses fetch-depth: 0, and the contract test checks that job under both LF and CRLF. This directly resolves the retained prior finding about history being fetched in the wrong job. (.github/workflows/ci.yml:1384, 94f5b927539c)
  • Current-head real API proof: The captured PR body reports executing the exact workflow step at head 94f5b92 against alpha.84...alpha.90, selecting alpha.84 and emitting six chronological entries. Independent read-only inspection confirms the published alpha.90 body contains those six entries and the expected comparison link. (94f5b927539c)
  • Chronological result corroborated: The real Compare API returns the same six primary pull-request commits in the order displayed by the corrected release body. The current release list contains 49 entries, including the relevant published ancestor alphas.
  • Validation evidence: The captured body reports 10 focused contract tests passing and exact-head native Windows CI passing. It explicitly distinguishes macOS diagnostic failures from Windows merge validation. This read-only review ran no builds or tests. (tests/OpenClaw.Tray.Tests/VersioningContractTests.cs:105, 94f5b927539c)
  • Security and compatibility scope: The added calls use the existing ephemeral GitHub token through environment variables; permissions, action references, downloads, and executable dependencies are unchanged. Stable releases retain automatic notes, and no stored application data contract changes. (.github/workflows/ci.yml:1477, 94f5b927539c)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; 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.

History

Review history (5 earlier review cycles)
  • reviewed 2026-10-02T23:06:08.884Z sha cb11936 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-03T04:40:21.408Z sha c296877 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-03T04:44:33.143Z sha c296877 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-03T04:52:16.225Z sha 32f526f :: blocked before merge. :: [P1] Fetch full history in the publishing job after the release split
  • reviewed 2026-10-03T06:44:51.858Z sha 94f5b92 :: needs maintainer review before merge. :: none

@RomneyDa RomneyDa changed the title fix(release): alpha notes include only changes since the previous alpha fix(release): alpha notes show only chronologically ordered new changes Oct 3, 2026
@clawsweeper clawsweeper Bot added proof: sufficient Contributor real behavior proof is sufficient. merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. 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. and removed 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 3, 2026
@RomneyDa
RomneyDa force-pushed the openclaw/windows-alpha-release-notes-issue branch from 32f526f to 94f5b92 Compare October 3, 2026 06:41
@RomneyDa

RomneyDa commented Oct 3, 2026

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

🦞👀
Exact review queued.

Re-review progress:

@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 merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. 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 Oct 3, 2026
@RomneyDa RomneyDa removed the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Oct 3, 2026
@RomneyDa
RomneyDa merged commit f9903fd into main Oct 3, 2026
48 of 50 checks passed
@RomneyDa
RomneyDa deleted the openclaw/windows-alpha-release-notes-issue branch October 3, 2026 14:47
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