Skip to content

Conversation

@ryoppippi
Copy link
Member

@ryoppippi ryoppippi commented Jan 16, 2026

Summary

  • Replace cachix/install-nix-action with nixbuild/nix-quick-install-action
  • Expected to reduce Nix installation time from ~30-60s to ~1s on Linux

Key differences

Aspect Before (cachix) After (nixbuild)
Install time ~30-60s ~1s (Linux)
Mode multi-user (daemon) single-user (no daemon)
Determinism Variable Fully deterministic

Test plan

  • CI passes (lint, build, test jobs)
  • Compare CI run times before/after merge

Summary by cubic

Switch CI to nixbuild/nix-quick-install-action for faster, deterministic single-user Nix installs. Measured improvement: Nix setup ~24% faster (25s → 19s) on Linux.

  • Dependencies
    • Replace cachix/install-nix-action with nixbuild/nix-quick-install-action (single-user, no daemon).

Written for commit 5f8b877. Summary will update on new commits.

@ryoppippi ryoppippi requested a review from a team as a code owner January 16, 2026 21:11
Copilot AI review requested due to automatic review settings January 16, 2026 21:11
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 CI performance by switching from the cachix/install-nix-action to nixbuild/nix-quick-install-action, aiming to reduce Nix installation time from ~30-60s to ~1s on Linux runners.

Changes:

  • Replaced cachix/[email protected] with nixbuild/nix-quick-install-action@v30
  • Removed the github_access_token input parameter that was previously passed to the Cachix action
Comments suppressed due to low confidence (1)

.github/actions/setup-nix/action.yaml:2

  • The description mentions 'configure cache' but the action no longer configures any cache after switching to nix-quick-install-action. This should be updated to accurately reflect that the action only installs Nix and tools from nixpkgs.
description: 'Install Nix and configure cache'

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 16, 2026

Open in StackBlitz

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

commit: 5f8b877

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

@ryoppippi ryoppippi force-pushed the perf/nix-quick-install-action branch from 2586c01 to 6e008ac Compare January 16, 2026 21:26
Replace cachix/install-nix-action with nixbuild/nix-quick-install-action.
This reduces Nix installation time from ~30s to ~1s on Linux.

Key benefits:
- Single-user installation (no daemon overhead)
- Deterministic installation for a given action version
- Minimal setup optimized for CI environments

Measured improvement: Setup Nix step reduced from 25s to 19s (~24% faster)
@ryoppippi ryoppippi force-pushed the perf/nix-quick-install-action branch from 6e008ac to 5f8b877 Compare January 16, 2026 21:27
@ryoppippi ryoppippi merged commit 6e82978 into main Jan 16, 2026
18 checks passed
@ryoppippi ryoppippi deleted the perf/nix-quick-install-action branch January 16, 2026 21:29
ryoppippi added a commit that referenced this pull request Jan 16, 2026
ryoppippi added a commit that referenced this pull request Jan 16, 2026
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