Skip to content

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

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

mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-pre-commit-20261118-042618-4973dbe

Conversation

@mrz1836

@mrz1836 mrz1836 commented Nov 18, 2026

Copy link
Copy Markdown
Owner

What Changed

  • Added SECURITY_SCAN_TIMEOUT_MINUTES = 10 (.github/env/10-security.env)
  • 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)
  • Updated the actions/setup-go pin to v7.1.0 in the setup-go-with-cache action, added a project status check (target: auto, threshold: 2%) in codecov.yml, and documented ENABLE_RELEASE in workflows.md.

Why It Was Necessary

  • Some repositories publish releases with their own workflow, so they need every check to run on a v* tag without the shared release job also publishing.
  • Larger projects with several Go modules or big dependency graphs can hit the fixed 10-minute scan timeout. A job cancelled by timeout never saves its caches, so the next run starts cold and is cancelled again.
  • Without a threshold on the Codecov project status, any coverage drop fails the check. The 2% tolerance matches the existing flag status.

Testing Performed

  • No tests were run for this change, and the diff contains no test changes. It is a configuration and workflow sync.
  • The new ENABLE_RELEASE validation fails fast with an explicit error annotation on any value other than true or false.
  • Verification will come from CI runs, including a v* tag run with ENABLE_RELEASE set to both true and false.

Impact / Risk

  • Breaking Change: None expected. ENABLE_RELEASE defaults to true and the scan timeout defaults to 10, so existing behavior is unchanged unless overridden.
  • Risk: Low. A non-boolean ENABLE_RELEASE value now fails the setup job instead of being ignored. Codecov project checks now tolerate up to a 2% drop, so small coverage regressions will pass.
  • Developer Experience: With ENABLE_RELEASE=false, the completion report and summary state that publishing is off, and Go Docs show as skipped.

@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
@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage Analysis

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

Project coverage remains at 92.7% (3.8K/4.1K statements)

Changes: 10 config files

Coverage Metrics

Metric Value Grade Trend
Percentage 92.7% 🏆 A 📊
Statements 3.8K/4.1K 🏆 A No change
Quality Score 92.7/100 🏆 A 📈

Coverage Breakdown

█████████████░░ 92.7%

Resources


Generated via go-coverage • 2026-11-18 04:31:16 UTC

github-actions Bot added a commit that referenced this pull request Nov 18, 2026
🏷️ Generated with GoFortress
@mrz1836

mrz1836 commented Nov 18, 2026

Copy link
Copy Markdown
Owner Author

LGTM!

@mrz1836
mrz1836 merged commit 3cc0b9b into master Nov 18, 2026
37 checks passed
@github-actions
github-actions Bot deleted the chore/sync-files-go-pre-commit-20261118-042618-4973dbe branch November 18, 2026 04:34
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.

1 participant