Repository navigation
feat(service): poll an idle repository less often - #5700
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 14, 2026 16:40
dan-petty
pushed a commit
that referenced
this pull request
Nov 14, 2026
🤖 I have created a release *beep* *boop* --- ## [0.139.0](v0.138.1...v0.139.0) (2026-11-14) ### Features * **monitoring:** enable and configure grafana-llm-app plugin ([#5699](#5699)) ([784af11](784af11)) * **service:** poll an idle repository less often ([#5700](#5700)) ([74c47c9](74c47c9)) ### Bug Fixes * **pr:** put the plan text above the Plans line ([#5695](#5695)) ([c212f77](c212f77)) * **security:** configure secret_key for grafana security ([#5702](#5702)) ([11204e8](11204e8)) * **security:** Judge KSV-0017 with a dated ignore entry ([#5704](#5704)) ([73049d7](73049d7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A repository with no open work polls at the same rate as a busy repository. In the window of #3497, an idle repository cost 1178 to 1373 requests a day, and the shared budget stood at or above 1990 of 2000 for 246 of 1440 minutes.
service.poll_interval_secondsis one value for all repositories, and the budget only lengthens the interval when a round costs more.The
servicesection now hasservice.poll_interval_idle_seconds(default 600, and never below the normal interval). The lane job reads the store that its round already opened and reports whether the repository has no open issue and no open pull request. The engine skips an idle repository until its interval is due, and a webhook clears the state and starts the update at once.Closes #3672
Change:
openspec/changes/archive/2026-11-14-3672-an-idle-repository-polls-less-often/