Skip to content

Conversation

@ryoppippi
Copy link
Member

@ryoppippi ryoppippi commented Jan 5, 2026

Summary

  • Add hashFiles for all *.nix files, flake.lock, and pnpm-lock.yaml to the Nix store cache key
  • Ensures cache is properly invalidated when Nix configuration or dependency lockfiles change

Test plan

  • Verify CI runs successfully with the new cache key

Summary by cubic

Include all *.nix files, flake.lock, and pnpm-lock.yaml in the CI Nix cache key using hashFiles to avoid stale caches. This ensures the Nix store cache invalidates when Nix config or dependency locks change.

Written for commit 1d9de93. Summary will update on new commits.

Add hashFiles for all *.nix files, flake.lock, and pnpm-lock.yaml
to the Nix store cache key. This ensures the cache is properly
invalidated when any Nix configuration or dependency lockfiles change.
@ryoppippi ryoppippi requested a review from a team as a code owner January 5, 2026 14:13
Copilot AI review requested due to automatic review settings January 5, 2026 14:13
@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 5, 2026

Open in StackBlitz

npm i https://pkg.pr.new/StackOneHQ/stackone-ai-node/@stackone/ai@275

commit: 1d9de93

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

Copy link

Copilot AI left a comment

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 improves the Nix store cache invalidation by incorporating file hashes into the cache key. The change ensures the cache is properly refreshed when Nix configuration files or dependency lockfiles are modified.

Key Changes:

  • Updated the Nix store cache key to include hashes of all .nix files, flake.lock, and pnpm-lock.yaml

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

@ryoppippi ryoppippi merged commit 13c6919 into main Jan 5, 2026
26 checks passed
@ryoppippi ryoppippi deleted the ci/nix-cache-hash-files branch January 5, 2026 14:33
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.

2 participants