Skip to content

build(release): keep the sub-module pins at the last released tag between releases - #590

Merged
FumingPower3925 merged 1 commit into
mainfrom
build/submodule-pins-between-releases
Sep 13, 2026
Merged

FumingPower3925 merged 1 commit into
mainfrom
build/submodule-pins-between-releases

Conversation

@FumingPower3925

Copy link
Copy Markdown
Contributor

#582 moved middleware/*/go.mod to celeris v1.6.0 before that tag exists. That breaks any consumer that pins a sub-module at a pseudo-version, because module resolution needs the required root version to exist: probatorium's observability refapp (metrics + otel pinned at celeris main) failed to repin within the hour (reading github.com/goceleris/celeris/go.mod at revision v1.6.0: unknown revision).

Change: pins back to 1.5.8 (the last release). mage CheckRelease in consistency mode (CI, no VERSION) now requires the four pins to agree with each other and to be Version or older; release mode (VERSION set, what the Release workflow runs) still requires every stamp to equal the tag. So PrepRelease runs in the final PR before the release, and GOVERNANCE.md says so. Version and the README heading stay at 1.6.0.

Controls run locally: consistency at 1.5.8 → pass; release mode at 1.5.8 → fail; one pin moved (half-done prep) → fail; all pins newer than Version → fail; PrepRelease then release mode → pass (and consistency mode still passes afterwards).

…ween releases

Moving middleware/*/go.mod to v1.6.0 before that tag exists broke every
consumer that pins a sub-module at a pseudo-version: go.mod resolution
needs the required root version to exist, and probatorium's observability
refapp (metrics + otel at celeris main) failed to repin within the hour.

CheckRelease's consistency mode (CI, VERSION unset) now requires the
pins to agree with each other and to be Version or older; release mode
(VERSION set) still requires every stamp to equal the tag, so PrepRelease
runs in the final PR before the release and nowhere else. Pins back to
1.5.8; Version and the README stay at 1.6.0.

Controls: consistency passes at 1.5.8, release mode fails at 1.5.8, a
half-moved pin set fails, pins newer than Version fail, and PrepRelease
followed by release mode passes.
@FumingPower3925 FumingPower3925 added this to the v1.6.0 milestone Sep 13, 2026
@FumingPower3925
FumingPower3925 merged commit 5dfa6be into main Sep 13, 2026
10 checks passed
@FumingPower3925
FumingPower3925 deleted the build/submodule-pins-between-releases branch September 13, 2026 17:32
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.

1 participant