Repository navigation
Stop direct script trees on scheduler exceptions - #2676
Merged
Merged
Conversation
Contributor
|
Independent Linux execution finding for exact head |
8 of 10 tasks
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.
Cancelling the direct script scheduler previously waited for active and queued subprocesses. Register owned processes, stop their ordinary trees on controlling exceptions, cancel queued launches, and preserve the original exception with bounded cleanup diagnostics. Normal output blocks and failure labels are unchanged.
This adapts the credited PR2625 unittest-scheduler pattern to
run_parallel.run_all, adding real command-iterator, launch and output-read failure regressions. Review caught and fixed lost ownership after a communication error; the same finding was handed back to PR2625 without another contribution count.Validation: nine native Windows process/semantic tests pass on Python3.12.14 and3.14.5; two existing direct-runner checks pass. The original cancellation and communication-error regressions fail before their fixes. POSIX execution and CI are not claimed. The attempted unrelated snapshot tests require unavailable make and retain their known cleanup failure; full details and exact source/overlap pins are in
docs/research/script-runner-cancellation.md.Started at current main b4560d9 and fast-forwarded to1884c509 after its review integration; priority5 and all runner inputs are unchanged. Submitted by ywz65 with substantial OpenAI Codex assistance. Apache-2.0; no scientific result or supplier claim.