Conversation
There was a problem hiding this comment.
Pull request overview
This PR synchronizes workflow configurations and GitHub Actions from the source repository (mrz1836/go-broadcast) to enable multi-module Go workspace support. The changes introduce a new ENABLE_MULTI_MODULE_TESTING configuration option that allows monorepos with go.work files to run tests from the repository root with automatic module discovery and merged coverage, while maintaining backward compatibility for single-module repositories.
Key Changes
- Added multi-module monorepo support with
ENABLE_MULTI_MODULE_TESTINGconfiguration flag - Updated cache key generation to support both single-module (specific go.sum) and multi-module (**/go.sum pattern) strategies
- Enhanced coverage reporting to include additional badge variants (flat, flat-square, for-the-badge styles)
- Bumped tool versions: MAGE_X (v1.8.0→v1.8.7), go-coverage (v1.1.13→v1.1.15), Nancy (v1.0.51→v1.0.52)
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
.github/.env.base |
Added ENABLE_MULTI_MODULE_TESTING config flag, updated tool versions, added documentation for multi-module support |
.github/workflows/fortress-warm-cache.yml |
Added multi-module detection, conditional full/sparse checkout based on module mode, passes enable-multi-module to action |
.github/workflows/fortress-test-matrix.yml |
Added enable-multi-module parameter to setup-go-with-cache, conditional test execution from repo root for multi-module |
.github/workflows/fortress-test-fuzz.yml |
Added enable-multi-module parameter to warm cache setup |
.github/workflows/fortress-setup-config.yml |
Added go.work detection step and multi-module workspace information in job summary |
.github/workflows/fortress-security-scans.yml |
Added enable-multi-module support for security scanning (go list, deps:audit) with conditional execution |
.github/workflows/fortress-release.yml |
Added enable-multi-module parameter to cache setup for release workflow |
.github/workflows/fortress-pre-commit.yml |
Added enable-multi-module parameter to cache setup for pre-commit checks |
.github/workflows/fortress-coverage.yml |
Added enable-multi-module to cache setup, included additional badge variants (flat, flat-square, for-the-badge) in artifact handling |
.github/workflows/fortress-code-quality.yml |
Added enable-multi-module support for linting with conditional execution from repo root |
.github/workflows/fortress-benchmarks.yml |
Added enable-multi-module support for benchmarks with conditional execution context |
.github/actions/warm-cache/action.yml |
Added enable-multi-module input, computed cache keys for multi/single mode, attempted multi-module conditional logic (contains bugs) |
.github/actions/setup-go-with-cache/action.yml |
Added enable-multi-module input, conditional go.sum validation, computed separate cache keys for multi/single module modes |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Changed
Directory Synchronization Details
The following directories were synchronized:
.github/tech-conventions→.github/tech-conventions.github/ISSUE_TEMPLATE→.github/ISSUE_TEMPLATE.github/workflows→.github/workflows.github/actions→.github/actions.vscode→.vscodePerformance Metrics
Why It Was Necessary
This synchronization ensures the target repository stays up-to-date with the latest changes from the configured source repository. The sync operation identifies and applies only the necessary file changes while maintaining consistency across repositories.
Testing Performed
Impact / Risk