Skip to content

fix(schema): Use sample instead of find for schema sampling #2087

fix(schema): Use sample instead of find for schema sampling

fix(schema): Use sample instead of find for schema sampling #2087

Triggered via pull request September 22, 2025 11:25
Status Failure
Total duration 4m 40s
Artifacts 2

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
1m 17s
Run Atlas tests
Report Coverage
1m 31s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 10 warnings, and 1 notice
Run MongoDB tests (macos-latest)
Process completed with exit code 2.
Run MongoDB tests (macos-latest): src/tools/mongodb/metadata/collectionSchema.ts#L26
Argument of type 'undefined' is not assignable to parameter of type 'number'.
Run Atlas tests
Process completed with exit code 2.
Run Atlas tests: src/tools/mongodb/metadata/collectionSchema.ts#L26
Argument of type 'undefined' is not assignable to parameter of type 'number'.
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 2.
Run MongoDB tests (ubuntu-latest): src/tools/mongodb/metadata/collectionSchema.ts#L26
Argument of type 'undefined' is not assignable to parameter of type 'number'.
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
Run MongoDB tests (windows-latest): src/tools/mongodb/metadata/collectionSchema.ts#L26
Argument of type 'undefined' is not assignable to parameter of type 'number'.
Report Coverage
Process completed with exit code 2.
Report Coverage: src/tools/mongodb/metadata/collectionSchema.ts#L26
Argument of type 'undefined' is not assignable to parameter of type 'number'.
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 (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 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-83ff6e252f65595528c62ee7de3568b5
140 Bytes
sha256:d43b561de344fb0a5ebfb46d04fb64407ab7b1bfeab146800dd333a0672538f4
run-tests-permissions-dc36fd96365f27d41fef875c27143f81
140 Bytes
sha256:bd5ac4151ed18b5d1b05ac26512b827035099b4966ab9743f5892b6c2ab5dd88