Skip to content

[Sync] Update project files from source repository (62b1b21)#259

Merged
mrz1836 merged 1 commit intomasterfrom
chore/sync-files-bitcoin-schema-20260125-163949-62b1b21
Jan 25, 2026
Merged

[Sync] Update project files from source repository (62b1b21)#259
mrz1836 merged 1 commit intomasterfrom
chore/sync-files-bitcoin-schema-20260125-163949-62b1b21

Conversation

@mrz1836
Copy link
Member

@mrz1836 mrz1836 commented Jan 25, 2026

What Changed

  • Updated MAGE_X_VERSION from v1.18.1 to v1.18.6 in .github/.env.base
  • Added --skip lint flag to all go-pre-commit run commands in the fortress-pre-commit workflow
  • Modified three execution modes: "All Files" mode, "Changed Files" mode, and "Staged Files (Fallback)" mode to skip linting during pre-commit checks
  • Updated command documentation strings to reflect the new --skip lint parameter in all three execution paths

Why It Was Necessary

  • Upgrading MAGE-X to a newer patch version likely includes bug fixes and improvements from versions v1.18.2 through v1.18.6
  • Skipping lint checks in the pre-commit workflow prevents duplication if linting is already handled in a separate dedicated workflow step
  • Improves CI performance by removing redundant lint operations from the pre-commit phase

Testing Performed

  • Verify that the fortress-pre-commit workflow executes successfully with the --skip lint flag across all three modes (all files, changed files, and staged files fallback)
  • Confirm that go-pre-commit runs without attempting lint checks and produces expected output
  • Validate that MAGE-X v1.18.6 initializes correctly and provides the expected functionality

Impact / Risk

  • Low Risk: The --skip lint flag is an additive parameter that should be supported by go-pre-commit; linting is assumed to be covered elsewhere in the CI pipeline
  • Performance Impact: Positive - reduces execution time of pre-commit checks by skipping lint operations
  • Breaking Change: None - this is an internal CI configuration change with no impact on end users or API consumers

Copilot AI review requested due to automatic review settings January 25, 2026 21:40
@mrz1836 mrz1836 self-assigned this Jan 25, 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 25, 2026
@github-actions github-actions bot added update General updates size/S Small change (11–50 lines) labels Jan 25, 2026
@mrz1836 mrz1836 merged commit 415f147 into master Jan 25, 2026
51 checks passed
@github-actions github-actions bot deleted the chore/sync-files-bitcoin-schema-20260125-163949-62b1b21 branch January 25, 2026 21:44
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 pull request synchronizes project configuration files from the source repository (mrz1836/go-broadcast) to update the MAGE-X version and modify the pre-commit workflow to skip linting checks.

Changes:

  • Updated MAGE-X from v1.18.1 to v1.18.6 to incorporate recent bug fixes and improvements
  • Added --skip lint flag to all go-pre-commit execution commands to avoid duplicate linting (linting is handled separately in the fortress-code-quality workflow)
  • Updated command documentation strings across all three execution modes to accurately reflect the new flag

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/.env.base Updates MAGE_X_VERSION from v1.18.1 to v1.18.6
.github/workflows/fortress-pre-commit.yml Adds --skip lint flag to go-pre-commit commands in all three execution modes (all files, changed files, and staged files fallback)

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

echo " • Command: go-pre-commit run --skip lint --all-files"
echo ""
CHECKS_OUTPUT=$("${{ env.GO_PRE_COMMIT_BINARY }}" run --all-files 2>&1) || CHECKS_EXIT=$?
CHECKS_OUTPUT=$("${{ env.GO_PRE_COMMIT_BINARY }}" run --skip lint --all-files 2>&1) || CHECKS_EXIT=$?
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

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

The --skip lint flag is being added to the go-pre-commit command, but this flag does not appear to be documented in the project's go-pre-commit documentation (.github/tech-conventions/pre-commit.md). The documentation shows using --checks to run specific checks or environment variables like SKIP=lint to skip checks, but no --skip command-line flag.

Please verify that go-pre-commit version v1.5.1 (as configured in .github/.env.base) supports the --skip flag. If this is a newer feature, consider updating the GO_PRE_COMMIT_VERSION or updating the documentation to reflect this flag's availability.

Copilot uses AI. Check for mistakes.
echo " • Command: go-pre-commit run --files <escaped_file_list>"
CHECKS_OUTPUT=$("${{ env.GO_PRE_COMMIT_BINARY }}" run --files "$SAFE_FILE_LIST" 2>&1) || CHECKS_EXIT=$?
echo " • Command: go-pre-commit run --skip lint --files <escaped_file_list>"
CHECKS_OUTPUT=$("${{ env.GO_PRE_COMMIT_BINARY }}" run --skip lint --files "$SAFE_FILE_LIST" 2>&1) || CHECKS_EXIT=$?
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

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

The --skip lint flag is being added to the go-pre-commit command, but this flag does not appear to be documented in the project's go-pre-commit documentation (.github/tech-conventions/pre-commit.md). The documentation shows using --checks to run specific checks or environment variables like SKIP=lint to skip checks, but no --skip command-line flag.

Please verify that go-pre-commit version v1.5.1 (as configured in .github/.env.base) supports the --skip flag. If this is a newer feature, consider updating the GO_PRE_COMMIT_VERSION or updating the documentation to reflect this flag's availability.

Copilot uses AI. Check for mistakes.
echo " • Command: go-pre-commit run --skip lint"
echo ""
CHECKS_OUTPUT=$("${{ env.GO_PRE_COMMIT_BINARY }}" run 2>&1) || CHECKS_EXIT=$?
CHECKS_OUTPUT=$("${{ env.GO_PRE_COMMIT_BINARY }}" run --skip lint 2>&1) || CHECKS_EXIT=$?
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

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

The --skip lint flag is being added to the go-pre-commit command, but this flag does not appear to be documented in the project's go-pre-commit documentation (.github/tech-conventions/pre-commit.md). The documentation shows using --checks to run specific checks or environment variables like SKIP=lint to skip checks, but no --skip command-line flag.

Please verify that go-pre-commit version v1.5.1 (as configured in .github/.env.base) supports the --skip flag. If this is a newer feature, consider updating the GO_PRE_COMMIT_VERSION or updating the documentation to reflect this flag's availability.

Copilot uses AI. Check for mistakes.
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.

2 participants