Skip to content

Conversation

@ThetaSinner
Copy link
Member

@ThetaSinner ThetaSinner commented Dec 23, 2025

  • Upgrade Nix to latest
  • Update to currently recommended caching pattern for Cachix
  • Remove support for 0.4
  • Update to nixpkgs 25.11

Summary by CodeRabbit

  • Chores
    • Upgraded Nix installer to 2.33.0 across CI workflows.
    • Removed an older branch variant from CI triggers and cache/update flows.
    • Updated Nix package input to a newer release and simplified cache/build steps for faster CI.
  • Documentation
    • Removed the legacy Holonix cache badge from the README.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Dec 23, 2025

Walkthrough

Removed references to the main-0.4 Holonix branch across multiple GitHub Actions workflows and README, upgraded Nix installer URLs to nix-2.33.0, adjusted macOS runner targets in some matrices, refactored holonix cache push logic, and bumped the flake nixpkgs input to nixos-25.11.

Changes

Cohort / File(s) Summary
Workflow: build & matrices
.github/workflows/build.yaml
Dropped main-0.4 from triggers; replaced macOS matrix entries with a macOS-26 variant; updated Nix installer URL to nix-2.33.0.
Workflow: command/dispatch listeners
.github/workflows/command-listener.yaml, .github/workflows/dispatch-listener.yaml
Replaced install_nix URL to nix-2.33.0 in command-listener; removed the bump_holochain-0_4 job from dispatch-listener.
Holonix cache workflows
.github/workflows/holonix-cache.yaml, .github/workflows/holonix-cache-trigger.yaml, .github/workflows/holonix-update.yaml
Removed main-0.4 branch entries and workflow_call input; updated Nix installer to nix-2.33.0; changed cache-update to use nix develop --profile ... -c true and a single cachix push for result-develop; adjusted OS matrices to include macos-26.
Docs
README.md
Removed the main-0.4 Holonix cache badge line.
Flake
flake.nix
Bumped nixpkgs input ref to nixos-25.11.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • matthme
  • veeso

Pre-merge checks and finishing touches

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Maintenance' is too vague and generic; it does not convey meaningful information about the specific changes (Nix upgrade, branch removal, caching pattern update, nixpkgs update). Use a more descriptive title that captures the main objective, such as 'Upgrade Nix to 2.33.0 and remove 0.4 branch support' or 'Update CI: Nix upgrade, cachix pattern, and remove 0.4 support'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch maintenance

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f37dc76 and a7cf8d8.

📒 Files selected for processing (2)
  • .github/workflows/build.yaml
  • .github/workflows/holonix-cache.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (14)
  • GitHub Check: build (ubuntu-24.04-arm, holochain, hc, hcterm)
  • GitHub Check: build (ubuntu-24.04-arm, hc-scaffold)
  • GitHub Check: build (ubuntu-24.04-arm, lair-keystore)
  • GitHub Check: build (macos-26, bootstrap-srv)
  • GitHub Check: build (macos-26, lair-keystore)
  • GitHub Check: build (macos-26, hc-scaffold)
  • GitHub Check: build (ubuntu-24.04-arm, bootstrap-srv)
  • GitHub Check: build (ubuntu-latest, lair-keystore)
  • GitHub Check: build (ubuntu-latest, holochain, hc, hcterm)
  • GitHub Check: build (ubuntu-latest, bootstrap-srv)
  • GitHub Check: build (ubuntu-latest, hc-scaffold)
  • GitHub Check: cache-update (macos-26)
  • GitHub Check: cache-update (ubuntu-latest)
  • GitHub Check: cache-update (macos-15-intel)
🔇 Additional comments (7)
.github/workflows/build.yaml (4)

114-114: Nix version upgrade applied consistently.

The Nix installer URL has been updated to 2.33.0, consistent with the nix-check job.


153-153: Nix version upgrade applied consistently.

The Nix installer URL has been updated to 2.33.0, maintaining consistency across all jobs.


77-77: The macOS-26 runner is valid. GitHub Actions added macOS 26 (Tahoe) in 2025 as a public preview runner. Note that it's currently in beta status, so expect potential stability variations with some tooling.

Likely an incorrect or invalid review comment.


30-30: Nix 2.33.0 is a valid release (released December 9, 2025) with no concerns about availability or stability.

.github/workflows/holonix-cache.yaml (3)

89-91: LGTM: Simplified caching pattern.

The updated approach using a single cachix push with the profile aligns with the recommended Cachix pattern referenced in the comment. This simplification improves maintainability.


120-121: LGTM: NIX_CONFIG properly configured.

The addition of NIX_CONFIG with GitHub access tokens enables the cache-check step to access the repository correctly. This is properly configured for the derivation check.


