Skip to content

ci: tune down static test to a warning #21532

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

Closed

Conversation

maribu
Copy link
Member

@maribu maribu commented Jun 4, 2025

Contribution description

Murdock will run the static tests again after a rebase and will fail hard.

There have been a few instances where static tests failed due to e.g. a newer version of codespell finding more typos, or a newer docker image needing to be tagged. Even PRs completely unrated to this needed to be rebased on master to unblock the merge. If we tune down the error to a warning, maintainers would be enabled to just merge anyway without the rebase, relying on the merge commit to still work. An accidental merge of failing static test would still be prevented by Murdock.

Testing procedure

If the new action is already executed, this should hopefully create a warning in the static tests instead of a failure.

Issues/PRs references

None

@github-actions github-actions bot added the Area: CI Area: Continuous Integration of RIOT components label Jun 4, 2025
@maribu maribu added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jun 4, 2025
@riot-ci
Copy link

riot-ci commented Jun 4, 2025

Murdock results

✔️ PASSED

8fb43ff ci: tune down static test to a warning

Success Failures Total Runtime
1 0 1 01m:33s

Artifacts

@chrysn
Copy link
Member

chrysn commented Jun 4, 2025

I'm not too familiar with the GitHub mechanisms, but generally this does appear to be sound. I don't think this needs a lot of testing before merging: there's still the maintainer looking over the PR before merge gets pressed, so let's do that, play around a bit on master, and if it doesn't perform as intended, we can still revert it.

@maribu maribu marked this pull request as ready for review June 4, 2025 07:55
@maribu maribu marked this pull request as draft June 4, 2025 07:55
Murdock will run the static tests again after a rebase and will fail
hard.

There have been a few instances where static tests failed due
to e.g. a newer version of codespell finding more typos, or a newer
docker image needing to be tagged. Even PRs completely unrated to this
needed to be rebased on `master` to unblock the merge. If we tune down
the error to a warning, maintainers would be enabled to just merge
anyway without the rebase, relying on the merge commit to still work.
An accidental merge of failing static test would still be prevented by
Murdock.
@maribu maribu force-pushed the ci/static-tests/tune-down-to-warning branch from fc1c017 to 8fb43ff Compare June 4, 2025 07:56
Copy link
Contributor

@mguetschow mguetschow left a comment

Choose a reason for hiding this comment

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

As @chrysn said, looks sound. Let's try if an approval actually unblocks the static test CI execution.

@mguetschow mguetschow marked this pull request as ready for review June 4, 2025 08:28
@mguetschow mguetschow marked this pull request as draft June 4, 2025 08:28
@maribu
Copy link
Member Author

maribu commented Jun 4, 2025

This had to be done with the Github UI. So this PR is not needed anymore

@maribu maribu closed this Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: CI Area: Continuous Integration of RIOT components CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants