Repository navigation
R06: launch trusted updater from packaged host - #250
Open
Oleksii-debug wants to merge 7 commits into
Open
Oleksii-debug wants to merge 7 commits into
Oleksii-debug wants to merge 7 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Canonical successor to #249. Connects the packaged main host to the already-packaged updater and existing #245 process orchestration without introducing browser path/PID authority or a second update mechanism.
Exact lineage
r06-package-updater-exe-0929-sol@784ec4c514620179fac1fe3efdc6f2d91a33302f(R06: package standalone updater with canonical trust authorities #249)r06-host-updater-launch-0929-sol@56eb145bc9f741d39f7c240a4156c45e32376105Product behavior
application_update.apply_and_restartcommand; staging still does not auto-install;pending_statusnow recovers matching durableapply_readystate across app restarts;-Updater.exesibling of the running installed executable; the browser cannot choose executable/path/PID/argv;window.destroy, allowing the updater to wait for exact parent exit and then continue R06: wire trusted updater command to atomic apply core #246/R06: relaunch updated app and rollback failed spawn #248 apply/relaunch flow;Підготувати встановленняthenВстановити й перезапустити; install button is disabled until verified durable apply authority is ready.Regression coverage
New host-launch tests cover fixed sibling derivation, same-publisher-before-plan ordering, negative/unavailable publisher proof, launch→shutdown ordering, no launch without matching handoff, empty-payload enforcement, invalid child PID fail-closed, late callback binding after window creation, exact request-id correlation, recovery of durable
apply_ready, no PID/path disclosure, and static keyboard/live-region/no-innerHTML UI contracts.Safety / recovery semantics
If the updater starts but host shutdown itself fails, the updater remains blocked by #245's parent-exit barrier and cannot mutate installed bytes; its bounded parent wait fails safely. The existing updater cross-process serialization and exact-byte apply authority remain canonical.
Explicit non-claims / remaining blockers
READY_FOR_INTEGRATION=NOpending exact-head hosted qualification and changed-head review.