Repository navigation
docs(openspec): plan #3634 Keep the age metrics' reads across pods - #5850
Merged
Merged
Conversation
devops-cli-service
Bot
force-pushed
the
fix/3634-the-age-metrics-keep-their-reads
branch
from
November 15, 2026 16:44
d10983c to
f8c7943
Compare
Owner
dan-petty
force-pushed
the
fix/3634-the-age-metrics-keep-their-reads
branch
from
November 16, 2026 12:23
f8c7943 to
537d1a3
Compare
dan-petty
marked this pull request as ready for review
November 16, 2026 12:26
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.
Issue #3634 reports that the metrics row spent 627 to 1000 GitHub requests an hour after #3601, against 222 to 305 before it, because each new pod read the label events of every open Item again: the only copy of those times was the process dict
_item_label_times. The 2000-request hourly budget holds every row, so the age metrics crowd out the others, and each rollout adds to the cost. The change keeps those times initem-label-times.jsonof each repository, versions each entry by the Item'supdated_at, and caps the label-event reads of one round at 20. An offline test measures one new pod at 25 requests in its first round over 30 open Items: the 5 fixed reads of the row plus the 20 reads of the cap.Plans #3634
Change:
openspec/changes/3634-the-age-metrics-keep-their-reads/