chore(build): build a universal ESM and CommonJS package #1211
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 34s
Report Coverage
43s
Annotations
3 errors, 17 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 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)
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:44:35.088 sysadminctl[1945:10120] Creating home directory at /Users/mitmproxyuser
|
Run MongoDB tests (macos-latest)
2025-07-15 12:44:35.042 sysadminctl[1945:10120] Assigning UID: 502 GID: 20
|
Run MongoDB tests (macos-latest)
2025-07-15 12:44:34.863 sysadminctl[1945:10120] Creating user record…
|
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
|
Run MongoDB tests (macos-latest)
2025-07-15 12:44:34.366 sysadminctl[1945:10120] ----------------------------
|
Run MongoDB tests (macos-latest)
2025-07-15 12:44:34.365 sysadminctl[1945:10120] ----------------------------
2025-07-15 12:44:34.366 sysadminctl[1945:10120] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
|
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.83 KB |
sha256:23b3fdbbcfb0c8182526bc70b77f9b883782ce7a1d06c420186609d923b70bac
|
|
run-atlas-tests-permissions-46d7de991ce94733f5e1908fea811c4c
Expired
|
140 Bytes |
sha256:d3e9ccba9434a11a51a2489208846d4de9e4b8588a7bdfbe5d76f7a04ee5ba82
|
|
run-tests-permissions-b6a4271c783775c432158f609dfdf594
Expired
|
140 Bytes |
sha256:30e01fd1d295115697c70ce65ad5c2eecdf41c2b1637321ce8eaa1ce64e8e6d1
|
|
run-tests-permissions-ed8954f8e5b78ed44d96de221564e937
Expired
|
140 Bytes |
sha256:39af3e2f0d7f23787f5db1aab5c4e85db906529e153182df67bc932916014a2b
|
|
test-results
Expired
|
11.1 KB |
sha256:26de3c148241f22958d6adef371e5d52aed27b12e2e9764c1814607dc2ab4681
|
|