Skip to content

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

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

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

Triggered via pull request September 22, 2025 11:44
Status Failure
Total duration 5m 18s
Artifacts 2

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 49s
Run Atlas tests
Report Coverage
41s
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 Atlas tests
Process completed with exit code 2.
Run Atlas tests: src/tools/mongodb/metadata/collectionSchema.ts#L47
Cannot find name 'fieldsCount'.
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 2.
Report Coverage
Process completed with exit code 2.
Report Coverage: src/tools/mongodb/metadata/collectionSchema.ts#L47
Cannot find name 'fieldsCount'.
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-b2367229a576cc2661a02345d26d4c0b
140 Bytes
sha256:df0e880d3fb380702df5cd8efcae4475a17f2841cdddcb0fc15bdb541dde3f7f
run-tests-permissions-e16d185898c3b59ef1f24b7a683d71ed
140 Bytes
sha256:cfbd30b28eff52278a306c4145ef46bf468950addad553d3db2030321b2a7d4a