You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bifromq.apache.org by GitBox <gi...@apache.org> on 2026/10/25 18:02:14 UTC
[GH] (bifromq/fix/scheduler-ema-decay-base): Workflow run "Cov-Build" failed!
The GitHub Actions job "Cov-Build" on bifromq.git/fix/scheduler-ema-decay-base has failed.
Run started by GitHub user ImDanXie (triggered by ImDanXie).
Head commit for run:
4ce7eb2aea50390b8268999d7abb77730a87f9a1 / ImDanXie <wo...@gmail.com>
fix(scheduler): base EMALong.update() on the decayed value
get() applies time-based decay but never writes it back, while update() used
the raw, undecayed prev.ema as its base. After an idle period the two methods
therefore disagreed: get() reported congestion had subsided, yet the next
update() revived the stale value at 0.9x its old magnitude and re-armed the
decay delay - which can pin the batcher in permanent back-pressure
("release a few batches, drop for tens of seconds" loop).
Extract the decay computation into a shared helper and use it in both get()
and update(), so a fresh sample is blended onto the decayed value.
Control experiment: updateAfterIdleUsesDecayedBase fails on the old code
(18s instead of ~32ms revived) and passes with the fix; existing EMALong
expectations unchanged (8/8).
Fixes #301
Report URL: https://github.com/apache/bifromq/actions/runs/36170584364
With regards,
GitHub Actions via GitBox