39-39: The macos-26 runner version is valid and follows GitHub's standard naming convention. It is the next-generation macOS runner (Tahoe) and is currently available in public preview. No action needed.

Likely an incorrect or invalid review comment.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0f1fdc1 and 746381d.

⛔ Files ignored due to path filters (1)
  • flake.lock is excluded by !**/*.lock
📒 Files selected for processing (8)
  • .github/workflows/build.yaml
  • .github/workflows/command-listener.yaml
  • .github/workflows/dispatch-listener.yaml
  • .github/workflows/holonix-cache-trigger.yaml
  • .github/workflows/holonix-cache.yaml
  • .github/workflows/holonix-update.yaml
  • README.md
  • flake.nix
💤 Files with no reviewable changes (3)
  • README.md
  • .github/workflows/dispatch-listener.yaml
  • .github/workflows/holonix-cache-trigger.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
  • GitHub Check: build (macos-latest, hc-scaffold)
  • GitHub Check: build (ubuntu-24.04-arm, hc-scaffold)
  • GitHub Check: build (ubuntu-latest, bootstrap-srv)
  • GitHub Check: build (macos-latest, holochain, hc, hcterm)
  • GitHub Check: build (ubuntu-24.04-arm, lair-keystore)
  • GitHub Check: build (ubuntu-latest, hc-scaffold)
  • GitHub Check: build (ubuntu-24.04-arm, bootstrap-srv)
  • GitHub Check: build (ubuntu-latest, lair-keystore)
  • GitHub Check: build (ubuntu-latest, holochain, hc, hcterm)
  • GitHub Check: build (macos-latest, lair-keystore)
  • GitHub Check: build (ubuntu-24.04-arm, holochain, hc, hcterm)
🔇 Additional comments (6)
.github/workflows/build.yaml (2)

114-114: Consistent Nix version updates across jobs.

The build and template jobs are updated consistently with the same Nix 2.33.0 installer URL.

Also applies to: 153-153


30-30: Nix version upgrade to 2.33.0 is valid.

The Nix installer URL points to a legitimate release (December 9, 2025) with performance improvements and new features. The upgrade is sound.

.github/workflows/command-listener.yaml (1)

51-51: Consistent Nix version updates.

Both bump_holochain and bump_hc_scaffold jobs are updated with the same Nix 2.33.0 installer URL, maintaining consistency across all workflows.

Also applies to: 78-78

.github/workflows/holonix-update.yaml (1)

11-14: Branch options and Nix version updated correctly.

The main-0.4 option is removed from the workflow dispatch inputs, and the Nix installer is updated to 2.33.0, consistent with the PR objectives and other workflow files.

Also applies to: 51-51

.github/workflows/holonix-cache.yaml (1)

46-46: Consistent Nix version updates.

Both cache-update and cache-check jobs are updated with the Nix 2.33.0 installer URL.

Also applies to: 114-114

flake.nix (1)

7-7: Update aligns with stable NixOS 25.11 release.

The nixpkgs reference to nixos-25.11 is appropriate and points to a stable, released branch. NixOS 25.11 "Xantusia" is publicly available and receives security updates until 2026-06-30.

Comment on lines 90 to 92
nix develop --profile result-develop -c true "github:holochain/holonix?ref=${{ steps.select_branch.outputs.branch }}"
# Push both results to the cache
for i in result-*; do
cachix push holochain-ci $i
done
cachix push holochain-ci result-develop
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

find . -name "holonix-cache.yaml" -o -name "*holonix*.yaml" 2>/dev/null | head -20

Repository: holochain/holonix

Length of output: 186


🏁 Script executed:

cat -n .github/workflows/holonix-cache.yaml | sed -n '85,95p'

Repository: holochain/holonix

Length of output: 611


Fix argument order for nix develop command.

The flake reference must precede the --profile option. Correct syntax: nix develop "github:holochain/holonix?ref=${{ steps.select_branch.outputs.branch }}" --profile result-develop -c true

The current code positions the git URL after -c true, treating it as an argument to the true command rather than the flake installable, which is syntactically incorrect.

🤖 Prompt for AI Agents
In .github/workflows/holonix-cache.yaml around lines 90 to 92, the nix develop
invocation places the flake reference after the -c true flags causing the URL to
be passed to the true command; reorder arguments so the flake ref comes
immediately after nix develop and move --profile result-develop -c true after it
(i.e., call nix develop "github:holochain/holonix?ref=${{
steps.select_branch.outputs.branch }}" --profile result-develop -c true) so the
flake is parsed correctly before profile and command options.

@cocogitto-bot
Copy link

cocogitto-bot bot commented Dec 23, 2025

✔️ 515ae64...a7cf8d8 - Conventional commits check succeeded.

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