test(parquet): rfc 0028 slice 2b — 17 test binaries fold into one harness - #401
Conversation
…ness Pure moves (incl. the proptest-regressions sidecar, which resolves source-relative) + the harness main.rs: no test body changed (RFC0028.1); nothing needs process isolation (RFC0028.2). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 57 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds a new integration-test harness file at crates/ourios-parquet/tests/it/main.rs containing module documentation and ChangesTest Harness Consolidation
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The s3-integration job names the old rfc0013_object_store binary (now the it harness, module-prefixed names under --exact), and the weekly deep-run's parquet + querier lines target rfc0024_properties binaries consolidated by this PR and #400 — the querier line broke silently at #400 (schedule-only job). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR implements RFC 0028 slice 2b for ourios-parquet by consolidating the crate’s integration tests into a single tests/it/ harness, reducing redundant link work while keeping test coverage and behavior the same.
Changes:
- Introduces a consolidated integration-test harness at
crates/ourios-parquet/tests/it/main.rsthatmods all former integration-test modules. - Relocates the parquet integration tests into
tests/it/modules without changing test logic, preserving the inventory/leaf-name set. - Moves accompanying test assets needed for correct relative resolution (per PR description; not shown in the provided hunks).
Reviewed changes
Copilot reviewed 3 out of 21 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| crates/ourios-parquet/tests/it/main.rs | New single integration-test harness that includes all parquet integration test modules. |
| crates/ourios-parquet/tests/it/audit_round_trip.rs | Audit stream round-trip + layout/variant assertions (RFC0005.7/.12/.14, RFC0025). |
| crates/ourios-parquet/tests/it/audit_row_vs_path_validation.rs | Audit row-vs-path partition-mismatch validation scenarios (RFC0005.11, audit axis). |
| crates/ourios-parquet/tests/it/buffer_and_put.rs | Store buffer-and-put round-trip test (RFC0013 seam). |
| crates/ourios-parquet/tests/it/effective_timestamp.rs | Effective timestamp storage behavior tests (RFC0005.13 storage half). |
| crates/ourios-parquet/tests/it/no_body_dict.rs | Parquet metadata assertions for dictionary encoding rules (RFC0005.8). |
| crates/ourios-parquet/tests/it/partition_layout.rs | Data partition path layout + UUIDv7 + writer validation tests (RFC0005.5/§3.4, §3.9). |
| crates/ourios-parquet/tests/it/round_trip.rs | Core data-file round-trip tests for row-level columns (RFC0005.1). |
| crates/ourios-parquet/tests/it/row_vs_path_validation.rs | Data row-vs-path partition-mismatch validation scenarios (RFC0005.11, data axis). |
| crates/ourios-parquet/tests/it/schema_pin.rs | Schema pinning fixtures and promoted-schema ordering tests (RFC0005.10, RFC0022). |
| crates/ourios-parquet/tests/it/sizing.rs | Ignored heavyweight row-group sizing test (RFC0005.6). |
| crates/ourios-parquet/tests/it/zstd_level.rs | ZSTD level behavior tests (default, non-default round-trip, invalid rejected). |
| crates/ourios-parquet/tests/it/rfc0013_object_store.rs | Object store (local + ignored S3) scenario tests and store API invariants (RFC0013/RFC0019). |
| crates/ourios-parquet/tests/it/rfc0018_otlp_compliance.rs | RFC0018 storage-side column persistence and backward compatibility tests. |
| crates/ourios-parquet/tests/it/rfc0021_arrow_upgrade.rs | RFC0021 acceptance scenarios + fixture/readback guard for Arrow/DataFusion upgrade. |
| crates/ourios-parquet/tests/it/rfc0022_promoted_columns.rs | Writer-side promoted attribute projection and encoding assertions (RFC0022). |
| crates/ourios-parquet/tests/it/rfc0024_properties.rs | Proptest-driven round-trip fidelity property over generated batches (RFC0024). |
| crates/ourios-parquet/tests/it/rfc0025_absent_body.rs | Absent-body storage scenarios + committed pre-amendment fixture handling (RFC0025). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
What
RFC 0028 slice 2b — the parquet crate's 17 integration-test binaries fold into one
tests/it/harness (the #399/#400 recipe). Pure file moves plus the harnessmain.rs; the only companion move isrfc0024_properties.proptest-regressions, which proptest resolves relative to its source file. No shared test modules exist in this crate, so no import adjustments at all. No test body changed.RFC0028.1 — inventory proof
cargo test -p ourios-parquet -- --list: 162 tests before, 162 after; leaf-name sets identical after stripping module-path prefixes (snapshots below). The 17#[ignore]d tests (S3-integration + the RFC0005.6 sizing test) moved with their files and stay#[ignore]d.RFC0028.2 — exemptions
None: no parquet test installs a process-global provider, mutates the environment, or needs its own process.
Indicative timing (not the RFC0028.3 gate)
Same machine, warm workspace:
touch crates/ourios-parquet/src/lib.rs && cargo test -p ourios-parquet --no-run— 103.4 s before, 42.8 s after (2.4×).Invariants / hazards
CLAUDE.md §6.2 (tests are specifications): nothing weakened or deleted — the inventory proof is this PR's shape.
Pre inventory (162)
Post inventory (162)
🤖 Generated with Claude Code
Summary by CodeRabbit