Skip to content

v3.1.16 - scope release-smoke to v3, add major-version guard

Choose a tag to compare

@n-ae n-ae released this 23 Jul 14:55
· 3 commits to main since this release
4ab1ce1

Patch release, CI only - no runtime or test source changes, no caller-visible behavior change.

Fixed

  • .github/workflows/release-install-smoke.yml triggered on any v-prefixed tag push, but its go get/import lines are hardcoded to the /v3 module path. A wrong-major tag (e.g. v2.2.0, which exists in this repo) passed both the semver-shape and tag-existence checks - neither validates the major version - then failed deterministically at go get, burning the full 5-attempt/150s-backoff retry budget on a permanent mismatch the retry logic couldn't distinguish from a transient proxy delay. A future v4.0.0 tag push would have auto-triggered this same v3-only workflow and failed it for a structural reason.

    Live-reproduced via an actual dispatched run (tag=v2.2.0) before fixing: burned 155s failing go get identically 5 times. After the fix, the same dispatch now fails immediately at tag resolution with an explicit this workflow only verifies v3.x.y releases error - also confirmed via a real run.

    Now: the push trigger is scoped to v3.* instead of v*, and an explicit ^v3\. guard rejects any non-v3.x.y tag before the tag-existence check or any network call.

Found by the v3.1.15 maintainability assessment (grade A-, recovered from B+; finding #25).

See CHANGELOG.md for full details.