Skip to content

R06: converge updater qualification after exact-head CI failures - #253

Merged
Oleksii-debug merged 17 commits into
r06-updater-self-identity-0929-solfrom
r06-update-qualification-convergence-0929-sol
Sep 29, 2026
Merged

Oleksii-debug merged 17 commits into
r06-updater-self-identity-0929-solfrom
r06-update-qualification-convergence-0929-sol

Conversation

@Oleksii-debug

@Oleksii-debug Oleksii-debug commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Scope

Canonical qualification/security convergence successor to #252. This head contains the exact qualification repairs plus the canonical #243 updater hardening carried forward without widening browser authority or changing Scripture/content/provenance.

Exact live lineage — 2026-09-29

  • base: r06-updater-self-identity-0929-sol@1f6b307cf6c2b4da5845d51d5f1e0e8e57bdb6ce;
  • candidate: r06-update-qualification-convergence-0929-sol@c55bb2731ba4415372134a75103fd5b2147748b2;
  • direct base → candidate: AHEAD 17 / BEHIND 0; merge-base is the exact base;
  • lasting diff: 10 paths.

Integrated fixes

  1. Central transport admits the already-implemented apply/restart and health-commit commands while keeping both host-owned and empty-payload-only.
  2. Runtime update tests are unittest-discoverable under the repository's canonical runners.
  3. Packaging/frontend regressions are aligned to current two-artifact and accessible-button behavior.
  4. Updater production hardening from canonical R06: consume apply handoff with atomic replacement and rollback #243 is carried forward:
    • re-read apply authority after atomic publication before disarm;
    • rollback on post-publication authority change or failed disarm;
    • source-open precedes destination creation in exact copies;
    • fdopen failure closes the descriptor and removes the partial destination.

Qualification

Exact-head c55bb2731ba4415372134a75103fd5b2147748b2 hosted qualification is terminal SUCCESS:

  • DEV1 Platform CI 36613607091
  • DEV05 runtime grading 36613606882
  • DEV06 memory persistence 36613606858
  • DEV10 Integration CI 36613606885
  • Library/Search 36613607263
  • Packaged Library Current Shell 36613606931
  • Constructor V2 Direct 36613606983
  • Packaged Speech Direct 36613606978

Independent different-worker exact-head review found no blocking defect in the delta.

HOSTED_BLAST_RADIUS=PASS
CURRENT_BASE_CONTAINMENT=PASS
READY_FOR_INTEGRATION=YES

Non-claims: production signing identity/private key, physical Windows 11/WebView2 end-to-end update acceptance, HUMAN_NVDA, theological/source final acceptance and final release readiness remain separate gates.

@Oleksii-debug Oleksii-debug left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DIFFERENT-WORKER EXACT-HEAD STATIC QA — afbd227

Static conversion review: the five updater modules that previously depended on pytest are now unittest-discoverable without pytest. All prior test_* names are retained; the former parameterized PID/timeout/argv/version/dependency cases are preserved via subTest loops with the same value sets; exception-regex, symlink skip, exact-byte rollback/health, parent-wait, process-launch and runner fail-closed assertions remain represented. DEV05/DEV06 are dependency-free unittest gates; DEV10 has also been restored to unittest with the temporary pytest install removed.

CURRENT BLOCKER IS TOPOLOGY, NOT TEST SEMANTICS: live base #252 is now 4b282be, while this head still has merge-base 9688f50 and direct live-base→head is AHEAD 12 / BEHIND 1. GitHub currently reports PR #253 mergeable=false. The PR body is also stale (candidate 70cf..., five-path scope, pytest-provisioning description).

Do not claim READY or treat any old-head workflow result as merge-result qualification. Reconverge this same lineage onto exact current #252 first, preserve the dependency-free unittest conversions plus the live-base transport/fixture/packaging repairs, then require fresh exact-head DEV05/DEV06/DEV10/DEV1 qualification and changed-head review.

Copy link
Copy Markdown
Owner Author

Qualification blocker at exact head 0ac5ba484d386be0b066938929584d1fda19990f:

