Skip to content

fix: improve api error messages #666

fix: improve api error messages

fix: improve api error messages #666

Triggered via pull request April 30, 2025 17:42
Status Failure
Total duration 6m 25s
Artifacts 4

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
1m 3s
Run Atlas tests
Check dependencies
53s
Check dependencies
Report Coverage
28s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

60 errors and 23 warnings
Check dependencies: src/common/atlas/apiClient.ts#L147
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Check dependencies: src/common/atlas/apiClient.ts#L155
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Check dependencies: src/common/atlas/apiClient.ts#L163
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Check dependencies: src/common/atlas/apiClient.ts#L171
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Check dependencies: src/common/atlas/apiClient.ts#L178
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Check dependencies: src/common/atlas/apiClient.ts#L186
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Check dependencies: src/common/atlas/apiClient.ts#L194
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Check dependencies: src/common/atlas/apiClient.ts#L205
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Check dependencies: src/common/atlas/apiClient.ts#L212
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Check dependencies: src/common/atlas/apiClient.ts#L220
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClient.ts#L147
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClient.ts#L155
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClient.ts#L163
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClient.ts#L171
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClient.ts#L178
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClient.ts#L186
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClient.ts#L194
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClient.ts#L205
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClient.ts#L212
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (ubuntu-latest): src/common/atlas/apiClient.ts#L220
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run Atlas tests: src/common/atlas/apiClient.ts#L147
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run Atlas tests: src/common/atlas/apiClient.ts#L155
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run Atlas tests: src/common/atlas/apiClient.ts#L163
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run Atlas tests: src/common/atlas/apiClient.ts#L171
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run Atlas tests: src/common/atlas/apiClient.ts#L178
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run Atlas tests: src/common/atlas/apiClient.ts#L186
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run Atlas tests: src/common/atlas/apiClient.ts#L194
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run Atlas tests: src/common/atlas/apiClient.ts#L205
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run Atlas tests: src/common/atlas/apiClient.ts#L212
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run Atlas tests: src/common/atlas/apiClient.ts#L220
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (macos-latest): src/common/atlas/apiClient.ts#L147
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (macos-latest): src/common/atlas/apiClient.ts#L155
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (macos-latest): src/common/atlas/apiClient.ts#L163
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (macos-latest): src/common/atlas/apiClient.ts#L171
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (macos-latest): src/common/atlas/apiClient.ts#L178
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (macos-latest): src/common/atlas/apiClient.ts#L186
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (macos-latest): src/common/atlas/apiClient.ts#L194
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (macos-latest): src/common/atlas/apiClient.ts#L205
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (macos-latest): src/common/atlas/apiClient.ts#L212
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (macos-latest): src/common/atlas/apiClient.ts#L220
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (windows-latest): src/common/atlas/apiClient.ts#L147
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (windows-latest): src/common/atlas/apiClient.ts#L155
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (windows-latest): src/common/atlas/apiClient.ts#L163
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (windows-latest): src/common/atlas/apiClient.ts#L171
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (windows-latest): src/common/atlas/apiClient.ts#L178
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (windows-latest): src/common/atlas/apiClient.ts#L186
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (windows-latest): src/common/atlas/apiClient.ts#L194
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (windows-latest): src/common/atlas/apiClient.ts#L205
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (windows-latest): src/common/atlas/apiClient.ts#L212
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Run MongoDB tests (windows-latest): src/common/atlas/apiClient.ts#L220
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Report Coverage: src/common/atlas/apiClient.ts#L147
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Report Coverage: src/common/atlas/apiClient.ts#L155
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Report Coverage: src/common/atlas/apiClient.ts#L163
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Report Coverage: src/common/atlas/apiClient.ts#L171
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Report Coverage: src/common/atlas/apiClient.ts#L178
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Report Coverage: src/common/atlas/apiClient.ts#L186
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Report Coverage: src/common/atlas/apiClient.ts#L194
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Report Coverage: src/common/atlas/apiClient.ts#L205
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Report Coverage: src/common/atlas/apiClient.ts#L212
Property 'fromError' is private and only accessible within class 'ApiClientError'.
Report Coverage: src/common/atlas/apiClient.ts#L220
Property 'fromError' is private and only accessible within class 'ApiClientError'.
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 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.
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 17:42:30.101 sysadminctl[1020:6810] ---------------------------- 2025-04-30 17:42:30.101 sysadminctl[1020:6810] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) ! 2025-04-30 17:42:30.101 sysadminctl[1020:6810] ----------------------------
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-04-30 17:42:30.938 sysadminctl[1020:6810] Creating user record…
Run MongoDB tests (macos-latest)
2025-04-30 17:42:31.037 sysadminctl[1020:6810] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-04-30 17:42:31.109 sysadminctl[1020:6810] 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. 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-46d7dcca4d9bbe1840279fdb48b05b21 Expired
140 Bytes
sha256:67b8578ab84cc00e70157645ebbd72aa7f78bec005036d28d6be89b860d19ca0
run-atlas-tests-permissions-fd73a2c98e32b39f4629741284404fd6 Expired
140 Bytes
sha256:b7760cd7c3816c644975d773edf2d4903d6ba4a4875a69377f46012d243a9b3c
run-tests-permissions-4fb1e8e964298dbc6958856002687999 Expired
140 Bytes
sha256:e55b61c04b853d2632525f7307a7eafbb3b1aa636dcedb4230b6e9ea073a0b52
run-tests-permissions-ca2ec52cbe18a9ede16eefad43f9f871 Expired
140 Bytes
sha256:a4fd5b34050f1a577f2fb992bde4a655a4c22c1086cb1d540ea20b91ded028d3