Skip to content

test: copy proptest seeds to post-relocation paths (#15193) - #16637

Merged
EffortlessSteven merged 1 commit into
mainfrom
claude/project-thread-1qexgg
Nov 29, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
claude/project-thread-1qexgg

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code

https://claude.ai/code/session_01YVdGzQrFX3sXvazaKd8CB6

Summary

  • Copies the two tracked proptest regression seeds to the paths proptest will read after the refactor(tests): decide the post-0.11 unit-test layout (move inline #[cfg(test)] modules out of line) #15193 relocation batches move their owners' tests out of line:
    • 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)
  • The old copies stay until both batches land, then one follow-up deletes them. Until then both paths hold identical seeds, so replay works before and after each move.

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 holding lib.rs/main.rs (crates/ripr/src), then mirrors the remaining path under the sibling proptest-regressions directory with a .txt extension (failure_persistence/file.rs, resolve). analysis/diff/parse/tests.rs therefore resolves to analysis/diff/parse/tests.txt, and output/json/tests.rs to output/json/tests.txt. No lib.rs/main.rs sits between those files and src/.

Validation

  • cargo xtask precommit: exit 0
  • cargo xtask check-local-context, check-generated-clean: pass
  • Files are byte-identical copies (cmp).

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

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
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 138 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 3b5e053b-ef9c-49a6-892d-411ba3edb435
Commits

Reviewing files that changed from the base of the PR and between 5ba252e and 57be720.

Files selected for processing: 2

  • crates/ripr/proptest-regressions/analysis/diff/parse/tests.txt
  • crates/ripr/proptest-regressions/output/json/tests.txt
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@EffortlessSteven EffortlessSteven self-assigned this Nov 29, 2026

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.txt and output/json/mod.txt. The old files are untouched.
  • Independent subagent review checked proptest 1.12: proptest! records file!() at the invocation site (sugar.rs), and SourceParallel resolution (failure_persistence/file.rs, resolve) walks up to crates/ripr/src (lib.rs/main.rs), so the moved parse/tests.rs and json/tests.rs read parse/tests.txt and json/tests.txt. Both proptest blocks use the default config.
  • proptest-regressions is not in the crates/ripr package include list, so packaging is unchanged.
  • Local: cargo xtask precommit exit 0; check-local-context and check-generated-clean pass.

Generated by Claude Code

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review November 29, 2026 15:55
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@EffortlessSteven
EffortlessSteven added this pull request to the merge queue Nov 29, 2026
Any commits made after this event will not be merged.
Merged via the queue into main with commit 97ac119 Nov 29, 2026
20 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/project-thread-1qexgg branch November 29, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants