refactor: convert pg commands to esm part 8#3463
Merged
erika-wallace merged 5 commits intov11.0.0from Jan 15, 2026
Merged
Conversation
k80bowman
requested changes
Jan 13, 2026
Contributor
k80bowman
left a comment
There was a problem hiding this comment.
Just one question in a couple of places, but otherwise this looks good.
k80bowman
approved these changes
Jan 15, 2026
Contributor
k80bowman
left a comment
There was a problem hiding this comment.
Looks good, thank you for the changes!
7b9d0cf to
c089157
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
W-19701088
This PR converts the following
pgcommands and their associated tests to ESM.Converted commands:
connection-pooling/attach.tscredentials/create.tscredentials/destroy.tscredentials/repair-default.tscredentials/rotate.tscredentials/url.tsNotable Changes
essentialPlan()helper inlib/pg/util.tsto centralize essential tier checks (both legacy and numbered essential plans) and avoid repeatingisLegacyEssentialDatabase() || isEssentialDatabase()throughout the codebaseminiinstead of deprecatedhobby-devplanTesting
Manually test commands:
Pull down branch,
npm install && npm run build