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

Schedule triage runs more intelligently #72

Open
timokau opened this issue Jul 10, 2020 · 1 comment
Open

Schedule triage runs more intelligently #72

timokau opened this issue Jul 10, 2020 · 1 comment

Comments

@timokau
Copy link
Owner

timokau commented Jul 10, 2020

Currently it just runs whenever requested (when a relevant state was set) or after one day. It might also run whenever reviewers become available (maybe conditioned on the cached number of needs_reviewer PRs) (#71) or whenever we predict time-out action to be necessary. As a result, reviewer would be assigned more quickly and timeouts would happen more timely.

@timokau
Copy link
Owner Author

timokau commented Jul 10, 2020

I could imagine something like

await has_reviewer_available()

where has_reviewer_available somehow blocks (or yields the CPU) until the caching mechanism in #71 has found an available reviewer.

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

No branches or pull requests

1 participant