Repository navigation
fix(atlas-search): add git to nativeCheckInputs (code#10993) - #10997
Conversation
The atlas-core detection tests spawn git; it was not among the package's build-sandbox inputs, so all 8 detection tests panicked with NotFound and the check phase went red — blocking any nixos-rebuild switch from main. Add git to nativeCheckInputs on both build paths (crane buildPackage and buildRustPackage).
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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
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 17 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. |
Fixes #10993.
The atlas-core detection tests (
crates/atlas-core/tests/detection.rs) spawngit, but git was not among the package's build-sandbox inputs, so all 8 detection tests panicked withgit runs: Os { code: 2, kind: NotFound }and the check phase went red — blockingnixos-rebuild switchfrom main entirely (it is what held up the Dot SSH activation, PR #10990).Change (
pkgs/atlas-search/default.nix, +7 lines): addgitto the function args andnativeCheckInputs = [ git ]on both build paths — the cranebuildPackageand thebuildRustPackagefallback (the path home/common builds for the amd switch). Matches the neighboring pkgs/fleet convention (nativeCheckInputs = [ python3 ]).Verification (laptop, local build — CI runs on main only): the buildRustPackage path built standalone green;
tests/detection.rs: 8 passed, 0 failed (previously 8 panics); full suite green; installCheck smoke PASS (fts_default, hybrid_default, ort load).Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.