-
Notifications
You must be signed in to change notification settings - Fork 76
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
Prolong PR check delay for inactive PRs #4425
Labels
Comments
Both GitHub and AzDo APIs have some sort of "last update at" property when fetching a Pull Request, altho they differ:
|
Seems like the Scenario Tests are failing since this was merged |
yeah, something is up with AzDo |
dkurepa
added a commit
that referenced
this issue
Feb 12, 2025
I fixed issues with AzDo Scenario Tests in the PR above |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
We are getting rate-limited by GitHub and in order to lower the amount of requests, we can lower the amount of times we check open PRs. Specifically, it seems unnecessary to check all PRs every 5 minutes even when they had no action taken on them for a very long time (even months).
The GitHub API returns a field
UpdatedAt
or something like that which sounds suitable. We need to read the docs what all this entails.Goal
Prolong the delay between PR checks for GitHub PRs that have been inactive for very long time.
Something like this:
The text was updated successfully, but these errors were encountered: