Skip to content

Add grails.mongodb.buildIndexes and buildIndexesAsync for MongoDB index creation on startup - #16208

Open
codeconsole wants to merge 7 commits into
apache:8.0.xfrom
codeconsole:feature/mongodb-skip-index-build-8.0.x
Open

Add grails.mongodb.buildIndexes and buildIndexesAsync for MongoDB index creation on startup#16208
codeconsole wants to merge 7 commits into
apache:8.0.xfrom
codeconsole:feature/mongodb-skip-index-build-8.0.x

Merge branch '8.0.x' into feature/mongodb-skip-index-build-8.0.x

6fbb305
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 24, 2026 in 1s

54.1510% (+0.0272%) compared to e40cb27

View this Pull Request on Codecov

54.1510% (+0.0272%) compared to e40cb27

Details

Codecov Report

❌ Patch coverage is 75.24752% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.1510%. Comparing base (e40cb27) to head (6fbb305).

Files with missing lines Patch % Lines
...grails/datastore/mapping/mongo/MongoDatastore.java 75.2475% 19 Missing and 6 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##                8.0.x     #16208        +/-   ##
==================================================
+ Coverage     54.1238%   54.1510%   +0.0272%     
- Complexity      20307      20328        +21     
==================================================
  Files            2107       2107                
  Lines          101144     101228        +84     
  Branches        17921      17935        +14     
==================================================
+ Hits            54743      54816        +73     
- Misses          38595      38602         +7     
- Partials         7806       7810         +4     
Files with missing lines Coverage Δ
...tions/AbstractMongoConnectionSourceSettings.groovy 70.0000% <ø> (ø)
...grails/datastore/mapping/mongo/MongoDatastore.java 70.8333% <75.2475%> (+2.6709%) ⬆️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.