Repository navigation
Add bounded Windows first-boot capture and process cleanup - #6417
kacper-serewis wants to merge 1 commit into
Conversation
|
Checked the stack #6410 -> #6417 -> #6419 as one unit: #6410 and #6417 are ancestors of #6419 (
No defect found. One note for the minidump: |
|
Verified against main 1cc6e3c: merges cleanly. The new test file is Windows-gated (Ran 7, all 7 skipped on this Linux host), so the runner behavior itself rests on the CI windows job here; what I could check — the docs guards over boot.md (cli-flags, links, repo-paths) — all pass, and the scripts are stdlib-only. Ordering note: this head is a direct ancestor of #6419, which merges it, so merging either first is conflict-free and the pair needs no coordination. Checks pending. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
Claimed in the coordination issue as #6379 (claim). Closes #6379.
What and why
Add a native Windows runner for one dry-run, init or run pass with an explicit deadline. It assigns the suspended loader to a private job before resuming it, attempts a bounded external thread minidump on deadline or request, and cleans up descendants even after a normal root exit. It records loader, capture and parser outcomes independently in a fresh local directory. The existing trace parser handles partial runs. The invocation follows the pass and trace options in #6198 and works independently of #6378.
Tested
Windows, CPython 3.13.15. All 7 synthetic runner tests passed, covering all modes, successful and nonzero exits, native fail-fast termination, missing traces, launch failure, collisions, descendant cleanup, successful dumps, failed dumps and a stalled writer. The existing boot parser (20), text line endings (3) and documentation CLI flag checks (3) passed. CPU tests only. No GPU or driver exercised.
AI-assisted: yes (OpenAI Codex).