8000 Anchor module version suffix detection by dajiaohuang · Pull Request #1830 · dominikh/go-tools · GitHub
[go: up one dir, main page]

Skip to content

Anchor module version suffix detection - #1830

Closed
dajiaohuang wants to merge 1 commit into
dominikh:masterfrom
dajiaohuang:fix/packagestest-version-suffix-regexp
Closed

dajiaohuang wants to merge 1 commit into
dominikh:masterfrom
dajiaohuang:fix/packagestest-version-suffix-regexp

Conversation

@dajiaohuang
@dajiaohuang dajiaohuang commented Oct 2, 2026 •
Copy link
Copy Markdown

The module suffix check matched any occurrence of v followed by digits in the final path segment. A valid module path ending in v2beta could therefore be misclassified as a /v2 module and assigned proxy version v2.0.0, inconsistent with its path.

Anchor the regular expression to the entire final segment, accepting v followed only by digits. Current-patch semantic review and git diff --check completed. No focused regression or package test was run for this submission; prior coordinator instructions limited its initial validation to static review.

@dajiaohuang dajiaohuang closed this Oct 8, 2026
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

0