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

cameri / nostream / 46262937164
78%
main: 81%

Build:
Build:
LAST BUILD BRANCH: rewrite/main
DEFAULT BRANCH: main
Ran 29 Nov 2026 12:37PM UTC
Jobs 2
Files 321
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

29 Nov 2026 12:33PM UTC coverage: 77.627% (+0.05%) from 77.582%
46262937164

push

github

web-flow
fix(event-import): cap decoded record size before readline buffers (#1255) (#1276)

### Summary
Fixes #1255.

Addresses CWE-409 / Denial of Service by enforcing a streaming record
size limit before `readline` buffers an entire record into memory.

### Changes
- Added `RecordSizeLimitExceededError` typed error naming the limit and
record number.
- Added `createRecordSizeLimiter` streaming Transform that tracks byte
counts between newline (`\n`) boundaries.
- On overflow past `maxRecordBytes`, destroys the source stream and
fails early with `RecordSizeLimitExceededError`.
- Exposed configurable `maxRecordBytes` in `EventImportOptions`
(defaults to 1MB).
- Added unit tests verifying early stream destruction on overflow and
uninterrupted normal imports.

4513 of 6355 branches covered (71.01%)

Branch coverage included in aggregate %.

33 of 34 new or added lines in 1 file covered. (97.06%)

9824 of 12114 relevant lines covered (81.1%)

760.26 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
85.4
2.06% src/services/event-import-service.ts
Jobs
ID Job ID Ran Files Coverage
1 Integration - 46262937164.1 29 Nov 2026 12:37PM UTC 321
33.07
GitHub Action Run
2 Unit - 46262937164.2 29 Nov 2026 12:38PM UTC 321
75.08
GitHub Action Run
Source Files on build 46262937164
  • Tree
  • List 321
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #46262937164
  • a70871f4 on github
  • Prev Build on rewrite/main (#46198549982)
  • Next Build on rewrite/main (#46266168510)
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