at-spi2-core: fix systemdLibs dependency#433749
Conversation
|
Like the other PR, this causes too many rebuilds to go to master, can you retarget the branch to staging? If you haven't done that before, there is an explanation in CONTRIBUTING.md in the root of the repo. |
a4a0963 to
b17f8f1
Compare
@r-vdp Done. |
|
@wolfgangwalther I think here we have an example where a |
|
The problem is a different one: We have two triggers to run the PR workflow on It's on my radar already, but fixing this takes a bit more work. In such a case, you can double check whether |
|
Uhm, if it is OK to merge over red, it is not OK to have this failure red… GitHub consistently calls this failure «cancelled», and the workflow checks for «cancelled» separately from «failed». Is it likely that GitHub actually reports «failed» to the workflow here? If not, is there any case where «cancelled» should be red failure and not some kind of neutral/skipped/cancelled (whatever can be actually set)? |
Well, the
Yes, there are cases of cancelled that need to be red: When a job times out with the timelimit we set for each job, it will appear as cancelled. Last week we had some cases where that happened and the "required status checks" part still reported "all green". This was barely visible at all, so the current "red" reporting is much better, because these cases need to be hard fails. As I said, I am working on this, so that it won't happen anymore. |
There are probably exceptions to that?
You mean that branch switching should be done differently?
Wait what? Timeouts on staging need to be hard fails? When? |
Sorry, a "target" accidentally sneaked in there - please ignore that. The
I mean that CI should not run on that intermediate state that often happens when switching master -> staging or the other way around, where the branch temporarily contains a lot of commits from the other branch. These other commits often also contain changes to the workflows, which had already been merged earlier. Right now, these trigger the You might know the comments that the codeowners job posts from time to time: "This PR includes xyz commits from another branch, you probably want to rebase". This check prevents the codeowners job from doing those nasty mass pings in this scenario. But that's the only thing that is guarded by this check right now - and I am just saying, that we need to guard all other jobs on the same as well. This is a temporary state, that needs to be fixed first, before it makes sense to run CI again.
This has nothing to do with staging. For example, the "check cherry picks" job currently has a timeout of 3 minutes. But it was implemented very inefficiently, so it timed out - it would have needed an hour or more for some backports with many commits. This timeout would silently be "OK to merge" in terms of required status checks. This is actually dangerous, because it means some backports would not have been checked properly anymore, assuming the check cherry pick job did its work. Now, these timeouts cause hard fails. GitHub Actions CI is designed that it should never timeout on staging. We're building the manual, the shell etc. (all the "Build / ...") based on the pinned nixpkgs revision in There are no exceptions to be made (wrt to GHA CI) for staging or so. The only exceptions that should be made right now is after a switch from master to staging (or similar from release branch to master etc.), where this specific case that I detailed here can happen. I hope to solve this soon, though, so "merging with red checks" should not become a habit / something to regularly do. I hope that clarifies it a bit more? |
|
OK, I see the plan, thanks! (Obviously, I now hate a little bit more the ill-fitting boolean logic GitHub uses instead of absolutely obvious at-least-tristate here…) |
|
GitHub actually has more than two states (pass/fail), they have neutral, cancelled, skipped etc., too. The problem is, that these can't be set from inside a job - it's only possible to set them via API, when posting status checks manually (as OfBorg does). |
|
First, you cannot set extra states from inside the job, second, summary overall is green or red or in-progress, as far as I have ever seen. |
|
Please note that the failure mode discussed above should not happen anymore, it should be fixed as of #435547. If you come across another case where you feel like you need to merge despite CI being red / CI is red when it shouldn't, please let me know. |
|
Oh great, thanks! |
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.