-
Notifications
You must be signed in to change notification settings - Fork 17
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
coqbot should not add "needs: full ci" after trivial rebase #327
Comments
Not sure I agree. Also how can coqbot recognize "trivial rebase"? |
I think the simplest change to make here is that a force push should only cancel an existing full ci run when a new full ci run is started. A new lite CI should not cancel an existing full CI. A more involved criterion might be that a rebase is trivial if the generated coq binaries and compiled OCaml libraries are either all identical to the base of the PR or all identical to the pre-rebase state; and also all .vo files of the prelude / standard library are either all identical to the base of the PR or all identical to the pre-rebase state; and also that no development on the CI failed on the PR without a corresponding failure on both current master and the previous PR base. |
That sounds very risky, a force push can change anything.
That's not going to happen in the vast majority of cases so it's a waste of time trying to implement it. |
It's not risky. A force push will still add "needs: full ci" and will still start a fresh lite CI. Perhaps coqbot can comment with the link to the existing/previous full CI run in progress. It is up to the devs what to do with that. |
https://gerrit-review.googlesource.com/Documentation/config-labels.html
|
That sounds reasonable |
coqbot should not add "needs: full ci" after trivial rebase. I've gotten used to gerrit allowing silent rebasing and it's so nice.
E.g. andres-erbsen force-pushed the ZModOffset branch from d02d498 to f98674d.
The text was updated successfully, but these errors were encountered: