Repository navigation
fix(fleet-config): isolate parallel test fixtures - #10996
Conversation
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. |
|
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 30 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Fixes #10995.
Static musl smoke builds run fleet-config tests in parallel. The test helper named fixture directories using only the current timestamp; adjacent calls can collide at the target clock resolution, allowing one test cleanup to remove another test's file. Assign each process-local fixture a unique atomic sequence number instead.
Regression reason: prevents parallel test fixture collisions that made malformed-config tests read a missing file (defaults) and host-config validation tests lose their fixture. No expected smoke outputs changed.
Verified:
cargo test -p fleet-config --libinpkgs/fleetpassed (48 tests);nix build --no-link .#fleet-connect-staticpassed, includingfleet-configlib tests (48 passed) onx86_64-unknown-linux-musl.