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

mongodb-js / devtools-shared / 28175531568
79%

Build:
DEFAULT BRANCH: main
Ran 25 Jun 2026 02:13PM 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

25 Jun 2026 01:58PM UTC coverage: 78.993% (+0.1%) from 78.897%
28175531568

push

github

web-flow
fix(mongodb-runner): handle arbiter RS convergence race in metadata check (#770)

When a replica set is initiated, the code only waits for a PRIMARY to
appear before proceeding to assertAllServersHaveInsertedLocalMetadata().
An arbiter node may still be transitioning to ARBITER state at that
point, so hello.arbiterOnly can be undefined while this.isArbiter is
already true, causing an immediate "Arbiter flag mismatch" throw.

Fix _ensureMatchingMetadataColl to retry via eventually() when isArbiter
is true but hello has not yet confirmed arbiterOnly, giving the member
time to converge. Also handle the deserialize() ordering where isArbiter
is set after _populateBuildInfo runs by skipping the check when
hello.arbiterOnly is true regardless of the local flag.

Add unit tests covering the retry path, immediate-success path, timeout
propagation, and the deserialize ordering edge case.

1914 of 2686 branches covered (71.26%)

Branch coverage included in aggregate %.

11 of 11 new or added lines in 1 file covered. (100.0%)

4110 of 4940 relevant lines covered (83.2%)

640.45 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 monorepo-tools 28175531568.1 25 Jun 2026 02:13PM UTC 16
68.67
GitHub Action Run
2 mongodb-cloud-info 28175531568.2 25 Jun 2026 02:13PM UTC 2
95.56
GitHub Action Run
3 query-parser 28175531568.3 25 Jun 2026 02:13PM UTC 4
84.33
GitHub Action Run
4 mongodb-downloader 28175531568.4 25 Jun 2026 02:13PM UTC 3
70.23
GitHub Action Run
5 mongodb-constants 28175531568.5 25 Jun 2026 02:13PM UTC 17
96.76
GitHub Action Run
6 mongodb-runner 28175531568.6 25 Jun 2026 02:13PM UTC 11
80.95
GitHub Action Run
7 oidc-mock-provider 28175531568.7 25 Jun 2026 02:13PM UTC 3
7.59
GitHub Action Run
8 oidc-http-server-pages 28175531568.8 25 Jun 2026 02:13PM UTC 7
94.92
GitHub Action Run
9 sbom-tools 28175531568.9 25 Jun 2026 02:13PM UTC 14
80.31
GitHub Action Run
10 native-machine-id 28175531568.10 25 Jun 2026 02:13PM UTC 2
92.86
GitHub Action Run
11 saslprep 28175531568.11 25 Jun 2026 02:13PM UTC 8
95.04
GitHub Action Run
12 shell-bson-parser 28175531568.12 25 Jun 2026 02:13PM UTC 6
80.23
GitHub Action Run
13 mongodb-redact 28175531568.13 25 Jun 2026 02:13PM UTC 7
97.26
GitHub Action Run
14 mongodb-ns 28175531568.14 25 Jun 2026 02:13PM UTC 2
92.23
GitHub Action Run
15 device-id 28175531568.15 25 Jun 2026 02:13PM UTC 2
100.0
GitHub Action Run
16 download-url 28175531568.16 25 Jun 2026 02:13PM UTC 3
81.48
GitHub Action Run
17 aggregation-stage-icons 28175531568.17 25 Jun 2026 02:13PM UTC 3
100.0
GitHub Action Run
18 devtools-connect 28175531568.18 25 Jun 2026 02:13PM UTC 9
63.68
GitHub Action Run
19 node-webpack-startup-snapshot-checker 28175531568.19 25 Jun 2026 02:13PM UTC 4
90.0
GitHub Action Run
20 signing-utils 28175531568.20 25 Jun 2026 02:13PM UTC 5
87.05
GitHub Action Run
21 ts-autocomplete 28175531568.21 25 Jun 2026 02:13PM UTC 2
70.75
GitHub Action Run
22 mongodb-server-log-checker 28175531568.22 25 Jun 2026 02:13PM UTC 2
75.68
GitHub Action Run
23 devtools-proxy-support 28175531568.23 25 Jun 2026 02:13PM UTC 12
85.05
GitHub Action Run
24 get-os-info 28175531568.24 25 Jun 2026 02:13PM UTC 2
65.0
GitHub Action Run
25 mongodb-ts-autocomplete 28175531568.25 25 Jun 2026 02:13PM UTC 7
90.16
GitHub Action Run
26 dl-center 28175531568.26 25 Jun 2026 02:13PM UTC 2
89.87
GitHub Action Run
27 mongodb-build-info 28175531568.27 25 Jun 2026 02:13PM UTC 3
93.38
GitHub Action Run
Source Files on build 28175531568
  • Tree
  • List 158
  • 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 #28175531568
  • 55f865a0 on github
  • Prev Build on main (#28154217954)
  • Next Build on main (#28175677551)
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