Repository navigation
[Sync] Update project files from source repository (0877483) - #360
Merged
mrz1836 merged 1 commit intoSep 14, 2026
Merged
Conversation
github-actions
Bot
deleted the
chore/sync-files-go-bitcoin-20260914-210038-0877483
branch
September 14, 2026 21:12
There was a problem hiding this comment.
🟡 Changes recommended
Runner-dependent gofumpt selection can be bypassed by the existing cache, and CI version summaries may be misleading.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Updates shared Go tooling pins for Go 1.25/1.26 compatibility through dual gofumpt versions.
Changes:
- Updates MAGE-X and go-pre-commit versions.
- Adds baseline/latest gofumpt pins with Go-version thresholds.
- Clarifies OSV-Scanner verification documentation.
File summaries
| File | Summary |
|---|---|
.github/env/10-pre-commit.env |
Updates pre-commit and gofumpt configuration; cache keys and CI summaries should reflect the resolved gofumpt version. |
.github/env/10-mage-x.env |
Updates MAGE-X and gofumpt configuration and related documentation. |
Review details
Suppressed comments (1)
.github/env/10-pre-commit.env:65
- The effective version is now runner-dependent, but the CI summaries still print only
GO_PRE_COMMIT_FUMPT_VERSION(fortress-pre-commit.yml:272 and fortress-setup-config.yml:1005). On this repository's Go 1.26.x runners, those summaries will report v0.11.0 even when v0.12.0 is selected, which makes tool-version diagnostics misleading. Report the resolved version, or show both pins together with the selected Go version.
GO_PRE_COMMIT_FUMPT_VERSION_LATEST=v0.12.0
GO_PRE_COMMIT_FUMPT_VERSION_LATEST_MIN_GO=1.26
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
What Changed
MAGE_X_VERSION:v1.27.1→v1.27.2(.github/env/10-mage-x.env)MAGE_X_GOFUMPT_VERSION:v0.12.0→v0.11.0(.github/env/10-mage-x.env)GO_PRE_COMMIT_VERSION:v1.10.1→v1.11.0(.github/env/10-mage-x.env)GO_PRE_COMMIT_FUMPT_VERSION:v0.12.0→v0.11.0(.github/env/10-mage-x.env)Added
MAGE_X_GOFUMPT_VERSION_LATEST=v0.12.0(.github/env/10-mage-x.env)Added
MAGE_X_GOFUMPT_VERSION_LATEST_MIN_GO=1.26(.github/env/10-mage-x.env)Added
GO_PRE_COMMIT_FUMPT_VERSION_LATEST=v0.12.0(.github/env/10-mage-x.env)Added
GO_PRE_COMMIT_FUMPT_VERSION_LATEST_MIN_GO=1.26(.github/env/10-mage-x.env)Introduced dual-version pinning for gofumpt to support both Go 1.25.x and Go 1.26+ toolchains
Added comprehensive inline documentation explaining the version selection strategy and update process
Updated OSV-Scanner comment to clarify that official release binaries with SHA-256 verification are now used instead of
go installWhy It Was Necessary
go installon repositories still using Go 1.25.xmagex updateToolVersionsmanages these pinsTesting Performed
Impact / Risk