Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add staggering of repository evaluation when a new repository is enrolled through auto-enrollment #3271

Open
jhrozek opened this issue May 7, 2024 · 2 comments
Labels
P2 Nice to fix: non-critical items that should be evaluated and planned during issue triage

Comments

@jhrozek
Copy link
Contributor

jhrozek commented May 7, 2024

Right now every repository registration also triggers evaluating of all the profiles defined in that project. With auto-registration, this can starve the tokens very fast.

We should develop a mechanism to stagger the repository reconciliations if e.g. more than 50% of the capacity of tokens is already depleted.

@evankanderson evankanderson added the P2 Nice to fix: non-critical items that should be evaluated and planned during issue triage label Jul 30, 2024
@evankanderson
Copy link
Member

This probably needs a design, but before that, we should probably start monitoring our remaining tokens when calling GitHub, so we can see when we have a problem.

@mesembria
Copy link
Contributor

Added #5124 to capture the work to add monitoring.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
P2 Nice to fix: non-critical items that should be evaluated and planned during issue triage
Projects
None yet
Development

No branches or pull requests

3 participants