Skip to content

[eas-cli] Open the PostHog dashboard via a signed-in deep link#3975

Merged
gwdp merged 1 commit into
mainfrom
gwdp/eng-21550-posthog-dashboard-deep-link
Jul 7, 2026
Merged

[eas-cli] Open the PostHog dashboard via a signed-in deep link#3975
gwdp merged 1 commit into
mainfrom
gwdp/eng-21550-posthog-dashboard-deep-link

Conversation

@gwdp

@gwdp gwdp commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Why

eas integrations:posthog:dashboard should open the linked PostHog project already signed in, instead of a static URL that hits a login wall.

How

Mints a one-time, signed-in link via the new createPostHogDeepLink mutation and opens it. The link carries a single-use token, so it isn't printed by default; pass --show-link to print it. --json / --non-interactive return the stable static URL, which minting failures also fall back to.

Test Plan

Unit tests + verified end-to-end with easd

carbon (5)

@linear-code

linear-code Bot commented Jul 7, 2026

Copy link
Copy Markdown

ENG-21550

@gwdp gwdp force-pushed the gwdp/eng-21550-posthog-dashboard-deep-link branch 2 times, most recently from b9b0619 to aa66f44 Compare July 7, 2026 18:50
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.95652% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.44%. Comparing base (f89e9dd) to head (a7a371f).

Files with missing lines Patch % Lines
...s/eas-cli/src/graphql/mutations/PostHogMutation.ts 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3975      +/-   ##
==========================================
+ Coverage   59.43%   59.44%   +0.01%     
==========================================
  Files         937      937              
  Lines       41286    41303      +17     
  Branches     8698     8701       +3     
==========================================
+ Hits        24536    24550      +14     
- Misses      16656    16659       +3     
  Partials       94       94              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gwdp gwdp requested a review from mackenco July 7, 2026 19:26
@gwdp gwdp force-pushed the gwdp/eng-21550-posthog-dashboard-deep-link branch from aa66f44 to a7a371f Compare July 7, 2026 19:30
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

✅ Thank you for adding the changelog entry!

@gwdp gwdp marked this pull request as ready for review July 7, 2026 19:37
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Subscribed to pull request

File Patterns Mentions
**/* @douglowder

Generated by CodeMention

Warning: The preamble and epilogue options in commentConfiguration are deprecated. Use template instead.

@gwdp gwdp merged commit fc0ebff into main Jul 7, 2026
11 checks passed
@gwdp gwdp deleted the gwdp/eng-21550-posthog-dashboard-deep-link branch July 7, 2026 22:39
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.

2 participants