Repository navigation
R06: keep updater usable after main-app version advance - #276
Oleksii-debug wants to merge 18 commits into
Conversation
|
CHANGED-HEAD QUALIFICATION / INTEGRATION HANDOFF — exact #276 head Release-critical stale-version defect is closed on top of the hardened #274 authority:
Fresh changed-head review covered all 10 delta paths. No blocking semantic defect or canonical Scripture/source/provenance/campaign/grading mutation found. Exact-head triggered workflows are all terminal SUCCESS:
Earlier head No production signing, physical Windows/WebView2 update E2E, HUMAN_NVDA, or main/package merge authorization is claimed.
|
Release-critical defect
The packaged updater is a separate sibling executable. #274 updates the main application executable atomically but does not replace the sibling updater. Before this repair,
updater_main.pytreated the updater binary's own build-time application version as current-app authority.After one successful application update, the main app can therefore be newer while the unchanged same-publisher updater still carries the older build-time version. A second valid update then fails closed because the pending/apply journal was staged by the newer app but the updater claims the older embedded version.
Exact current lineage
b8798c93038ddd32fda311df15adf39a5767d81ar06-updater-current-version-handoff-0930-sol4554ac6bb4ad4d9edbe834bf02845b3024abca1bThe #274 launch-authority hardening remains authoritative. Where the version handoff overlaps that code, the process-plan authority check now also requires exact host-owned current-version equality.
Repair
UpdaterProcessPlancarries the running packaged host's semantic version as a fixed--current-versionfield.main.pybinds updater launch to its host-ownedCURRENT_APPLICATION_VERSION.updater_main.pyderives the current version from the fixed host handoff after canonical sibling validation; it no longer imports the updater binary's own build-time version as current-app authority.execute_trusted_updaterrequires its trusted current-version argument to equal the fixed handoff version before parent wait or apply consumption.UpdaterProcessPlan.current_version + runner exact-handoff equalityas application-version authority.This lets an older same-publisher sibling updater service an already-updated main executable while preserving the existing fail-closed PID/path/publisher/apply boundaries.
Changed-head review
Fresh review on
4554ac6bb4ad4d9edbe834bf02845b3024abca1bcovered all 10 changed paths and confirmed:The earlier head
5804dad37ae9b495abc795e5f062689a7262cd4eexposed four stale test calls that did not pass the new requiredcurrent_version. Those fixtures were updated on the same canonical branch; production authority was not weakened.Exact-head hosted qualification
All workflows triggered for
4554ac6bb4ad4d9edbe834bf02845b3024abca1bare terminal SUCCESS:36725148540— Linux + Windows SUCCESS, including Windows engineering release gate.36725148528— SUCCESS.36725148651— SUCCESS.36725148724— SUCCESS.36725148650— SUCCESS.36725148676— SUCCESS.36725148693— SUCCESS.Nonclaims
This PR does not claim:
CHANGED_HEAD_REVIEW=PASSREADY_FOR_INTEGRATION=YESMAIN_MERGE_AUTHORIZATION=NO