gunk-dev/the-valley
the-valley:bd-439e352bugopen

A check-cost baseline can skip telemetry records when a page ends at the collector's size cap

State
free to start
Created
2026-11-04 by contributor

Body

Found by the pre-push review of change zrxy, 2026-11-04. `status/checkcost.go` reads worker telemetry pages older than the newest by fixed sequence offsets, several at once. The collector caps a read at 2 MiB, so a page can end before its offset range does, and the records between are skipped. A baseline median then rests on fewer samples than it shows. Fix: follow each page's returned cursor, or detect a short page and fill the gap.

Comments

No comments.