Repository navigation
v3.1.16 - scope release-smoke to v3, add major-version guard
Patch release, CI only - no runtime or test source changes, no caller-visible behavior change.
Fixed
-
.github/workflows/release-install-smoke.ymltriggered on anyv-prefixed tag push, but itsgo get/import lines are hardcoded to the/v3module 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 atgo 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 futurev4.0.0tag 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 failinggo getidentically 5 times. After the fix, the same dispatch now fails immediately at tag resolution with an explicitthis workflow only verifies v3.x.y releaseserror - also confirmed via a real run.Now: the push trigger is scoped to
v3.*instead ofv*, and an explicit^v3\.guard rejects any non-v3.x.ytag 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.