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

sgerrand / git_hoox / 31874847453
98%

Build:
DEFAULT BRANCH: main
Ran 15 Aug 2026 08:35AM UTC
Jobs 1
Files 28
Run time 1min
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

15 Aug 2026 08:35AM UTC coverage: 98.142% (+0.01%) from 98.131%
31874847453

push

github

web-flow
fix(runner): keep output from hooks cancelled by fail_fast (#25)

In parallel mode a fail_fast halt tears down the async_stream, which
terminates the hooks still in flight. Each task owned its own StringIO
capture device and flushed it on the way out, so a cancelled hook lost
both: the device died with the task, and the task-side flush never ran
because the tasks do not trap exits. A hook could run for seconds,
print diagnostics the whole time, and leave nothing on screen — the
worst case being the run that just failed and most needs explaining.

Open the devices in run_parallel/4 and lend them to the tasks. The
runner flushes each buffer as its outcome arrives, and an `after`
block drains and closes whatever is left, in configuration order, once
the stream is done or halted. Buffers now outlive their tasks, so a
cancelled hook still prints what it wrote before it was killed.
StringIO.flush/1 empties as it reads, so devices already drained by
the outcome path flush to "" rather than printing twice.

Cancellation itself is unchanged: fail_fast still stops the stage
promptly rather than waiting for in-flight hooks, and a cancelled
hook's outcome is still discarded. Only the output is recovered.

14 of 14 new or added lines in 1 file covered. (100.0%)

634 of 646 relevant lines covered (98.14%)

28.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31874847453.1 15 Aug 2026 08:35AM UTC 28
98.14
GitHub Action Run
Source Files on build 31874847453
  • Tree
  • List 28
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31874847453
  • 4ed80127 on github
  • Prev Build on main (#31589465432)
  • Delete
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