Repository navigation
ci: run the suite on the latest Go release as an advisory job - #279
Merged
Merged
Conversation
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.
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. |
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.
What this adds
CI only ever tests the toolchain
go.modpins (go-version-file: go.mod, currentlygo 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'scompress/flateemits a stored block for a 60-byte input, soTestDecodeEvidenceBodyGzipQuoteFoundfailed on its ownfixture is not compressedguard. Nothing in the repo was wrong, and nothing in CI noticed.go-stableruns the same commands against whatever Go release is current:go build ./...go vet ./...go test -p 1 ./...(same postgres service and the same-p 1reason: packages share the single database)Why the job is advisory
continue-on-error: trueis 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, andgo versionis 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
stableis 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-stablesteps = 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