Comments (3)
Interesting, the workaround isn't hard though, push a new commit / re-run the build once via Jenkins?
Contribution welcomed though if someone wants to PR it.
Will close in a month or so if no fix as the stale jobs will naturally go away
from github-checks-plugin.
Facing the same issue.
I understand the effort constraints, but please consider this a serious problem, because this leads people to mistakenly believe that they have actually re-requested a Check Run.
How is it possible that people may be tricked to believe so?
Because every time "Re-run" is clicked, GitHub will show a blue banner that says,
You have successfully requested [check name here] be rerun.
and we can't expect all contributors to all repos using GitHub Checks Plugin to understand how Jenkins work with GitHub and realize that they have to distrust GitHub and check Jenkins for themselves.
Hence, regarding this statement,
the workaround isn't hard though, push a new commit / re-run the build once via Jenkins?
I would say this:
It's not about whether the workaround is hard or easy; it's about whether making people realize that they have to distrust a platform that they have trusted for a long while (in our case, GitHub) is hard or easy. In a way, this bug is getting serious because it undermines trust. It's about psychology; It's about thinking in non-Jenkins-savvy developers' shoes.
Thanks for your consideration.
from github-checks-plugin.
When github-checks-plugin doesn't find the build that it should restart, it logs a warning:
Is there a response that Jenkins could return to GitHub in this situation, to prevent GitHub from claiming "You have successfully requested [check name here] be rerun"?
If that can be done, it seems a worthwhile change regardless of whether the problem was caused by a recent upgrade of github-checks-plugin.
GitHub check_run
event documentation does not say anything about possible responses. Best practices for using webhooks advises that "Your server should respond with a 2XX response within 10 seconds of receiving a webhook delivery", which I suppose means that GitHub checks the HTTP status code at least.
from github-checks-plugin.
Related Issues (20)
- Allow a configurable credential for github checks plugin instead of using the cred from the initial clone HOT 2
- Unable to connect using GitHub SCM and github app credentials
- Dependency Dashboard
- Using environment variable for status checks name
- Re-enable integrations tests
- Updating status checks on merge of PR instead of head
- Pick up organization name in GitHub multi-branch job HOT 2
- Head of build log is not useful in failures
- Failed Publishing GitHub checks - Only 65535 characters are allowed; 65537 were supplied. HOT 8
- Broken using SSH credentials with this plugin
- GitHub checks not published despite successful job execution
- GitHub Checks is spamming the logs HOT 3
- Chess incorrectly report success on failed stage if junit is enabled and not failing
- Configuration ignores app credential override
- Checks fail if run on system locked out of public internet. HOT 5
- Couldn't authenticate with GitHub App for Checks without owner defined (single org) HOT 6
- Add getting started documentation
- Manual builds throw an exception when they run HOT 2
- Plugin not publishing completed status checks back to the correct commit under rare cases
- "github checks plugin" does not work in jenkins 2.426.3-lts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-checks-plugin.