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

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

Build:
DEFAULT BRANCH: main
Ran 22 Oct 2026 07:47AM UTC
Files 555
Run time 20s
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: 32.383% (-0.3%) from 32.688%
39739037174.67

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>

15047 of 46466 relevant lines covered (32.38%)

12.92 hits per line

Source Files on job itest-evm-gateway-t9 - 39739037174.67
  • Tree
  • List 555
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 39739037174
  • 0195dc7c on github
  • Prev Job for on main (#39723988241.3)
  • 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