Feat: Create pg:upgrade:prepare command#3265
Feat: Create pg:upgrade:prepare command#3265nilamuthu merged 11 commits intopg-upgrade-enhancementsfrom
Conversation
36493db to
a169605
Compare
6048d4e to
be6025b
Compare
10bfe86 to
b9d2a8d
Compare
|
This is great work @nilamuthu! I have a few comments, but this is a strong first pass! I'll organize my feedback based on the numbering from your testing sections so it's easier to follow along. Test 1 - Command works with versions lower than latest. I received a I don't know if that's because the version provisioned is already on latest, but we should surface better error messaging here if it is in fact due to the version conflict.
Test 2 - Same comments as Test 1 Test 4 - Same comments as Test 3
Test 6 - ✅ |
|
We also want to make sure this branch is pointed to the |
|
Thanks @zwhitfield3 for the helpful feedback! For Test 1/2 we actually identified that issue on our end. We have a PR almost ready to merge that will fix this error! For test 5, this may because there is some time between the customer running this command and the upgrade being scheduled. Until the actual upgrade is scheduled the customer is actually allowed to re-run I'll make sure to address the rest of your comments in this PR and make this branch point to the feature branch! Thanks again! |
7f5aa8b to
5c53b84
Compare
9598eef to
e8f37d4
Compare
e8f37d4 to
b27aecd
Compare
b27aecd to
ba08d21
Compare
zwhitfield3
left a comment
There was a problem hiding this comment.
Fantastic work here @nilamuthu!
0dd53a7 to
805d69d
Compare
805d69d to
36ee49b
Compare

Work item
This PR creates the pg:upgrade:prepare command. It also moves the pg:upgrade command to be under the
upgradefolder inpackages/cli/test/unit/commands/pg/upgradeasindex.ts.Please refer to this doc for more information related to pg:upgrade:prepare.
Testing
Check out this branch and run
yarn && yarn build./bin/run pg:upgrade:prepareon a Standard-Tier leader DB./bin/run pg:upgrade:prepareon a Standard-Tier DB with version flag./bin/run pg:upgrade:prepareon a follower DB./bin/run pg:upgrade:prepareon an Essential tier DB./bin/run pg:upgrade:prepareon a Standard-Tier DB that has an upgrade already scheduledheroku help pg:upgrade:prepare