Skip to content

Add 'data:pg:upgrade:run' command (W-21304392)#3551

Draft
sbosio wants to merge 1 commit intov11.0.0from
sbosio/data-pg-upgrade-run
Draft

Add 'data:pg:upgrade:run' command (W-21304392)#3551
sbosio wants to merge 1 commit intov11.0.0from
sbosio/data-pg-upgrade-run

Conversation

@sbosio
Copy link
Contributor

@sbosio sbosio commented Mar 2, 2026

Summary

Type of Change

Breaking Changes (major semver update)

  • Add a ! after your change type to denote a change that breaks current behavior

Feature Additions (minor semver update)

  • feat: Introduces a new feature to the codebase

Patch Updates (patch semver update)

  • fix: Bug fix
  • deps: Dependency upgrade
  • revert: Revert a previous commit
  • chore: Change that does not affect production code
  • refactor: Refactoring existing code without changing behavior
  • test: Add/update/remove tests

Testing

For now, we only rely on unit tests, because the backend part of this work isn't yet merged and deployed to production.

For smoke testing this command, pull this branch, build and run through ./bin/run:

Steps:

  1. Pull this branch:
    git checkout sbosio/data-pg-upgrade-run
  2. Build the CLI:
    npm install && npm run build
  3. Command help should respect the UX design:
    ./bin/run data:pg:upgrade:run --help
  4. Command should work without errors (after backend supports it) against an Advanced DB on an upgradeable version:
    ./bin/run data:pg:upgrade:run DATABASE --app test-app-name

If you need to create an upgradeable database for testing, you can use:
./bin/run data:pg:create --level 4G-Performance --no-high-availability --app test-app --version=16 --as UPGRADEABLE_DB

Remember to destroy the database when you're finished with your tests:
./bin/run data:pg:destroy UPGRADEABLE_DB --app test-app-name --confirm test-app-name

Screenshots (if applicable)

Captura de pantalla 2026-03-02 a la(s) 11 55 12

Related Issues

GUS work item: W-21304392

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.

1 participant