Skip to content

feat: adds new command 'data:pg:wait' (W-21411758)#3577

Merged
sbosio merged 3 commits intomainfrom
sbosio/data-pg-wait
Mar 16, 2026
Merged

feat: adds new command 'data:pg:wait' (W-21411758)#3577
sbosio merged 3 commits intomainfrom
sbosio/data-pg-wait

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/192, 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) 14 56 34

Related Issues

GUS work item: W-21411758

@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 17:57 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 17:57 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 17:57 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 17:57 — with GitHub Actions Inactive
@sbosio sbosio changed the title feat: Adds new command 'data:pg:wait' (W-21411758) feat: adds new command 'data:pg:wait' (W-21411758) Mar 10, 2026
@sbosio sbosio force-pushed the sbosio/data-pg-wait branch from d9afcb7 to 0be183a Compare March 10, 2026 17:59
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 18:00 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 18:00 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 18:00 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 10, 2026 18:00 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 12, 2026 14:39 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 12, 2026 14:39 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 12, 2026 14:39 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests March 12, 2026 14:39 — with GitHub Actions Inactive
@sbosio sbosio marked this pull request as ready for review March 16, 2026 19:37
@sbosio sbosio requested a review from a team as a code owner March 16, 2026 19:37
@sbosio sbosio changed the base branch from v11.0.0 to main March 16, 2026 19:43
@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 merged commit d38a8a5 into main Mar 16, 2026
18 checks passed
@sbosio sbosio deleted the sbosio/data-pg-wait branch March 16, 2026 20:47
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