Skip to content

ci: remove dead nix-version matrix from cli-tests test job - #2880

Merged
mikeland73 merged 1 commit into
mainfrom
mikeland73/ci-reduce-nix-matrix
Jun 21, 2026
Merged

mikeland73 merged 1 commit into
mainfrom
mikeland73/ci-reduce-nix-matrix

Conversation

@mikeland73

Copy link
Copy Markdown
Collaborator

Split out from mikeland73/fix-flaky-cicd-tests (3/5).

The cli-tests job ran a nix-version matrix, but the devbox-install-action we now use to install Nix doesn't let us pin a specific Nix version, so all matrix legs ran identical duplicates (3× the jobs, 3× the flake surface, no extra coverage). Removed. Cross-version coverage is still provided by the separate test-nix-versions job.

🤖 Generated with Claude Code

The `test` job defined a 3-value `nix-version` matrix, but the value was
never wired into any step after the job switched to installing Nix via
devbox-install-action (which can't pin a Nix version). The three legs ran
identical duplicates, tripling the slowest/flakiest job for no extra
coverage. Remove the matrix and document how to re-add it once the install
action supports specifying a Nix version. Cross-version coverage remains in
the separate test-nix-versions job.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 21, 2026 18:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the unused nix-version matrix from the cli-tests workflow job to eliminate duplicate CI legs now that Nix is installed via devbox-install-action, which (per the inline note) does not support pinning a specific Nix version. Cross-version Nix coverage remains handled by the separate test-nix-versions job in the same workflow.

Changes:

  • Removed the nix-version matrix from the test (cli tests) job to avoid redundant runs.
  • Added an explanatory inline comment documenting why the matrix was removed and when to re-introduce it.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mikeland73
mikeland73 merged commit 2c9e707 into main Jun 21, 2026
21 of 22 checks passed
@mikeland73
mikeland73 deleted the mikeland73/ci-reduce-nix-matrix branch June 21, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants