Repository navigation
Preserve native launch errors in the opt-in Windows Git stream owner - #5524
Merged
Mister-Meeseeks merged 2 commits intoOct 25, 2026
Merged
Mister-Meeseeks merged 2 commits into
Mister-Meeseeks merged 2 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.
Change and mathematical scope
PR5463's owned Python gate turns requested-executable launch failures into exit 1. With the actual Git reader's suppressed stderr, a missing executable, invalid image or directory-as-executable becomes an empty/non-blob response error.
This opt-in tooling successor preserves the native exception class and fields through a separate, bounded launch-status channel while reusing PR5463's unchanged Job Object owner. It distinguishes launch failure from a successfully launched exit 129, preserves binary streams and consumer pauses, and stops owned children on startup failure. A transient report-read PermissionError found during repeated native checks is handled within the existing startup deadline; a real executable PermissionError is reconstructed outside that retry handler.
Only
research/windows-git-launch-diagnostics/is added. Shared production adoption remains open. No new kappa, selected-record change, full adapter acceptance or mathematical replay is claimed.Package and limits · validation record
Task and overlap
Handoff-first
portable-replay, changed scope from generic artifact comparison to PR5463's explicit launch-diagnostic obligation. Reliable source-pin checks need to distinguish process setup failures from bad Git data. Task card · canonical Discussion claim/result.Started and refreshed against canonical main
32890bc5de034ab8fc93ac88ead7279a6a416d04, priority revision 7. PR5463 remains at991da9010925914ec64a5293286edb10a7910218. PR5461 (dd30c37b09bc090afa94944cb055b677de2db696) and the 7a9a2b6 native probe retain baseline diagnosis credit; their full suites were not rerun here.The full refresh covered 378 open PRs and 4,796 Discussion records; sparse local coverage omitted 7,401/7,402 tracked notes. Relevant sources, runner documentation and ledger were read directly. A later live thread/PR check found two concurrent diagnostic claims released; their preliminary corroboration is credited, not claimed as independent review. Owner-death audits remain separately coordinated. These searches do not prove novelty.
Validation
Native Windows 11 build 26300 / CPython 3.12.0, standard library:
--require-windowsrejects there. This is not native Windows coverage.Science/evidence:
68f3e912d04d74fbb98b806852007f7231a8b1af. Publication:b11f5ab7df36fbde44e9f2de3498e3e77f2eb4ee; the second commit only records export/provenance results. The pending fork dependency is vendored with exact blob/SHA256 identities and public provenance, not misrepresented as a canonical ancestor.Not run: full predecessor/production-consumer suites, other Windows hosts, restrictive host policies, hard owner-death tests or scientific replays. General Popen compatibility and a total wall-clock bound including outer CreateProcess/filesystem calls are not claimed. Hosted CI is separate.
Credit
Retain ywz65's Job Object/gate and native observer design; Brian/JoyboyBrian's deadlines/POSIX ownership; Nick Petalas's blob/fallback reader; Douglas Colkitt's runner; Mihir Srivastava's adapter/native audit lineage; Arham Tahir, Woklerx, yssite, Paul Romeo, Tekalign and the retained contributors. Concurrent missing-executable corroboration is linked in VALIDATION. Source notices and Apache-2.0 license are included.
Prepared for Mihir Srivastava with substantial OpenAI Codex assistance, one agent. Author-checked, not independently human-reviewed.
Open next questions
Detailed next questions: integrate the reviewed owner/wrapper at one shared process factory while retaining fixture seams, then run the current consumer suites on Windows/POSIX. A second Windows host/policy replay is also useful. These require separate review/host access; this contribution reserves neither task.