channelBuildRequest re-ran the authoritative Python validator (a fresh
interpreter importing hermes_cli.release_channels and
scripts.bundles.desktop_prepare) on every call, including repeated calls with
byte-identical request JSON. verifyBundleStamp admits the channel request on
each call, so the tests-js "channel smoke binds the complete admitted request"
test started 59 Python interpreters; on a loaded runner that alone passed its
15 s budget (CI run 45707403899: 17.2 s, timed out on a PR with no JS changes).
Remember the exact (interpreter, request bytes) pairs the validator accepted
in this process and skip only those repeats. Rejections are never cached, and
every distinct request (and every fresh CLI process) is still validated.
Measured locally, tests-js/bundle-smoke-metadata.test.mjs, channel smoke test:
idle: 3426 ms -> 811 ms
taskset -c 0 + 4 cpu0 spinners: 16705-18642 ms (timeout) -> 3708 ms
The new contract test proves one validator run per distinct accepted request
and one per rejected attempt; it fails on the base (2 runs for 2 identical
admissions).