-
Notifications
You must be signed in to change notification settings - Fork 183
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
clang-tidy: fix for empty config. #3202
Conversation
maybe we should replace the image of the empty job and use a clang container and build with clang-tidy? |
I wouldn't mind, as long as the compilation time remains within ~20 min (currently it's 7 min). |
Codecov Report
@@ Coverage Diff @@
## python #3202 +/- ##
======================================
- Coverage 85% 85% -1%
======================================
Files 530 530
Lines 26025 26024 -1
======================================
- Hits 22158 22157 -1
Misses 3867 3867
Continue to review full report at Codecov.
|
Please only merge before the release if it fixes actual bugs
|
bors r+ |
3202: clang-tidy: fix for empty config. r=jngrad a=KaiSzuttor we only have a CI job with maxset and clang-tidy. This PR fixes issues found with empty config. Co-authored-by: Kai Szuttor <[email protected]>
bors r- |
Canceled |
bors r+ |
3202: clang-tidy: fix for empty config. r=jngrad a=KaiSzuttor we only have a CI job with maxset and clang-tidy. This PR fixes issues found with empty config. Co-authored-by: Kai Szuttor <[email protected]>
@KaiSzuttor we need to investigate GitLab CI on Monday, canceling a bors job and restarting it later will cause a random merge commit to start CI (see latest GitLab pipelines, reproduced below).
|
The problem is that Gitlab doesn‘t (and can‘t) know that a bors job was cancelled. Whenever something is force-pushed to the staging branch, the previously running pipeline is cancelled and one is started for the latest commit. |
Build succeeded |
Didn't notice it until two days ago. This defeats the purpose of automation. Thanks for the fast reply. I've added a note in our CI documentation. |
why? i thought it only gets canceled if the pipeline is not running. at least it was like that before. |
That's the automatic cancellation of redundant pipelines that Gitlab has had for at least a year now. Even if we disabled that (which we shouldn't, because it really reduces the number of pipelines we build on pull requests), one couldn't expect the pipeline to continue after force-pushing to staging because the automatic garbage collection will eventually remove the dangling commit. This sounds more like a design flaw in bors. It can't reasonably force-push to staging and expect all intermediate pipelines to finish. |
we only have a CI job with maxset and clang-tidy. This PR fixes issues found with empty config.