Skip to content

v0.11.0 - Faster CI & Code organization

Choose a tag to compare

@paulocoghi paulocoghi released this 30 Jul 13:41
· 38 commits to master since this release

This release improves the internal code structure and reduces the time continuous integration (CI) pipeline.

There are no breaking changes to the public API.

Code Organization

Divided several large files to keep the code clean and maintainable. We separated the data models from the business logic in the following modules:

  • Mongo::Bulk
  • Mongo::GridFS
  • Mongo::Unified::Dispatcher (Test Runner)

CI Performance

Decreased the total CI execution time from 19 minutes to 5.5 minutes. To do this, we created a new test sharding tool (Mongo::SpecSharding).

This tool reads the file size of each JSON test file. It then distributes the tests equally across 5 parallel CI runners. We also changed the test log level to :info to prevent slow text output operations during tests.

Full Changelog: v0.10.0...v0.11.0