chore(build): build a universal ESM and CommonJS package #1208
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 21s
Report Coverage
53s
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:32:48.276 sysadminctl[854:4872] Creating home directory at /Users/mitmproxyuser
|
Run MongoDB tests (macos-latest)
2025-07-15 12:32:48.209 sysadminctl[854:4872] Assigning UID: 502 GID: 20
|
Run MongoDB tests (macos-latest)
2025-07-15 12:32:48.030 sysadminctl[854:4872] Creating user record…
|
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
|
Run MongoDB tests (macos-latest)
2025-07-15 12:32:47.666 sysadminctl[854:4872] ----------------------------
2025-07-15 12:32:47.667 sysadminctl[854:4872] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
2025-07-15 12:32:47.667 sysadminctl[854:4872] ----------------------------
|
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.63 KB |
sha256:b42f103feac8e0b66077bdf7a02627743c21940b05338bd868b3665471f5fcff
|
|
run-atlas-tests-permissions-5fa56c2f7fc69a41aab9c97b9a80c0d8
Expired
|
140 Bytes |
sha256:acb873d07add46b7e98d15cc7f6b7aaa5a064b7dc4a7d2fc951e32252f10940c
|
|
run-tests-permissions-19e385618d79876c4872cf94cf94953e
Expired
|
140 Bytes |
sha256:59907d079b88784e841c2b57a1668aeac6582b82760c92485ce615d0e626f6c4
|
|
run-tests-permissions-d83284e5143717833a696bba3c4f3409
Expired
|
140 Bytes |
sha256:6fd4a10fe897af544d14941c8334124a31e65fb16127f3f6eeaedb35050a4ae7
|
|
test-results
Expired
|
11.1 KB |
sha256:71ee0d36d0715fc0975dae7bbe4fb576df6104aa44ea1f32120dea3fb7f3ca34
|
|