Skip to content

Ifx fix empty feature board filter - #25

Merged
IFX-Anusha merged 2 commits into
ifx-mainfrom
ifx-fix-empty-feature-board-filter
Sep 23, 2026
Merged

IFX-Anusha merged 2 commits into
ifx-mainfrom
ifx-fix-empty-feature-board-filter

Conversation

@IFX-Anusha

Copy link
Copy Markdown
Collaborator

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---

CONTRIBUTING.md also tells you what to expect in the PR process.

Description
Extends the feature_board filtering (previously push-only) to also
apply to pull_request events, so both push and PR builds/tests only
cover a branch's own opted-in boards (e.g. kit_pse84_ai on edge-main),
falling back to the full board set if none are opted in yet (e.g.
control-main today).

Trade-off: PRs against edge-main/control-main no longer validate the
full upstream board matrix before merge - only the branch's own
feature board(s). A PR changing shared CI/build logic won't be
automatically checked against unrelated boards (giga, portenta, etc.)
in this pipeline anymore.

… opted in

A direct push to a branch with zero feature_board=true boards (e.g.
control-main today) previously filtered ALL_BOARD_DATA down to an empty
array, causing build-board to produce zero binaries and package-core to
crash with a confusing 'tar: Cannot open: No such file or directory'
instead of a clear error.

Only apply the feature-board filter if it leaves at least one board, so
branches with no board opted in yet keep building/packaging their full
board set exactly as before this mechanism existed.
Previously only direct pushes were limited to a board family's own
feature_board boards; PRs always ran the full board matrix as a
pre-merge safety net. Per request, apply the same filtering to PRs as
well, so both events only build/test the branch's own boards (still
falling back to the full set if none are opted in).

Note: this trades away full-matrix pre-merge validation on PRs against
edge-main/control-main - a PR touching shared CI/build logic will no
longer be checked against unrelated boards (giga, portenta, etc.)
before merge.
@IFX-Anusha
IFX-Anusha merged commit df9cc83 into ifx-main Sep 23, 2026
6 of 7 checks passed
@IFX-Anusha
IFX-Anusha deleted the ifx-fix-empty-feature-board-filter branch September 23, 2026 13: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.

1 participant