Repository navigation
fix(service): render and alert on the hourly request budget - #2760
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
October 30, 2026 04:16
Owner
Author
|
Test results
Review findings: none to fix. Note: the test check is above the 5-minute budget in CI (347 s). The slow tests are fixture setup in the architectural-invariant tests. They are not part of this change. |
dan-petty
pushed a commit
that referenced
this pull request
Oct 30, 2026
🤖 I have created a release *beep* *boop* --- ## [0.22.1](v0.22.0...v0.22.1) (2026-10-30) ### Bug Fixes * **github:** ask no traffic endpoint as the App ([#2759](#2759)) ([692c15f](692c15f)), closes [#2752](#2752) * **roadmap:** a stop of the Service is not a failed round ([#2756](#2756)) ([0b7e190](0b7e190)), closes [#2753](#2753) * **roadmap:** say why an implement step stopped ([#2762](#2762)) ([cd56ce4](cd56ce4)), closes [#2758](#2758) * **service:** render and alert on the hourly request budget ([#2760](#2760)) ([809d85b](809d85b)), closes [#2755](#2755) * **service:** run the implement row on the status lane ([#2763](#2763)) ([cd94f2c](cd94f2c)), closes [#2757](#2757) ### Performance Improvements * **ci:** cut test job time and guard its mean ([#2764](#2764)) ([e76f656](e76f656)), closes [#2699](#2699) --- 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.
What
The roadmap Service reads its hourly GitHub request budget from the ConfigMap
devops-cli-config. The renderer did not copyservice.github_requests_per_hourinto that ConfigMap. Eachdevops k8s deploy-stack --stack devopstherefore put the Service back to the default of 500. The field also had no variable and no description. The alertRoadmapServiceGitHubRequestsHighused a fixed limit of 450 requests, so it fired in a normal hour at a budget of 2000.Change
_service_blockcopiesgithub_requests_per_hourwhen a source sets it (config file, variable or code). With the default, the ConfigMap holds no value.Variable()marker and a description. The variable isDEVOPS_CLI_SERVICE_GITHUB_REQUESTS_PER_HOUR. The generated documents list it.devops_cli_service_budget_limit_requests, the limit that the Service reports. The rule joins the two series withon(), because theirinstancelabels differ. promtool tests the rule.2755-budget-setting-renderis archived. It adds one modified and two added requirements.After the merge
The owner runs
devops config set service.github_requests_per_hour 2000, thendevops k8s deploy-stack --stack devops. The ConfigMap then keeps 2000.Closes #2755