-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix(cdp): exclude internal_destinations from pipeline-add-on check #33584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(cdp): exclude internal_destinations from pipeline-add-on check #33584
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Modified data pipeline add-on check logic to exclude internal destinations from requiring premium Data Pipelines feature, ensuring core PostHog functionality remains accessible regardless of subscription status.
- Excluded
internal_destination
type from data-pipelines-addon-check inposthog/api/hog_function.py
- Added comprehensive lifecycle tests in
posthog/api/test/test_hog_function.py
to verify internal destinations work without Data Pipelines add-on - Improved template handling robustness by only applying template code/schema when template exists
- Fixed potential error where code attempted to access properties of non-existent template
2 files reviewed, no comments
Edit PR Review Bot Settings | Greptile
posthog/migrations/0766_fix_sub_template_ids_to_template_ids.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
meant to click request changes
…rt-of-data-pipelines-addon-check
…rt-of-data-pipelines-addon-check
…rt-of-data-pipelines-addon-check
Important
👉 Stay up-to-date with PostHog coding conventions for a smoother review.
Problem
internal_destinations
should not be part of the pipeline error check. this will also resolve this issue for now https://posthog.slack.com/archives/C06GG249PR6/p1749671833470969Changes
internal_destination
from data-pipelines-addon-checkHow did you test this code?