Skip to content

feat(service): poll an idle repository less often - #5700

Merged
dan-petty merged 2 commits into
mainfrom
feat/3672-an-idle-repository-polls-less-often
Nov 14, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/3672-an-idle-repository-polls-less-often

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

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_seconds is one value for all repositories, and the budget only lengthens the interval when a round costs more.

The service section now has service.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/

@dan-petty dan-petty added type/feature Type feature: a new function scope/service The long-running devops Service and its lanes labels Nov 14, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 14, 2026 16:40
@dan-petty
dan-petty merged commit 74c47c9 into main Nov 14, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/3672-an-idle-repository-polls-less-often branch November 14, 2026 16:41
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/service The long-running devops Service and its lanes type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(service): an idle repository polls less often

1 participant