Skip to content

[Sync] Update project files from source repository (4973dbe) - #401

Merged
mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-bitcoin-20261118-035929-4973dbe
Nov 18, 2026
Merged

mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-bitcoin-20261118-035929-4973dbe

Conversation

@mrz1836

@mrz1836 mrz1836 commented Nov 18, 2026

Copy link
Copy Markdown
Member

What Changed

  • Added ENABLE_RELEASE = true (.github/env/00-core.env)
  • MAGE_X_VERSION: v1.30.2 → v1.30.3 (.github/env/10-mage-x.env)
  • MAGE_X_GORELEASER_VERSION: v2.20.1 → v2.20.2 (.github/env/10-mage-x.env)
  • Added SECURITY_SCAN_TIMEOUT_MINUTES = 10 (.github/env/10-security.env)
  • Added a project status to codecov.yml with target: auto and a 2% threshold. Also bumped the actions/setup-go pin to v7.1.0 in the setup-go-with-cache action and documented ENABLE_RELEASE in workflows.md.

Why It Was Necessary

  • Some repositories publish releases with their own workflow, and they need v* tag runs to execute every check without also creating a GitHub release.
  • Repositories with several Go modules or large dependency graphs can exceed the fixed 10-minute security scan timeout. A job cancelled by timeout never saves its caches, so the next run starts cold and is cancelled again.
  • Without a threshold, any coverage drop fails the project status check. The new tolerance matches the one used for the flag status.

Testing Performed

  • Not run locally. This is an automated sync of workflow and config files, and the diff was reviewed for consistency across the setup-config outputs, the release job condition, and the completion report.
  • The new ENABLE_RELEASE handling is written to cover the unset case (treated as true), explicit true and false, and invalid values, which fail setup with an error annotation.
  • Full validation happens when CI runs on this PR and on the next v* tag.

Impact / Risk

  • Breaking change: None. ENABLE_RELEASE defaults to true, so release and Go docs publishing behave as before unless a repository opts out.
  • Risk: Low. An invalid ENABLE_RELEASE value now fails the setup job, and the default SECURITY_SCAN_TIMEOUT_MINUTES of 10 matches the previous hardcoded value.
  • Developer experience: Coverage status checks are more tolerant of small drops. The security scan timeout can be raised in the project env file when needed.

Copilot AI balanced review requested due to automatic review settings November 18, 2026 03:59
@mrz1836 mrz1836 self-assigned this Nov 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 Nov 18, 2026
@github-actions github-actions Bot added update General updates size/M Medium change (51-200 lines) labels Nov 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the shared CI configuration updates.

No open issues 🎉

What changed in this PR

This sync updates the shared Fortress CI configuration to support optional release publishing and configurable security scan timeouts while preserving current defaults.

Changes:

  • Add ENABLE_RELEASE validation, release-job gating, documentation, and reporting.
  • Make the security scan timeout configurable, retaining the 10-minute default.
  • Allow a 2% project coverage drop and update MAGE-X, GoReleaser, and setup-go pins.
File Description
codecov.yml Set automatic project coverage targets with a 2% tolerance.
.github/​workflows/​fortress.yml Skip release publishing when explicitly disabled.
.github/​workflows/​fortress-setup-config.yml Validate and expose the release toggle; update release and Go docs summaries.
.github/​workflows/​fortress-security-scans.yml Read the security scan timeout from configuration.
.github/​workflows/​fortress-completion-report.yml Explain when release publishing is disabled.
.github/​env/​10-security.env Define the default security scan timeout.
.github/​env/​10-mage-x.env Update MAGE-X and GoReleaser versions.
.github/​env/​00-core.env Enable release publishing by default.
.github/​docs/​workflows.md Document the release publishing toggle.
.github/​actions/​setup-go-with-cache/​action.yml Update the setup-go pin to v7.1.0.

Review effort: Balanced

@mrz1836 mrz1836 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Reviewed and approved. Thanks for the work on this, @mrz1836!

@mrz1836
mrz1836 merged commit 322eaf2 into master Nov 18, 2026
40 checks passed
@github-actions
github-actions Bot deleted the chore/sync-files-go-bitcoin-20261118-035929-4973dbe branch November 18, 2026 04:05
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