Commit graph

1 commit

Author SHA1 Message Date
chopratejas
e53276302e fix(tests): ship scripts/replay_codex_ws_load.py so CI can import it
CI ran the Codex compression scheduler stress test on python 3.10/3.11/
3.12/3.13 and all four versions failed with:

    ModuleNotFoundError: No module named 'scripts.replay_codex_ws_load'

The test imports ``boot_proxy``, ``warmup``, ``replay_session``, ``Frame``,
and ``Scenario`` from the replay tool to drive 30 concurrent compression
calls and assert no p99 contention tail (the very regression this PR
fixes). The tool was untracked because ``scripts/*`` is gitignored by
allowlist — local-only tools work fine for measurement but CI cannot
import them.

Add the replay tool to the allowlist so it ships. Same pattern as
``scripts/smoke_issue_327.py`` and other single-purpose scripts already
on the allowlist. The tool is genuinely useful beyond this PR: it lets
any contributor reproduce the Codex slowness baseline numbers and
measure their own fix against the same workload shape.

Local re-run with the tool committed: 3 passed, 1 skipped — identical
to the pre-fix branch run.
2026-05-14 13:44:41 -07:00