pub const MAX_RECORDED_PASSES: usize = 10_000;Expand description
Cap on AssertResult.passes (and the matching truncation sentinel)
so a pathological test that fires millions of claims doesn’t
balloon the wire-formatted result. Mirrors SnapshotBridge’s
MAX_STORED_EVENTS truncation pattern: when the cap is hit,
the cap-th record is replaced with a synthetic
PassDetail { name: PASSES_TRUNCATION_SENTINEL_NAME, … } carrying
the dropped-count, and further pushes are no-ops.
10_000 is comfortably above the steady-state claim count of every
existing test (typical test fires <100 claims; pathological hot-
loop tests in the tree fire under 5_000) while bounding the
worst-case wire size to ~3 MB — well under the 16 MiB
MAX_BULK_FRAME_PAYLOAD per vmm/bulk.rs:56.