-
Notifications
You must be signed in to change notification settings - Fork 349
[SKIP SOFCI-TEST] github: workflows: disable sparse checks temporarily #10337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Disable the sparse checks as they have been failing for 3 months due to zephyrproject-rtos/zephyr#93444 . Work to resolve the issue is still ongoing, so keep the definitions still in place. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
41b52b5 to
d7659dc
Compare
There was a problem hiding this 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 temporarily disables sparse checks in the GitHub Actions workflow due to persistent failures related to an upstream Zephyr issue (#93444). The workflow configuration is retained for future re-enablement once the issue is resolved.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| jobs: | ||
| # disable until https://github.com/zephyrproject-rtos/zephyr/issues/93444 | ||
| # is fixed | ||
| if: false |
Copilot
AI
Oct 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The if: false statement is incorrectly placed at the file level between jobs: and the job definition. This will cause a syntax error. It should be placed within a specific job definition. Move this line and the preceding comments to be indented under the job name (e.g., after the job key on the next line).
Fixes commit 56649f6 ("github: workflows: disable sparse checks temporarily") which caused a syntax error GitHub jobs can be disabled one by one but not all at once: https://docs.github.com/en/actions/reference/workflows-and-actions/ workflow-syntax#jobsjob_idif This syntax error was found by Copilot; quoting: thesofproject#10337 (comment) > The if: false statement is incorrectly placed at the file level > between jobs: and the job definition. This will cause a syntax > error. It should be placed within a specific job definition. Move this > line and the preceding comments to be indented under the job > name (e.g., after the job key on the next line This has blocked daily tests from running for ages: https://github.com/thesofproject/sof/actions/runs/20048113632 ``` Invalid workflow file: .github/workflows/daily-tests.yml#L42 error parsing called workflow ".github/workflows/daily-tests.yml" -> "./.github/workflows/sparse-zephyr.yml" (source branch with sha:e00764e7fbe3315c0d8e1fa87624aec4e37db7e3) : (Line: 17, Col: 7): Unexpected value 'false' ``` Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Trivial fix #10424, please review. |
Fixes commit 56649f6 ("github: workflows: disable sparse checks temporarily") which caused a syntax error GitHub jobs can be disabled one by one but not all at once: https://docs.github.com/en/actions/reference/workflows-and-actions/ workflow-syntax#jobsjob_idif This syntax error was found by Copilot; quoting: #10337 (comment) > The if: false statement is incorrectly placed at the file level > between jobs: and the job definition. This will cause a syntax > error. It should be placed within a specific job definition. Move this > line and the preceding comments to be indented under the job > name (e.g., after the job key on the next line This has blocked daily tests from running for ages: https://github.com/thesofproject/sof/actions/runs/20048113632 ``` Invalid workflow file: .github/workflows/daily-tests.yml#L42 error parsing called workflow ".github/workflows/daily-tests.yml" -> "./.github/workflows/sparse-zephyr.yml" (source branch with sha:e00764e7fbe3315c0d8e1fa87624aec4e37db7e3) : (Line: 17, Col: 7): Unexpected value 'false' ``` Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Disable the sparse checks as they have been failing for 3 months due to zephyrproject-rtos/zephyr#93444 . Work to resolve the issue is still ongoing, so keep the definitions still in place.