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

Wait with asking for review until other checks have finished #117

Open
zcorpan opened this issue Nov 7, 2019 · 4 comments
Open

Wait with asking for review until other checks have finished #117

zcorpan opened this issue Nov 7, 2019 · 4 comments

Comments

@zcorpan
Copy link
Member

zcorpan commented Nov 7, 2019

wpt-pr-bot will ask for review immediately when a PR is opened.

Reviewers have more information when the other checks are complete:

  • is the linter happy
  • what are the PR results on wpt.fyi

My thinking is that the workflow for reviewers would be slightly smoother if the bot only asked for review when the checks have finished (successfully or not). It shouldn't delay the time to merge since the checks need to be green before merge anyway.

A possible problem is that some checks could get stuck and never finish, e.g. due to network errors. wpt-pr-bot could maybe have some kind of timeout and ask for review anyway after a few hours.

@foolip
Copy link
Member

foolip commented Nov 7, 2019

This is a good idea, and https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#webhook-events could probably be used to implement it.

It would be interesting to see if the token is read-only or read-write for that event :)

@foolip
Copy link
Member

foolip commented Nov 7, 2019

@gsnedders
Copy link
Member

I think one risk is new contributors not necessarily getting feedback so quickly, especially if they don't know how/why CI is failing?

@zcorpan
Copy link
Member Author

zcorpan commented Nov 7, 2019

@gsnedders

asked for review when the checks have finished (successfully or not)

i.e. also ask for review when CI is failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants