feat(integration): make Elixir a full example-based variant#268
Open
sarahxsanders wants to merge 2 commits into
Open
feat(integration): make Elixir a full example-based variant#268sarahxsanders wants to merge 2 commits into
sarahxsanders wants to merge 2 commits into
Conversation
🧙 Wizard CIRun the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands: Test all apps:
Test all apps in a directory:
Test an individual app:
Show more apps
Results will be posted here when complete. |
Replace the elixir docs-only variant with a full variant anchored on a real example app (example-apps/elixir): a minimal Phoenix app that reads PostHog config from the environment, installs the PostHog context Plug, identifies users, captures events, evaluates feature flags with the current evaluate_flags snapshot API, and relies on the SDK's Logger-based error tracking (documented honestly, since there is no manual capture_exception). Also skip Elixir build artifacts (_build/, deps/) when flattening the example so a local `mix compile` can't bloat the generated skill. Removes description-elixir-docs-only.md and points the variant at the example via example_paths + framework: elixir. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sarahxsanders
force-pushed
the
posthog-code/integration-elixir-framework
branch
from
July 23, 2026 19:22
4dd07b1 to
7a7ecf2
Compare
Every page 500'd with "no app html template defined": the router sets the :root layout but the controller also applies a :app layout, which Layouts never defined. Add a minimal app/1 pass-through so pages actually render. Verified: the app boots with no token (SDK goes no-op + warns) and GET /, /dashboard, /profile, /burrito all return 200, /login redirects. Also document that distinct_id must come from an authenticated principal, not an unverified request param. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sarahxsanders
marked this pull request as ready for review
July 24, 2026 15:16
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.
Promotes the Elixir integration from a docs-only variant to a full example-based variant, anchored on a real, compiling Phoenix app at
example-apps/elixir.What's here:
example-apps/elixir/— minimal Phoenix app: PostHog context Plug, env-var config, identify, event capture, feature flags viaevaluate_flags, and the SDK's Logger-based error tracking (documented honestly — there is no manualcapture_exception).mix compileclean.config.yaml: elixir switched toexample_paths+framework: elixir.skip-patterns.yaml: skip Elixir_build/anddeps/so a localmix compilecan't bloat the generated skill.description-elixir-docs-only.md.Ships as a pair with the wizard detection PR PostHog/wizard#946.