Skip to content

Implement Trigger-Specific Build Matrix Defaults#143

Merged
greenc-FNAL merged 3 commits intoFramework-R-D:mainfrom
greenc-FNAL:feature-build-matrix-defaults
Dec 2, 2025
Merged

Implement Trigger-Specific Build Matrix Defaults#143
greenc-FNAL merged 3 commits intoFramework-R-D:mainfrom
greenc-FNAL:feature-build-matrix-defaults

Conversation

@greenc-FNAL
Copy link
Contributor

  • feat: implement trigger-specific build matrix defaults
  • Committing Python linting fixes
  • fix: address ruff and mypy issues

google-labs-jules bot and others added 3 commits December 2, 2025 18:41
The `generate-build-matrix` action now uses intelligent, trigger-specific defaults for build configurations.

- Workflows triggered by `push`, `pull_request`, and `pull_request_target` now default to a minimal `gcc/none` configuration.
- Workflows triggered by an `issue_comment` default to `gcc/none` and `clang/none`.
- Manual `workflow_dispatch` triggers default to running all available build combinations.

The user input handling has also been improved to follow a clear precedence:
1. An explicit list of builds (e.g., `gcc/asan`) overrides all defaults.
2. A modified list (e.g., `+gcc/tsan`, `all -clang/none`) alters the trigger-specific default set.
3. No input uses the trigger-specific default directly.
This commit addresses the Python linting and type-checking issues reported by `ruff` and `mypy`.

- Added module and function docstrings.
- Corrected import order.
- Removed an unnecessary `list()` call.
@codecov
Copy link

codecov bot commented Dec 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
+ Coverage   80.31%   81.14%   +0.83%     
==========================================
  Files         115      116       +1     
  Lines        1910     2042     +132     
  Branches      302      326      +24     
==========================================
+ Hits         1534     1657     +123     
- Misses        247      250       +3     
- Partials      129      135       +6     
Flag Coverage Δ
unittests 81.14% <ø> (+0.83%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 18 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6838973...0dd5e58. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@greenc-FNAL
Copy link
Contributor Author

Note: Errors reported in https://github.com/Framework-R-D/phlex/actions/runs/19872176341/job/56950540477?pr=143 are in Python files that were not touched by this PR, and will addressed in a subsequent PR.

Copy link
Member

@knoepfel knoepfel left a comment

Choose a reason for hiding this comment

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

This PR includes a lot of Python formatting checks that seem to be unrelated to the subject line. I don't see anything problematic in the PR, but suggest reserving formatting-only changes for separate PRs in the future.

@greenc-FNAL greenc-FNAL merged commit d6e913e into Framework-R-D:main Dec 2, 2025
40 of 41 checks passed
@greenc-FNAL greenc-FNAL deleted the feature-build-matrix-defaults branch December 2, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants