Skip to content

feat: update connectionString appName param - [MCP-68] #1568

feat: update connectionString appName param - [MCP-68]

feat: update connectionString appName param - [MCP-68] #1568

Triggered via pull request August 18, 2025 15:58
@blvablva
synchronize #406
MCP-68
Status Failure
Total duration 6m 17s
Artifacts 3

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
3m 4s
Run Atlas tests
Report Coverage
40s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

21 errors, 19 warnings, and 3 notices
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool when disabled: tests/integration/helpers.ts#L65
Error: [vitest] No "DeviceIdService" export is defined on the "../../../../../src/helpers/deviceId.js" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../../../../src/helpers/deviceId.js"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ tests/integration/helpers.ts:65:9
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool: tests/integration/helpers.ts#L65
Error: [vitest] No "DeviceIdService" export is defined on the "../../../../../src/helpers/deviceId.js" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../../../../src/helpers/deviceId.js"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ tests/integration/helpers.ts:65:9
tests/integration/tools/mongodb/connect/connect.test.ts > SwitchConnection tool: tests/integration/helpers.ts#L65
Error: [vitest] No "DeviceIdService" export is defined on the "../../../../../src/helpers/deviceId.js" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../../../../src/helpers/deviceId.js"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ tests/integration/helpers.ts:65:9
tests/unit/resources/common/debug.test.ts: src/helpers/deviceId.ts#L45
Error: DeviceIdService not initialized ❯ Function.getInstance src/helpers/deviceId.ts:45:19 ❯ new ConnectionManager src/common/connectionManager.ts:79:41 ❯ tests/unit/resources/common/debug.test.ts:16:28
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool when disabled: tests/integration/helpers.ts#L65
Error: [vitest] No "DeviceIdService" export is defined on the "../../../../../src/helpers/deviceId.js" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../../../../src/helpers/deviceId.js"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ tests/integration/helpers.ts:65:9
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool: tests/integration/helpers.ts#L65
Error: [vitest] No "DeviceIdService" export is defined on the "../../../../../src/helpers/deviceId.js" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../../../../src/helpers/deviceId.js"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ tests/integration/helpers.ts:65:9
tests/integration/tools/mongodb/connect/connect.test.ts > SwitchConnection tool: tests/integration/helpers.ts#L65
Error: [vitest] No "DeviceIdService" export is defined on the "../../../../../src/helpers/deviceId.js" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../../../../src/helpers/deviceId.js"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ tests/integration/helpers.ts:65:9
tests/unit/resources/common/debug.test.ts: src/helpers/deviceId.ts#L45
Error: DeviceIdService not initialized ❯ Function.getInstance src/helpers/deviceId.ts:45:19 ❯ new ConnectionManager src/common/connectionManager.ts:79:41 ❯ tests/unit/resources/common/debug.test.ts:16:28
Run Atlas tests
Process completed with exit code 1.
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool when disabled: tests/integration/helpers.ts#L65
Error: [vitest] No "DeviceIdService" export is defined on the "../../../../../src/helpers/deviceId.js" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../../../../src/helpers/deviceId.js"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ tests/integration/helpers.ts:65:9
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool: tests/integration/helpers.ts#L65
Error: [vitest] No "DeviceIdService" export is defined on the "../../../../../src/helpers/deviceId.js" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../../../../src/helpers/deviceId.js"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ tests/integration/helpers.ts:65:9
tests/integration/tools/mongodb/connect/connect.test.ts > SwitchConnection tool: tests/integration/helpers.ts#L65
Error: [vitest] No "DeviceIdService" export is defined on the "../../../../../src/helpers/deviceId.js" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../../../../src/helpers/deviceId.js"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ tests/integration/helpers.ts:65:9
tests/unit/resources/common/debug.test.ts: src/helpers/deviceId.ts#L45
Error: DeviceIdService not initialized ❯ Function.getInstance src/helpers/deviceId.ts:45:19 ❯ new ConnectionManager src/common/connectionManager.ts:79:41 ❯ tests/unit/resources/common/debug.test.ts:16:28
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool when disabled: tests/integration/helpers.ts#L65
Error: [vitest] No "DeviceIdService" export is defined on the "../../../../../src/helpers/deviceId.js" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../../../../src/helpers/deviceId.js"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ tests/integration/helpers.ts:65:9
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool: tests/integration/helpers.ts#L65
Error: [vitest] No "DeviceIdService" export is defined on the "../../../../../src/helpers/deviceId.js" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../../../../src/helpers/deviceId.js"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ tests/integration/helpers.ts:65:9
tests/integration/tools/mongodb/connect/connect.test.ts > SwitchConnection tool: tests/integration/helpers.ts#L65
Error: [vitest] No "DeviceIdService" export is defined on the "../../../../../src/helpers/deviceId.js" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("../../../../../src/helpers/deviceId.js"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ tests/integration/helpers.ts:65:9
tests/unit/resources/common/debug.test.ts: src/helpers/deviceId.ts#L45
Error: DeviceIdService not initialized ❯ Function.getInstance src/helpers/deviceId.ts:45:19 ❯ new ConnectionManager src/common/connectionManager.ts:79:41 ❯ tests/unit/resources/common/debug.test.ts:16:28
Report Coverage
Unable to download artifact(s): Artifact not found for name: test-results Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact. For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
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-08-18 15:58:38.132 sysadminctl[2968:17657] Creating home directory at /Users/mitmproxyuser
Run MongoDB tests (macos-latest)
2025-08-18 15:58:38.072 sysadminctl[2968:17657] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-08-18 15:58:37.948 sysadminctl[2968:17657] Creating user record…
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-08-18 15:58:37.565 sysadminctl[2968:17657] ---------------------------- 2025-08-18 15:58:37.565 sysadminctl[2968:17657] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) ! 2025-08-18 15:58:37.565 sysadminctl[2968:17657] ----------------------------
Run MongoDB tests (ubuntu-latest)
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
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
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
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
Run MongoDB tests (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
run-atlas-tests-permissions-81f461ff988a900ec05f14a807fe7687
140 Bytes
sha256:a50cb095ec6a866cbceaec4902278bfbab902dd1eb214630bd70af4ea1c760dc
run-tests-permissions-958f0fc501324206ec19526987aa5745
140 Bytes
sha256:4d14d7f467207cb6e7a2af519928d21165158c569e04281e0762cf2ed17d8eba
run-tests-permissions-9eb4d5e95cdacb83f3e71b44be54350a
140 Bytes
sha256:efa90a97a1560d072cf8f0a0d8d0b50ca7e4779bdfabc0fd4d9518df72481fef