• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LFDT-Panurus / panurus / 39739037174 / 11
85%
main: 85%

Build:
DEFAULT BRANCH: main
Ran 22 Oct 2026 07:47AM UTC
Files 514
Run time 39s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Oct 2026 07:13AM UTC coverage: 38.108% (-0.01%) from 38.118%
39739037174.11

push

github

AkramBitar
fix(ttx): bound a fan-out as a whole rather than each answer

fanOut collects one answer per Collect call, and AnswersCollector arms a
fresh timer on every call, so the timeout bounded a single answer rather
than the phase: n workers completing in sequence got n independent
windows. Three workers staggered 240ms apart against a 300ms bound ran
for 720ms and returned no error at all.

The deadline is now applied to the context that bounds the fan-out as a
whole. Applying it there rather than hoisting the collection to a single
Collect(ctx, n) keeps fail-fast on the first worker error, which is
deliberate and covered by TestFanOutFailsFastOnFirstError.

The collector is given a sentinel that disables its own timer, so the
context deadline is the single source of truth. Passing zero would not
do: NewAnswersCollector substitutes DefaultAnswersCollectorTimeout on a
non-positive value, whereas context.WithTimeout returns an already
expired context, so the two paths disagreed.

The timeout is threaded through fanOut as a parameter instead of a
package-level var that existed only so tests could shorten it, removing
the global mutable state AGENTS.md prohibits for testability and with it
the race a parallel test in this package would have hit.

Found by @AkramBitar while reviewing #2312.

Signed-off-by: Siddhi Khandelwal <siddhi.200727@gmail.com>

16457 of 43185 relevant lines covered (38.11%)

52.22 hits per line

Source Files on job itest-dlog-fabric-t13 - 39739037174.11
  • Tree
  • List 514
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 39739037174
  • 0195dc7c on github
  • Prev Job for on main (#39723988241.44)
  • Next Job for on main (#39753652680.77)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc