-
Notifications
You must be signed in to change notification settings - Fork 195
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
README build-status badge reflects status of arbitrary (most recent) CI run for any PR, rather than master branch #3610
Comments
It is mentioned that if there is no branch mentioned in the status badge url as the query parameter, it will take the status of CI Runs of the default branch. I am not sure whether this is the same when the requests are against non-master branches. (like when a CI fails on pr request against a non-master branch). Even after successfull run of #3613 , the status remains failed. Maybe we can try adding the branch parameter in the badge url. Further info - https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/adding-a-workflow-status-badge#using-the-branch-parameter |
@Harichandra-Prasath ok, try that |
Upon working on it, got to know few things.
|
ok, that's an interesting observation. Maybe the right thing to do is remove the badge entirely We have an enforced policy that PRs can only be merged when they pass PR so I'm not really sure who this badge is aimed at/what purpose this badge serves. |
Yes, I agree on removing the status badge as it is conveying the wrong message to users as parsl "failing" |
Describe the bug
The build status badge in README.rst reflects the build status of the most recent CI run on any branch. In general, CI runs on arbitrary PRs aren't expected to pass: the reason for running them on branches is to help flush out bugs, not prove how perfect the code is before being submitted.
To Reproduce
Make a PR build that fails. Look at README.rst on the Parsl github main page.
Expected behavior
Build status is a bit irrelevant here with our aggressive policy of requiring passing builds before merges. But it shouldn't imply that "Parsl is broken".
Environment
github
The text was updated successfully, but these errors were encountered: