Skip to content

fix: improve api error messages #634

fix: improve api error messages

fix: improve api error messages #634

Triggered via pull request April 30, 2025 09:48
Status Failure
Total duration 5m 48s
Artifacts 4

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
50s
Run Atlas tests
Check dependencies
47s
Check dependencies
Report Coverage
47s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

24 errors and 24 warnings
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClientError.ts#L46
Cannot find name 'message'. Did you mean 'onmessage'?
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClientError.ts#L48
Cannot find name 'message'. Did you mean 'onmessage'?
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClientError.ts#L51
Property 'text' is missing in type 'ApiClientError' but required in type '{ text: string; body: { badRequestDetail?: { fields?: { description: string; field: string; }[] | undefined; } | undefined; detail?: string | undefined; readonly error: number; readonly errorCode: string; readonly parameters?: Record<...>[] | undefined; readonly reason?: string | undefined; } | undefined; }'.
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 2.
Check dependencies: src/common/atlas/apiClientError.ts#L46
Cannot find name 'message'. Did you mean 'onmessage'?
Check dependencies: src/common/atlas/apiClientError.ts#L48
Cannot find name 'message'. Did you mean 'onmessage'?
Check dependencies: src/common/atlas/apiClientError.ts#L51
Property 'text' is missing in type 'ApiClientError' but required in type '{ text: string; body: { badRequestDetail?: { fields?: { description: string; field: string; }[] | undefined; } | undefined; detail?: string | undefined; readonly error: number; readonly errorCode: string; readonly parameters?: Record<...>[] | undefined; readonly reason?: string | undefined; } | undefined; }'.
Check dependencies
Process completed with exit code 2.
Run Atlas tests: src/common/atlas/apiClientError.ts#L46
Cannot find name 'message'. Did you mean 'onmessage'?
Run Atlas tests: src/common/atlas/apiClientError.ts#L48
Cannot find name 'message'. Did you mean 'onmessage'?
Run Atlas tests: src/common/atlas/apiClientError.ts#L51
Property 'text' is missing in type 'ApiClientError' but required in type '{ text: string; body: { badRequestDetail?: { fields?: { description: string; field: string; }[] | undefined; } | undefined; detail?: string | undefined; readonly error: number; readonly errorCode: string; readonly parameters?: Record<...>[] | undefined; readonly reason?: string | undefined; } | undefined; }'.
Run Atlas tests
Process completed with exit code 2.
Run MongoDB tests (macos-latest): src/common/atlas/apiClientError.ts#L46
Cannot find name 'message'. Did you mean 'onmessage'?
Run MongoDB tests (macos-latest): src/common/atlas/apiClientError.ts#L48
Cannot find name 'message'. Did you mean 'onmessage'?
Run MongoDB tests (macos-latest): src/common/atlas/apiClientError.ts#L51
Property 'text' is missing in type 'ApiClientError' but required in type '{ text: string; body: { badRequestDetail?: { fields?: { description: string; field: string; }[] | undefined; } | undefined; detail?: string | undefined; readonly error: number; readonly errorCode: string; readonly parameters?: Record<...>[] | undefined; readonly reason?: string | undefined; } | undefined; }'.
Run MongoDB tests (macos-latest)
Process completed with exit code 2.
Run MongoDB tests (windows-latest): src/common/atlas/apiClientError.ts#L46
Cannot find name 'message'. Did you mean 'onmessage'?
Run MongoDB tests (windows-latest): src/common/atlas/apiClientError.ts#L48
Cannot find name 'message'. Did you mean 'onmessage'?
Run MongoDB tests (windows-latest): src/common/atlas/apiClientError.ts#L51
Property 'text' is missing in type 'ApiClientError' but required in type '{ text: string; body: { badRequestDetail?: { fields?: { description: string; field: string; }[] | undefined; } | undefined; detail?: string | undefined; readonly error: number; readonly errorCode: string; readonly parameters?: Record<...>[] | undefined; readonly reason?: string | undefined; } | undefined; }'.
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
Report Coverage: src/common/atlas/apiClientError.ts#L46
Cannot find name 'message'. Did you mean 'onmessage'?
Report Coverage: src/common/atlas/apiClientError.ts#L48
Cannot find name 'message'. Did you mean 'onmessage'?
Report Coverage: src/common/atlas/apiClientError.ts#L51
Property 'text' is missing in type 'ApiClientError' but required in type '{ text: string; body: { badRequestDetail?: { fields?: { description: string; field: string; }[] | undefined; } | undefined; detail?: string | undefined; readonly error: number; readonly errorCode: string; readonly parameters?: Record<...>[] | undefined; readonly reason?: string | undefined; } | undefined; }'.
Report Coverage
Process completed with exit code 2.
Run MongoDB tests (ubuntu-latest)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Run MongoDB tests (ubuntu-latest)
Updating certificates in /etc/ssl/certs...
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)
1 added, 0 removed; done.
Run MongoDB tests (ubuntu-latest)
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
Check dependencies
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Check dependencies
Updating certificates in /etc/ssl/certs...
Check dependencies
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
Check dependencies
1 added, 0 removed; done.
Run Atlas tests
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
Run Atlas tests
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Run Atlas tests
Updating certificates in /etc/ssl/certs...
Run Atlas tests
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
Run Atlas tests
1 added, 0 removed; done.
Run MongoDB tests (macos-latest)
2025-04-30 09:48:40.392 sysadminctl[1622:11159] ---------------------------- 2025-04-30 09:48:40.392 sysadminctl[1622:11159] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) ! 2025-04-30 09:48:40.392 sysadminctl[1622:11159] ----------------------------
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-04-30 09:48:40.826 sysadminctl[1622:11159] Creating user record…
Run MongoDB tests (macos-latest)
2025-04-30 09:48:40.908 sysadminctl[1622:11159] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-04-30 09:48:40.942 sysadminctl[1622:11159] Creating home directory at /Users/mitmproxyuser
Run MongoDB tests (macos-latest)
[notice] A new release of pip is available: 25.0.1 -> 25.1 [notice] To update, run: /Users/mitmproxyuser/venv/bin/python3.13 -m pip install --upgrade pip
Run MongoDB tests (macos-latest)
YES (0)
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)
No ALTQ support in kernel ALTQ related functions disabled
Run MongoDB tests (macos-latest)
No ALTQ support in kernel ALTQ related functions disabled pf enabled

Artifacts

Produced during runtime
Name Size Digest
dep-check-permissions-d16635e4cf64c25c6ab9007a86d67bfd Expired
140 Bytes
sha256:e8f3d8a86b2fb69bab36202c43ef5d045091a18f12425eab9631c7c5eeab15cb
run-atlas-tests-permissions-6e96dc5c65fefe8cecb467ac0523cf67 Expired
140 Bytes
sha256:cb20306a87e733e9afed4537e4ed53dbc441885785eade19e7c0ed0b752f9b68
run-tests-permissions-7deb0503bdc615a394a77d85a9e17a75 Expired
140 Bytes
sha256:3b2ee0d34b6d76bb601e28dc1f49dc0df3a7200d02b47b63b41783e699fa7b9e
run-tests-permissions-986a161fa564ca9f87329b5a2cfe1797 Expired
140 Bytes
sha256:4c614eeac114f5534b7c22bf7434d9f466ff74f27688bbf6a2d046cd6645c10f