Repository navigation
test: copy proptest seeds to post-relocation paths (#15193) - #16637
Conversation
Batches 7 and 25 move the tests of analysis/diff/parse.rs and output/json/mod.rs out of line. Proptest derives the seed file from the test's source path, so copy the tracked seeds to parse/tests.txt and json/tests.txt first; the old copies are deleted after the batches land. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzQrFX3sXvazaKd8CB6
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 42 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY for head 57be720
Inspected on this head:
- The diff adds exactly two files, byte-identical copies (cmp) of the tracked seeds
analysis/diff/parse.txtandoutput/json/mod.txt. The old files are untouched. - Independent subagent review checked proptest 1.12:
proptest!recordsfile!()at the invocation site (sugar.rs), andSourceParallelresolution (failure_persistence/file.rs,resolve) walks up tocrates/ripr/src(lib.rs/main.rs), so the movedparse/tests.rsandjson/tests.rsreadparse/tests.txtandjson/tests.txt. Both proptest blocks use the default config. proptest-regressionsis not in thecrates/riprpackage include list, so packaging is unchanged.- Local:
cargo xtask precommitexit 0; check-local-context and check-generated-clean pass.
Generated by Claude Code
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
🤖 Generated with Claude Code
https://claude.ai/code/session_01YVdGzQrFX3sXvazaKd8CB6
Summary
crates/ripr/proptest-regressions/analysis/diff/parse.txt->analysis/diff/parse/tests.txt(owner moves in v3 batch 7)crates/ripr/proptest-regressions/output/json/mod.txt->output/json/tests.txt(owner moves in v3 batch 25)Governing issue or accepted claim: #15193
Acceptance delta (one sentence): Proptest regression seeds keep replaying after the parse.rs and output/json/mod.rs tests move into owner-local tests.rs files.
Source review: REVIEW_READY 57be720
Why this path
Proptest 1.12
FileFailurePersistence::SourceParallel("proptest-regressions")(the default both test modules use) walks up from the test's source file to the nearest directory holdinglib.rs/main.rs(crates/ripr/src), then mirrors the remaining path under the siblingproptest-regressionsdirectory with a.txtextension (failure_persistence/file.rs,resolve).analysis/diff/parse/tests.rstherefore resolves toanalysis/diff/parse/tests.txt, andoutput/json/tests.rstooutput/json/tests.txt. Nolib.rs/main.rssits between those files andsrc/.Validation
cargo xtask precommit: exit 0cargo xtask check-local-context,check-generated-clean: passcmp).Non-goals: no test or production change; deleting the old seeds is a later step. #16630 tracks the verifier flagging seed files whose owners move.
Generated by Claude Code