Do not mark READY_FOR_INTEGRATION or reuse old-head evidence. Exact-head hosted qualification and independent changed-head review remain required.

Copy link
Copy Markdown
Owner Author

RECONCILIATION CHECKPOINT — exact current topology

The earlier static-QA review in this thread describes a superseded head/topology and must not be used as current merge evidence.

Current canonical state:

Static changed-head review confirms the updater qualification modules remain unittest-discoverable without pytest and the direct transport regression preserves empty-payload authority.

READY_FOR_INTEGRATION=NO: exact-head hosted workflows for ae89b5a0… are currently queued, and independent changed-head review is still required. Superseded workflow results are diagnostic only.

Copy link
Copy Markdown
Owner Author

EXACT-HEAD HOSTED QUALIFICATION COMPLETE — ae89b5a06dec10fc0db522b101c22f38118ee61b

All current-head blast-radius workflows are terminal SUCCESS: DEV1, DEV05, DEV06, DEV10, Library/Search, Packaged Library Current Shell, Constructor Direct and Speech Direct. Live base #252 remains exact 1f6b307cf6c2b4da5845d51d5f1e0e8e57bdb6ce; candidate is BEHIND 0 with exact base merge-base and nine lasting qualification/transport-regression paths.

The earlier DIFFERENT-worker review is bound to a superseded head and is not reused as current authorization. PR is implementation/CI complete and is being moved to review-ready; integration remains blocked only on fresh different-worker exact-head QA plus external production signing/physical Windows/HUMAN_NVDA gates explicitly outside this PR.

@Oleksii-debug
Oleksii-debug marked this pull request as ready for review September 29, 2026 18:29

Copy link
Copy Markdown
Owner Author

HEAD WILL CHANGE — carrying canonical #243 production repair into current convergence

Fresh production review after hosted green found two updater-core defects still present in this exact #253 tree: no post-publication apply-authority readback after os.replace, and destination-fd creation before source-open/fdopen in _copy_exact.

Canonical owner #243 now contains the bounded repair + deterministic regressions. I am carrying that exact production semantics forward into #253 while preserving all descendant transport/unittest/packaging fixes. Prior ae89b5a0... hosted green is superseded for readiness once this write lands.

No source/content/browser authority/signing-policy/pending-health semantics are widened. Fresh exact-head blast-radius qualification is required.

@Oleksii-debug Oleksii-debug left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

INDEPENDENT DIFFERENT-WORKER EXACT-HEAD REVIEW — c55bb2731ba4415372134a75103fd5b2147748b2

Reviewed the complete current base→head delta against #252 exact base 1f6b307cf6c2b4da5845d51d5f1e0e8e57bdb6ce (AHEAD 17 / BEHIND 0, exact merge-base).

Security/runtime findings:

  • browser transport authority remains empty-payload-only for application_update.apply_and_restart and application_update.commit_post_restart_health; injected PID/path/version/hash payloads fail closed;
  • updater retains same-publisher + staged hash + installed-target hash + durable handoff rechecks before publication;
  • after os.replace, the updater now re-reads the durable apply handoff and rolls back if authority changed;
  • discard_apply_handoff contract was independently read: it returns true only after unlink/fsync, false when the fixed authority is already absent; the new fail-closed check is semantically valid;
  • _copy_exact now opens source before destination creation and explicitly closes/removes the destination on fdopen failure, with deterministic regression coverage;
  • rollback generation, exact-byte verification and post-publication failure rollback remain intact;
  • qualification-only changes match the current dual-artifact builder and accessible install-button implementation; no source/campaign/provenance/grading semantics changed.

Exact-head hosted runs on this head are terminal SUCCESS across DEV1, DEV05, DEV06, DEV10, Library/Search, Packaged Library Current Shell, Constructor V2 Direct and Packaged Speech Direct.

No blocking defect found in the reviewed delta. This review does not claim production signing, physical Windows 11/WebView2 E2E, HUMAN_NVDA, or final release acceptance.

@Oleksii-debug
Oleksii-debug merged commit 89bab26 into r06-updater-self-identity-0929-sol Sep 29, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant