Repository navigation
V1 C: fault matrix, exact synthetic tokens, and baseline stubs - #4
Merged
Merged
Conversation
Add protocol fuzz, fault injection, and concurrency tests for short writes, corruption, duplicates, reordering, timeout, cancel, restart, disk full, eviction races, tenant collisions, identity changes, and quota exhaustion. A failed durable write is not a hit. fault-demo checks hit, miss, and recompute with exact token ids. GPU baselines stay NOT_RUN_HARDWARE. Co-authored-by: RustFS <hello@rustfs.com>
loverustfs
marked this pull request as ready for review
October 15, 2026 06:19
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.
Summary
V1 C adds the CPU fault matrix on top of the V1 A/B contract. A failed durable write is abandoned, so a short write or a full disk is not a later hit. Synthetic blocks are compared as exact token ids (
tolerance=NONE). Wrong-tenant and wrong-model lookups return no payload.GPU paired baselines are harness stubs that print
NOT_RUN_HARDWAREand no timings. ADR 0001 stays Pending. No erasure coding, RDMA, or DPU work.What is implemented
cargo testfault-demo: hit, miss, and recompute fallback from a clean temp directorypaired-baseline: engine-native prefix cache, local offload, and GPUCache CPU/TCP goodput, plus cold/warm/no-reuse/multi-turn/HBM rowsWhat is not implemented
NOT_RUN_HARDWARE; ADR 0001 Pending)NOT_RUN_HARDWARE; noFAIL_PERFORMANCEfigure because nothing was measured)NOT_RUN; the disk-full path is injected, andENOSPCis classified)NOT_RUN_HARDWARE)NOT_RUN; CI jobs still run it)NOT_RUN_LICENSE) and paid GPU/DPU (NOT_RUN_BUDGET)Repro
cargo test --workspace --all-targets cargo run -p gpucache-transport --bin fault-demo cargo run -p gpucache-bench --bin paired-baselineMatrix:
docs/V1C_TEST_MATRIX.md. Criteria:docs/CORRECTNESS.md.