-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Requires tools to test-pass if the corresponding submodule is updated. #47063
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Historically I seem to have used "reactivate/reenable". I had to check though, so this isn't really relevant. Any reason we don't simply check for the names? So any PR with a toolname in its title needs to fix said tool? |
I think the check can be improved by checking for changed submodules directly. |
On the auto branch, you can grep the output of
Not sure if this also runs on the PR CI that runs automatically for every PR, but here you need to write |
Thanks @est31! This won't run on PR CI since Travis conditional job doesn't support matching on PR title. I plan to do a bors-try for the actual verification anyway. |
08ec5ac
to
db816a0
Compare
126611e
to
f4d5743
Compare
@bors try First try. This |
⌛ Trying commit f4d5743a3064f745947372dd8177af32c7bbf537 with merge 02df4ecf1be24d5ca3822de3c64adf3debc2d1fe... |
💔 Test failed - status-travis |
f4d5743
to
d52f00d
Compare
⌛ Trying commit d52f00d2934ee8855953363408983dc2b52426db with merge da7ca6bb9d586cc946bb46a9bfd99426da36b957... |
☀️ Test successful - status-travis |
d52f00d
to
74560b3
Compare
If a PR intends to update a tool but its test has failed, abort the merge regardless of current channel. This should help the tool maintainers if the update turns out to be failing due to changes in latest master.
74560b3
to
8db595a
Compare
⌛ Trying commit 8db595a7add89c170d55040066b9de7cd0c7f764 with merge e4b725727229fc2729a6b8618cf8b3ce8c1b396e... |
💔 Test failed - status-travis |
8db595a
to
05953b3
Compare
@bors try Second try. Now removed the clippy change, and the try should succeed. |
[WIP] Requires tools to test-pass if the corresponding submodule is updated. Follow up of #46554. Breaking a tool would not stop bors from accepting a merge, but this also means when we intend to *fix* a tool but failed, bors will *still* accept the PR. This behavior is not helpful to the tool maintainers. This PR attempts to fix this by rejecting the tool-update merge when a tool failed. It recognizes a PR as "tool-updating" when the corresponding submodule is changed, compared with the previous commit. [WIP] - Final check to ensure the CI is interpreting the PR description correctly.
☀️ Test successful - status-travis |
05953b3
to
8ed16fe
Compare
All experiments passed, ready for review now. |
📌 Commit 8ed16fe has been approved by |
Requires tools to test-pass if the corresponding submodule is updated. Follow up of #46554. Breaking a tool would not stop bors from accepting a merge, but this also means when we intend to *fix* a tool but failed, bors will *still* accept the PR. This behavior is not helpful to the tool maintainers. This PR attempts to fix this by rejecting the tool-update merge when a tool failed. It recognizes a PR as "tool-updating" when the corresponding submodule is changed, compared with the previous commit.
☀️ Test successful - status-appveyor, status-travis |
Follow up of #46554. Breaking a tool would not stop bors from accepting a merge, but this also means when we intend to fix a tool but failed, bors will still accept the PR. This behavior is not helpful to the tool maintainers.
This PR attempts to fix this by rejecting the tool-update merge when a tool failed. It recognizes a PR as "tool-updating" when the corresponding submodule is changed, compared with the previous commit.