Repository navigation
fix(windows): make normal updates install and activate supervised releases - #4056
Conversation
|
Independent adversarial review APPROVE after 217d829 added process-scoped RemoteSigned for the local launcher. Reviewer reproduced Restricted-policy refusal, then verified RemoteSigned reaches the child launcher. Root verified real child stdout/stderr and exit 7 with a spaced path. Task registration remains genuinely blocked by Windows permissions on the test host; no logon-recovery claim yet. Existing system-scope InteractiveToken limitation is outside this patch; user-logon scope is the validated target. |
|
No objection (Fable / M5, code-reading; the macOS path is unchanged except the ORT_DYLIB_PATH default, which now honours an operator override — fine). One pointer, not a blocker: core_wrapper still does |
|
Final head79aec3c97 independently APPROVED. Reviewer exercised actual socket-selection code in Linux and Windows branches: defaults, legacy-only, canonical-only, both set, empty canonical; all10 cases passed. Includes process-scoped RemoteSigned, correct installed Windows ONNX DLL, hidden supervised launch, correct UTF16 BOM, and actual registration errors. Existing --system InteractiveToken limitation remains; this PR targets user-logon recovery. |
|
Adversarial review receipt: APPROVE at bf05fb0. No outstanding concrete blocker found in the reviewed Windows installer/update and guarded service handoff changes. The final AIRC fix resolves the fresh-install blocker: the parent installer now accepts the canonical AppData/Local/Programs/airc destination, honors BIN_TARGET, preserves legacy .local/bin installs, and prepends the actual destination without losing existing toolchain PATH additions. I exercised the production Mod-Airc function with an isolated child-installer fixture for canonical, override, and legacy destinations; all three passed. Reviewed the prepared root ContinuumCore task's exact artifact/socket/launcher/CLI/engine contract before teardown, prebuilt validation and SHA checks, bounded core/engine slot reuse, mapped Cargo-output migration, installer lease before checkout mutation/build, and the hidden supervisor's parent-only wait with pinned handle and exit-code propagation. Previous targeted cargo check and clippy passed; isolated Rust task-validation/service-host tests passed. The production Windows PowerShell 5.1 regression suite passed in the coordinating review, including surviving warm descendants and retry-safe mapped output. Validation limit: actual elevated Task Scheduler registration and the live-core deployment have not been exercised by this review. This is a code and isolated-regression approval, not a claim that live integration has passed. |
|
Follow-up validation receipt at
|
|
Live installer validation caught stale CPU llama archives compiled by MSVC 14.51 being linked under the installer's CUDA-compatible MSVC 14.44. The installer stopped before registration or teardown. 96f070e fixes the public build script: Cargo tracks toolchain selection, and changed/missing identity invalidates only this crate's native build and installed libraries. Both targets are checked before mutation; Windows reparse points are rejected; unrelated Cargo output survives. Explicit MSVC selection avoids invalidating for unrelated PATH changes. Failed builds cannot retain a misleading identity stamp. The regression passes against an actual Windows junction. Full build-script metadata compilation, formatting, and all native supervisor regressions pass. The same small cache test runs in the existing Windows CI job. The branch also incorporates canary through #4068. The standard native installer is now building this final revision for live handoff validation; no success claimed before that receipt. |
Windows source installs previously built artifacts without installing a supervised core. After a reboot, the core could stay down; launching from Cargo output also prevented subsequent linking on Windows. This change makes the normal native installer stage an installed release, register its startup task, and hand over through the existing guarded reboot path.
powershell -NoProfile -ExecutionPolicy RemoteSigned -File .\install.ps1 -Updatefast-forwards the selected upstream, reloads the updated installer, builds the GPU core and independent CLI, validates the candidate, and activates the prepared task. Dirty tracked files and divergent history are preserved through explicit refusal. An install lease covers source updates and installation.reboot --prebuilt PATH --serviceretains provenance checks, activity/training guards, deploy claim, selective teardown, old-PID death check, and live SHA verification.--validate-onlyperforms artifact preflight before task registration. Normalstarthonors the registered release.Validation: native Windows Cargo check and Clippy completed with existing repository warnings; production parser/descriptor tests passed in extracted Windows fixtures. Windows PowerShell 5.1 regression tests exercise occupied/stopped release protection, separate engine lifetimes, real child argument/log/exit propagation, surviving descendants, and mapped Cargo output migration plus retry. These regressions run in the existing Windows CI job. Manifest drift check, PowerShell parsing, Bash syntax, and diff checks passed.
Live elevated task registration and full service handoff are still pending integration verification. Windows startup is at user login, not unattended boot/logout survival. Core updates preserve warm lanes; a staged engine is selected at the next lane spawn rather than interrupting a live engine simply to change its executable. This does not claim that the entire pre-existing Clippy warning baseline is clean.