Repository navigation
id benchmarks: R2 object workload adapter + operation counters (C9133-02-R2, #10163) - #11135
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 32 minutes. View limit details
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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
What
Implements C9133-02-R2 (#10163): the R2 object workload adapter and native operation counters in the C9133-01 benchmark crate (
pkgs/id/benchmarks), test-first against a Fake R2 capability fixture — no network/provider calls.src/adapters/r2.rs(new):FakeR2fixture carrying R2's verified conditional surface (put-if-absent, put-if-match, copy-if-match; etag = content identity) andR2Adapter: generation-qualified opaque locators via the crate'scontent_id/physical_key, get + recomputed-checksum legs, native operation counters (puts/gets/checksums/copies/conditional accepted+rejected/deletes/refused/unsupported).tests/r2_adapter.rs(new): 6 tests named for the oracle clauses.src/lib.rs+src/adapters/mod.rs: one-line module wiring — the only touch outside the slice's two owned files.Evidence
cargo test --manifest-path pkgs/id/benchmarks/Cargo.toml --test r2_adapter: 6 passed, 0 failed.cargo test: 6 r2_adapter + 2 workload_oracle passed — no regression in the C9133-01 oracle.cargo fmt --checkon the crate: clean.Fixes #10163
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.