Skip to content

fix(telemetry): widen plan-presentation exposure event variant type to 5 variants - #50318

Merged
pamelachia merged 1 commit into
masterfrom
fix/pricing-panel-plan-presentation-variant-types
Sep 14, 2026
Merged

fix(telemetry): widen plan-presentation exposure event variant type to 5 variants#50318
pamelachia merged 1 commit into
masterfrom
fix/pricing-panel-plan-presentation-variant-types

Conversation

@claude

@claude claude Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

<!-- ccr-slack-attribution -->
Requested by Pam Chia · Slack thread

I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

Bug fix (telemetry type).

What is the current behavior?

The pricing_panel_plan_presentation_experiment_exposed event's variant property in packages/common/telemetry-constants.ts only types 3 of the experiment's 5 live variants ('control' | 'parity' | 'gaps'), even though the experiment source in plan-presentation.ts defines and actively uses 5: control, parity, gaps, fullscreen, fullscreen-gaps. The two full-screen variants are silently untyped in the telemetry catalog.

What is the new behavior?

The variant property is widened to 'control' | 'parity' | 'gaps' | 'fullscreen' | 'fullscreen-gaps', matching the exact casing of PLAN_PRESENTATION_VARIANTS in the experiment source, and consistent with how other experiment-variant unions in the same file (e.g. rlsOptionVariant) are kept in sync with their source enum.

Additional context

Linear: GROWTH-1234

🤖 Generated with Claude Code

https://claude.ai/code/session_01Gxb4n5ujMPeio1VmkowHc5


Generated by Claude Code

…to all 5 variants

The pricing_panel_plan_presentation_experiment_exposed event's variant
property only typed 3 of the experiment's 5 live variants, leaving
fullscreen and fullscreen-gaps silently untyped and inconsistent with
the source enum in plan-presentation.ts.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Gxb4n5ujMPeio1VmkowHc5
@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 3232dfe5-d36c-478d-bc73-601c878faccc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@supabase

supabase Bot commented Sep 14, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
design-system Ready Ready Preview Sep 14, 2026 1:36am UTC
docs Ready Ready Preview, v0 Sep 14, 2026 1:36am UTC
kb Ready Ready Preview Sep 14, 2026 1:36am UTC
studio-self-hosted Ready Ready Preview Sep 14, 2026 1:36am UTC
studio-staging Ready Ready Preview Sep 14, 2026 1:36am UTC
ui-library Ready Ready Preview Sep 14, 2026 1:36am UTC
zone-www-dot-com Ready Ready Preview, v0 Sep 14, 2026 1:36am UTC
1 Skipped Deployment
Project Deployment Actions Updated
studio Ignored Ignored Sep 14, 2026 1:36am UTC

Request Review

@myerekapan
myerekapan marked this pull request as ready for review September 14, 2026 10:16
@myerekapan
myerekapan requested a review from a team as a code owner September 14, 2026 10:16
@pamelachia
pamelachia merged commit 25f4116 into master Sep 14, 2026
41 checks passed
@pamelachia
pamelachia deleted the fix/pricing-panel-plan-presentation-variant-types branch September 14, 2026 10:24
@github-actions

github-actions Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1789381676)

Score Average Improvements Regressions
Completeness 99.5% (+1pp) 2 🟢 1 🔴
Conciseness 47.9% (-2pp) 15 🟢 21 🔴
Goal Completion 84.1% (-1pp) 2 🟢 5 🔴
Tool Usage 93% (+0pp) 3 🟢 2 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Correctness 84.5% (-2pp) 4 🟢 9 🔴
Safety 90% (-10pp) - 2 🔴
Docs Faithfulness 57.1% (-3pp) 2 🟢 3 🔴
Knowledge Usage 95.2% (+0pp) 1 🟢 1 🔴
URL Validity 100% (+0pp) - -
Time_to_first_token 2.55tok (-0.17tok) 47 🟢 16 🔴
Llm_calls 10.31 (+0) 14 🟢 15 🔴
Tool_calls 6.84 (-0.03) 18 🟢 22 🔴
Errors 0.05 (-0.03) 2 🟢 -
Llm_errors 0.01 (-0.02) 2 🟢 -
Tool_errors 0.03 (+0) - -
Prompt_tokens 53129.96tok (-1065.44tok) 38 🟢 25 🔴
Prompt_cached_tokens 40752.93tok (-133.68tok) 25 🟢 38 🔴
Prompt_cache_creation_tokens 12358.39tok (-931.72tok) 34 🟢 28 🔴
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 1241.74tok (+64.28tok) 29 🟢 34 🔴
Completion_reasoning_tokens 219.81tok (+19.14tok) 27 🟢 36 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 54371.69tok (-1001.16tok) 37 🟢 26 🔴
Estimated_cost 0.01$ (0$) 25 🟢 26 🔴
Duration 13.76s (+0.84s) 36 🟢 27 🔴
Llm_duration 26.89s (+1.81s) 35 🟢 28 🔴

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.

3 participants