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

node-opcua / node-opcua-pki / 22540489712
91%

Build:
DEFAULT BRANCH: master
Ran 01 Mar 2026 09:30AM UTC
Jobs 1
Files 21
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

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

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%)

19 of 21 new or added lines in 1 file covered. (90.48%)

1081 of 1180 relevant lines covered (91.61%)

279.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
88.27
-0.11% packages/node-opcua-pki/lib/pki/certificate_manager.ts
Jobs
ID Job ID Ran Files Coverage
1 22540489712.1 01 Mar 2026 09:30AM UTC 21
91.61
GitHub Action Run
Source Files on build 22540489712
  • 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 Repo
  • Github Actions Build #22540489712
  • 9fef706f on github
  • Prev Build on master (#22505348360)
  • Next Build on master (#22540728932)
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