Skip to content

fix: nix build, including macos sandbox#529

Open
adamjhf wants to merge 1 commit intoDimillian:mainfrom
adamjhf:flake
Open

fix: nix build, including macos sandbox#529
adamjhf wants to merge 1 commit intoDimillian:mainfrom
adamjhf:flake

Conversation

@adamjhf
Copy link

@adamjhf adamjhf commented Feb 27, 2026

Fixes npm deps in nix flake causing nix build failure.

Also marks listen_addr_preflight_fails_when_port_is_in_use test as ignore by default, as this fails in nix darwin sandbox, requiring socket bind permission.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3caac5538b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

}

#[test]
#[ignore = "requires socket bind permission outside sandbox"]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep port preflight test enabled outside sandboxed builds

Adding an unconditional #[ignore] here disables listen_addr_preflight_fails_when_port_is_in_use for every default cargo test run, not just the Nix macOS sandbox case mentioned in the commit message. That means regressions in ensure_listen_addr_available will no longer be caught in regular Linux/macOS CI and local development where socket bind permissions exist; this should be scoped to the sandbox-specific environment instead of globally ignored.

Useful? React with 👍 / 👎.

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.

1 participant