Skip to content

Refresh the Nix vendorHash for the go-dependencies bump - #701

Merged
jeremy merged 1 commit into
mainfrom
nix-vendor-hash
Sep 10, 2026
Merged

Refresh the Nix vendorHash for the go-dependencies bump#701
jeremy merged 1 commit into
mainfrom
nix-vendor-hash

Conversation

@jeremy

@jeremy jeremy commented Sep 10, 2026

Copy link
Copy Markdown
Member

#697 changed go.sum this morning and the Nix vendorHash in nix/package.nix stayed at the previous value, so nix build now fails with a hash mismatch. Main's own Test run did not show it: the Nix job builds only when a flake-relevant path changes, and the merge commit that landed on main touched none of them, so the job reported success with the build skipped. Any branch that touches go.sum, flake.*, nix/, or test.yml fails on it; #700 hit it by editing test.yml.

The new hash is the value CI computed on two independent runs. This PR touches nix/package.nix, so its own Nix job runs the build and is the verification.

Worth noting for the filter: a Dependabot Go bump changes go.sum, so the bump PR's own run does build the flake, but the stale hash only fails there if that check is required. This one merged with it red or skipped; the Nix flake builds check may be worth marking required so the next one cannot.


Summary by cubic

Refreshes the Nix vendorHash in nix/package.nix to match the recent go.sum update, fixing nix build hash mismatches on branches that touch go.sum, flake.*, nix/, or test.yml. The new hash is from two independent CI runs, and this PR's Nix job verifies the build because it changes nix/package.nix.

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

Review in cubic

#697 changed go.sum this morning and the Nix vendorHash in nix/package.nix
stayed at the previous value, so `nix build` fails with a hash mismatch.
Main's own Test run did not show it: the Nix job only builds when a
flake-relevant path changes, and the merge commit that landed on main
touched none, so the job reported success with the build skipped. Any
branch that touches go.sum, flake.*, nix/ or test.yml now fails on it.

The hash is the one CI computed on two independent runs of the build.
Copilot AI balanced review requested due to automatic review settings September 10, 2026 18:27
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-10T18:28:18.871368Z 5a9cfcc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

🟢 Approved

The hash is validly encoded, and the changed path triggers the Nix build verification.

Pull request overview

Refreshes the Nix dependency hash after the Go dependency update.

Changes:

  • Updates vendorHash to the CI-computed SHA-256 value.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File summaries
File Description
nix/package.nix Refreshes the Nix Go dependency hash.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@jeremy
jeremy merged commit 697c718 into main Sep 10, 2026
25 checks passed
@jeremy
jeremy deleted the nix-vendor-hash branch September 10, 2026 21:25
jeremy added a commit that referenced this pull request Sep 10, 2026
…endor-hash

* origin/main:
  ci: bump zizmorcore/zizmor-action in the github-actions group (#698)
  Reference in-repo workflows with GitHub's self-repository syntax (#700)
  Kill the Codex probe's process group when its deadline expires (#694)
  Refresh the Nix vendorHash for the go-dependencies bump (#701)
jeremy added a commit that referenced this pull request Sep 10, 2026
* origin/main:
  ci: bump zizmorcore/zizmor-action in the github-actions group (#698)
  Reference in-repo workflows with GitHub's self-repository syntax (#700)
  Kill the Codex probe's process group when its deadline expires (#694)
  Refresh the Nix vendorHash for the go-dependencies bump (#701)
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