chore: adds validation for vector search stage's pre-filter expression MCP-242 #435
code-health.yml
on: pull_request
Matrix: Run MongoDB tests
Report Coverage
48s
Annotations
9 errors and 10 warnings
|
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
|
|
tests/integration/tools/mongodb/delete/dropIndex.test.ts > drop-index tool > when vector search feature flag is enabled > dropping vector search indexes > when connected to MongoDB with search support > and attempting to delete 'an index from non-existent database' (namespace - 'non-existent-db' 'non-existent-coll') > should fail with appropriate error:
tests/integration/tools/mongodb/delete/dropIndex.test.ts#L64
MongoBulkWriteError: read ECONNRESET
❯ executeCommands node_modules/mongodb/src/bulk/common.ts:581:15
❯ node_modules/mongodb/src/bulk/common.ts:1190:16
❯ MongoClient.withSession node_modules/mongodb/src/mongo_client.ts:949:14
❯ OrderedBulkOperation.execute node_modules/mongodb/src/bulk/common.ts:1189:14
❯ Collection.bulkWrite node_modules/mongodb/src/collection.ts:391:12
❯ Collection.insertMany node_modules/mongodb/src/collection.ts:324:19
❯ tests/integration/tools/mongodb/delete/dropIndex.test.ts:64:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errorLabelSet: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', size: 2, values: 'Function<values>', keys: 'Function<values>', union: 'Function<union>', intersection: 'Function<intersection>', difference: 'Function<difference>', symmetricDifference: 'Function<symmetricDifference>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>' }, errorResponse: { stack: 'MongoNetworkError: read ECONNRESET\n at Connection.onSocketError (/home/runner/work/mongodb-mcp-server/mongodb-mcp-server/node_modules/mongodb/src/cmap/connection.ts:308:18)\n at Socket.emit (node:events:531:35)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21)', message: 'read ECONNRESET', cause: { stack: 'Error: read ECONNRESET\n at TCP.onStreamRead (node:internal/stream_base_commons:216:20)', message: 'read ECONNRESET', errno: -104, code: 'ECONNRESET', syscall: 'read', constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, errorLabelSet: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', size: 2, values: 'Function<values>', keys: 'Function<values>', union: 'Function<union>', intersection: 'Function<intersection>', difference: 'Function<difference>', symmetricDifference: 'Function<symmetricDifference>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>' }, beforeHandshake: false, connectionGeneration: +0, constructor: 'Function<MongoNetworkError>', name: 'MongoNetworkError', errorLabels: [ 'HandshakeError', 'ResetPool' ], errmsg: 'read ECONNRESET', hasErrorLabel: 'Function<hasErrorLabel>', addErrorLabel: 'Function<addErrorLabel>', toString: 'Function<toString>' }, beforeHandshake: false, connectionGeneration: +0, writeErrors: [], result: { result: { ok: 1, writeErrors: [], writeConcernErrors: [], insertedIds: [ { index: +0, _id: '68ffcb7338c21d5e35a6ef6d' } ], nInserted: +0, nUpserted: +0, nMatched: +0, nModified: +0, nRemoved: +0, upserted: [] }, insertedCount: +0, matchedCount: +0, modifiedCount: +0, deletedCount: +0, upsertedCount: +0, upsertedIds: {}, insertedIds: { '0': '68ffcb7338c21d5e35a6ef6d' }, constructor: 'Function<BulkWriteResult>', ok: 1, getSuccessfullyInsertedIds: 'Function<getSuccessfullyInsertedIds>', getUpsertedIdAt: 'Function<getUpsertedIdAt>', getRawResponse: 'Function<getRawResponse>', hasWriteErrors: 'Function<hasWriteErrors>', getWriteErrorCount: 'Function<getWriteErrorCount>', getWriteErrorAt: 'Function<getWriteErrorAt>', getWriteErrors: 'Function<getWriteErrors>', getWriteConcernError: 'Function<getWriteConcernError>', toString: 'Function<toString>', isOk: 'Function<isOk>' }, insertedCount: +0, matchedCount: +0, modifiedCount: +0, deletedCount: +0, upsertedCount: +0, insertedIds: { '0': '68ffcb7338c21d5e35a6ef6d' }, upsertedIds: {}, errorLabels: [ 'HandshakeError', 'ResetPool' ], errmsg: 'read ECONNRESET', hasErrorLabel: 'Function<hasErrorLabel>', addErrorLabel: 'Function<addErrorLabel>' }
|
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=false > can list existing databases:
tests/integration/helpers.ts#L395
Error: Aborted: Error: Test timed out in 60000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ Timeout.<anonymous> tests/integration/helpers.ts:395:31
|
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=false > can list existing databases:
tests/integration/helpers.ts#L395
Error: Aborted: Error: Test timed out in 60000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ Timeout.<anonymous> tests/integration/helpers.ts:395:31
|
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=false > can list existing databases:
tests/integration/helpers.ts#L395
Error: Aborted: Error: Test timed out in 60000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ Timeout.<anonymous> tests/integration/helpers.ts:395:31
|
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=false > can list existing databases:
tests/integration/helpers.ts#L395
Error: Aborted: Error: Test timed out in 60000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ Timeout.<anonymous> tests/integration/helpers.ts:395:31
|
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=false > can list existing databases:
tests/integration/helpers.ts#L395
Error: Aborted: Error: Test timed out in 60000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ Timeout.<anonymous> tests/integration/helpers.ts:395:31
|
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=false > can list existing databases:
tests/integration/common/connectionManager.oidc.test.ts#L111
Error: Test timed out in 60000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ it tests/integration/common/connectionManager.oidc.test.ts:111:21
❯ tests/integration/common/connectionManager.oidc.test.ts:213:13
❯ getUserConfig tests/integration/common/connectionManager.oidc.test.ts:141:17
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:109:9
|
|
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 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 Local tests
1 added, 0 removed; done.
|
|
Run Atlas Local tests
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
|
|
Run Atlas Local tests
Updating certificates in /etc/ssl/certs...
|
|
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...
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
atlas-local-test-results
|
18.2 KB |
sha256:36541650e5416003ed2b5f36f08472fc6d1f5665a7dc7c1a062dbef259eeb084
|
|
|
atlas-test-results
|
20.1 KB |
sha256:db88db276f4494e9555beec05ece9562af128453dfb45e2efb34c55ee8ac1054
|
|
|
run-atlas-local-tests-permissions-ea78b54d54cc2f88008ded02407fc30a
|
140 Bytes |
sha256:9b21815c1e451b1d25e10b405aea2900de2dc2182a41f4019494222cab66ae8b
|
|
|
run-atlas-tests-permissions-0714bd41efbf10cd59fe8506af419439
|
140 Bytes |
sha256:f67904e4e06937b273d2d64adc18334ef5564243f4249150334cd4191a5f72b1
|
|
|
run-tests-permissions-e7ec4d0a29bd1da2c1eea3a5d1cfdb26
|
140 Bytes |
sha256:d276c03e2690bba9f6c00c816e6df73f02ea986de7d1af17c32dd3faaaa0e6c7
|
|