Repository navigation
conformance: replay bundle fixtures are harvested on the manual clock (#362) - #504
Conversation
AI review (no-findings)Reviewing the four changed files:
No bugs, security issues, or inconsistencies found. {"head": "6de1006da48ef64d90d1c7028c09de64106e9610", "verdict": "no-findings", "findings": []}Subject: 983b4ac...6de1006, diff digest dc6469aaece65d2692eee97135ae493a5eedbc1b2a21ba2fb816c902aaf2eb23, 1 call(s). An AI comment is not an approval. |
…#362) The replay cases' bundle fixtures retained the capture run's real attempt dispatch/end times and elapsed time, so each harvest could shift them and the bundle digests in the cases and the manifest. The CLI replay test now applies the goldens' timing normalization to the retained run record and re-digests it before the harvested replay. rustev-eval's packaged copy of the lodging record is refreshed to match. Specs 027 and 004 record the fix.
6de1006 to
5a4dfe7
Compare
AI review (no-findings)I reviewed all six changed paths carefully.
No bugs, security issues, digest contradictions, or governance violations found. {"head": "5a4dfe76e5c7fc61365e2406e1085c17a8151eef", "verdict": "no-findings", "findings": []}Subject: 983b4ac...5a4dfe7, diff digest 5c801937ee7b93493f33472120debff62183502c4fd595453ecbfcf46fe5f6c9, 1 call(s). An AI comment is not an approval. |
Fixes #362.
make conformance-harvestwas not reproducible: thesupport.replayandlodging.replaycases take a freshly captured replay bundle as input, and the run record retained in it carried the capture run's real attemptdispatched_ms/ended_msandelapsed_ms. Each harvest could shift them, and with them the bundle SHA-256 incases/cli/*.replay.jsonandcases/manifest.json.crates/rustev-cli/tests/replay.rs: before the harvested replay, the test applies the goldens'timingnormalization (spec 027, 3.12.3, the sharednormalize.rs) to the bundle's retained run record and re-digests it. Replay reproduces the judgment, never the timing, so the bundle still reproduces and the replay goldens are unchanged.crates/rustev-eval/src/testdata/lodging-emb.record.json: the crate's packaged copy of the lodging bundle's retained record, refreshed to the new bytes (tests/packaged_fixtures.rskeeps it equal to the fixture); spec 004 records it as test only.