Repository navigation
fix(linux): preserve update delivery across core releases - #146052
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 real behavior proof before merge. Reviewed September 14, 2026, 9:02 AM ET / 13:02 UTC (Revision 4). ClawSweeper reviewWhat this changesThe PR adds a canonical Linux update feed, immutable publication metadata, and detached mirroring that preserves the existing updater URL across independently completed core and Linux releases. Merge readiness⛔ Blocked before merge - 5 items remain Keep open: meaningful publication-recovery work remains beyond current main. The earlier authority finding stays fixed, and this review found no new blocking code defect; release-authority qualification remains incomplete. Priority: P2 Review scores
Verification
How this fits togetherLinux release tooling receives signed native bundles and approved release identities, then publishes the metadata used by installed apps to discover updates. Core release activation carries the previous manifest forward while Linux publication catches up. flowchart TD
A[Approved release identity] --> C[Publication authority checks]
B[Signed Linux bundles] --> C
C --> D[Immutable release metadata]
D --> E[Canonical Linux feed]
F[Core release activation] --> G[Legacy updater mirror]
E --> G
G --> H[Installed Linux apps]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +1817, Docs +103, Config +160, Other +1468. Total +3548 across 21 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain one Linux publication owner and the shipped updater endpoint, with qualified bootstrap, interruption recovery, and authority revocation before relying on the new release path. Do we have a high-confidence way to reproduce the issue? Yes at the controlled CLI boundary: supplied regressions cover publication ordering and interrupted metadata writes. No real concurrent release operation was executed in this read-only review. Is this the best way to solve the issue? Yes in structure: a single publisher preserves immutable assets and the existing client endpoint while separating asset completion from metadata completion. Real publication and recovery qualification remains necessary. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 876d6097d282. LabelsLabel 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 (3 earlier review cycles)
|
574e99f to
83509c1
Compare
8d60b50 to
38871b3
Compare
|
Merged via squash.
|
…46052) * fix(linux): preserve update delivery across core releases * fix(test): exercise guarded core release finalization * fix(test): include Linux publication in workflow routing
Related: #145355
Stack 8/8; previous layer: #146051 (merged). This same-repository branch is writable by maintainers with push access.
What Problem This Solves
Fixes Linux update metadata disappearing or being replaced incorrectly when core and Linux releases finish in different orders, including interrupted publication and metadata-only retries.
User Impact
Release operators can preserve the legacy update route while publishing independently verified Linux metadata. Partial publication remains visible and recoverable rather than being mistaken for completion.
No client cutover or public release is performed here. The shipped updater endpoint and download URLs remain unchanged. Canonical-channel initialization, release-body link activation, and an actual signed installed-client upgrade require a separately qualified release operation. Existing clients do not acquire new updater code without upgrading.
Why This Change Was Made
The current automatic Linux release request, prepared finalizer, Windows publication, carried metadata, and approval boundaries are retained. One post-native publisher verifies or reuses signed public assets, writes immutable metadata, advances the canonical feed only forward, then mirrors to the actual latest core release. Core finalization does not depend on canonical-feed availability; detached mirror failure is visibly non-core-blocking.
The earlier review's stale-authority finding is repaired: the writer receives complete parent/tooling identities and revalidates active-or-success authority after preparatory reads immediately before each mutation, including after DELETE and before upload or notes changes. REST metadata supplies numeric release/asset identities. Missing or older legacy metadata is still detected when the selected source is itself the latest core release.
A Linux version newer than core latest cannot overwrite that older core's legacy carrier. Immutable/canonical work remains retained; once core latest advances, metadata-only recovery can converge without rebuilding. Ambiguous missing canonical state fails closed for documented owner reconciliation.
Evidence
git diff --checkpass.fs-safe; that local run remains unpassed, with no shared-install reconciliation. Clean exact-head hosted validation passed as recorded below.f1e2ca596415. A subsequent routing-table failure correctly discovered the new Linux publication test but lacked its expected entry; the one-line expectation repair preserves exact-set equality and passed its selected routing case plus lint/format/diff checks. All three repaired shards also passed on the final head. The previously unassigned runner jobs subsequently acquired runners and passed.4e18df7c09f57c7a7fdba8b46a4c2a882b78f4d4passed core CI and its required gate, Linux/macOS companion CI, and workflow sanity. Core attempt 1 had a Windows checkout-only timeout before source execution; one targeted job retry and its dependent gate passed in attempt 2, preserving the other successful jobs. Packaging, AppImage, and packaged first-run proof are not claimed.Review disposition: revision 4 reviewed exact
4e18df7c09f57c7a7fdba8b46a4c2a882b78f4d4and confirms the earlier authority finding is fixed, with no new concrete code finding. CLI fixtures are not live publication/revocation proof. Canonical absence intentionally fails closed and requires documented release-owner reconciliation. Live bootstrap, interruption recovery, writer revocation, and release-artifact/metadata compatibility qualification remain required before relying on a release operation; they are deferred under this PR's explicit no-release/no-asset-mutation scope, not claimed as completed here. These operational qualifications are not runtime database or installed-client migration proof.No runtime database/schema, supported-platform floor, dependency/version change, release dispatch, live asset mutation, or installed-client migration is included. Historical native desktop proofs from earlier layers are not presented as publication or upgrade evidence.