Skip to content

feat: add new command 'data:pg:levels'#3578

Draft
sbosio wants to merge 2 commits intov11.0.0from
sbosio/data-pg-levels
Draft

feat: add new command 'data:pg:levels'#3578
sbosio wants to merge 2 commits intov11.0.0from
sbosio/data-pg-levels

Conversation

@sbosio
Copy link
Contributor

@sbosio sbosio commented Mar 10, 2026

Summary

Here we add a new data:pg:wait command, similar to addons:wait and pg:wait, specific for Advanced databases.

The implementation was mostly copied from https://github.com/heroku/heroku-cli-plugin-data-beta/pull/176, converted to @oclif/core v4 and ESM, with minor refactor and fixes.

This is targeted right now to be merged against v11.0.0 branch, but we really be merging this to main after v11.0.0 branch has been merged to main and the final Heroku CLI v11.0.0 released. We're targeting to merge and release this soon after that on v11.1.0. We're keeping this as a draft PR until that time to avoid merging accidentally on v11.0.0.

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

Steps

  1. Checkout this branch and run npm install && npm run build.
  2. Create a new advanced database on your test app using
    ./bin/run data:pg:create -a <test-app-name> --as ADVANCED_DB
  3. The following command should hang and wait until the database is available, polling every 15 seconds:
    ./bin/run data:pg:wait ADVANCED_DB -a <test-app-name> --wait-interval 15

Screenshots (if applicable)

Captura de pantalla 2026-03-10 a la(s) 18 02 40

Related Issues

GUS work item: W-21411625

@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 21:03 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 21:03 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 21:03 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 21:03 — with GitHub Actions Inactive
@sbosio sbosio changed the title Adds command 'data:pg:levels' feat: add new command 'data:pg:levels' Mar 10, 2026
@sbosio sbosio force-pushed the sbosio/data-pg-levels branch from 004bd7d to df09eaa Compare March 10, 2026 21:05
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 21:05 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 21:05 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 21:05 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 21:05 — with GitHub Actions Inactive
@sbosio sbosio force-pushed the sbosio/data-pg-levels branch from df09eaa to 73d6b4b Compare March 10, 2026 21:11
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 21:11 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 21:11 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 21:11 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 21:11 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 12, 2026 14:38 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 12, 2026 14:38 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 12, 2026 14:38 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 12, 2026 14:38 — with GitHub Actions Inactive
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