feat(integrations): add planetscale Stripe catalog provider#48
Open
snowmead wants to merge 1 commit into
Open
Conversation
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.
Summary
CatalogResourceadapter(s).OUTPUT_FIELDSprovisional untilmise run discover.Test plan
mise run discoverwhen provider is linkedregistry.rsconflict with other family PRsNote
Medium Risk
Introduces paid database provisioning with credential
database_urloutputs that are provisional until discover; wrong output envelopes would break env interpolation at runtime, though the change follows the existing CatalogResource pattern with gap and hermetic tests.Overview
Adds PlanetScale as a Phase 1 Stripe Projects catalog family with managed integrations for
planetscale/mysqlandplanetscale/postgresql, wired throughregister_providers!and output-drift tests like other Cloudflare-style resources.Each adapter is a standard
CatalogResource: catalog-backed config (cluster,name,region; optionalreplicason PostgreSQL), provisionaldatabase_urloutput mapping untilmise run discover, plus offline gap tests and hermetic provision tests.stackless-provider-sdkgains sharedint_optional,bool_required, andbool_optionalconfig helpers for generated and hand-written catalog modules. Documentation addsPROVIDER-WAVES.md, a catalog-first decision inDECISIONS.md, and a link fromADDING-A-PROVIDER.md;scripts/generate_catalog_integrations.pyscaffolds future catalog families from the committed catalog fixture.Reviewed by Cursor Bugbot for commit d872520. Bugbot is set up for automated code reviews on this repo. Configure here.