Skip to content

feat: add new command 'data:pg:levels' (W-21411625)#3578

Merged
sbosio merged 5 commits intomainfrom
sbosio/data-pg-levels
Mar 16, 2026
Merged

feat: add new command 'data:pg:levels' (W-21411625)#3578
sbosio merged 5 commits intomainfrom
sbosio/data-pg-levels

Conversation

@sbosio
Copy link
Contributor

@sbosio sbosio commented Mar 10, 2026

Summary

Here we add a new data:pg:levels command, which shows available levels to be used with Heroku Postgres 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.

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
@sbosio sbosio marked this pull request as ready for review March 16, 2026 19:36
@sbosio sbosio requested a review from a team as a code owner March 16, 2026 19:36
@sbosio sbosio changed the base branch from v11.0.0 to main March 16, 2026 19:42
@sbosio sbosio temporarily deployed to AcceptanceTests March 16, 2026 19:43 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 16, 2026 19:43 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 16, 2026 19:43 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 16, 2026 19:43 — with GitHub Actions Inactive
@sbosio sbosio changed the title feat: add new command 'data:pg:levels' feat: add new command 'data:pg:levels' (W-21411625) Mar 16, 2026
@sbosio sbosio temporarily deployed to AcceptanceTests March 16, 2026 20:50 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 16, 2026 20:50 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 16, 2026 20:50 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 16, 2026 20:50 — with GitHub Actions Inactive
@sbosio sbosio merged commit 87bfe82 into main Mar 16, 2026
17 checks passed
@sbosio sbosio deleted the sbosio/data-pg-levels branch March 16, 2026 20:58
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