orchestrata_ultimate.core.threading

Reference › orchestrata_ultimate › core › threading

Threading utilities for orchestrata-ultimate.

The free-threaded execution and test-running machinery of core: the project's answer to pytest-xdist deadlocking its suite, described in the core narrative. By role:

Entry points are the scripts run_tests, run_tests_streaming, run_tests_threadpool and observe_pytest. Flow: the script creates a ParallelTestExecutor, each batch subprocess loads the live observer, and the executor merges JUnit and live-log results. The package root re-exports the pool and executor. Start with test_executor's module docstring.

7 modules, 4,204 lines of code.

Modules

Module Summary LOC
__init__ Threading utilities for orchestrata-ultimate. 29
failure_detail Full failure detail for the batched test runner, and the secret scrub it passes through before the runner keeps it. 141
pytest_live_observer Real-time, SIGKILL-durable pytest result sink (a pytest plugin). 952
pytest_live_reader Readers for the live-observer session registry and event log. 521
test_executor Parallel test executor using ThreadPoolManager + batched subprocess. 1824
test_scheduler CLP(FD) test-module scheduling (§9 row B28). 427
thread_pool Thread pool management for orchestrata-ultimate. 310

Dependency diagram

Package dependency diagram orchestrata_ultimate.core.threading