-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
github status labels show for jobs that do not run against a PR #4912
Comments
In particular |
Improving the documentation doesn't help a lot unless there is a link to the documentation from the yellow check. Otherwise the documentation is too far away from the PR. |
@jcbsmpsn we use the detail link to point to the job results on gubernator, so I don't think linking to the documentation from the yellow check instead would be an improvement. Reviewers in particular though should be aware of jobs being in the required-context or not. There are more not-required jobs than required because we don't want to block PRs but we do want them to be run and some of them to be visible. Some of these jobs are going to be blocking eventually but are not yet, EG: #4642 |
https://developer.github.com/v3/repos/statuses/#statuses We can't remove status contexts, best we would be able to do is overwrite them for a given commit if they're known to be stale. Status contexts that are required for merge have a little "Required" label next to them in the PR (though this information doesn't persist after merge, eg: kubernetes/kubernetes#52823 (comment) |
xref: #5655 (comment) |
Yeah, let's use this issue to track adding a |
I have started working on the |
@BenTheElder can you verify when you see a stale PR that GetCombinedStatus for its HEAD does include the stale context? |
I can verify it if I could find such an example, but I don't see any PRs that have a stale context. I tried to reproduce by pushing a new commit to kubernetes/kubernetes#55339 after having run the |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I think we've done what we can here. |
Ignoring even all of the cases where we change the jobs configuration, if PR foo modifies some file and then later updates to no longer modify this file it seems we will leave up a GitHub context/status for jobs against the initial PR.
I think this is actually rooted in the fact that we persist the job spec for a PR when re-running it so stale PRs can get into a weird state. I'm not sure what we can or should do about this, but it has caused a bit of confusion. EG kubernetes/kubernetes#49654 (comment)
See also #4662
The text was updated successfully, but these errors were encountered: