feat(go): Add Go version detection and stdlib loader init (PR-05)#552
Merged
shivasurya merged 1 commit intomainfrom Feb 25, 2026
Merged
feat(go): Add Go version detection and stdlib loader init (PR-05)#552shivasurya merged 1 commit intomainfrom
shivasurya merged 1 commit intomainfrom
Conversation
SafeDep Report SummaryNo dependency changes detected. Nothing to scan. This report is generated by SafeDep Github App |
e687b51 to
16c6365
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #552 +/- ##
==========================================
+ Coverage 83.23% 83.25% +0.02%
==========================================
Files 142 143 +1
Lines 17660 17697 +37
==========================================
+ Hits 14699 14734 +35
- Misses 2421 2422 +1
- Partials 540 541 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This was referenced Feb 25, 2026
Owner
Author
This was referenced Feb 25, 2026
Owner
Author
Merge activity
|
- Add DetectGoVersion(projectPath) with priority chain: go.mod -> .go-version -> go.work -> default "1.21" - Add normalizeGoVersion to strip patch: "1.26.0" -> "1.26" - Add InitGoStdlibLoader(reg, projectPath, logger) wiring GoStdlibRegistryRemote into GoModuleRegistry.StdlibLoader; graceful degradation on manifest fetch failure (nil StdlibLoader) - stdlibRegistryBaseURL package var allows test override without modifying production logic - 100% coverage on go_version.go, 0 lint issues, all packages pass Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16c6365 to
cc2624d
Compare
Code Pathfinder Security ScanNo security issues detected.
Powered by Code Pathfinder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Description
DetectGoVersion(projectPath)with priority chain:go.mod→.go-version→go.work→ default"1.21"normalizeGoVersionto strip patch component:"1.26.0"→"1.26"InitGoStdlibLoader(reg, projectPath, logger)wiringGoStdlibRegistryRemoteintoGoModuleRegistry.StdlibLoaderStdlibLoaderremainsnil; downstream code nil-checks)stdlibRegistryBaseURLpackage var allows test override without modifying production logicgo_version.go, 0 lint issues, all packages passChecklist
gradle testGo)?golangci-lint run)?🤖 Generated with Claude Code