Repository navigation
fix(release): alpha notes show only chronologically ordered new changes - #1617
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed October 3, 2026, 3:11 AM ET / 07:11 UTC (Revision 6). ClawSweeper reviewWhat this changesThe 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 Review scores
Verification
How this fits togetherThe 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]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest 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. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (5 earlier review cycles)
|
32f526f to
94f5b92
Compare
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
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.90release incorrectly linked a changelog fromv2026.9.5-alpha.2. Calling the same GitHub release-note API withprevious_tag_name=v2026.9.5-alpha.84produces the intendedv2026.9.5-alpha.84...v2026.9.5-alpha.90range 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
Scope
winnodeRequired 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.Generate alpha release notes from previous published alphaworkflow step againstv2026.9.5-alpha.84...v2026.9.5-alpha.90: passed; emitted six entries in oldest-to-newest order with the expected full-changelog link.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.Real Behavior Proof
openclaw/openclaw-windows-node, plus focused contract tests on macOS.94f5b927.Generate alpha release notes from previous published alphaPowerShell step withRELEASE_TAG=v2026.9.5-alpha.90, then regenerated and verified every published alpha since September 11.v2026.9.5-alpha.84, emitted six pull requests oldest-to-newest, and retainedhttps://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.Yes/No/N/A): N/A.Security Impact
Yes/No): No.Yes/No): No.Yes/No): Yes.Yes/No): No.Yes/No): No.Yes, explain the risk and mitigation: the workflow adds authenticated GitHub API calls using the existing ephemeralgithub.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
Yes/No): Yes.Yes/No): No.Yes/No): No.Review Conversations