[codex] Fix v0.5 release audit blockers#255
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
PR Summary by QodoFail-closed SDE gating and harden FastScan/manifest validation for v0.5 Description
Diagram
High-Level Assessment
Files changed (21)
|
Code Review by Qodo
1. Unreachable panics on new variants
|
aec8b20 to
d9f33f0
Compare
d9f33f0 to
c13ac69
Compare
|
qodo please re-review this PR. I addressed your finding by replacing the non-exhaustive manifest metadata wildcard |
Yes — What changed
Re-review result
Given the focused test runs you listed, this looks good to me. |
Summary
.ovfsFastScan load/write validation: invalid nibbles, b=2 composition violations, and nonzero block-tail padding now fail before safe search can observe the bytesmainordvec-manifest, align verification/cache reads to canonical paths, and mark persisted-format metadata enums non-exhaustive before v0.5 shipsartifact_kind_unsupported/artifact_params_unsupportedinstead of panicking.ovfsmanifest/probe gap, FastScan dispatch reality, and Python/persistence limitationsNotes
crates-ioandpypienvironments audit clean forProject-Navi/ordvec.ordvec-manifestpackage/dry-run still must wait untilordvec 0.5.0is present in the crates.io index;cargo package -p ordvec-manifest --lockedcurrently fails for that expected dependency-resolution reason.cargo test --workspace --all-features --lockedstill cannot be used directly for the PyO3 extension crates in this local environment; it fails while linking extension-module tests as binaries with missingPyObject_*symbols. Python validation was run throughmaturin developinstead.Validation
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-features --locked -- -D warningscargo test fastscan --lockedcargo test --test index fastscan --lockedcargo test -p ordvec-manifest --lockedcargo test -p ordvec-manifest --no-default-features --lockedcargo test -p ordvec-manifest --all-features --lockedcargo build -p ordvec-ffi --lockedcargo build -p ordvec-ffi --all-features --lockedcargo test -p ordvec-ffi --test c_link_smoke --lockedcargo test --workspace --all-features --locked --exclude ordvec-python --exclude ordvec-manifest-pythonpython3 tests/release_publish_invariants.pybash tests/release_publish_invariants.shbash tests/release_signed_release_invariants.shREPO=Project-Navi/ordvec bash tests/release_environment_settings.shcargo deny checkcargo package -p ordvec --lockedcargo publish -p ordvec --dry-run --lockedgo install github.com/rhysd/actionlint/cmd/actionlint@v1.7.12thenactionlint .github/workflows/ci.yml .github/workflows/coverage.ymlmaturin develop --manifest-path ordvec-python/Cargo.tomlmaturin develop --manifest-path ordvec-manifest-python/Cargo.tomlordvec.RankQuant(64, 8)raisesValueErrorFocused Qodo follow-up validation
cargo fmt --all -- --checkcargo test -p ordvec-manifest --lockedcargo test -p ordvec-manifest --no-default-features --lockedcargo test -p ordvec-manifest --all-features --lockedcargo clippy -p ordvec-manifest --all-targets --all-features --locked -- -D warningsgit diff --check