build: Pin GoReleaser and stop the build on a toolchain mismatch #17
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
blocked
draft
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
s1d3sw1ped/jiggablend#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
make build(Makefile:4-6) runs whatevergoreleaseris on PATH, and the release job usesgoreleaser/goreleaser-action@masterwithversion: 'latest'(.gitea/workflows/release-tag.yaml:20-23) andactions/setup-go@main(release-tag.yaml:17). A release can come out of a different GoReleaser than any local build, and an upstream change on master can break a tag with no change on our side.Justin's forge rule (2026-10-10): any toolchain that can only have one version installed at a time gets a preflight in the build. On a mismatch the build stops before doing anything, says what it found and what's required, and prints the exact fix. Standard and snippets: https://git.s1d3sw1ped.com/s1d3sw1ped/forge-standards/src/branch/master/forge-toolchain.md (preflight script: https://git.s1d3sw1ped.com/s1d3sw1ped/forge-standards/raw/branch/master/check-toolchain.sh). It follows the design in s1d3sw1ped/AI-Phone#322.
What to do
builddepend oncheck-toolchain(snippet, withGORELEASER_VERSION ?= v2.18.3).Align with the forge standard in the same PR (all patch/minor or CI-only):
toolchain go1.27.2under thego 1.27.0line in go.mod (go.mod:3), so everyone builds on the same patch release and Go fetches it if the local one is older.@masterto@v6,version: v2.18.3, setup-go@mainto@v5.Acceptance
git statusis clean).Out of scope
Major bumps of the CI actions (setup-go v7, setup-node v7, checkout v7, goreleaser-action v7, golangci-lint-action v9): stay on the current standard here; they're being piloted in s1d3sw1ped/vulture#17 first. Node stays on 24 (recheck in November, after 26 becomes LTS on 2026-10-28).
Handoff
One PR against the default branch. Ask Eva for review and don't merge it yourself. If it gets in the way, git revert the merge; nothing else to undo. Line refs are the default branch at
8d10cde.Model: Gemma 26B censored.