Repository navigation
fix(update): prevent stable upgrade notices on extended-stable - #118518
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 9, 2026, 3:43 AM ET / 07:43 UTC. ClawSweeper reviewWhat this changesThe PR makes configless final extended-stable package installs use the extended-stable release train for update checks, Gateway notices, CLI flows, appcasts, and macOS Sparkle. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readinessKeep open: current main still treats a configless package install as stable, while this PR carries the documented final-.33+ extended-stable contract through Gateway, CLI, and macOS updates. The prior Sparkle-startup blocker is fixed; this maintainer PR now needs normal exact-head validation and merge review. Priority: P1 Review scores
Verification
How this fits togetherOpenClaw derives an effective update channel from configuration, installation type, and release version, then uses it for registry checks and Gateway update status. The macOS app consumes that status to restrict Sparkle appcasts to the Gateway’s release train. flowchart LR
A[Package version and config] --> B[Effective update channel]
B --> C[Registry update check]
B --> D[Gateway update status]
D --> E[CLI and Control UI notices]
D --> F[macOS updater]
F --> G[Eligible appcast releases]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +172, Tests +273, Docs +3, Other +119. Total +567 across 25 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one install-aware effective-channel decision, expose it additively through Gateway status, and preserve the stable macOS fallback when that fact is unavailable. Do we have a high-confidence way to reproduce the issue? Yes, from current source: a final patch-33-or-later package install with no update.channel resolves to stable on main despite the release policy requiring extended-stable. Is this the best way to solve the issue? Yes: resolving the channel once from the verified install kind and documented release version is cleaner than separate Gateway, CLI, and macOS heuristics. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 484765582656. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (8 earlier review cycles)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
1ad85d0 to
d4e49a4
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
…law#118518) * fix(update): keep extended-stable update notices on channel * fix(update): repair extended-stable CI checks * fix(update): retain verified extended-stable channel * fix(update): normalize gateway install surface * test(update): split effective channel coverage * fix(update): resolve verified extended-stable status paths * fix(update): preserve Sparkle fallback on missing channel * fix(update): restore effective channel after rebase * fix(update): repair rebased CI coverage
Related: #99808
What Problem This Solves
Fixes an issue where users running an extended-stable package release could see Control UI and other Gateway update prompts for a newer stable release. The macOS desktop app could likewise offer a stable app release to an extended-stable Gateway.
Why This Change Was Made
The Gateway now derives the registry update channel from a verified installed extended-stable version when no channel was persisted. The macOS Sparkle delegate filters default-channel appcast entries for an extended-stable Gateway, and release appcasts label eligible extended-stable builds.
User Impact
Extended-stable users remain on the extended-stable release train: they receive an update hint only when a newer extended-stable release exists, and stay quiet when only stable releases are newer.
Evidence
node scripts/run-vitest.mjs src/infra/update-channels.test.ts src/infra/update-startup.test.ts test/scripts/make-appcast.test.ts— 110 passing testspnpm tsgo,bash -n scripts/make_appcast.sh,swiftc -parse apps/macos/Sources/OpenClaw/MenuBar.swift, andgit diff --check— passedswift test --filter UpdateOrchestrationTestsis blocked on this host by missing Command Line Tools SwiftUI macro plug-ins in theKeyboardShortcutsdependency; the edited source parses successfully..agents/skills/autoreview/scripts/autoreview --mode local— clean, no accepted/actionable findings