Conversation
57187e9 to
2149fcc
Compare
Build jobs appear as green even though they actually fail. A better approach is to mark jobs as "required" in branch protection. This way failed jobs are red, but this doesn't prevent the PR from being merged upon at maintainers' discretion.
2149fcc to
bce49d8
Compare
|
Green for Rails 6.1 and below, red for Rails 7.0 and edge, as expected. |
|
The problem with this, and with making status checks required, is it prevents us from having an "allow failures" mode, which as you can see by the red builds, we need for edge rails and currently unsupported rails versions. My understanding is setting the builds to required, would actually prevent this PR from being merged for example. |
Yes. I suggest marking those jobs that we know should pass, e.g. currently Rails 6.1 on Ruby 2.7. In any case, you can still merge a PR with a red "required" build job, but GH will ask for an additional confirmation: A benefit, as I see it, is that non-required builds are shown as red. |
Thats not a benefit to me, we want builds to be green if required builds pass, github doesn't give us the option of having optional failures without this, those interested in non-required builds (mostly us as we develop compatibility for things) can investigate individual builds when we care, it would be best if @github allowed us to mark non required builds but thats not a feature they've built yet. |


Build jobs appear as green even though they actually fail, e.g. #2537 (comment)
A better approach is to mark jobs as "required" in branch protection.

This way, failed jobs are red, but this doesn't prevent the PR from being merged upon at maintainers' discretion.

@JonRowe Can you please set up branch protection so it has 6.1 jobs and below as "Required"?