• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mongodb-js / devtools-shared / 15187902619
78%

Build:
DEFAULT BRANCH: main
Ran 22 May 2025 01:38PM UTC
Jobs 23
Files 131
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 May 2025 01:29PM UTC coverage: 72.366% (-0.08%) from 72.45%
15187902619

push

github

web-flow
feat: add mongodb-ts-autocomplete package MONGOSH-2034 (#520)

* add mongodb-ts-autocomplete

* comment

* unnecessary slashes

* undo the typescript bump, do it separately

* simplify partially

* smaller package-lock

* lint

* flatten some dirs for now

* I think the bson expressions would just be global and not namespaced

* add missing lodash dep

* comment

* at least structure the files as they will end up

* the simplest aggregation test

* formatting

* remove the aggregation support for now

* include the real bson types

* fixes to debugging

* don't use namespaces, remove hacks, just allow import

* wip

* combine the types into one module that just exports strings

* stale comment

* use the bson types in the generated typescript

* we'll also need a way to load the databases for the connection

* export types

* we'll always want the whole new line, not just the name that was autocompleted

* changes that become obvious once I tried to plug this in

* remove use

* remove the ability to autocomplete in the middle of text

* remove type from the result - we won't use it

* unused

* better types

* readonly

* object, not tuple

* formatting

* switch, remove pointless functions

* switch statement

* nit

* cleaner

* remove unnecessary databaseNames and collectionNames

* prettier

* use type-export from mongodb-schema

* have index.ts only re-export

* unused dep

* format schema and construct the db object to work the way the shell-api expects

* more tests

* bson expressions are part of shell-api.ts, not separate

* don't include DOM and other types

* remove unused stubs

* remove some TODOs

* move the autocompletion filtering to the mongodb-ts-autocomplete package

* add the other globals

* import a file with the giant string

* update package-lock.json

* fixes for changes in shell-api

* change import to api, not default

* use the real @mongosh/shell-api

* escape database and collection names, test it

* re-package

* don't ... (continued)

1478 of 2319 branches covered (63.73%)

Branch coverage included in aggregate %.

93 of 120 new or added lines in 6 files covered. (77.5%)

1 existing line in 1 file now uncovered.

3199 of 4144 relevant lines covered (77.2%)

592.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
48.15
packages/mongodb-ts-autocomplete/src/cdt-analyser.ts
8
61.29
packages/mongodb-ts-autocomplete/src/autocompletion-context.ts
12
80.56
-12.51% packages/ts-autocomplete/src/index.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
80.56
-12.51% packages/ts-autocomplete/src/index.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
1 oidc-http-server-pages 15187902619.1 22 May 2025 01:38PM UTC 7
94.92
GitHub Action Run
2 download-url 15187902619.2 22 May 2025 01:38PM UTC 3
81.49
GitHub Action Run
3 mongodb-cloud-info 15187902619.3 22 May 2025 01:38PM UTC 2
95.56
GitHub Action Run
4 native-machine-id 15187902619.4 22 May 2025 01:38PM UTC 2
92.86
GitHub Action Run
5 signing-utils 15187902619.5 22 May 2025 01:38PM UTC 5
87.05
GitHub Action Run
6 devtools-connect 15187902619.6 22 May 2025 01:38PM UTC 9
39.81
GitHub Action Run
7 mongodb-redact 15187902619.7 22 May 2025 01:38PM UTC 3
95.24
GitHub Action Run
8 sbom-tools 15187902619.8 22 May 2025 01:38PM UTC 14
80.31
GitHub Action Run
9 shell-bson-parser 15187902619.9 22 May 2025 01:38PM UTC 6
78.83
GitHub Action Run
10 get-os-info 15187902619.10 22 May 2025 01:38PM UTC 2
65.0
GitHub Action Run
11 dl-center 15187902619.11 22 May 2025 01:38PM UTC 2
89.87
GitHub Action Run
12 mongodb-ts-autocomplete 15187902619.12 22 May 2025 01:38PM UTC 6
77.44
GitHub Action Run
13 oidc-mock-provider 15187902619.13 22 May 2025 01:38PM UTC 2
5.19
GitHub Action Run
14 device-id 15187902619.14 22 May 2025 01:38PM UTC 2
100.0
GitHub Action Run
15 node-webpack-startup-snapshot-checker 15187902619.15 22 May 2025 01:38PM UTC 4
90.0
GitHub Action Run
16 mongodb-runner 15187902619.16 22 May 2025 01:38PM UTC 5
83.15
GitHub Action Run
17 mongodb-downloader 15187902619.17 22 May 2025 01:38PM UTC 1
100.0
GitHub Action Run
18 devtools-proxy-support 15187902619.18 22 May 2025 01:38PM UTC 12
84.77
GitHub Action Run
19 monorepo-tools 15187902619.19 22 May 2025 01:38PM UTC 14
61.39
GitHub Action Run
20 query-parser 15187902619.20 22 May 2025 01:38PM UTC 4
83.85
GitHub Action Run
21 mongodb-constants 15187902619.21 22 May 2025 01:38PM UTC 16
96.6
GitHub Action Run
22 saslprep 15187902619.22 22 May 2025 01:38PM UTC 8
95.04
GitHub Action Run
23 ts-autocomplete 15187902619.23 22 May 2025 01:38PM UTC 2
80.73
GitHub Action Run
Source Files on build 15187902619
  • Tree
  • List 131
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15187902619
  • a787304c on github
  • Prev Build on main (#14907063019)
  • Next Build on main (#15187949372)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc