Repository navigation
chore(wave3): foundation — FaultInjectingBackend, fuzz/ crate, proptest - #254
Merged
Merged
Conversation
…le optimization) Covers issues #207 and #206: extends optimizer::plan() to accept Expr clauses and interleave them at the earliest position where their variables are bound, and routes the StratifiedEvaluator mixed-rules path through the updated planner. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…d rules) TDD plan covering optimizer.rs, matcher.rs, executor.rs, evaluator.rs, and a new Criterion benchmark. 9 tasks, each with exact file paths, code blocks, and expected test output. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…#205) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add a concise 'WASM omission' comment at every existing and planned #[cfg(not(feature = "wasm"))] ordering gate explaining why sorting is disabled on WASM targets (small datasets, deterministic behaviour). The full rationale lives in the selectivity_score() doc comment; all other sites reference it with a short cross-reference. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Covers all 11 issues (#209, #210, #212, #213, #214, #215, #216, #217, #219, #220, #221) across 6 PRs. Key decisions: cargo-fuzz for binary fuzzing, FaultInjectingBackend wrapper for fault injection, proptest + reference evaluator for semantic property tests, cargo-llvm-cov for coverage gates. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- PR 1: foundation (FaultInjectingBackend, fuzz/ crate, proptest) - PR 2: WAL cluster (#209, #210, #214) - PR 3: storage/migration (#215, #216, #217) - PR 4: query correctness (#221, #213, #212) - PR 5: long-haul smoke suite (#220) - PR 6: XTDB/Datomic compat corpus (#219) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…jectingBackend - Remove unused `FaultInjectingBackend::new` constructor (only `with_config` is used) - Collapse nested `if let Some(n)` + `if *count >= n` into `is_some_and` in `check_and_increment` - Replace `io::Error::new(io::ErrorKind::Other, ...)` with `io::Error::other(...)` - Move `proptest` from `[dev-dependencies]` to `[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]` Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wave 3 PR 1 — Foundation
Infrastructure prerequisite for all Wave 3 reliability work. No test content — this PR is pure infrastructure that unblocks PRs 2–4.
Changes
src/storage/backend/fault_inject.rs(new,#[cfg(test)])FaultInjectingBackend<B>wraps anyStorageBackendand injectsio::Erroron configurable write/sync/close call countsFaultConfigwithfail_write_after,fail_sync_after,fail_close_afterthresholdswith_config()constructor returns(backend, Arc<Mutex<FaultConfig>>)for mid-scenario reconfigurationCargo.tomlproptest = "1"added to[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]"fuzz"added to workspace membersfuzz/(new cargo-fuzz crate)wal_entry,file_header,fact_page,btree_page,datalog_parser,datalog_evalUnblocks
#209, #210, #213, #214, #221
🤖 Generated with Claude Code