feat(integrations): add workos Stripe catalog provider#63
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit bc78b42. Configure here.
| let config = super::integration_config(ctx)?; | ||
| Ok(WorkOSAuthConfig { | ||
| environment: super::interp_optional(ctx, &config, "environment")?, | ||
| }) |
There was a problem hiding this comment.
Omitted environment breaks tier selection
Medium Severity
When integrations.*.environment is unset, build_config serializes an empty object, so catalog pricing never matches the sandbox tier keyed on environment. Tier resolution falls back to paid pricing and provisioning can treat WorkOS as needing paid confirmation even for the default sandbox path.
Reviewed by Cursor Bugbot for commit bc78b42. Configure here.
| count=1, | ||
| flags=re.S, | ||
| ) | ||
| reg_path.write_text(reg) |
There was a problem hiding this comment.
Generator drops implemented provider modules
High Severity
The catalog generator rebuilds providers/mod.rs and register_providers! only from newly generated families. Entries in IMPLEMENTED (including manually landed workos/auth) are skipped for generation but never merged back, so a run after adding workos/auth to IMPLEMENTED removes pub mod workos and the WorkOS registry row and breaks the build.
Reviewed by Cursor Bugbot for commit bc78b42. Configure here.


Summary
CatalogResourceadapter(s).OUTPUT_FIELDSprovisional untilmise run discover.Test plan
mise run discoverwhen provider is linkedregistry.rsconflict with other family PRsNote
Low Risk
Additive integration and docs; auth credential outputs are provisional until discover, with no changes to core provisioning or security paths.
Overview
Adds the WorkOS Phase 1 Stripe Projects catalog integration for
workos/auth, exposing${integrations.*.api_key}andclient_idvia a managedCatalogResource(WorkOSAuth, optionalenvironmentconfig).Registers
workos::authinregister_providers!, wirespub mod workos, and extends the catalog output drift test to include WorkOS.OUTPUT_FIELDSare provisional untilmise run discover workos/auth.Also extends
stackless-provider-sdkwith optional/required boolean and integer config helpers for upcoming generated adapters, documents catalog-first waves (PROVIDER-WAVES.md,DECISIONS.md, link fromADDING-A-PROVIDER.md), and addsscripts/generate_catalog_integrations.pyto scaffold remaining deployables.Reviewed by Cursor Bugbot for commit bc78b42. Bugbot is set up for automated code reviews on this repo. Configure here.