Skip to content

Revert go-micro.dev/v5 to v5.3.0 - #102

Closed
ambersun1234 wants to merge 2 commits into
developfrom
shawn.hsu/revert-go-micro-bump
Closed

ambersun1234 wants to merge 2 commits into
developfrom
shawn.hsu/revert-go-micro-bump

Conversation

@ambersun1234

Copy link
Copy Markdown

What type of PR is this?

/kind bug

What this PR does / why we need it

Reverts go-micro.dev/v5 from 5.30.0 back to 5.3.0.

#90's grouped minor-and-patch bump took go-micro.dev/v5 from 5.3.0 to 5.30.0 along with 21 unrelated packages. Somewhere in that range, go-micro.dev/v5 dropped the util/addr package, which github.com/micro/plugins/v5/server/http@v1.0.2 still imports — v1.0.2 is the latest release of that plugin, so there's no forward fix available.

This repo itself only touches go-micro.dev/v5/logger (pkg/log, pkg/openstack), never util/addr or the http server plugin, so pinning back to 5.3.0 doesn't affect anything this repo actually does with it. But any downstream consumer that also depends directly on micro/plugins/v5/server/http (e.g. cubecmp) gets go-micro.dev/v5 dragged up to 5.30.0 transitively via Go's minimal version selection the moment it updates this module — which breaks their build with no way to fix it on their end.

go mod tidy only touched the two go-micro.dev/v5 lines plus a handful of already-resolved transitive checksums; none of #90's other 21 package bumps are affected.

Which issue(s) this PR fixes

Fixes #

Special notes for your reviewer

Found this while trying to pull #101 into cubecmpgo build ./... failed there with no required module provides package go-micro.dev/v5/util/addr.

Additional documentation


#90's grouped minor-and-patch bump took go-micro.dev/v5 from 5.3.0 to
5.30.0 along with 21 unrelated packages. Somewhere in that range,
go-micro.dev/v5 dropped the util/addr package, which
github.com/micro/plugins/v5/server/http@v1.0.2 still imports -- v1.0.2
is the latest release of that plugin, so there's no forward fix.

This repo itself only touches go-micro.dev/v5/logger (pkg/log,
pkg/openstack), never util/addr or the http server plugin, so pinning
back to 5.3.0 doesn't affect anything this repo actually does with it.
But any downstream consumer that also depends directly on
micro/plugins/v5/server/http (e.g. cubecmp) gets go-micro.dev/v5
dragged up to 5.30.0 transitively via Go's minimal version selection
the moment it updates this module -- which breaks their build with no
way to fix it on their end.

go mod tidy only touched the two go-micro.dev/v5 lines plus a handful
of already-resolved transitive checksums; none of #90's other 21
package bumps are affected.

Signed-off-by: Shawn Hsu <shawn.hsu@bigstack.co>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ambersun1234
ambersun1234 requested review from a team and raven-pan as code owners September 11, 2026 06:26
@ambersun1234 ambersun1234 self-assigned this Sep 11, 2026
go.mod was bumped to require go 1.26.0 (2026-09-07's minor-and-patch
dependency update), but ci.yaml still hard-pinned actions/setup-go to
1.25 -- GOTOOLCHAIN=local means it never auto-upgrades, so the mockery
step has failed with "go.mod requires go >= 1.26.0" on every PR since,
this one included. Switching to go-version-file avoids the same drift
happening again next time go.mod's Go version moves.

Signed-off-by: Shawn Hsu <shawn.hsu@bigstack.co>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ambersun1234

Copy link
Copy Markdown
Author

Superseded by #101, which already merged this exact go-micro.dev/v5 v5.3.0 pin fix (plus the ci.yaml go-version-file fix) — confirmed by rebasing this branch onto develop and finding it now has zero commits ahead / zero diff, since both commits here became empty against develop's current state.

@Eandalf-Bigstack
Eandalf-Bigstack deleted the shawn.hsu/revert-go-micro-bump branch September 11, 2026 06:43
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.

3 participants