Skip to content

docs(openspec): plan #3634 Keep the age metrics' reads across pods - #5850

Merged
dan-petty merged 3 commits into
mainfrom
fix/3634-the-age-metrics-keep-their-reads
Nov 16, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/3634-the-age-metrics-keep-their-reads

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

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 in item-label-times.json of each repository, versions each entry by the Item's updated_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/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix labels Nov 15, 2026
@devops-cli-service devops-cli-service Bot removed the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 15, 2026
@devops-cli-service
devops-cli-service Bot force-pushed the fix/3634-the-age-metrics-keep-their-reads branch from d10983c to f8c7943 Compare November 15, 2026 16:44
@dan-petty

Copy link
Copy Markdown
Owner

This pull request cannot merge now. The plan depends on issue #3941, and that issue is open. Under OpenSpec rules, an open dependent issue blocks the plan check. Issue #3941 must merge and close before this plan can merge.

@dan-petty
dan-petty force-pushed the fix/3634-the-age-metrics-keep-their-reads branch from f8c7943 to 537d1a3 Compare November 16, 2026 12:23
@dan-petty
dan-petty marked this pull request as ready for review November 16, 2026 12:26
@dan-petty
dan-petty self-requested a review as a code owner November 16, 2026 12:26
@dan-petty
dan-petty merged commit 776b3fd into main Nov 16, 2026
22 checks passed
@dan-petty
dan-petty deleted the fix/3634-the-age-metrics-keep-their-reads branch November 16, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant