buildkite / buildkite/agent-stack-k8s

[BUG] Pagination reset interval is not passed to the monitor

Open Beginner friendly
#923 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
110
Forks
57
Avg merge
3d 8h
Merged PRs (30d)
5

Description

## Describe the bug
QueryResetInterval is parsed and defaults to 10 seconds, but is omitted when constructing monitor.Config. The monitor therefore receives 0, causing the pagination cursor to reset before every poll. As a result, cross-poll pagination never progresses beyond the first PaginationDepthLimit pages.

## Expected behavior
Either we respect the interval, or get rid of the flag.

Found by @dabarrell

Contributor guide

No contributing guide indexed for this repository

Research direction

Trace where QueryResetInterval is parsed and follow the construction of monitor.Config. Confirm that the configured interval reaches the monitor and that cross-poll pagination progresses beyond the first PaginationDepthLimit pages; either preserve the flag's behavior or remove the flag consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
backend, infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.