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

carlobeltrame / ecamp3 / 30044788754
34%
devel: 43%

Build:
Build:
LAST BUILD BRANCH: investigate/pdf-hang-determinism
DEFAULT BRANCH: devel
Ran 23 Jul 2026 09:08PM UTC
Jobs 2
Files 637
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

23 Jul 2026 08:57PM UTC coverage: 33.614%. First build
30044788754

push

github

carlobeltrame
Fix client print aborting while writing the pdf blob

With the recent react-pdf update, pdf generation has sometimes stopped
randomly just before being finished.
At the same time, the client print e2e test has become flaky when
updating react-pdf.
The reason is that the events sent by pdfkit while streaming the
finalized pdf just abort at some (deterministic) point, and the pdf is
never finished.
After many experiments, the following measures have brought some
improvements:
- Disable pdf compression -> the final streaming is then synchronous
  -> this has been enough to fix the problem outside of CI
- Replace the setTimeout queue polyfill with queueMicrotask using a patch
  -> This is polyfilled because react-pdf uses node-specific code internally
- Lessen the CPU load in CI by reducing the DB_CPU_LIMIT from 4 to 2
  -> This has more or less fixed the problem on CI, but is not a feature fix
- Extra deflaking using retries: 2 on this e2e test

671 of 4519 branches covered (14.85%)

Branch coverage included in aggregate %.

4444 of 10698 relevant lines covered (41.54%)

63.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 api - 30044788754.1 23 Jul 2026 09:08PM UTC 242
88.23
GitHub Action Run
2 frontend - 30044788754.2 23 Jul 2026 09:08PM UTC 395
16.05
GitHub Action Run
Source Files on build 30044788754
  • Tree
  • List 637
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30044788754
  • 01b44981 on github
  • Prev Build on fix-react-pdf-upgrade (#30041223508)
  • Next Build on fix-react-pdf-upgrade (#30049843665)
  • 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