You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf(roadmap): a Service poll with no event newer than the last round's sends no GraphQL request #1401
scope/githubGitHub Projects v2, Views, Milestones, Labels, and PR automationsource/agentFiled by an agenttype/refactorType refactor: a new structure, same behavior
#1361 named this follow-up. After #1361, a poll with a pinned cutoff still reads the board once: about 12 points on board #2, roughly 150 points an hour at 12 polls an hour. That's because changes_since returns the same foreign events on every poll and attaches their job records. ADR 0003 says "an unchanged answer costs nothing", which doesn't hold for this board read.
Acceptance criteria
When no event is newer than the last round's newest event, a Service poll skips the board read and the job-record attach.
ADR 0003 is amended to say what an unchanged poll costs.
Test: two consecutive polls with the same events; the second sends no GraphQL request. Offline, each call phase under 1 s, and uv run devops ci passes.
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
Priority: P2-Medium. It saves roughly 150 GraphQL points per hour and upholds ADR 0003, but the service still functions correctly without the optimisation.
Value: Medium. Reduces recurring API cost and aligns the poll with the project's stated zero-cost-for-unchanged invariant, but does not unblock any user-facing capability.
Effort: Low. The change is a conditional guard in the poll loop: compare the newest event timestamp to the last round's and skip the board read and job-record attach when nothing is newer.
Finding: v0.2.29 Service gap assessment (2026-10-09)
ADR 0003 promises two polling properties the code lacks: there is no ETag / If-None-Match handling, and store.ChangeKind notes the GitHub adapter reports no board-field or blocked-by change, so a person's Blocked mark on a current-release item waits for reprioritize's 24 h stall check. Impact is low (polls spend about 15-18% of core quota). Proposed: no new mechanism; the ADR amendment this item already requires should say polls make unconditional REST reads and board-only edits wait for the daily stall check.
Folded into #1533 (owner, 2026-10-09): webhooks now drive event-scoped updates and the 5-minute poll becomes the reconciler for board edits and lost deliveries; this item's criterion (a poll with no newer event sends no GraphQL request) is one of #1533's acceptance criteria, and its ADR amendment is #1533's new ADR.
scope/githubGitHub Projects v2, Views, Milestones, Labels, and PR automationsource/agentFiled by an agenttype/refactorType refactor: a new structure, same behavior
Activity
dan-petty-bot commentedon Oct 8, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
It saves roughly 150 GraphQL points per hour and upholds ADR 0003, but the service still functions correctly without the optimisation.Reduces recurring API cost and aligns the poll with the project's stated zero-cost-for-unchanged invariant, but does not unblock any user-facing capability.The change is a conditional guard in the poll loop: compare the newest event timestamp to the last round's and skip the board read and job-record attach when nothing is newer.dan-petty commentedon Oct 9, 2026
Finding: v0.2.29 Service gap assessment (2026-10-09)
ADR 0003 promises two polling properties the code lacks: there is no ETag / If-None-Match handling, and
store.ChangeKindnotes the GitHub adapter reports no board-field or blocked-by change, so a person's Blocked mark on a current-release item waits for reprioritize's 24 h stall check. Impact is low (polls spend about 15-18% of core quota). Proposed: no new mechanism; the ADR amendment this item already requires should say polls make unconditional REST reads and board-only edits wait for the daily stall check.dan-petty commentedon Oct 9, 2026
Folded into #1533 (owner, 2026-10-09): webhooks now drive event-scoped updates and the 5-minute poll becomes the reconciler for board edits and lost deliveries; this item's criterion (a poll with no newer event sends no GraphQL request) is one of #1533's acceptance criteria, and its ADR amendment is #1533's new ADR.