Model Registry: Bump patch by default instead of major
What does this MR do and why?
This MR changes the default bump mechanism to patch instead of major.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
How to set up and validate locally
- Open Rails console and create a model with a version
Ml::CreateModelService.new(Project.find_by_id(7), "model45").execute
20.times { Ml::CreateModelVersionService.new(::Ml::Model.find_by(name: "model45")).execute }
- Open GDK: http://127.0.0.1:3000/flightjs/Flight/-/ml/models/
- Open the model you've created and click on the versions tab
- Verify 20 versions and that they increment by patch number. E.g.
1.0.01.0.0,
Numbered steps to set up and validate the change are strongly suggested.
Related to #506761 (closed)
Edited by Fred de Gier