Skip to content

chore: pin proto companion Go to 1.27 via nix flake (#343) - #344

Merged
antoinetoussaint-byte merged 2 commits into
mainfrom
issue-343-bump-proto-companion-go-1-27
Aug 23, 2026
Merged

chore: pin proto companion Go to 1.27 via nix flake (#343)#344
antoinetoussaint-byte merged 2 commits into
mainfrom
issue-343-bump-proto-companion-go-1-27

Conversation

@antoinetoussaint-byte

Copy link
Copy Markdown
Contributor

Closes #343.

Summary

info.codefly.yaml intentionally stays at 0.0.12: the 0.0.13 republish of codeflydev/proto is blocked on an amd64 builder (proto is amd64-only and can't be assembled from an aarch64 nix builder) and on cli#456 fixing codefly companion publish. Bumping the version now would make codefly companion verify point at an unpublished tag. The republish is a follow-up once those land.

Test plan

  • nix flake lock generates flake.lock (pins nixpkgs + flake-utils).
  • nix eval against the locked nixpkgs: go_1_27.version1.27.0 (vs default go1.26.5).
  • nix eval .#packages.x86_64-linux.dockerImage.drvPath evaluates cleanly with go_1_27.
  • Build + republish codeflydev/proto:0.0.13 on amd64 CI (deferred — see blocker above).

antoinetoussaint-byte and others added 2 commits August 23, 2026 15:10
Pin the runtime `go` in companions/proto/flake.nix protoTools to
go_1_27 (the locked nixpkgs resolves it to 1.27.0), commit a flake.lock
so the Nix-built image is reproducible instead of floating on
nixos-unstable, and bump the legacy --force-docker Dockerfile builder
stage to golang:1.27-alpine for consistency.

info.codefly.yaml stays at 0.0.12: the 0.0.13 republish is blocked on
an amd64 builder and cli#456, and bumping now would make
`codefly companion verify` point at an unpublished tag.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The flake header contrasted Nix's content-hash pinning against the
Dockerfile's best-effort pin, naming `golang:1.26-alpine`. The builder
stage was just bumped to `golang:1.27-alpine`, so that reference was
left factually wrong by the same change. Align the comment with the
Dockerfile.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@antoinetoussaint-byte
antoinetoussaint-byte merged commit fecb980 into main Aug 23, 2026
1 check passed
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.

Bump proto companion to Go 1.27 (nix flake go_1_27 + flake.lock + amd64 republish)

1 participant