feat: run independent syntax checks with configurable concurrency #7435
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7435"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MrMha on 2026-10-18T06:21:14Z.
What
Add positive
--jobs Nto run independent source syntax checks concurrently while retaining all configurations and deterministic source-order diagnostics. Default jobs=1 remains synchronous. Each source returns its diagnostics to the main thread, preventing interleaved errors. The concurrency test uses a subprocess barrier, not a timing speed threshold; no benchmark claim is made.Tested
macOS 27.0.1 arm64, Python 3.12.14; based on main
ccb0c092683aa9012769394d2f1a0b43b7b7e89a. Focused suite: 25 tests run successfully. One existing Windows-only quoting test is skipped on macOS. The new focused regression also passes on Apple Python 3.9.6. Unchanged main does not support the new option/subcommand; its feature regression fails as expected.Two real subprocesses must reach a shared barrier concurrently; the second completes first but both failures are reported in source order. Invalid job counts are rejected.
A combined validation branch containing all ten independent tooling features builds in Release with
ANYPS5_RELINKER_ONLY=ON; all 185 portable CTest cases pass. The registration audit finds 24 test executables with none omitted. Conventions and whitespace checks pass for this independent branch. No title execution, GPU validation or before/after runtime speed result is claimed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T20:33:12Z.
Checked the
--jobshandling (default 1 stays synchronous, 0/negative rejected), that diagnostics and the checked/failed counts keep source order, and that the new barrier test fails without the change and does not depend on timing; relinker jobs on Linux, macOS and Windows are green; merged.