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

mongodb-js / devtools-shared / 26910293254 / 2 – sbom-tools
79%
main: 79%

Build:
DEFAULT BRANCH: main
Ran 03 Jun 2026 08:25PM UTC
Files 14
Run time 9s
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

03 Jun 2026 08:13PM UTC coverage: 80.313%. Remained the same
sbom-tools – 26910293254.2

push

github

web-flow
feat(devtools-connect): emit tunnel error events on the logger COMPASS-8355 (#774)

* feat(devtools-connect): emit tunnel error events on the logger COMPASS-8355

Add devtools-connect:tunnel-error and devtools-connect:tunnel-forwarding-error
events to ConnectEventMap, wired from the Tunnel object's 'error' and
'forwardingError' events respectively.

This allows callers to observe tunnel failures without needing to hold a
direct reference to the tunnel object. It is the prerequisite for removing
the duplicate SSH tunnel management code in Compass (connect-mongo-client.ts,
ssh-tunnel-helpers.ts, data-service.ts) in the next step.

* Update packages/devtools-connect/src/connect.ts

Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>

* chore(devtools-connect): fix pre-existing prettier formatting in log-hook.ts COMPASS-8355

* chore(devtools-connect): reformat with prettier 3.8.3 COMPASS-8355

* chore(devtools-connect): fix formatting

* test(devtools-connect): add coverage for tunnel error event emission COMPASS-8355

Use Object.defineProperty to replace the getter-based createSocks5Tunnel
export (sinon.stub cannot replace non-writable getters) with a fake tunnel,
then verify that tunnel 'error' and 'forwardingError' events are forwarded
as devtools-connect:tunnel-error and devtools-connect:tunnel-forwarding-error
on the logger.

---------

Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>

214 of 314 branches covered (68.15%)

Branch coverage included in aggregate %.

504 of 580 relevant lines covered (86.9%)

7.98 hits per line

Source Files on job sbom-tools - 26910293254.2
  • Tree
  • List 14
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26910293254
  • 344419e0 on github
  • Prev Job for on main (#26892917472.1)
  • Next Job for on main (#26910416410.3)
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