Skip to content

test(flakeref): use cached GNU hello instead of process-compose - #2878

Merged
mikeland73 merged 2 commits into
mainfrom
mikeland73/flakeref-cached-hello
Jun 21, 2026
Merged

test(flakeref): use cached GNU hello instead of process-compose#2878
mikeland73 merged 2 commits into
mainfrom
mikeland73/flakeref-cached-hello

Conversation

@mikeland73

Copy link
Copy Markdown
Collaborator

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

The flakeref add test pulled github:F1bonacc1/process-compose at a pinned tag, which had to be built and required periodically bumping the tag. Swap it for GNU hello pinned to a fixed nixpkgs commit: it is tiny, available in the binary cache (no build), and the commit never changes — so the test is fast and stable.

🤖 Generated with Claude Code

The flakeref add test pulled `github:F1bonacc1/process-compose` at a pinned
tag, which had to be built and required bumping the tag over time. Swap it for
GNU hello pinned to a fixed nixpkgs commit: it is tiny, available in the binary
cache (no build), and the commit never changes, so the test is fast and stable.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
CopilotAI review requested due to automatic review settings June 21, 2026 18:10

CopilotAI 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 stabilizes the add_platforms_flakeref test by replacing a pinned process-compose GitHub flake (which required building and periodic tag bumps) with a pinned Nixpkgs hello output that should be available from the binary cache, making the test faster and less flaky.

Changes:

  • Switch devbox add in the flake-ref test from github:F1bonacc1/process-compose/v1.87.0 to github:nixos/nixpkgs/<fixed-commit>#hello.
  • Update the runtime assertion to execute hello and validate its output.
  • Update the expected devbox.json superset to reflect the new flake ref key.

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

@mikeland73
mikeland73 merged commit 0ae3dde into mainJun 21, 2026
19 of 20 checks passed
@mikeland73
mikeland73 deleted the mikeland73/flakeref-cached-hello branch June 21, 2026 19:22
Sign up for freeto 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

@mikeland73