Skip to content

ci: run the suite on the latest Go release as an advisory job - #279

Merged
BaaRai merged 1 commit into
BaaRai:mainfrom
00xcyd:ci/stable-toolchain-check
Nov 17, 2026
Merged

BaaRai merged 1 commit into
BaaRai:mainfrom
00xcyd:ci/stable-toolchain-check

Conversation

@00xcyd

@00xcyd 00xcyd commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

What this adds

CI only ever tests the toolchain go.mod pins (go-version-file: go.mod, currently go 1.26.10), so a newer Go can break the suite without any change to this repository. That is exactly what #276 was: Go 1.27's compress/flate emits a stored block for a 60-byte input, so TestDecodeEvidenceBodyGzipQuoteFound failed on its own fixture is not compressed guard. Nothing in the repo was wrong, and nothing in CI noticed.

go-stable runs the same commands against whatever Go release is current:

  • go build ./...
  • go vet ./...
  • go test -p 1 ./... (same postgres service and the same -p 1 reason: packages share the single database)

Why the job is advisory

continue-on-error: true is deliberate, not an oversight. A new toolchain release is not a change to this repository, and the day it lands it should not block an unrelated merge. The log still carries the failure, and go version is printed first so the run says which toolchain produced it.

When the pinned floor moves to the newer Go, the line comes out and this becomes a required check. Worth deciding then whether the two jobs should collapse into one matrix.

Expected first run

stable is 1.27.4 today and the suite fails on it by one test, so this job will be red until #278 (the fixture fix) lands. That is the job doing its job on its first run, not a defect in this PR: the two are complementary, and merging #278 first makes this green immediately.

Verification

Workflow parsed and inspected locally (jobs = go, go-stable, shell, web, python; go-stable steps = build, vet, go test -p 1 ./...). The commands themselves are the ones already known to pass under 1.27.4 once the fixture is fixed.

Refs #276

The go job tests only the toolchain go.mod pins, so a newer Go can break the
suite without a repository change: Go 1.27's compress/flate started emitting a
stored block for a 60-byte input, and TestDecodeEvidenceBodyGzipQuoteFound
failed on its own "fixture is not compressed" guard (BaaRai#276).

go-stable runs the same build, vet and -p 1 test commands against whatever
release is current, with the same postgres service. It is continue-on-error
because a toolchain release is not a change to this repository and should not
block an unrelated merge on the day it lands; the log still carries the
failure, and dropping that line makes it a required check once the pinned
floor moves.
@BaaRai
BaaRai merged commit a4d61da into BaaRai:main Nov 17, 2026
4 of 5 checks passed
@BaaRai

BaaRai commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Merged. The job reuses the pinned DSN and the same -p 1 reason, and job-level continue-on-error keeps a Go release day from blocking an unrelated merge. It is red on this run only because it started before #278 landed; it goes green on the next run. Thanks.

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