chore(nix): toolchain bump - #313
Merged
Merged
Conversation
The nix bump moves protoc-gen-go 1.36.11 -> 1.36.12 and protoc-gen-go-grpc 1.6.0 -> 1.6.2. Output of `just codegen::proto` and `just codegen::db-schema` regenrated.
The bump changes how the tree formats: treefmt now resolves the frontend's prettier config, and the Go line-wrapper splits long calls one argument per line. No behaviour change. Every file is byte-identical to its previous content once whitespace, commas and union pipes are stripped.
The nix bump moves golangci-lint 2.8.0 -> 2.13.2, which reports new lint issues. These are fixed in this commit. - goconst, in cmd/seed: exempt the fixtures - goconst, in rbac.go: fixed - nolintlint, //nolint directives for gosec and protogetter that the linters no longer fire on. Deleted rather than suppressed. - 2.13 also deprecates exhaustruct and gomodguard. Migrate to exhaustruct_v5 and gomodguard_v2
The nixpkgs bump removes the nodePackages and nodePackages_latest attribute sets; prettier is now a top-level package. Only the format-realm-export process referenced it, and nix evaluates lazily, so nothing noticed until CI built the test-services process-compose config and `just deploy::up` failed to start.
cmdoret
approved these changes
Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was extracted from #311 to separate out the nix toolchain upgrade, which had consequences: regenerated code, a reformatting of the codebase, and lint fixes. It has ~250 changed files but only a handful are the upgrade itself:
tools/nix(unpinned inputs, a newsystemsinput so quitshcan follow it,
pkgs.go_1_25→go_1_26, and aflake.lockrefresh) pluscomponents/backend/tools/nix(dropsenableFakechroot, which needsprootand doesn't work on macOS).
protoc-gen-go1.36.11 → 1.36.12 and
protoc-gen-go-grpc1.6.0 → 1.6.2. In 205 of them theonly change is the generator's version comment. Reproduce with
just codegen::proto.config, which it previously missed. Reproduce with
treefmt.golangci-lint2.8.0 → 2.13.2 reports 33 issues onuntouched code, and deprecates two linters that are migrated here.
All three follow-ons are required in this PR: CI regenerates, reformats and
lints, then fails if the result differs from what's committed.