You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2025. It is now read-only.
In addition to checking that the same record version does not exist (#225), we should also check that the new record version is only the next available version bump, if it is bumped.
Expectations
When uploading a new major-version bump, we must validate that the minor version is 0.
We must also validate that the previous major version, if it exists, is exactly one less than the new major version.
Examples
Existing Models
New Model
Outcome
Reason
None
2.1
failure
The new major version does not have a minor version of zero.
[1.0, 1.1]
2.1
failure
The new major version does not have a minor version of zero.
[1.0, 1.1]
3.0
failure
The new major version is not exactly one more than the previous major version.
None
2.0
success
The new major version has a minor version of zero.
[1.0, 1.1]
2.0
success
The new major version has a minor version of zero and is exactly one more than the previous major version.
Description
In addition to checking that the same record version does not exist (#225), we should also check that the new record version is only the next available version bump, if it is bumped.
Expectations
When uploading a new major-version bump, we must validate that the minor version is
0.We must also validate that the previous major version, if it exists, is exactly one less than the new major version.
Examples
None2.1failure[1.0, 1.1]2.1failure[1.0, 1.1]3.0failureNone2.0success[1.0, 1.1]2.0success