chore(build): build a universal ESM and CommonJS package #1215
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 27s
Report Coverage
1m 19s
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#L31
Error: Invalid package config \\?\D:\a\mongodb-mcp-server\mongodb-mcp-server\dist\package.json.
❯ tests/integration/build.test.ts:31: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)
No ALTQ support in kernel
ALTQ related functions disabled
|
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.
|
Run MongoDB tests (macos-latest)
YES (0)
|
Run MongoDB tests (macos-latest)
2025-07-15 13:24:13.126 sysadminctl[848:4777] Creating home directory at /Users/mitmproxyuser
|
Run MongoDB tests (macos-latest)
2025-07-15 13:24:13.067 sysadminctl[848:4777] Assigning UID: 502 GID: 20
|
Run MongoDB tests (macos-latest)
2025-07-15 13:24:12.945 sysadminctl[848:4777] Creating user record…
|
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
|
Run MongoDB tests (macos-latest)
2025-07-15 13:24:12.219 sysadminctl[848:4777] ----------------------------
2025-07-15 13:24:12.219 sysadminctl[848:4777] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
2025-07-15 13:24:12.219 sysadminctl[848:4777] ----------------------------
|
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.64 KB |
sha256:3f927cd079ad7b2cdb0b6c5e8063dfa43a61de91d10d29748030753f625cf3b6
|
|
run-atlas-tests-permissions-6b2f90ce8641c7340f3128d43530c505
Expired
|
140 Bytes |
sha256:0edf9377ee2a908f291f1fcf23c104c55e3dd6c8ec813d4d9c4c4d8d9e2b3fb2
|
|
run-tests-permissions-a610ec19c1072600b201921a950abdf9
Expired
|
140 Bytes |
sha256:0ae8f786836d7f7fd3ec973e23db3267315d9be636e2a54cfed32ecd6da792ce
|
|
run-tests-permissions-b0364f6ba85eb8293852b3adcbcaf45b
Expired
|
140 Bytes |
sha256:5a50d829205d0578c1f3adc3e5252d26c8eb72e75b3a2c381399e39b4e7e10c1
|
|
test-results
Expired
|
11.1 KB |
sha256:80fd82027cf9ba868bd5cb3e205f2f7e38193a1aab5030bbbec57d45127e3316
|
|