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

node-opcua / node-opcua-pki / 22540489712 / 1
90%
master: 90%

Build:
DEFAULT BRANCH: master
Ran 01 Mar 2026 09:30AM UTC
Files 21
Run time 0s
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

01 Mar 2026 09:26AM UTC coverage: 91.61% (-0.09%) from 91.702%
22540489712.1

push

github

erossignon
fix: prevent EPERM crash on Windows + Node < 22
when watched directories are removed

Chokidar v4 with persistent:false does not register
an error handler on the underlying fs.watch handles
(handler.js l.160-168). On Windows + Node < 22, the
native FSWatcher fires EPERM when the watched
directory is removed, causing an uncaught exception.

Use a single shared fs.watch() interception across
all 5 watcher creations that adds an error handler
to each captured handle. The interception stays
active until all watchers emit "ready" (chokidar
creates fs.watch handles asynchronously during
directory scanning).

Also add test_watcher_eperm.ts with two tests:
- directory removal while CM is alive
- rapid create/init/rm/dispose cycles

232 of 315 branches covered (73.65%)

1081 of 1180 relevant lines covered (91.61%)

279.75 hits per line

Source Files on job 22540489712.1
  • Tree
  • List 21
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 22540489712
  • 9fef706f on github
  • Prev Job for on master (#22505348360.1)
  • Next Job for on master (#22540728932.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc