Skip to content

github: workflows: remove zmain build test#10662

Merged
lgirdwood merged 1 commit intothesofproject:mainfrom
lgirdwood:workflows
Mar 31, 2026
Merged

github: workflows: remove zmain build test#10662
lgirdwood merged 1 commit intothesofproject:mainfrom
lgirdwood:workflows

Conversation

@lgirdwood
Copy link
Copy Markdown
Member

This just adds more noise than signal to the CI results.

@lgirdwood lgirdwood requested a review from dbaluta as a code owner March 27, 2026 20:57
Copilot AI review requested due to automatic review settings March 27, 2026 20:57
@lgirdwood lgirdwood changed the title github: workflows: emove zmain build test github: workflows: remove zmain build test Mar 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the zmain Zephyr build variant from the Zephyr GitHub Actions workflow to reduce CI noise.

Changes:

  • Removed zmain from the zephyr_revision matrix in the Linux build job.
  • Deleted the zmain-specific manifest override generation and west update logic, leaving only the mnfst path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -113,7 +113,6 @@ jobs:
# Search "zephyr_revision" and see below what they expand to.
zephyr_revision: [
mnfst, # special value: don't override sof/west.yml
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

In the zephyr_revision flow sequence, mnfst still has a trailing comma after removing zmain. YAML flow sequences are typically strict about trailing commas, and this can cause the workflow to fail to parse. Remove the trailing comma (or switch to block-style list) now that there's only one entry.

Suggested change
mnfst, # special value: don't override sof/west.yml
mnfst # special value: don't override sof/west.yml

Copilot uses AI. Check for mistakes.
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.

Fixed, thanks!

Comment on lines 169 to 170
echo 'Unknown matrix.zephyr_revision'; exit 1
fi
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

After removing the zmain option, there is still a comment later in this job that says "especially in the "zmain" case". Please update/remove that stale reference so the workflow documentation matches the supported zephyr_revision values.

Copilot uses AI. Check for mistakes.
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.

Removed the stale comment!

Copy link
Copy Markdown
Contributor

@tmleman tmleman left a comment

Choose a reason for hiding this comment

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

This is a bad approach. You're removing a valid compatibility check that detects Zephyr main breakage early, without replacing it with anything. The "noise" is actually useful information.

Better solution:

  1. Create a separate scheduled workflow that runs zmain builds 1-2x daily (use cron)
  2. Add workflow_dispatch for manual triggering
  3. Add status badge to README
  4. Then remove zmain from PR/push CI

This keeps PR results clean while maintaining early warning capability. The daily-tests.yml workflow already shows the pattern.

@lgirdwood
Copy link
Copy Markdown
Member Author

This is a bad approach. You're removing a valid compatibility check that detects Zephyr main breakage early, without replacing it with anything. The "noise" is actually useful information.

Its only valid if someone owns and takes action and fixes, otherwise its noise in the PR results that have zero in common with the PR.

Better solution:

  1. Create a separate scheduled workflow that runs zmain builds 1-2x daily (use cron)
  2. Add workflow_dispatch for manual triggering
  3. Add status badge to README
  4. Then remove zmain from PR/push CI

This keeps PR results clean while maintaining early warning capability. The daily-tests.yml workflow already shows the pattern.

I don't mind adding this, although it may not be in that order/cadence.

@lgirdwood
Copy link
Copy Markdown
Member Author

I've implemented the requested standalone scheduled workflow for zmain and added the status badge to the README in the latest commit!

@tmleman
Copy link
Copy Markdown
Contributor

tmleman commented Mar 31, 2026

I've implemented the requested standalone scheduled workflow for zmain and added the status badge to the README in the latest commit!

Thank you. Fix style issue in yml file and it would be good for me: https://github.com/thesofproject/sof/actions/runs/23744040146/job/69167935104?pr=10662

Removes the zmain build from the PR/push matrix to reduce noise.
Instead, it adds a separate `zephyr-main.yml` workflow running on a
schedule to maintain early-warning capability. It also parameterizes
`zephyr.yml` to be cleanly callable, and updates the README with the
new status badge.
@lgirdwood
Copy link
Copy Markdown
Member Author

Fixed the yamllint line length issues in the latest commit!

@lgirdwood lgirdwood merged commit 4a74239 into thesofproject:main Mar 31, 2026
40 of 41 checks passed
@lgirdwood lgirdwood deleted the workflows branch March 31, 2026 15:31
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.

4 participants