mirror of
https://github.com/razzant/ouroboros.git
synced 2026-10-03 04:07:04 +00:00
The commit gate's hermetic pytest pass runs inside each lane server and resolves `-n auto` to os.cpu_count() (128 on this host) with no ceiling; the 2026-09-04 paid run started >= 104 xdist workers per self-mod lane with three lanes overlapping. The runtime already has the lever (OUROBOROS_PREFLIGHT_TEST_WORKERS, floor 2, read by preflight_runner._preflight_worker_count and scrubbed from the candidate suite), but IsolatedServer's settings-authoritative sweep dropped it before the lane server started, so the stand could not use it. Devtools-only wiring (evidence action A): - server_runner: keep OUROBOROS_PREFLIGHT_TEST_WORKERS through the authoritative sweep as an operational host-load lever (comment reworded; it is not a model, credential or settings key). - run_live_lanes: derive max(2, 16 // lanes) at argument time (shared-host rule: at most 16 pytest workers across the stand), set it in the launcher process before the first lane starts so an ambient shell value never wins, and record it as extra.preflight_test_workers in run_manifest.json and as preflight_test_workers in every lane row. - docs/DEVELOPMENT.md: one sentence in the live E2E stand section. Pins: the lane sees the computed value (ambient 128 overridden), the runtime's _preflight_worker_count reads it, the manifest and lane row record it, the floor and key names match preflight_runner's constants, and IsolatedServer forwards the key while still stripping an ambient OUROBOROS_MODEL. No runtime code changed. Size ratchet: tests/test_e2e_live_runner.py enters the 1001-1500 band with this commit (996 -> 1042 lines); the band rationale is recorded in the manifest. Co-authored-by: Ouroboros <311266734+ouroboros-agent@users.noreply.github.com> (cherry picked from commit 1824f8910509c65b9fc94041c7a76f98a9aa617d) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| run_live_lanes.py | ||
| scenarios.py | ||
| stub_lane.py | ||
| ui_probe.py | ||