The 24-hour observer chart (15-minute buckets) read every raw observation
of the day twice, once for the buckets and once for the type mix: 4.5 s
for a busy observer on prod, and the apps poll it every minute. It now
reads them in one pass, and the process that ingests keeps per-observer
15-minute sums of what it stores (25 hours), so the chart only reads raw
rows before counting began and for the slot still filling. Results match
the raw read exactly (integration test), including after retention
deletes.
GET /routes takes iatas (comma list, at most 100) alongside the single
iata. Each listed IATA's page is read from its region keyset and the
pages are merged, so a region costs at most its IATA count times the
page and pages exactly like one IATA's list. Clients no longer have to
scan every IATA's routes and filter a region themselves.
GET /nodes takes sort=name|type|neighbors and order=asc|desc, paged with
pageCursor, so a client can page a sorted node list instead of loading
every node to sort it. Names sort in the web table's order (ICU root with
numeric digit runs, migration 061), unnamed nodes last; ties go newest
first. Pages echo sort and order so clients can tell the server sorted.
The directory re-read every raw observation of the hours not yet
rolled up: on prod about 293k rows for the open hour, a heap page each
(new rows land wherever cleanup freed space), 7 of the 8 s an
all-regions request took. The ingesting process now also counts each
stored observation per minute, observer and IATA, and the directory
adds those up for hours wholly counted, reading raw rows only for the
last partial minute. Partial or cleanup-thinned hours and processes
that don't ingest read raw rows as before; results are identical (an
integration test compares both paths).
Each /regions item now carries what GET /regions/{id} returns, so a
client resolves every region in one call instead of one per region (41
calls per page load on a 40-region deployment). Additive: old clients
ignore the new fields. The list's cache key is renamed so a cached
summary-only list is never served.
* Seek region and message pages from their window, drop the slow pool
* Bound typed and scoped region pages and message since pages, migration 059
* Count the late rows in the zero-hit type pair read bound
* Cap typed window ranges, broader bounded cmi verification
* Gate the global hop page on the hop group's estimate, keeping today's statement for large groups
* Decide the global hop branch in the store from cached hop statistics
* Planguard test corpora pass the global hop page's read_group
* Read hop statistics outside the lock on their own context; planner clamps; both branches in tests and corpus
* Sample the audit and verification slices by row; count payload-type progress in rows
* Read sample statistics outside the verify transaction; anchor payload-type progress at id 0
* Run the channel message backfill in the background after startup
* Finish each backfilled packet; mark packets whose message exists; log a shutdown stop
* Cap each backfilled packet's statements at 30 s
* Run all-region top nodes as its own statement with two parallel workers
* Check the parallel statement returns its own connection to the pool
* Rebaseline the pnw top-nodes entry for the probe without its all-region branch