Repository navigation
[CI] (9da603e) rails/fizzy - #4403
Closed
wizard-ci-bot[bot] wants to merge 2 commits into
Closed
wizard-ci-bot[bot] wants to merge 2 commits into
wizard-ci-bot[bot] wants to merge 2 commits into
Conversation
Author
PR Evaluation ReportSummaryThis PR integrates PostHog into a Ruby on Rails app ("fizzy") using the
Confidence score: 5/5 🧙
File changes
App sanity check ✅
IssuesNo critical or medium issues.
|
| Criteria | Result | Description |
|---|---|---|
| PostHog SDKs installed | Yes | posthog-ruby (~> 3.0) and posthog-rails added to Gemfile |
| PostHog client initialized | Yes | Uses PostHog.init block with api_key and host, plus PostHog::Rails.configure for auto exception capture — matches documented Rails pattern exactly |
| capture() | Yes | PostHog.capture() called via helper across 13 controllers with distinct_id from user.posthog_distinct_id |
| identify() | N/A | Server-only app |
| Error tracking | Yes | auto_capture_exceptions: true, report_rescued_exceptions: true, auto_instrument_active_job: true — comprehensive error tracking |
| Reverse proxy | N/A | Server-only app |
Issues
No critical or medium issues.
Other completed criteria
- API key loaded from
ENV["POSTHOG_PROJECT_TOKEN"]— never hardcoded - Host loaded from
ENV["POSTHOG_HOST"]— correctly configured capture_user_context: truewithcurrent_user_method: :current_useranduser_id_method: :posthog_distinct_idproperly wires user context- User model defines
posthog_distinct_idreturningid.to_s— correct distinct ID pattern per docs - OpenTelemetry log forwarding configured for PostHog Logs
PostHog insights and events ✅
| Filename | PostHog events | Description |
|---|---|---|
signups/completions_controller.rb |
account_created |
Tracks new account signups — funnel entry point |
account/cancellations_controller.rb |
account_cancelled |
Tracks account deletion — churn signal |
account/exports_controller.rb |
data_export_requested |
Tracks data export requests |
boards_controller.rb |
board_created |
Tracks board creation with all_access property |
boards/publications_controller.rb |
board_published, board_unpublished |
Tracks board publish/unpublish lifecycle |
cards/closures_controller.rb |
card_closed, card_reopened |
Tracks card state transitions |
cards/comments_controller.rb |
comment_created |
Tracks comment engagement |
cards/publishes_controller.rb |
card_published |
Tracks card publishing with creation_type property |
cards/steps_controller.rb |
step_created |
Tracks step creation within cards |
join_codes_controller.rb |
member_joined |
Tracks team joins — conditional on successful join |
webhooks_controller.rb |
webhook_created |
Tracks webhook creation with subscribed_action_count |
webhooks/activations_controller.rb |
webhook_activated |
Tracks webhook activation |
| Auto exception capture | capturedException |
Automatic via posthog-rails middleware for unhandled + rescued exceptions and ActiveJob failures |
Issues
No critical or medium issues.
Other completed criteria
- Events represent real user actions mapping to actual product flows (signup → board creation → card management → publishing)
- Events enable product insights: can build signup-to-publish funnel, retention on board/card creation, churn analysis via account_cancelled
- Key events include enriched properties (
all_access,creation_type,subscribed_action_count) - No PII in event properties — distinct_id uses numeric user ID
- Event names follow consistent
snake_case[object]_[verb]convention
Reviewed by wizard workbench PR evaluator
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.
Automated wizard CI run
Source: wizard-pr
Trigger ID:
9da603eApp:
rails/fizzyApp directory:
apps/rails/fizzyWorkbench branch:
wizard-ci-9da603e-rails-fizzyWizard branch:
release-please--branches--main--components--wizardContext Mill branch:
mainPostHog (MCP) branch:
masterTimestamp: 2026-10-06T15:58:47.600Z
Duration: 564.5s
YARA Scanner