Skip to content
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

Committers can preapprove new failures from the commit queue #35289

Closed
sortie opened this issue Nov 29, 2018 · 2 comments
Closed

Committers can preapprove new failures from the commit queue #35289

sortie opened this issue Nov 29, 2018 · 2 comments
Labels
area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.

Comments

@sortie
Copy link
Contributor

sortie commented Nov 29, 2018

It should be possible to approve new failures from commit queue / dry run results before submitting the change, such that the CI builder never turns red in the first place.

@sortie sortie created this issue from a note in Status file free workflow (Done) Nov 29, 2018
@vsmenon vsmenon added the area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes. label Nov 29, 2018
dart-bot pushed a commit that referenced this issue Nov 30, 2018
This change lets committers preapprove new failing tests based on commit
queue / dry run results for CQ builders, such that the CQ builder stays
green when the change is submitted.

The current implementation does not support changing one test from a failing
mode to another failing mode. It will work, but if the corresponding CI
builder cycles before the changelist is submitted, it will become red until
the changelist is submitted. This will be addressed in the future.

Likewise approving a builder after a preapproval will undo the preapproval
unless the changelist has been submitted and the corresponding CI builder
has cycled.

Bug: #35289
Change-Id: Ie43df4439a27a3472c5178cb7c6af69292cf70e4
Reviewed-on: https://dart-review.googlesource.com/c/85601
Reviewed-by: William Hesse <whesse@google.com>
@sortie
Copy link
Contributor Author

sortie commented Dec 3, 2018

Failures can be approved from try runs, however the CQ itself doesn't allow it. It still needs support for three way comparison (recipe underway).

@sortie
Copy link
Contributor Author

sortie commented Dec 7, 2018

Done.

@sortie sortie closed this as completed Dec 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.
Projects
No open projects
Development

No branches or pull requests

2 participants