Skip to content

Experimental: add a roll-up semi-optional status action#26939

Merged
ctiller merged 24 commits intogrpc:masterfrom
ctiller:happy-pancakes
Aug 11, 2021
Merged

Experimental: add a roll-up semi-optional status action#26939
ctiller merged 24 commits intogrpc:masterfrom
ctiller:happy-pancakes

Conversation

@ctiller
Copy link
Copy Markdown
Member

@ctiller ctiller commented Aug 8, 2021

The idea here is to wait for some statuses to become ok before becoming ok ourselves... BUT allow a force-merge status to override that check.

We then make this action a required thing, and remove the required from the things it checks. Allows us to verify that required statuses are present, BUT ALSO override that requirement with a label (who's use will be logged and audit-able later).

@ctiller ctiller added the release notes: no Indicates if PR should not be in release notes label Aug 8, 2021
@ctiller ctiller requested a review from gnossen August 9, 2021 04:45
@ctiller
Copy link
Copy Markdown
Member Author

ctiller commented Aug 9, 2021

This should be changed to cancel previous attempts, and wait until failure or success is determined

@ctiller ctiller enabled auto-merge (squash) August 11, 2021 16:34
@ctiller ctiller merged commit 8a0b844 into grpc:master Aug 11, 2021
Vignesh2208 pushed a commit to Vignesh2208/grpc that referenced this pull request Aug 20, 2021
It check status on a pr, and when some set are successful it makes itself successful.

If any that it's watching fail, it fails.

If the force-merge label is applied, it succeeds.

With the plan: we make EasyCLA and probably Sanity, and this one required statuses for merging (i.e. anything that should not be bypassed still gets verified by GitHub)

We make every other status that we believe in (so everything but the Google3 presubmits because they're fresh?) something that this script verifies.

That lets us do automerge (all things are passing)

And if all things are not passing we can use human judgement and apply the force-merge label to bypass these checks... But importantly not the CLA check
lidizheng pushed a commit to lidizheng/grpc that referenced this pull request Sep 23, 2021
It check status on a pr, and when some set are successful it makes itself successful.

If any that it's watching fail, it fails.

If the force-merge label is applied, it succeeds.

With the plan: we make EasyCLA and probably Sanity, and this one required statuses for merging (i.e. anything that should not be bypassed still gets verified by GitHub)

We make every other status that we believe in (so everything but the Google3 presubmits because they're fresh?) something that this script verifies.

That lets us do automerge (all things are passing)

And if all things are not passing we can use human judgement and apply the force-merge label to bypass these checks... But importantly not the CLA check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants