Skip to content

[Sync] Update project files from source repository (c33a09d) - #159

Merged
mrz1836 merged 1 commit into
masterfrom
chore/sync-files-mrz-tools-20260718-105328-c33a09d
Jul 18, 2026
Merged

mrz1836 merged 1 commit into
masterfrom
chore/sync-files-mrz-tools-20260718-105328-c33a09d

Conversation

@mrz1836

@mrz1836 mrz1836 commented Jul 18, 2026

Copy link
Copy Markdown
Owner

What Changed

  • Updated actions/setup-go from v6.5.0 (commit 924ae3a) to v7.0.0 (commit b7ad1da) in the setup-go-with-cache action
  • Updated github/codeql-action/init, github/codeql-action/autobuild, and github/codeql-action/analyze from v4.37.0 (commit 99df26d) to v4.37.1 (commit 7188fc3) in the CodeQL analysis workflow
  • Updated github/codeql-action/upload-sarif from v4.37.0 (commit 99df26d) to v4.37.1 (commit 7188fc3) in the Scorecard workflow
  • Expanded MAGE_X_AUTO_DISCOVER_BUILD_TAGS_EXCLUDE to include all Go reserved build constraints (GOOS, GOARCH, and toolchain/feature tokens) with extensive inline documentation explaining the reason for excluding these tags
  • Added detailed comment explaining that reserved build constraints must be excluded to prevent "GOOS redeclared" build failures and Codecov verification issues

Why It Was Necessary

  • Keeping GitHub Actions up to date ensures access to latest features, security patches, and bug fixes
  • The expanded exclusion list prevents mage-x from discovering Go's environment-satisfied build constraints, which should never be passed as -tags since they're controlled by GOOS/GOARCH/build flags
  • Without excluding reserved tokens like darwin, linux, amd64, etc., builds can fail with "GOOS redeclared" errors when stdlib packages satisfy multiple GOOS variants, breaking coverage generation and CI pipelines

Testing Performed

  • GitHub Actions updates are pinned to specific commit SHAs, ensuring reproducible builds
  • The mage-x configuration change requires validation that auto-discovery still finds custom tags (integration, e2e) while properly excluding all reserved Go build constraints
  • CI workflows should be monitored to ensure CodeQL analysis and Scorecard continue functioning with the updated action versions

Impact / Risk

  • Low Risk: Action updates are minor version bumps with commit SHA pinning providing stability and security
  • Build System Impact: The expanded exclusion list fixes a potential build failure scenario where platform-specific build tags could cause GOOS/GOARCH conflicts in test coverage generation
  • No Breaking Changes: Updates maintain backward compatibility; custom build tags continue to be discovered and version tags (go1.NN) remain filtered by mage-x as before

@mrz1836 mrz1836 self-assigned this Jul 18, 2026
@mrz1836 mrz1836 added automated-sync Automated sync PR, e.g. from a fork or external repo automerge Label to automatically merge pull requests that meet all required conditions chore Simple dependency updates or version bumps labels Jul 18, 2026
@github-actions github-actions Bot added update General updates size/S Small change (11-50 lines) labels Jul 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage Analysis

🟢 Overall Coverage: 91.0%
No Go files modified in this PR

Project coverage remains at 91.0% (3.5K/3.9K statements)

Changes: 4 config files

Coverage Metrics

Metric Value Grade Trend
Percentage 91.0% 🏆 A 📊
Statements 3.5K/3.9K 🏆 A No change
Quality Score 91/100 🏆 A 📈

Coverage Breakdown

█████████████░░ 91.0%

Resources


Generated via go-coverage • 2026-07-18 14:58:58 UTC

github-actions Bot added a commit that referenced this pull request Jul 18, 2026
🏷️ Generated with GoFortress
@mrz1836
mrz1836 merged commit 46ad046 into master Jul 18, 2026
23 checks passed
@github-actions
github-actions Bot deleted the chore/sync-files-mrz-tools-20260718-105328-c33a09d branch July 18, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-sync Automated sync PR, e.g. from a fork or external repo automerge Label to automatically merge pull requests that meet all required conditions chore Simple dependency updates or version bumps size/S Small change (11-50 lines) update General updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant