Skip to content

fix(atlas-search): add git to nativeCheckInputs (code#10993) - #10997

Merged
dezren39 merged 1 commit into
mainfrom
fix/10993-atlas-search-git-check
Nov 17, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fix/10993-atlas-search-git-check

Conversation

@dezren39

@dezren39 dezren39 commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Fixes #10993.

The atlas-core detection tests (crates/atlas-core/tests/detection.rs) spawn git, but git was not among the package's build-sandbox inputs, so all 8 detection tests panicked with git runs: Os { code: 2, kind: NotFound } and the check phase went red — blocking nixos-rebuild switch from main entirely (it is what held up the Dot SSH activation, PR #10990).

Change (pkgs/atlas-search/default.nix, +7 lines): add git to the function args and nativeCheckInputs = [ git ] on both build paths — the crane buildPackage and the buildRustPackage fallback (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).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

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).
@dezren39
dezren39 requested a review from a team as a code owner November 17, 2026 05:28
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-17T05:28:16.326350Z
We couldn’t complete this review. Comment @codex review to try again.
7dcc9a4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@dezren39
dezren39 merged commit 09ae3a8 into main Nov 17, 2026
@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 998f3a7e-9b78-47f3-a4f6-75a0eba94192
Commits

Reviewing files that changed from the base of the PR and between acf3a48 and 7dcc9a4.

Files selected for processing: 1

  • pkgs/atlas-search/default.nix
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build(atlas-search): check phase fails — detection tests spawn git, which is not in the build inputs (blocks any nixos-rebuild switch from main)

1 participant