Open
Conversation
After wizard signup provisioning completes, request a one-time deep link from the provisioning API and auto-open it in the browser. The user lands on their project dashboard, already logged in. Falls back to the static /products URL if the deep link request fails. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
🧙 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. |
- Top-level import instead of dynamic import - Add NODE_ENV !== 'test' guard to prevent browser opens in tests - Use .catch() pattern matching oauth.ts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
gewenyu99
reviewed
Apr 20, 2026
Collaborator
gewenyu99
left a comment
There was a problem hiding this comment.
We did some refactoring, so 1 comment below you can throw to an agent :D
|
|
||
| getUI().outro(config.successMessage); | ||
|
|
||
| if ( |
Collaborator
There was a problem hiding this comment.
Thanks for this PR! we try to keep the agent runner generic to just running the agent.
I think we should add this to the last step of the workflow.
Your can point your agent to this skill to do the refactor :D
This way:
- The wizard runner stays clean of UI/UX behaviors
- We only add this to the workflow of the posthog integration (since the wizard is starting to do a bunch of other tasks!)
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.
Problem
After the wizard creates a new PostHog account via provisioning, the user has no way to get to their dashboard without manually navigating to posthog.com and resetting their password. The outro screen shows a static URL but doesn't open it.
Changes
requestDeepLink()toprovisioning.ts- callsPOST /api/agentic/provisioning/deep_linksto get a one-time login URL/products?source=wizardURL if the deep link request failsThe deep link infrastructure already exists on the PostHog server side (used by Stripe). The token is one-time use, expires in 10 minutes.
How did you test this code?
Publish to changelog?
No
🤖 LLM context
Co-authored with Claude Code.