Skip to content

Conversation

@kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Oct 28, 2025

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.

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>
@kv2019i kv2019i force-pushed the 202510-ci-disable-sparse branch from 41b52b5 to d7659dc Compare October 28, 2025 18:20
@kv2019i kv2019i marked this pull request as ready for review October 28, 2025 18:20
Copilot AI review requested due to automatic review settings October 28, 2025 18:20
Copy link

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 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
Copy link

Copilot AI Oct 28, 2025

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).

Copilot uses AI. Check for mistakes.
@kv2019i kv2019i merged commit 56649f6 into thesofproject:main Oct 29, 2025
35 of 42 checks passed
marc-hb added a commit to marc-hb/sof that referenced this pull request Dec 9, 2025
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>
@marc-hb
Copy link
Collaborator

marc-hb commented Dec 10, 2025

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).

Trivial fix #10424, please review.

kv2019i pushed a commit that referenced this pull request Dec 10, 2025
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>
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