Skip to content

feat: create pg:upgrade:run command#3276

Merged
kpremkumar merged 3 commits intopg-upgrade-enhancementsfrom
pg-upgrade-run
Apr 9, 2025
Merged

feat: create pg:upgrade:run command#3276
kpremkumar merged 3 commits intopg-upgrade-enhancementsfrom
pg-upgrade-run

Conversation

@kpremkumar
Copy link
Copy Markdown
Contributor

@kpremkumar kpremkumar commented Apr 8, 2025

This PR creates the pg:upgrade:run command. This PR also includes some tiny cx changes to the pg/upgrade/index.ts file.

Work item: https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07EE00002BNfSLYA1/view

Please refer to this doc for more information related to the new pg:upgrade:* commands

Testing

pg:upgrade:run on essential tier with version flag
Screenshot 2025-04-08 at 1 25 17 PM

pg:upgrade:run on essential tier without version flag
Screenshot 2025-04-08 at 1 25 39 PM

pg:upgrade:run on follower db with version flag
Screenshot 2025-04-08 at 1 25 57 PM

pg:upgrade:run on follower db without version flag
Screenshot 2025-04-08 at 1 26 27 PM

pg:upgrade:run on leader db with no upgrade scheduled
Screenshot 2025-04-08 at 1 25 02 PM

pg:upgrade:run on leader db with upgrade not yet ready
Screenshot 2025-04-08 at 1 26 36 PM

pg:upgrade:run on leader db with upgrade scheduled and ready to be run
Screenshot 2025-04-08 at 1 27 15 PM

pg:upgrade:run help
Screenshot 2025-04-08 at 1 29 23 PM

@kpremkumar kpremkumar temporarily deployed to AcceptanceTests April 8, 2025 20:18 — with GitHub Actions Inactive
@kpremkumar kpremkumar temporarily deployed to AcceptanceTests April 8, 2025 20:18 — with GitHub Actions Inactive
@kpremkumar kpremkumar marked this pull request as ready for review April 8, 2025 20:31
@kpremkumar kpremkumar requested a review from a team as a code owner April 8, 2025 20:31
@kpremkumar kpremkumar requested a review from justinwilaby April 8, 2025 20:31
Copy link
Copy Markdown
Contributor

@justinwilaby justinwilaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few very small changes to consider. Overall this looks good! Thank you!

Copy link
Copy Markdown
Contributor

@justinwilaby justinwilaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! LGTM

@kpremkumar kpremkumar merged commit a839126 into pg-upgrade-enhancements Apr 9, 2025
8 checks passed
@kpremkumar kpremkumar deleted the pg-upgrade-run branch April 9, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants