Skip to content

[Sync] Update project files from source repository (c5b3708)#250

Merged
mrz1836 merged 2 commits intomasterfrom
chore/sync-files-bitcoin-schema-20260109-173536-c5b3708
Jan 9, 2026
Merged

[Sync] Update project files from source repository (c5b3708)#250
mrz1836 merged 2 commits intomasterfrom
chore/sync-files-bitcoin-schema-20260109-173536-c5b3708

Conversation

@mrz1836
Copy link
Member

@mrz1836 mrz1836 commented Jan 9, 2026

What Changed

  • Updated MAGE_X_VERSION from v1.14.1 to v1.15.5 in .github/.env.base
  • Updated MAGE_X_GOLANGCI_LINT_VERSION from v2.7.2 to v2.8.0 in .github/.env.base
  • Updated MAGE_X_YAMLFMT_VERSION from v0.20.0 to v0.21.0 in .github/.env.base
  • Updated GO_PRE_COMMIT_GOLANGCI_LINT_VERSION from v2.7.2 to v2.8.0 in .github/.env.base
  • Added go-version input parameter to .github/actions/setup-benchstat/action.yml
  • Modified cache key generation in setup-benchstat action to include Go version
  • Added go-version input parameter to .github/actions/upload-statistics/action.yml
  • Updated workflows to pass go-version: ${{ matrix.go-version }} to setup-benchstat and upload-statistics actions
  • Set permissions: contents: read in .github/workflows/dependabot-auto-merge.yml

Why It Was Necessary

  • Upgrading MAGE-X and its tooling dependencies (golangci-lint, yamlfmt) ensures access to latest bug fixes, performance improvements, and linting rules
  • Adding Go version to cache keys prevents cache conflicts when testing across multiple Go versions in matrix builds
  • Setting explicit read-only content permissions follows security best practices by applying principle of least privilege

Testing Performed

  • Verify CI workflows execute successfully with updated MAGE-X version and tooling
  • Confirm benchstat and statistics actions generate separate caches per Go version
  • Validate golangci-lint v2.8.0 runs without errors against the codebase

Impact / Risk

  • Low Risk: Version updates are incremental and tooling changes are backward compatible
  • CI Performance: Cache key changes may invalidate existing caches temporarily, causing one-time cache rebuilds
  • No Breaking Changes: Configuration changes are internal to CI/CD infrastructure and don't affect application code

Copilot AI review requested due to automatic review settings January 9, 2026 22:35
@mrz1836 mrz1836 self-assigned this Jan 9, 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 Jan 9, 2026
@github-actions github-actions bot added size/M Medium change (51–200 lines) update General updates labels Jan 9, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR synchronizes CI/CD infrastructure files from the source repository (mrz1836/go-broadcast), updating tooling versions and enhancing GitHub Actions with improved caching and metrics capabilities.

Key Changes:

  • Updated MAGE-X from v1.14.1 to v1.15.5, golangci-lint from v2.7.2 to v2.8.0, and yamlfmt from v0.20.0 to v0.21.0
  • Enhanced setup-benchstat action with Go version compatibility checking to skip installation on Go versions < 1.23
  • Added enhanced code quality metrics (file sizes, averages, package counts) to statistics reporting
  • Fixed coverage file processing bug by adding intermediate grep filter for more accurate file counting

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/.env.base Updated version numbers for MAGE-X (v1.15.5), golangci-lint (v2.8.0), and yamlfmt (v0.21.0) tooling dependencies
.github/actions/setup-benchstat/action.yml Added go-version input parameter with version compatibility checking to skip installation on Go < 1.23
.github/actions/upload-statistics/action.yml Added continue-on-error input parameter to allow workflows to continue when non-critical artifact uploads fail
.github/workflows/fortress-test-matrix.yml Passes matrix go-version to setup-benchstat action for version compatibility checking
.github/workflows/fortress-coverage.yml Fixed FILES_PROCESSED calculation by adding grep filter to ensure only properly formatted coverage lines are counted
.github/workflows/fortress-completion-statistics.yml Enhanced statistics display with new metrics (file sizes, averages, test coverage ratio, package count) from updated MAGE-X
.github/workflows/dependabot-auto-merge.yml Updated dependabot/fetch-metadata action from v2.4.0 to v2.5.0

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Replace inefficient make+append pattern with properly pre-allocated
slice and copy operation. This eliminates the makezero lint warning
and improves performance by avoiding unnecessary allocations.
@mrz1836 mrz1836 merged commit 44bb1ea into master Jan 9, 2026
46 checks passed
@github-actions github-actions bot deleted the chore/sync-files-bitcoin-schema-20260109-173536-c5b3708 branch January 9, 2026 22:47
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/M Medium change (51–200 lines) update General updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants