Skip to content

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

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

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

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

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 44s
Run Atlas tests
Report Coverage
37s
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#L34
Error: Invalid package config \\?\D:\a\mongodb-mcp-server\mongodb-mcp-server\dist\package.json. ❯ tests/integration/build.test.ts:34: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#L18
Error: Invalid package config \\?\D:\a\mongodb-mcp-server\mongodb-mcp-server\dist\package.json. ❯ tests/integration/build.test.ts:18: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 15:05:15.311 sysadminctl[856:4895] Creating home directory at /Users/mitmproxyuser
Run MongoDB tests (macos-latest)
2025-07-15 15:05:15.255 sysadminctl[856:4895] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-07-15 15:05:15.110 sysadminctl[856:4895] Creating user record…
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-07-15 15:05:14.727 sysadminctl[856:4895] ---------------------------- 2025-07-15 15:05:14.727 sysadminctl[856:4895] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) ! 2025-07-15 15:05:14.727 sysadminctl[856:4895] ----------------------------
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 (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 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.64 KB
sha256:efe4c85aeffeca1a8a211029e0af8d643d0faf85e1f136a00c1fa2a6cccaaba8
run-atlas-tests-permissions-1a80c44db7131e5813de7de373ad7ea4 Expired
140 Bytes
sha256:8091e3a5e0a3c0d2846a5efc32b27c54938d97f7a214d940cd5642aa5b2d6c12
run-tests-permissions-b4a3f8522155fba22f007f15f34b960b Expired
140 Bytes
sha256:7d4bcf122ccd1c01c6339b737f52f30363ad75e3d72cd5e553b7a57b04cb5cfa
run-tests-permissions-bb2232690a09d9930bed26266f3f080a Expired
140 Bytes
sha256:fbce4f6a4b08bd8b049614817f7e28ad68fc3479a538d82c87bfe59c430ba3ab
test-results Expired
11.1 KB
sha256:aecdc6f37922cb3567c001f709519e5178306d23ed638d7e9ba31f2f5979c92c