Skip to content

Revert status badge to travis #2184

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

Merged
merged 1 commit into from
Feb 15, 2020
Merged

Conversation

JohnTitor
Copy link
Member

@JohnTitor JohnTitor commented Feb 13, 2020

Prevents unexpected failures from being displayed.
Since we don't gate on GH Actions currently, so display the Travis badge until we resolve everything in #2059.

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jtgeibel (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

README.md Outdated
@@ -1,6 +1,6 @@
# crates.io

[![Build Status](https://github.com/rust-lang/crates.io/workflows/CI/badge.svg)](https://github.com/rust-lang/crates.io/actions?query=workflow%3ACI)
[![Build Status](https://github.com/rust-lang/crates.io/workflows/CI/badge.svg?branch=auto&event=push)](https://github.com/rust-lang/crates.io/actions?query=workflow%3ACI)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably point to the master branch (which should be the default), since bors does its testing on auto.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But we don't run any Actions on master, right? Actually we use same queries in Clippy: rust-lang/rust-clippy@fb59043

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do run against master, but in the Actions UI it shows as auto (with a link for "other workflows run on this commit"). The commit message you link to seems to indicate that this isn't just an issue with the UI, but also with the status badges. Do you know if we've actually seen this report incorrect status for our repo in the past? It seems like the downside to this change is that we will show a build failure if a bors merge fails on auto and thus never makes it to master.

Since we don't gate on GH Actions currently, maybe it makes sense to revert back to displaying the Travis badge until we resolve everything in #2059. (I'll add a note about this there as well.)

Copy link
Member Author

@JohnTitor JohnTitor Feb 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know if we've actually seen this report incorrect status for our repo in the past?

IIRC default link sometimes shows unexpected workflows but I have no reference :/

Since we don't gate on GH Actions currently, maybe it makes sense to revert back to displaying the Travis badge until we resolve everything in #2059. (I'll add a note about this there as well.)

I feel it makes sense. Would you mind me doing so in this PR?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel it makes sense. Would you mind my doing so in this PR?

Sounds fine to me 👍

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@JohnTitor JohnTitor changed the title Specify badge branch and event Revert status badge to travis Feb 15, 2020
@jtgeibel
Copy link
Member

Great!

@bors r+

@bors
Copy link
Contributor

bors commented Feb 15, 2020

📌 Commit 32dbdb3 has been approved by jtgeibel

@bors
Copy link
Contributor

bors commented Feb 15, 2020

⌛ Testing commit 32dbdb3 with merge c970817...

bors added a commit that referenced this pull request Feb 15, 2020
Revert status badge to travis

~~Prevents unexpected failures from being displayed.~~
Since we don't gate on GH Actions currently, so display the Travis badge until we resolve everything in #2059.
@bors
Copy link
Contributor

bors commented Feb 15, 2020

☀️ Test successful - checks-travis
Approved by: jtgeibel
Pushing c970817 to master...

@bors bors merged commit 32dbdb3 into rust-lang:master Feb 15, 2020
@JohnTitor JohnTitor deleted the specify-branch branch February 15, 2020 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants