[codex] Fix manifest CLI release defaults#260
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
PR Summary by QodoFix ordvec-manifest CLI default features and release invariants Description
Diagram
High-Level Assessment
Files changed (6)
|
Code Review by Qodo
1. Brittle Cargo.toml checks
|
There was a problem hiding this comment.
Clean, well-scoped PR that addresses the three release audit findings:
-
ordvec-manifestCLI default —default = ["cli"]plusrequired-features = ["cli"]on the binary ensurescargo install ordvec-manifestworks out of the box while library consumers can opt out withdefault-features = false. -
docs.rs feature surface —
features = ["cli", "sqlite-bundled"]exposes the intended public API on docs.rs, consistent with the feature matrix. -
fuzz MSRV —
rust-version = "1.89"added tofuzz/Cargo.tomland synchronized via the existingcheck_release_compatibility_sync()invariant.
The new check_manifest_cli_defaults() test is a solid guard against drift. All validation commands in the PR description pass. No issues found.
Was this automated review useful? React with 👍 or 👎 to this review to help us measure review quality.
Workflow run: https://github.com/Project-Navi/ordvec/actions/runs/27849729950
Summary
This follows up on the v0.5.0 release audit findings that were still actionable after the repository transfer and recent release-pipeline fixes.
Changed:
ordvec-manifestdefault to theclifeature, socargo install ordvec-manifestinstalls the advertised binarydefault-features = false--features cliexamples for normal CLI useordvec-manifestdocs.rs with the intended public feature surface:cliplussqlite-bundledAudit disposition
Fixed in this PR:
ordvec-manifestCLI was not installed by default Cargo behaviorInvestigated but not changed here:
release.ymlalready publishes core crate, manifest crate, core PyPI wheels, and manifest PyPI wheels; C/Go/native-library distribution remains a release-scope/product decision rather than a single-cargo-publish bugValidation
cargo fmt --all --checkgit diff --check HEADpython3 tests/release_publish_invariants.pybash tests/release_publish_invariants.shcargo install --path ordvec-manifest --root /tmp/ordvec-manifest-install-test --locked/tmp/ordvec-manifest-install-test/bin/ordvec-manifest --versioncargo 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 warningscargo doc -p ordvec-manifest --features cli,sqlite-bundled --no-deps --lockedNote: a broader local
cargo test --workspace --all-features --lockedwas also probed during investigation and failed in this environment onordvec-pythonPyO3 linker symbols. That failure is not caused by this patch and is why the release matrix continues to rely on the dedicated Python/maturin lanes for Python coverage.