Skip to content

chore(build): build a universal ESM and CommonJS package #1210

chore(build): build a universal ESM and CommonJS package

chore(build): build a universal ESM and CommonJS package #1210

Triggered via pull request July 15, 2025 12:40
Status Failure
Total duration 5m 35s
Artifacts 5

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 30s
Run Atlas tests
Report Coverage
40s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 16 warnings, and 2 notices
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/integration/build.test.ts > Build Test > should have matching exports between CommonJS and ESM modules: tests/integration/build.test.ts#L33
Error: Invalid package config \\?\D:\a\mongodb-mcp-server\mongodb-mcp-server\dist\package.json. ❯ tests/integration/build.test.ts:33:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_PACKAGE_CONFIG' }
tests/integration/build.test.ts > Build Test > should successfully require CommonJS module: tests/integration/build.test.ts#L14
Error: Invalid package config \\?\D:\a\mongodb-mcp-server\mongodb-mcp-server\dist\package.json. ❯ tests/integration/build.test.ts:14:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_PACKAGE_CONFIG' }
Run MongoDB tests (macos-latest)
No ALTQ support in kernel ALTQ related functions disabled pf enabled
Run MongoDB tests (macos-latest)
pfctl: Use of -f option, could result in flushing of rules present in the main ruleset added by the system at startup. See /etc/pf.conf for further details. No ALTQ support in kernel ALTQ related functions disabled
Run MongoDB tests (macos-latest)
YES (0)
Run MongoDB tests (macos-latest)
2025-07-15 12:40:35.955 sysadminctl[2179:13899] Creating home directory at /Users/mitmproxyuser
Run MongoDB tests (macos-latest)
2025-07-15 12:40:35.921 sysadminctl[2179:13899] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-07-15 12:40:35.798 sysadminctl[2179:13899] Creating user record…
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-07-15 12:40:35.147 sysadminctl[2179:13899] ---------------------------- 2025-07-15 12:40:35.148 sysadminctl[2179:13899] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) ! 2025-07-15 12:40:35.148 sysadminctl[2179:13899] ----------------------------
Run MongoDB tests (ubuntu-latest)
1 added, 0 removed; done.
Run MongoDB tests (ubuntu-latest)
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
Run MongoDB tests (ubuntu-latest)
Updating certificates in /etc/ssl/certs...
Run MongoDB tests (ubuntu-latest)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Run Atlas tests
1 added, 0 removed; done.
Run Atlas tests
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
Run Atlas tests
Updating certificates in /etc/ssl/certs...
Run Atlas tests
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Run MongoDB tests (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Run MongoDB tests (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520

Artifacts

Produced during runtime
Name Size Digest
atlas-test-results Expired
9.62 KB
sha256:d0636dcbae48ec17d4514120585c1bf75881145b8d02a0d0fc2859595fca5b63
run-atlas-tests-permissions-ff08f05581902ea9e6e1b8e35671667e Expired
140 Bytes
sha256:df0fd7869c2d823a9870eca9cdbace0646bc4f4e7f8b21dc9301428f4b574af9
run-tests-permissions-47684ee595bd64f231b773ec423ae070 Expired
140 Bytes
sha256:94b51de54a5b9aaf75d84949393d2577b71e33ed2ca9ec367dda8e259a2b9e92
run-tests-permissions-9e2f1b583b0d69f3dd57d6562eb987bd Expired
140 Bytes
sha256:11ea27fc84372c2af463caac35812ce8630e2acc7923a8b6c7dd0c6f3155d3f1
test-results Expired
11.1 KB
sha256:7cd6880cbafc4af4d6da0bcbfd4dbeddec2806faad8ade334034fbc59c2b6756