-
Notifications
You must be signed in to change notification settings - Fork 35
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-autostatus' plugin sometimes doesn't update each status check in the PR #115
Comments
We are seeing this same behavior as well. Is there an update on this? |
any update on this issue ? |
Verified bugI have verified through source review the root cause. If you're using GitHub app authentication, then you'll see the behavior on jobs longer than 60 minutes. Behavior
Potential solutionsThis could be solved one of two ways:
|
Great work @samrocketman! Do you know if there any solution we can implement on our end, while the plugin itself is not fixed? |
@samrocketman just one note, this is our Jenkins steps: It published the status just fine for steps 1, 2 and 3, but not for 4 and 5. But you can see they add up less than 60mins. When exactly does this plugin resolve the API token from GitHub App? If the answer is A or B, your RCA doesn't seem valid for my case, as the execution took less than 60mins. But if it's C, then I think we should also change that behavior, if possible. WDYT? |
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Jenkins Configuration as Code based on Kubernetes
Reproduction steps
If you didn't manage to reproduce it, try to open more PRs as this issue not always occures.
Expected Results
Jenkins PR build should always report the status check of each stage to GitHub
Actual Results
Jenkins PR build not always reports the status check of each stage to GitHub.
It seems like an arbitrary issue.
Anything else?
I have an arbitrary issue with the 'github-autostatus' (Job and Stage monitoring) plugin. In some cases (I'm not sure why), it doesn't update the status checks in my pull request.
Once I'm trying to open a new PR or even just run the same jenkins build again, it updates the status checks as expected.
Has anyone encountered this issue before? If not, do you have another Jenkins plugin/solution that reports those status checks to GitHub PRs?
I'm using version 3.6.2 (at this point this is the latest version for this plugin). github-autostatus plugin
The text was updated successfully, but these errors were encountered: