Skip to content

feat(integrations): add posthog Stripe catalog provider#50

Open
snowmead wants to merge 1 commit into
mainfrom
feat/integration-posthog
Open

feat(integrations): add posthog Stripe catalog provider#50
snowmead wants to merge 1 commit into
mainfrom
feat/integration-posthog

Conversation

@snowmead

@snowmead snowmead commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds the posthog Stripe Projects catalog integration family as CatalogResource adapter(s).
  • Follows docs/ADDING-A-PROVIDER.md and docs/PROVIDER-WAVES.md.
  • Includes gap test + hermetic provision test. OUTPUT_FIELDS provisional until mise run discover.

Test plan

  • Gap + hermetic tests in module
  • Live mise run discover when provider is linked
  • Merge after resolving additive registry.rs conflict with other family PRs

Note

Low Risk
Follows the established CatalogResource pattern with offline tests only; SDK helpers are additive and PostHog output names remain provisional until discover.

Overview
Introduces PostHog as a managed Phase 1 catalog integration: PostHogAnalytics for posthog/analytics exposes ${integrations.*.api_key} from provisional POSTHOG_API_KEY output mapping, with catalog gap and hermetic provision tests, registry registration, and an outputs drift test alongside existing Cloudflare providers.

Provider SDK gains int_optional, bool_required, and bool_optional on shared provision config parsing so generated catalog adapters can read non-string schema fields.

Docs/process: new PROVIDER-WAVES.md and a catalog-first decision in DECISIONS; ADDING-A-PROVIDER links to waves. scripts/generate_catalog_integrations.py scaffolds remaining deployables from catalog.json (registry/mod updates, output hints including PostHog).

Reviewed by Cursor Bugbot for commit 9dcf55f. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9dcf55f. Configure here.

"vercel/project",
"flyio/app",
"netlify/project",
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Generator skips posthog in IMPLEMENTED

Medium Severity

This commit adds a hand-written posthog/analytics adapter but leaves posthog/analytics out of the generator’s IMPLEMENTED set. Running generate_catalog_integrations.py still treats that service as unimplemented, so it can overwrite providers/posthog/analytics.rs and rebuild providers/mod.rs and register_providers! without the manual registration.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9dcf55f. Configure here.

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.

1 participant