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

mongodb-js / devtools-shared / 26910293254
79%

Build:
DEFAULT BRANCH: main
Ran 03 Jun 2026 08:25PM UTC
Jobs 27
Files 158
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

03 Jun 2026 08:13PM UTC coverage: 78.927% (+0.2%) from 78.718%
26910293254

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>

1903 of 2674 branches covered (71.17%)

Branch coverage included in aggregate %.

4 of 7 new or added lines in 1 file covered. (57.14%)

3 existing lines in 1 file now uncovered.

4101 of 4933 relevant lines covered (83.13%)

633.19 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
52.56
3.66% packages/devtools-connect/src/connect.ts

Coverage Regressions

Lines Coverage ∆ File
3
52.56
3.66% packages/devtools-connect/src/connect.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
1 devtools-connect 26910293254.1 03 Jun 2026 08:25PM UTC 9
63.68
GitHub Action Run
2 sbom-tools 26910293254.2 03 Jun 2026 08:25PM UTC 14
80.31
GitHub Action Run
3 shell-bson-parser 26910293254.3 03 Jun 2026 08:25PM UTC 6
80.81
GitHub Action Run
4 download-url 26910293254.4 03 Jun 2026 08:25PM UTC 3
81.48
GitHub Action Run
5 mongodb-redact 26910293254.5 03 Jun 2026 08:25PM UTC 7
97.26
GitHub Action Run
6 mongodb-server-log-checker 26910293254.6 03 Jun 2026 08:25PM UTC 2
75.68
GitHub Action Run
7 query-parser 26910293254.7 03 Jun 2026 08:25PM UTC 4
84.33
GitHub Action Run
8 native-machine-id 26910293254.8 03 Jun 2026 08:25PM UTC 2
92.86
GitHub Action Run
9 mongodb-ns 26910293254.9 03 Jun 2026 08:25PM UTC 2
92.23
GitHub Action Run
10 get-os-info 26910293254.10 03 Jun 2026 08:25PM UTC 2
65.0
GitHub Action Run
11 devtools-proxy-support 26910293254.11 03 Jun 2026 08:25PM UTC 12
85.05
GitHub Action Run
12 monorepo-tools 26910293254.12 03 Jun 2026 08:25PM UTC 16
68.67
GitHub Action Run
13 mongodb-ts-autocomplete 26910293254.13 03 Jun 2026 08:25PM UTC 7
90.16
GitHub Action Run
14 saslprep 26910293254.14 03 Jun 2026 08:25PM UTC 8
95.04
GitHub Action Run
15 mongodb-build-info 26910293254.15 03 Jun 2026 08:25PM UTC 3
93.38
GitHub Action Run
16 mongodb-runner 26910293254.16 03 Jun 2026 08:25PM UTC 11
80.32
GitHub Action Run
17 oidc-http-server-pages 26910293254.17 03 Jun 2026 08:25PM UTC 7
94.92
GitHub Action Run
18 node-webpack-startup-snapshot-checker 26910293254.18 03 Jun 2026 08:25PM UTC 4
90.0
GitHub Action Run
19 device-id 26910293254.19 03 Jun 2026 08:25PM UTC 2
100.0
GitHub Action Run
20 mongodb-cloud-info 26910293254.20 03 Jun 2026 08:25PM UTC 2
95.56
GitHub Action Run
21 dl-center 26910293254.21 03 Jun 2026 08:25PM UTC 2
89.87
GitHub Action Run
22 mongodb-downloader 26910293254.22 03 Jun 2026 08:25PM UTC 3
70.23
GitHub Action Run
23 signing-utils 26910293254.23 03 Jun 2026 08:25PM UTC 5
87.05
GitHub Action Run
24 aggregation-stage-icons 26910293254.24 03 Jun 2026 08:25PM UTC 3
100.0
GitHub Action Run
25 ts-autocomplete 26910293254.25 03 Jun 2026 08:25PM UTC 2
70.75
GitHub Action Run
26 oidc-mock-provider 26910293254.26 03 Jun 2026 08:25PM UTC 3
7.59
GitHub Action Run
27 mongodb-constants 26910293254.27 03 Jun 2026 08:25PM UTC 17
96.76
GitHub Action Run
Source Files on build 26910293254
  • Tree
  • List 158
  • 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 #26910293254
  • 344419e0 on github
  • Prev Build on main (#26892917472)
  • Next Build on main (#26910416410)
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