-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alter entity spec version and add branchId, trunkVersion in form schema #1210
Conversation
a4c6e99
to
3aad326
Compare
221371f
to
0378d39
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just small comments, this is looking good to me. 👍 I haven't taken a look at tests yet, but maybe we could do that interactively.
lib/model/migrations/20241010-01-schedule-entity-form-upgrade.js
Outdated
Show resolved
Hide resolved
@@ -27,6 +27,8 @@ const jobs = { | |||
'upgrade.process.form.draft': [ require('./form').updateDraftSet ], | |||
'upgrade.process.form': [ require('./form').updatePublish ], | |||
|
|||
'upgrade.process.form.entities_version': [ require('./form').updateEntitiesVersion ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need to account for this new action on Frontend. I'd be happy to do so if that'd be helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interactive review with @matthew-white
I think I'm realizing that there's a subtle thing happening here with I actually don't think that Backend will have any issue with I also don't think that Frontend will have an issue with I don't think anything needs to change here except for maybe adding a test. But I wanted to note this as a slight change in thinking about |
1d9aa33
to
c5590af
Compare
Closes getodk/central#692
What has been done to verify that this works as intended?
Why is this the best possible solution? Were any other approaches considered?
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
Does this change require updates to the API documentation? If so, please update docs/api.yaml as part of this PR.
Before submitting this PR, please make sure you have:
make test
and confirmed all checks still pass OR confirm CircleCI build passes