Skip to content

Conversation

@sbosio
Copy link
Contributor

@sbosio sbosio commented Oct 2, 2025

Description

Here we refactor the usage of the pg functions included in Core CLI, replacing them with the refactored implementation of those libraries found in @heroku/heroku-cli-util. The reason to do all of this is to get rid of a dependency on an old version of ssh-tunnel that causes problems with Gyp builder when installing the CLI or plugins.

Testing

  • Checkout this branch and run
    yarn && yarn build
  • Exercise as much pg commands over test databases as possible.

SOC2 Compliance

GUS WI: W-19689929

@sbosio sbosio requested a review from a team as a code owner October 2, 2025 19:52
@sbosio sbosio changed the title chore: Refactor 'pg' commands to use '@heroku/heroku-cli-util' utilities chore: Refactor 'pg' commands (W-19689929) Oct 2, 2025
@sbosio sbosio temporarily deployed to AcceptanceTests October 2, 2025 20:33 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests October 2, 2025 20:33 — with GitHub Actions Inactive
@sbosio sbosio force-pushed the sbosio/update-cli-util branch from 74ef2a4 to 185fadc Compare October 2, 2025 20:49
@sbosio sbosio temporarily deployed to AcceptanceTests October 2, 2025 20:49 — with GitHub Actions Inactive
@sbosio sbosio temporarily deployed to AcceptanceTests October 2, 2025 20:49 — with GitHub Actions Inactive
Copy link
Contributor

@k80bowman k80bowman left a comment

Choose a reason for hiding this comment

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

The changes are pretty straightforward. Thank you for finding those places where the code doesn't match expectations and adding comments. We should definitely look into resolving those in the future. I had one small non-blocking comment, really just an observation more than anything else. I was able to test many of the commands and they all worked as expected. Thank you so much for taking this work on!

@sbosio sbosio merged commit 6cab075 into main Oct 6, 2025
8 checks passed
@sbosio sbosio deleted the sbosio/update-cli-util branch October 6, 2025 16:53
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