Rates Engine v0.5.0-rc.70
Pre-release
Pre-release
·
630 commits
to main
since this release
[v0.5.0-rc.70] — 2026-05-22
Fixed
- SSE streaming endpoints poisoned the API latency SLO (#60).
TheHTTPMetricsmiddleware recordedtime.Since(start)into the
http_request_duration_secondshistogram for every route. An SSE
handler returns only when the client disconnects, so that
"duration" is the connection lifetime (minutes-to-hours), not
request latency. The histogram tops out at 10s, so every closed
stream landed in the+Infbucket and pinned p99 at 10000ms —
burning the latency SLO and firingratesengine_api_latency_p99_high
/_p95_high. A latent bug since the first stream endpoint, it
became material once/v1/ledger/stream(#58) gave every
status-page viewer a long-lived connection. Fix: the middleware now
still counts streaming requests inhttp_requests_totalbut skips
the duration observation for/streamroutes. galexie-archivetip-lag alert false-fired every partition
cycle (#61).ratesengine_galexie_archive_tip_lag_high(> 5000)
and_severe(> 50000, a page) predated the 64,000-ledger
partition model:galexie-archive-fillmirrors only complete
partitions, so the archive tip structurally lags live by 0–64,000
ledgers as live works through the current partition. Both
thresholds sat inside that normal range. Raised_highto
> 64000for 90m (a completed partition stayed un-mirrored past
two fill cycles) and_severeto> 128000(≥2 partitions
behind), and corrected the rule's partition-model documentation.