Skip to content

feat: make subscription success backend-driven#11285

Draft
benceruleanlu wants to merge 1 commit intomainfrom
bl/subscription-backend-gtm
Draft

feat: make subscription success backend-driven#11285
benceruleanlu wants to merge 1 commit intomainfrom
bl/subscription-backend-gtm

Conversation

@benceruleanlu
Copy link
Copy Markdown
Member

@benceruleanlu benceruleanlu commented Apr 15, 2026

Summary

  • replace the modal-local subscription success polling flow with backend-authored pending event delivery
  • push subscription_success through GTM dataLayer with server-sourced ecommerce metadata
  • add local delivery dedupe plus subscription success coverage in telemetry and composable tests

Why

The previous flow relied on a short focus-triggered polling loop in the billing dialog, which was brittle for Stripe's multi-tab return path. This change moves event authorship to the backend while keeping GTM delivery in the browser where dataLayer.push(...) must happen.

Validation

  • pnpm exec vitest run src/platform/cloud/subscription/composables/useSubscription.test.ts src/platform/telemetry/providers/cloud/GtmTelemetryProvider.test.ts src/platform/telemetry/providers/cloud/PostHogTelemetryProvider.test.ts
  • pnpm typecheck

┆Issue is synchronized with this Notion page by Unito

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 15, 2026

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

Project Deployment Actions Updated (UTC)
website-frontend Ready Ready Preview, Comment Apr 15, 2026 10:37pm

Request Review

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 15, 2026

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 04/15/2026, 10:38:39 PM UTC

Links

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 15, 2026

📝 Walkthrough

Walkthrough

The changes refactor subscription success tracking from manual polling to event-driven synchronization on window focus. New endpoints and storage-backed mechanisms track "pending subscription success" transactions, preventing duplicate telemetry events via cross-tab awareness. Telemetry APIs now accept optional metadata containing transaction, tier, and ecommerce details.

Changes

Cohort / File(s) Summary
Dialog Component
src/platform/cloud/subscription/components/SubscriptionRequiredDialogContent.vue
Removed interval-based subscription status polling (3s, up to 3 attempts) and lifecycle management. Replaced with single async syncStatusAfterCheckout() call on window focus. Removed trackMonthlySubscriptionSucceeded() telemetry side effect from watcher.
Composable Core
src/platform/cloud/subscription/composables/useSubscription.ts, src/platform/cloud/subscription/composables/useSubscription.test.ts
Added storage-backed tracking of delivered subscription success transactions. Implemented syncPendingSubscriptionSuccess() to fetch from /customers/pending-subscription-success, consume via POST, and conditionally emit telemetry. Extended fetchSubscriptionStatus() with optional syncPendingSuccess flag. Added cross-tab listener on window.storage events. Introduced syncStatusAfterCheckout() for post-checkout sync. Tests cover both first-time and previously-delivered transaction scenarios.
Telemetry Core
src/platform/telemetry/TelemetryRegistry.ts, src/platform/telemetry/types.ts
Added SubscriptionSuccessMetadata interface with fields: transaction_id, value, currency, tier, cycle, checkout_type, optional previous_tier/user_id, and nested ecommerce details. Updated TelemetryRegistry.trackMonthlySubscriptionSucceeded() and TelemetryProvider type signature to accept optional metadata. Extended TelemetryEventProperties union.
Telemetry Providers
src/platform/telemetry/providers/cloud/GtmTelemetryProvider.ts, src/platform/telemetry/providers/cloud/MixpanelTelemetryProvider.ts, src/platform/telemetry/providers/cloud/PostHogTelemetryProvider.ts
Updated all three providers' trackMonthlySubscriptionSucceeded() methods to accept and forward optional SubscriptionSuccessMetadata. GTM provider additionally clears ecommerce object when metadata present.
Telemetry Provider Tests
src/platform/telemetry/providers/cloud/GtmTelemetryProvider.test.ts
Updated subscription success test to invoke trackMonthlySubscriptionSucceeded() with detailed metadata payload including transaction_id, tier, checkout_type, and nested ecommerce properties.

Sequence Diagram

sequenceDiagram
    participant Dialog as SubscriptionDialog
    participant Composer as useSubscription
    participant API as Cloud API
    participant Storage as localStorage
    participant Telemetry as TelemetryRegistry
    
    Dialog->>Composer: syncStatusAfterCheckout()
    Composer->>API: GET /customers/pending-subscription-success
    alt 204 No Content
        API-->>Composer: (no pending)
    else 200 OK + event data
        API-->>Composer: { transaction_id, tier, ... }
        Composer->>Storage: Check if delivered?
        alt Already Delivered
            Storage-->>Composer: true
            Composer->>API: POST /customers/.../consume
        else First Time
            Storage-->>Composer: false
            Composer->>Telemetry: trackMonthlySubscriptionSucceeded(metadata)
            Telemetry-->>Composer: ✓
            Composer->>Storage: Mark as delivered
            Composer->>API: POST /customers/.../consume
        end
        API-->>Composer: 200 OK / 404 ignored
    end
    Composer-->>Dialog: Complete
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Poem

🐰 A pending success emerges bright,
No polling loops that steal the night,
One window focus, clean and lean,
Deliveries tracked—idempotent, serene!
Cross-tabs remember, telemetry knows,
Subscriptions bloom where focus goes ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 20.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: making subscription success backend-driven instead of client-side polling.
Description check ✅ Passed The description covers the core changes, rationale, and validation steps, though it deviates from the template format with custom headers instead of the specified template structure.
End-To-End Regression Coverage For Fixes ✅ Passed PR title uses 'feat:' prefix without bug-fix language (fix, fixed, fixes, fixing, bugfix, hotfix), satisfying pass condition.
Adr Compliance For Entity/Litegraph Changes ✅ Passed PR modifies only subscription and telemetry files under src/platform/, not litegraph or ECS paths.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bl/subscription-backend-gtm

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 and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 15, 2026

🎭 Playwright: ✅ 1135 passed, 0 failed · 2 flaky

📊 Browser Reports
  • chromium: View Report (✅ 1121 / ❌ 0 / ⚠️ 2 / ⏭️ 1)
  • chromium-2x: View Report (✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • chromium-0.5x: View Report (✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • mobile-chrome: View Report (✅ 11 / ❌ 0 / ⚠️ 0 / ⏭️ 0)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 15, 2026

📦 Bundle: 5.16 MB gzip 🔴 +657 B

Details

Summary

  • Raw size: 23.8 MB baseline 23.8 MB — 🔴 +3.46 kB
  • Gzip: 5.16 MB baseline 5.16 MB — 🔴 +657 B
  • Brotli: 3.99 MB baseline 3.99 MB — 🔴 +576 B
  • Bundles: 251 current • 251 baseline • 115 added / 115 removed

Category Glance
Data & Services 🔴 +4.02 kB (3.01 MB) · Other 🟢 -556 B (8.57 MB) · Vendor & Third-Party ⚪ 0 B (9.86 MB) · Graph Workspace ⚪ 0 B (1.22 MB) · Panels & Settings ⚪ 0 B (482 kB) · Utilities & Hooks ⚪ 0 B (344 kB) · + 5 more

App Entry Points — 22.3 kB (baseline 22.3 kB) • ⚪ 0 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-C3LsDRLK.js (new) 22.3 kB 🔴 +22.3 kB 🔴 +7.93 kB 🔴 +6.83 kB
assets/index-D2sRg70P.js (removed) 22.3 kB 🟢 -22.3 kB 🟢 -7.92 kB 🟢 -6.82 kB

Status: 1 added / 1 removed

Graph Workspace — 1.22 MB (baseline 1.22 MB) • ⚪ 0 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-CEkCft1X.js (new) 1.22 MB 🔴 +1.22 MB 🔴 +260 kB 🔴 +196 kB
assets/GraphView-YeoX2Fzr.js (removed) 1.22 MB 🟢 -1.22 MB 🟢 -260 kB 🟢 -196 kB

Status: 1 added / 1 removed

Views & Navigation — 76.6 kB (baseline 76.6 kB) • ⚪ 0 B

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-B6vNTkzb.js (new) 15.7 kB 🔴 +15.7 kB 🔴 +3.4 kB 🔴 +2.89 kB
assets/CloudSurveyView-CXgI30oU.js (removed) 15.7 kB 🟢 -15.7 kB 🟢 -3.4 kB 🟢 -2.9 kB
assets/CloudLoginView-DnJzZrCe.js (new) 12 kB 🔴 +12 kB 🔴 +3.35 kB 🔴 +2.97 kB
assets/CloudLoginView-rrGHY95j.js (removed) 12 kB 🟢 -12 kB 🟢 -3.35 kB 🟢 -2.97 kB
assets/CloudSignupView-CGUyNhE3.js (removed) 9.78 kB 🟢 -9.78 kB 🟢 -2.86 kB 🟢 -2.51 kB
assets/CloudSignupView-j1_oQ9Sp.js (new) 9.78 kB 🔴 +9.78 kB 🔴 +2.85 kB 🔴 +2.5 kB
assets/UserCheckView-D8q8x4wo.js (removed) 9.04 kB 🟢 -9.04 kB 🟢 -2.32 kB 🟢 -2.04 kB
assets/UserCheckView-DAAZRtjR.js (new) 9.04 kB 🔴 +9.04 kB 🔴 +2.32 kB 🔴 +2.03 kB
assets/CloudLayoutView-BGkkn-yU.js (removed) 7.54 kB 🟢 -7.54 kB 🟢 -2.36 kB 🟢 -2.04 kB
assets/CloudLayoutView-F0MrJx2b.js (new) 7.54 kB 🔴 +7.54 kB 🔴 +2.36 kB 🔴 +2.04 kB
assets/CloudForgotPasswordView-B0zkVCeR.js (removed) 5.94 kB 🟢 -5.94 kB 🟢 -2.09 kB 🟢 -1.84 kB
assets/CloudForgotPasswordView-DIKpo5v1.js (new) 5.94 kB 🔴 +5.94 kB 🔴 +2.09 kB 🔴 +1.85 kB
assets/CloudAuthTimeoutView-CA-kbiR2.js (new) 5.31 kB 🔴 +5.31 kB 🔴 +1.93 kB 🔴 +1.7 kB
assets/CloudAuthTimeoutView-D4gxM_CM.js (removed) 5.31 kB 🟢 -5.31 kB 🟢 -1.93 kB 🟢 -1.68 kB
assets/CloudSubscriptionRedirectView-B59A3EFD.js (removed) 5.08 kB 🟢 -5.08 kB 🟢 -1.91 kB 🟢 -1.69 kB
assets/CloudSubscriptionRedirectView-SkosykbS.js (new) 5.08 kB 🔴 +5.08 kB 🔴 +1.91 kB 🔴 +1.7 kB
assets/UserSelectView-CJjhzPtq.js (new) 4.71 kB 🔴 +4.71 kB 🔴 +1.75 kB 🔴 +1.54 kB
assets/UserSelectView-CXiLRo18.js (removed) 4.71 kB 🟢 -4.71 kB 🟢 -1.75 kB 🟢 -1.54 kB

Status: 9 added / 9 removed / 2 unchanged

Panels & Settings — 482 kB (baseline 482 kB) • ⚪ 0 B

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/KeybindingPanel-CFj3zstT.js (removed) 46.6 kB 🟢 -46.6 kB 🟢 -9.52 kB 🟢 -8.47 kB
assets/KeybindingPanel-Dn8-F9Fo.js (new) 46.6 kB 🔴 +46.6 kB 🔴 +9.52 kB 🔴 +8.46 kB
assets/SecretsPanel-BJZlB7Xb.js (new) 22.4 kB 🔴 +22.4 kB 🔴 +5.42 kB 🔴 +4.77 kB
assets/SecretsPanel-WI8MvKy4.js (removed) 22.4 kB 🟢 -22.4 kB 🟢 -5.42 kB 🟢 -4.77 kB
assets/LegacyCreditsPanel-CPBHsAK_.js (new) 21.5 kB 🔴 +21.5 kB 🔴 +5.81 kB 🔴 +5.13 kB
assets/LegacyCreditsPanel-DxI-HRQ_.js (removed) 21.5 kB 🟢 -21.5 kB 🟢 -5.81 kB 🟢 -5.12 kB
assets/SubscriptionPanel-3IVv4ICn.js (removed) 19.7 kB 🟢 -19.7 kB 🟢 -5 kB 🟢 -4.39 kB
assets/SubscriptionPanel-Do4U-1kL.js (new) 19.7 kB 🔴 +19.7 kB 🔴 +5 kB 🔴 +4.41 kB
assets/AboutPanel-DYfgpcpz.js (new) 12 kB 🔴 +12 kB 🔴 +3.32 kB 🔴 +2.98 kB
assets/AboutPanel-Ub6_J8vA.js (removed) 12 kB 🟢 -12 kB 🟢 -3.33 kB 🟢 -2.98 kB
assets/ExtensionPanel-C6miuzUQ.js (new) 9.78 kB 🔴 +9.78 kB 🔴 +2.82 kB 🔴 +2.5 kB
assets/ExtensionPanel-Ct1p-E2H.js (removed) 9.78 kB 🟢 -9.78 kB 🟢 -2.82 kB 🟢 -2.52 kB
assets/ServerConfigPanel-90Lk_jWY.js (new) 6.85 kB 🔴 +6.85 kB 🔴 +2.27 kB 🔴 +2.05 kB
assets/ServerConfigPanel-BgqCM73y.js (removed) 6.85 kB 🟢 -6.85 kB 🟢 -2.27 kB 🟢 -2.03 kB
assets/UserPanel-BeqLbOLb.js (removed) 6.56 kB 🟢 -6.56 kB 🟢 -2.15 kB 🟢 -1.88 kB
assets/UserPanel-CTgWA445.js (new) 6.56 kB 🔴 +6.56 kB 🔴 +2.15 kB 🔴 +1.89 kB
assets/cloudRemoteConfig-BvleMAs4.js (new) 1.85 kB 🔴 +1.85 kB 🔴 +902 B 🔴 +780 B
assets/cloudRemoteConfig-C6c8Hc_A.js (removed) 1.85 kB 🟢 -1.85 kB 🟢 -904 B 🟢 -796 B
assets/refreshRemoteConfig-BOQUf_AM.js (new) 1.45 kB 🔴 +1.45 kB 🔴 +650 B 🔴 +550 B
assets/refreshRemoteConfig-COghqxvA.js (removed) 1.45 kB 🟢 -1.45 kB 🟢 -649 B 🟢 -557 B

Status: 10 added / 10 removed / 11 unchanged

User & Accounts — 17.1 kB (baseline 17.1 kB) • ⚪ 0 B

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/auth-BxV1ZYEa.js (removed) 3.57 kB 🟢 -3.57 kB 🟢 -1.26 kB 🟢 -1.07 kB
assets/auth-NQ3RnkJ7.js (new) 3.57 kB 🔴 +3.57 kB 🔴 +1.26 kB 🔴 +1.07 kB
assets/SignUpForm-Cv5swyVd.js (new) 3.16 kB 🔴 +3.16 kB 🔴 +1.29 kB 🔴 +1.14 kB
assets/SignUpForm-sShIVkoB.js (removed) 3.16 kB 🟢 -3.16 kB 🟢 -1.28 kB 🟢 -1.14 kB
assets/UpdatePasswordContent-Bg3KptnZ.js (removed) 2.7 kB 🟢 -2.7 kB 🟢 -1.21 kB 🟢 -1.07 kB
assets/UpdatePasswordContent-BITuNfZl.js (new) 2.7 kB 🔴 +2.7 kB 🔴 +1.21 kB 🔴 +1.07 kB
assets/authStore-bSamzE6Y.js (new) 989 B 🔴 +989 B 🔴 +481 B 🔴 +427 B
assets/authStore-C6yPe9sF.js (removed) 989 B 🟢 -989 B 🟢 -483 B 🟢 -427 B
assets/auth-CQbPl7EM.js (removed) 348 B 🟢 -348 B 🟢 -219 B 🟢 -189 B
assets/auth-Dv6-XB-S.js (new) 348 B 🔴 +348 B 🔴 +219 B 🔴 +188 B

Status: 5 added / 5 removed / 2 unchanged

Editors & Dialogs — 109 kB (baseline 109 kB) • ⚪ 0 B

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useShareDialog-CXrfyMim.js (removed) 108 kB 🟢 -108 kB 🟢 -22.4 kB 🟢 -18.9 kB
assets/useShareDialog-DNoBm38c.js (new) 108 kB 🔴 +108 kB 🔴 +22.4 kB 🔴 +18.9 kB
assets/useSubscriptionDialog-CQyYmAMv.js (removed) 969 B 🟢 -969 B 🟢 -476 B 🟢 -416 B
assets/useSubscriptionDialog-DmsO8rXE.js (new) 969 B 🔴 +969 B 🔴 +474 B 🔴 +415 B

Status: 2 added / 2 removed

UI Components — 60.3 kB (baseline 60.3 kB) • ⚪ 0 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyQueueButton-BbmvvHlj.js (new) 13.5 kB 🔴 +13.5 kB 🔴 +3.79 kB 🔴 +3.38 kB
assets/ComfyQueueButton-CrgJHgBY.js (removed) 13.5 kB 🟢 -13.5 kB 🟢 -3.79 kB 🟢 -3.38 kB
assets/useTerminalTabs-Daq4J18J.js (removed) 10.7 kB 🟢 -10.7 kB 🟢 -3.6 kB 🟢 -3.16 kB
assets/useTerminalTabs-lJRMbCpR.js (new) 10.7 kB 🔴 +10.7 kB 🔴 +3.6 kB 🔴 +3.16 kB
assets/SubscribeButton-D8TOZVIK.js (new) 2.42 kB 🔴 +2.42 kB 🔴 +1.05 kB 🔴 +921 B
assets/SubscribeButton-DQovqO2M.js (removed) 2.42 kB 🟢 -2.42 kB 🟢 -1.05 kB 🟢 -920 B
assets/cloudFeedbackTopbarButton-CxzKsmId.js (new) 1.64 kB 🔴 +1.64 kB 🔴 +859 B 🔴 +750 B
assets/cloudFeedbackTopbarButton-DaSZ-YbT.js (removed) 1.64 kB 🟢 -1.64 kB 🟢 -858 B 🟢 -749 B
assets/ComfyQueueButton-BCUWu9R9.js (removed) 1.03 kB 🟢 -1.03 kB 🟢 -489 B 🟢 -437 B
assets/ComfyQueueButton-BeaMT6Oe.js (new) 1.03 kB 🔴 +1.03 kB 🔴 +488 B 🔴 +438 B

Status: 5 added / 5 removed / 8 unchanged

Data & Services — 3.01 MB (baseline 3 MB) • 🔴 +4.02 kB

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/dialogService-BKs5PgBR.js (new) 1.96 MB 🔴 +1.96 MB 🔴 +451 kB 🔴 +341 kB
assets/dialogService-VKpSE_Bl.js (removed) 1.96 MB 🟢 -1.96 MB 🟢 -450 kB 🟢 -341 kB
assets/api-DYS4jAv6.js (new) 893 kB 🔴 +893 kB 🔴 +213 kB 🔴 +168 kB
assets/api-EmALCTFV.js (removed) 893 kB 🟢 -893 kB 🟢 -213 kB 🟢 -168 kB
assets/load3dService-BOKFBruV.js (removed) 96.5 kB 🟢 -96.5 kB 🟢 -20.5 kB 🟢 -17.7 kB
assets/load3dService-Exseib2V.js (new) 96.5 kB 🔴 +96.5 kB 🔴 +20.5 kB 🔴 +17.7 kB
assets/workflowShareService-C8tclIgg.js (removed) 16.6 kB 🟢 -16.6 kB 🟢 -4.88 kB 🟢 -4.33 kB
assets/workflowShareService-DRjhtM35.js (new) 16.6 kB 🔴 +16.6 kB 🔴 +4.89 kB 🔴 +4.33 kB
assets/keybindingService-CZ-tp7y2.js (new) 13.8 kB 🔴 +13.8 kB 🔴 +3.67 kB 🔴 +3.22 kB
assets/keybindingService-DraiJ4ts.js (removed) 13.8 kB 🟢 -13.8 kB 🟢 -3.66 kB 🟢 -3.22 kB
assets/releaseStore-B_kjfcD8.js (new) 8.12 kB 🔴 +8.12 kB 🔴 +2.28 kB 🔴 +2 kB
assets/releaseStore-CsIGtpFI.js (removed) 8.12 kB 🟢 -8.12 kB 🟢 -2.28 kB 🟢 -2 kB
assets/userStore-D2Ovtzr9.js (new) 2.24 kB 🔴 +2.24 kB 🔴 +871 B 🔴 +759 B
assets/userStore-DfAZJ6Wp.js (removed) 2.24 kB 🟢 -2.24 kB 🟢 -870 B 🟢 -762 B
assets/audioService-CkS0eKn3.js (new) 1.8 kB 🔴 +1.8 kB 🔴 +876 B 🔴 +760 B
assets/audioService-CyePW7AS.js (removed) 1.8 kB 🟢 -1.8 kB 🟢 -877 B 🟢 -759 B
assets/releaseStore-BENqBiKD.js (new) 993 B 🔴 +993 B 🔴 +481 B 🔴 +426 B
assets/releaseStore-CZUbXcpe.js (removed) 993 B 🟢 -993 B 🟢 -481 B 🟢 -425 B
assets/workflowDraftStore-CVNluJts.js (removed) 969 B 🟢 -969 B 🟢 -475 B 🟢 -421 B
assets/workflowDraftStore-D9j7raTo.js (new) 969 B 🔴 +969 B 🔴 +473 B 🔴 +419 B
assets/dialogService-CzrfIJhU.js (removed) 958 B 🟢 -958 B 🟢 -469 B 🟢 -413 B
assets/dialogService-DT9Lkko3.js (new) 958 B 🔴 +958 B 🔴 +467 B 🔴 +416 B
assets/settingStore-BNGuq137.js (removed) 956 B 🟢 -956 B 🟢 -471 B 🟢 -414 B
assets/settingStore-nPM3jNrx.js (new) 956 B 🔴 +956 B 🔴 +469 B 🔴 +415 B
assets/assetsStore-BUFRy0ma.js (removed) 955 B 🟢 -955 B 🟢 -471 B 🟢 -415 B
assets/assetsStore-BvfrQ9yA.js (new) 955 B 🔴 +955 B 🔴 +469 B 🔴 +418 B

Status: 13 added / 13 removed / 4 unchanged

Utilities & Hooks — 344 kB (baseline 344 kB) • ⚪ 0 B

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useConflictDetection-B-Jl8efK.js (new) 232 kB 🔴 +232 kB 🔴 +51.3 kB 🔴 +41.8 kB
assets/useConflictDetection-CNrT0J_K.js (removed) 232 kB 🟢 -232 kB 🟢 -51.3 kB 🟢 -41.8 kB
assets/useLoad3d-D5szH-h5.js (removed) 20.2 kB 🟢 -20.2 kB 🟢 -4.7 kB 🟢 -4.16 kB
assets/useLoad3d-D7aMm3BW.js (new) 20.2 kB 🔴 +20.2 kB 🔴 +4.7 kB 🔴 +4.17 kB
assets/useLoad3dViewer-BS2rcvMe.js (new) 18.7 kB 🔴 +18.7 kB 🔴 +4.43 kB 🔴 +3.88 kB
assets/useLoad3dViewer-SQsntYuq.js (removed) 18.7 kB 🟢 -18.7 kB 🟢 -4.43 kB 🟢 -3.87 kB
assets/useFeatureFlags-COAZu6gz.js (removed) 5.78 kB 🟢 -5.78 kB 🟢 -1.75 kB 🟢 -1.49 kB
assets/useFeatureFlags-oX9JnGMa.js (new) 5.78 kB 🔴 +5.78 kB 🔴 +1.75 kB 🔴 +1.49 kB
assets/useCopyToClipboard-Bcf4BuKZ.js (removed) 5.29 kB 🟢 -5.29 kB 🟢 -1.86 kB 🟢 -1.57 kB
assets/useCopyToClipboard-Ndg4jS6C.js (new) 5.29 kB 🔴 +5.29 kB 🔴 +1.86 kB 🔴 +1.57 kB
assets/useWorkspaceUI-Bd2MgCDa.js (removed) 3.34 kB 🟢 -3.34 kB 🟢 -981 B 🟢 -813 B
assets/useWorkspaceUI-JNxNHjUT.js (new) 3.34 kB 🔴 +3.34 kB 🔴 +983 B 🔴 +811 B
assets/subscriptionCheckoutUtil-C31R9ZzS.js (new) 2.97 kB 🔴 +2.97 kB 🔴 +1.31 kB 🔴 +1.14 kB
assets/subscriptionCheckoutUtil-CQTYvChe.js (removed) 2.97 kB 🟢 -2.97 kB 🟢 -1.31 kB 🟢 -1.14 kB
assets/assetPreviewUtil-BjzHhMLw.js (removed) 2.27 kB 🟢 -2.27 kB 🟢 -958 B 🟢 -834 B
assets/assetPreviewUtil-DLva94L3.js (new) 2.27 kB 🔴 +2.27 kB 🔴 +959 B 🔴 +835 B
assets/useUpstreamValue-CEXXMOaw.js (new) 2.08 kB 🔴 +2.08 kB 🔴 +805 B 🔴 +716 B
assets/useUpstreamValue-OsNX_AiA.js (removed) 2.08 kB 🟢 -2.08 kB 🟢 -805 B 🟢 -713 B
assets/useLoad3d-BSNUKX9C.js (new) 1.13 kB 🔴 +1.13 kB 🔴 +539 B 🔴 +481 B
assets/useLoad3d-GAb92pfg.js (removed) 1.13 kB 🟢 -1.13 kB 🟢 -538 B 🟢 -481 B
assets/useLoad3dViewer-BSNsZFap.js (new) 1.07 kB 🔴 +1.07 kB 🔴 +506 B 🔴 +451 B
assets/useLoad3dViewer-cKgGFPWn.js (removed) 1.07 kB 🟢 -1.07 kB 🟢 -504 B 🟢 -454 B
assets/useCurrentUser-BMasitcx.js (new) 955 B 🔴 +955 B 🔴 +470 B 🔴 +414 B
assets/useCurrentUser-DFsDLBll.js (removed) 955 B 🟢 -955 B 🟢 -471 B 🟢 -414 B
assets/useWorkspaceSwitch-CldP3aY7.js (new) 747 B 🔴 +747 B 🔴 +383 B 🔴 +331 B
assets/useWorkspaceSwitch-DrpmUHns.js (removed) 747 B 🟢 -747 B 🟢 -382 B 🟢 -334 B

Status: 13 added / 13 removed / 14 unchanged

Vendor & Third-Party — 9.86 MB (baseline 9.86 MB) • ⚪ 0 B

External libraries and shared vendor chunks

Status: 16 unchanged

Other — 8.57 MB (baseline 8.57 MB) • 🟢 -556 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/core-B9n-Nu2G.js (new) 77 kB 🔴 +77 kB 🔴 +19.9 kB 🔴 +17 kB
assets/core-Czp4UYU4.js (removed) 77 kB 🟢 -77 kB 🟢 -19.9 kB 🟢 -17 kB
assets/groupNode-CBYWk_Fv.js (removed) 74 kB 🟢 -74 kB 🟢 -18.5 kB 🟢 -16.3 kB
assets/groupNode-ISe_pRZZ.js (new) 74 kB 🔴 +74 kB 🔴 +18.5 kB 🔴 +16.3 kB
assets/WidgetSelect-1qBDYjfV.js (removed) 64.4 kB 🟢 -64.4 kB 🟢 -13.9 kB 🟢 -12.1 kB
assets/WidgetSelect-D0e71J-P.js (new) 64.4 kB 🔴 +64.4 kB 🔴 +13.9 kB 🔴 +12.1 kB
assets/SubscriptionRequiredDialogContentWorkspace-BopSYdbk.js (removed) 49.1 kB 🟢 -49.1 kB 🟢 -9.35 kB 🟢 -7.99 kB
assets/SubscriptionRequiredDialogContentWorkspace-Dg1ra9Ri.js (new) 49.1 kB 🔴 +49.1 kB 🔴 +9.35 kB 🔴 +8 kB
assets/Load3DControls-Ckwtqcz1.js (removed) 40.2 kB 🟢 -40.2 kB 🟢 -6.88 kB 🟢 -6.01 kB
assets/Load3DControls-uHE8VPpy.js (new) 40.2 kB 🔴 +40.2 kB 🔴 +6.88 kB 🔴 +6.02 kB
assets/WidgetPainter--hkD9GGs.js (removed) 33.6 kB 🟢 -33.6 kB 🟢 -8.19 kB 🟢 -7.29 kB
assets/WidgetPainter-JQH9jYjn.js (new) 33.6 kB 🔴 +33.6 kB 🔴 +8.19 kB 🔴 +7.27 kB
assets/WorkspacePanelContent-BgSSqUdq.js (new) 32.6 kB 🔴 +32.6 kB 🔴 +6.93 kB 🔴 +6.14 kB
assets/WorkspacePanelContent-BRcCIB1M.js (removed) 32.6 kB 🟢 -32.6 kB 🟢 -6.93 kB 🟢 -6.13 kB
assets/SubscriptionRequiredDialogContent-bLu3yOYZ.js (removed) 28.2 kB 🟢 -28.2 kB 🟢 -7.17 kB 🟢 -6.3 kB
assets/SubscriptionRequiredDialogContent-DXr7KOlV.js (new) 27.6 kB 🔴 +27.6 kB 🔴 +7 kB 🔴 +6.17 kB
assets/Load3dViewerContent-BzHBCoxc.js (removed) 24.5 kB 🟢 -24.5 kB 🟢 -5.36 kB 🟢 -4.66 kB
assets/Load3dViewerContent-C5h5P-ky.js (new) 24.5 kB 🔴 +24.5 kB 🔴 +5.35 kB 🔴 +4.66 kB
assets/WidgetImageCrop--q343hWb.js (new) 23.4 kB 🔴 +23.4 kB 🔴 +5.87 kB 🔴 +5.19 kB
assets/WidgetImageCrop-Cs_uRgHW.js (removed) 23.4 kB 🟢 -23.4 kB 🟢 -5.87 kB 🟢 -5.19 kB
assets/SubscriptionPanelContentWorkspace-C_RFoJcP.js (new) 22.2 kB 🔴 +22.2 kB 🔴 +5.18 kB 🔴 +4.56 kB
assets/SubscriptionPanelContentWorkspace-CHjyra-3.js (removed) 22.2 kB 🟢 -22.2 kB 🟢 -5.18 kB 🟢 -4.56 kB
assets/SignInContent-Bz-DT7zj.js (new) 20.4 kB 🔴 +20.4 kB 🔴 +5.29 kB 🔴 +4.62 kB
assets/SignInContent-DWOuhaFA.js (removed) 20.4 kB 🟢 -20.4 kB 🟢 -5.29 kB 🟢 -4.63 kB
assets/CurrentUserPopoverWorkspace-CaFSZFxm.js (new) 20.4 kB 🔴 +20.4 kB 🔴 +4.84 kB 🔴 +4.33 kB
assets/CurrentUserPopoverWorkspace-R-8UZH5d.js (removed) 20.4 kB 🟢 -20.4 kB 🟢 -4.84 kB 🟢 -4.33 kB
assets/WidgetInputNumber-BRsxiQc0.js (removed) 19.1 kB 🟢 -19.1 kB 🟢 -4.84 kB 🟢 -4.3 kB
assets/WidgetInputNumber-CjG_MYyG.js (new) 19.1 kB 🔴 +19.1 kB 🔴 +4.84 kB 🔴 +4.31 kB
assets/WidgetRecordAudio-C8MCLe09.js (removed) 17.2 kB 🟢 -17.2 kB 🟢 -4.92 kB 🟢 -4.42 kB
assets/WidgetRecordAudio-DQ4Na82I.js (new) 17.2 kB 🔴 +17.2 kB 🔴 +4.92 kB 🔴 +4.41 kB
assets/Load3D-CwJOojdZ.js (new) 17 kB 🔴 +17 kB 🔴 +4.14 kB 🔴 +3.62 kB
assets/Load3D-DvU0tFwd.js (removed) 17 kB 🟢 -17 kB 🟢 -4.14 kB 🟢 -3.62 kB
assets/WidgetRange-BG_dBfLE.js (new) 16.9 kB 🔴 +16.9 kB 🔴 +4.53 kB 🔴 +4.07 kB
assets/WidgetRange-D4ohIiZl.js (removed) 16.9 kB 🟢 -16.9 kB 🟢 -4.53 kB 🟢 -4.07 kB
assets/load3d-D3OBwGBF.js (removed) 15 kB 🟢 -15 kB 🟢 -4.32 kB 🟢 -3.73 kB
assets/load3d-W0FupQ8M.js (new) 15 kB 🔴 +15 kB 🔴 +4.32 kB 🔴 +3.74 kB
assets/WaveAudioPlayer-BPdcLz1H.js (removed) 13.4 kB 🟢 -13.4 kB 🟢 -3.69 kB 🟢 -3.23 kB
assets/WaveAudioPlayer-DnX8myxw.js (new) 13.4 kB 🔴 +13.4 kB 🔴 +3.69 kB 🔴 +3.23 kB
assets/WidgetCurve-Ci8Z_TWi.js (new) 12 kB 🔴 +12 kB 🔴 +3.87 kB 🔴 +3.5 kB
assets/WidgetCurve-DN4-f4Kx.js (removed) 12 kB 🟢 -12 kB 🟢 -3.87 kB 🟢 -3.51 kB
assets/TeamWorkspacesDialogContent-BbTgts5_.js (removed) 11.1 kB 🟢 -11.1 kB 🟢 -3.34 kB 🟢 -2.97 kB
assets/TeamWorkspacesDialogContent-CWMVI060.js (new) 11.1 kB 🔴 +11.1 kB 🔴 +3.33 kB 🔴 +2.96 kB
assets/nodeTemplates-BekN9xTX.js (removed) 9.58 kB 🟢 -9.58 kB 🟢 -3.38 kB 🟢 -2.97 kB
assets/nodeTemplates-BIVgJhhD.js (new) 9.58 kB 🔴 +9.58 kB 🔴 +3.37 kB 🔴 +2.97 kB
assets/InviteMemberDialogContent-BtG4k8Bx.js (removed) 7.77 kB 🟢 -7.77 kB 🟢 -2.45 kB 🟢 -2.15 kB
assets/InviteMemberDialogContent-D3ly3uJ5.js (new) 7.77 kB 🔴 +7.77 kB 🔴 +2.45 kB 🔴 +2.14 kB
assets/Load3DConfiguration-7fgVToOo.js (new) 7.22 kB 🔴 +7.22 kB 🔴 +2.2 kB 🔴 +1.92 kB
assets/Load3DConfiguration-BKZ3cqiA.js (removed) 7.22 kB 🟢 -7.22 kB 🟢 -2.2 kB 🟢 -1.92 kB
assets/onboardingCloudRoutes-CmRs51uD.js (new) 6.53 kB 🔴 +6.53 kB 🔴 +2.03 kB 🔴 +1.76 kB
assets/onboardingCloudRoutes-IAOWtuyS.js (removed) 6.53 kB 🟢 -6.53 kB 🟢 -2.03 kB 🟢 -1.75 kB
assets/WidgetWithControl-7Kqv3StE.js (new) 5.99 kB 🔴 +5.99 kB 🔴 +2.38 kB 🔴 +2.14 kB
assets/WidgetWithControl-xQqWpsud.js (removed) 5.99 kB 🟢 -5.99 kB 🟢 -2.38 kB 🟢 -2.13 kB
assets/CreateWorkspaceDialogContent-D8HdfCzg.js (new) 5.95 kB 🔴 +5.95 kB 🔴 +2.15 kB 🔴 +1.88 kB
assets/CreateWorkspaceDialogContent-DGmxnt33.js (removed) 5.95 kB 🟢 -5.95 kB 🟢 -2.15 kB 🟢 -1.87 kB
assets/FreeTierDialogContent-CbrnbGMP.js (new) 5.82 kB 🔴 +5.82 kB 🔴 +2.04 kB 🔴 +1.82 kB
assets/FreeTierDialogContent-DNFQd-qP.js (removed) 5.82 kB 🟢 -5.82 kB 🟢 -2.04 kB 🟢 -1.81 kB
assets/EditWorkspaceDialogContent-BF1um5Hl.js (removed) 5.75 kB 🟢 -5.75 kB 🟢 -2.11 kB 🟢 -1.84 kB
assets/EditWorkspaceDialogContent-DEVRzx9J.js (new) 5.75 kB 🔴 +5.75 kB 🔴 +2.11 kB 🔴 +1.85 kB
assets/WidgetTextarea-F_6EMtB4.js (new) 5.53 kB 🔴 +5.53 kB 🔴 +2.17 kB 🔴 +1.93 kB
assets/WidgetTextarea-tnOc_tnT.js (removed) 5.53 kB 🟢 -5.53 kB 🟢 -2.17 kB 🟢 -1.92 kB
assets/Preview3d-A6VZNkGR.js (new) 5.39 kB 🔴 +5.39 kB 🔴 +1.8 kB 🔴 +1.57 kB
assets/Preview3d-BCZAJ6Bc.js (removed) 5.39 kB 🟢 -5.39 kB 🟢 -1.8 kB 🟢 -1.56 kB
assets/ValueControlPopover-DshB5mta.js (new) 5.33 kB 🔴 +5.33 kB 🔴 +1.93 kB 🔴 +1.73 kB
assets/ValueControlPopover-UAlDAn9a.js (removed) 5.33 kB 🟢 -5.33 kB 🟢 -1.93 kB 🟢 -1.73 kB
assets/CancelSubscriptionDialogContent-DjPoMKKA.js (removed) 5.22 kB 🟢 -5.22 kB 🟢 -1.95 kB 🟢 -1.71 kB
assets/CancelSubscriptionDialogContent-DNumDB5X.js (new) 5.22 kB 🔴 +5.22 kB 🔴 +1.95 kB 🔴 +1.71 kB
assets/DeleteWorkspaceDialogContent-C9YMt4uB.js (new) 4.65 kB 🔴 +4.65 kB 🔴 +1.79 kB 🔴 +1.55 kB
assets/DeleteWorkspaceDialogContent-DlOTJD53.js (removed) 4.65 kB 🟢 -4.65 kB 🟢 -1.79 kB 🟢 -1.55 kB
assets/LeaveWorkspaceDialogContent-CHILbHhL.js (removed) 4.48 kB 🟢 -4.48 kB 🟢 -1.73 kB 🟢 -1.5 kB
assets/LeaveWorkspaceDialogContent-D_KhbcPB.js (new) 4.48 kB 🔴 +4.48 kB 🔴 +1.73 kB 🔴 +1.5 kB
assets/RemoveMemberDialogContent-DboE2JV7.js (removed) 4.46 kB 🟢 -4.46 kB 🟢 -1.69 kB 🟢 -1.47 kB
assets/RemoveMemberDialogContent-kmBQX_RS.js (new) 4.46 kB 🔴 +4.46 kB 🔴 +1.69 kB 🔴 +1.47 kB
assets/tierBenefits-CHXjSCbB.js (removed) 4.45 kB 🟢 -4.45 kB 🟢 -1.57 kB 🟢 -1.36 kB
assets/tierBenefits-CTwRx_O-.js (new) 4.45 kB 🔴 +4.45 kB 🔴 +1.58 kB 🔴 +1.36 kB
assets/RevokeInviteDialogContent-CEfMSfx9.js (removed) 4.37 kB 🟢 -4.37 kB 🟢 -1.7 kB 🟢 -1.48 kB
assets/RevokeInviteDialogContent-CVl9DNZK.js (new) 4.37 kB 🔴 +4.37 kB 🔴 +1.7 kB 🔴 +1.49 kB
assets/InviteMemberUpsellDialogContent-8tKdm2eI.js (new) 4.27 kB 🔴 +4.27 kB 🔴 +1.56 kB 🔴 +1.37 kB
assets/InviteMemberUpsellDialogContent-YVwY2dqs.js (removed) 4.27 kB 🟢 -4.27 kB 🟢 -1.56 kB 🟢 -1.37 kB
assets/cloudSessionCookie-DDXhwlVJ.js (removed) 4.12 kB 🟢 -4.12 kB 🟢 -1.49 kB 🟢 -1.29 kB
assets/cloudSessionCookie-DKpIDVQu.js (new) 4.12 kB 🔴 +4.12 kB 🔴 +1.49 kB 🔴 +1.29 kB
assets/saveMesh-BoX4za8K.js (removed) 3.92 kB 🟢 -3.92 kB 🟢 -1.68 kB 🟢 -1.47 kB
assets/saveMesh-BqLVD3q-.js (new) 3.92 kB 🔴 +3.92 kB 🔴 +1.68 kB 🔴 +1.48 kB
assets/Media3DTop-BdpXy4Aa.js (removed) 3.85 kB 🟢 -3.85 kB 🟢 -1.62 kB 🟢 -1.42 kB
assets/Media3DTop-DzzlMNce.js (new) 3.85 kB 🔴 +3.85 kB 🔴 +1.62 kB 🔴 +1.42 kB
assets/GlobalToast-CJcOl4vJ.js (removed) 3.05 kB 🟢 -3.05 kB 🟢 -1.26 kB 🟢 -1.07 kB
assets/GlobalToast-CTSEFdr1.js (new) 3.05 kB 🔴 +3.05 kB 🔴 +1.26 kB 🔴 +1.11 kB
assets/SubscribeToRun-D8f4cBEN.js (removed) 2.13 kB 🟢 -2.13 kB 🟢 -980 B 🟢 -887 B
assets/SubscribeToRun-m9IhZMfH.js (new) 2.13 kB 🔴 +2.13 kB 🔴 +982 B 🔴 +882 B
assets/MediaAudioTop-CRoMn0vM.js (removed) 2.02 kB 🟢 -2.02 kB 🟢 -980 B 🟢 -878 B
assets/MediaAudioTop-D2py5m4O.js (new) 2.02 kB 🔴 +2.02 kB 🔴 +981 B 🔴 +871 B
assets/CloudRunButtonWrapper-Bo2K8_r-.js (removed) 1.99 kB 🟢 -1.99 kB 🟢 -909 B 🟢 -810 B
assets/CloudRunButtonWrapper-Cxv6sevF.js (new) 1.99 kB 🔴 +1.99 kB 🔴 +908 B 🔴 +807 B
assets/graphHasMissingNodes--64kOFCr.js (removed) 1.83 kB 🟢 -1.83 kB 🟢 -862 B 🟢 -761 B
assets/graphHasMissingNodes-CDzCXBxz.js (new) 1.83 kB 🔴 +1.83 kB 🔴 +862 B 🔴 +755 B
assets/cloudBadges-p9IlQhZ3.js (new) 1.77 kB 🔴 +1.77 kB 🔴 +890 B 🔴 +768 B
assets/cloudBadges-PJ-W1Idq.js (removed) 1.77 kB 🟢 -1.77 kB 🟢 -892 B 🟢 -771 B
assets/cloudSubscription-C8d-P402.js (removed) 1.68 kB 🟢 -1.68 kB 🟢 -815 B 🟢 -705 B
assets/cloudSubscription-CJFRlapz.js (new) 1.68 kB 🔴 +1.68 kB 🔴 +814 B 🔴 +706 B
assets/previousFullPath-Be_Tu2s_.js (new) 1.53 kB 🔴 +1.53 kB 🔴 +695 B 🔴 +600 B
assets/previousFullPath-DwBn9PNs.js (removed) 1.53 kB 🟢 -1.53 kB 🟢 -694 B 🟢 -600 B
assets/Load3D-BUc0JRbg.js (new) 1.34 kB 🔴 +1.34 kB 🔴 +614 B 🔴 +545 B
assets/Load3D-zGCkuzvB.js (removed) 1.34 kB 🟢 -1.34 kB 🟢 -614 B 🟢 -545 B
assets/nightlyBadges-BTGN2tnm.js (new) 1.29 kB 🔴 +1.29 kB 🔴 +657 B 🔴 +580 B
assets/nightlyBadges-fbDVPA9-.js (removed) 1.29 kB 🟢 -1.29 kB 🟢 -660 B 🟢 -574 B
assets/Load3dViewerContent-Bcba6_hM.js (new) 1.23 kB 🔴 +1.23 kB 🔴 +567 B 🔴 +495 B
assets/Load3dViewerContent-CUJUZfba.js (removed) 1.23 kB 🟢 -1.23 kB 🟢 -565 B 🟢 -497 B
assets/SubscriptionPanelContentWorkspace-B1GMy74S.js (removed) 1.15 kB 🟢 -1.15 kB 🟢 -534 B 🟢 -468 B
assets/SubscriptionPanelContentWorkspace-BvhcPQ-E.js (new) 1.15 kB 🔴 +1.15 kB 🔴 +536 B 🔴 +466 B
assets/WidgetLegacy-BpVwKq_h.js (new) 978 B 🔴 +978 B 🔴 +481 B 🔴 +425 B
assets/WidgetLegacy-DjWAobaB.js (removed) 978 B 🟢 -978 B 🟢 -483 B 🟢 -424 B
assets/changeTracker-CHxMq7Ks.js (new) 953 B 🔴 +953 B 🔴 +470 B 🔴 +407 B
assets/changeTracker-ETsQaJip.js (removed) 953 B 🟢 -953 B 🟢 -472 B 🟢 -407 B

Status: 56 added / 56 removed / 79 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 60.9 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 56.7 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.0 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 48.2 MB heap
large-graph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 54.1 MB heap
large-graph-pan: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.5 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 59.5 MB heap
minimap-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 55.8 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 48.5 MB heap
subgraph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 60.7 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 53.1 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 75.1 MB heap
vue-large-graph-idle: · 58.1 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 159.9 MB heap
vue-large-graph-pan: · 56.3 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 154.8 MB heap
workflow-execution: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 47.9 MB heap

⚠️ 2 regressions detected

Metric Baseline PR (median) Δ Sig
canvas-zoom-sweep: layout duration 1ms 1ms +20% ⚠️ z=2.9
subgraph-mouse-sweep: task duration 891ms 936ms +5% ⚠️ z=2.4
All metrics
Metric Baseline PR (median) Δ Sig
canvas-idle: avg frame time 17ms 17ms +0% z=-0.1
canvas-idle: p95 frame time 17ms 17ms -1%
canvas-idle: layout duration 0ms 0ms +0%
canvas-idle: style recalc duration 9ms 7ms -30% z=-4.7
canvas-idle: layout count 0 0 +0%
canvas-idle: style recalc count 10 8 -20% z=-5.6
canvas-idle: task duration 334ms 343ms +3% z=-1.6
canvas-idle: script duration 16ms 15ms -0% z=-4.4
canvas-idle: TBT 0ms 0ms +0%
canvas-idle: heap used 60.9 MB 60.9 MB -0%
canvas-idle: DOM nodes 19 16 -16% z=-5.2
canvas-idle: event listeners 6 6 +0% z=-1.2
canvas-mouse-sweep: avg frame time 17ms 17ms +0% z=-0.4
canvas-mouse-sweep: p95 frame time 17ms 17ms +0%
canvas-mouse-sweep: layout duration 4ms 4ms +7% z=1.6
canvas-mouse-sweep: style recalc duration 41ms 45ms +9% z=0.8
canvas-mouse-sweep: layout count 12 12 +0%
canvas-mouse-sweep: style recalc count 81 84 +4% z=2.3
canvas-mouse-sweep: task duration 934ms 943ms +1% z=1.3
canvas-mouse-sweep: script duration 128ms 122ms -5% z=-2.1
canvas-mouse-sweep: TBT 0ms 0ms +0%
canvas-mouse-sweep: heap used 56.7 MB 56.7 MB +0%
canvas-mouse-sweep: DOM nodes 64 65 +2% z=1.0
canvas-mouse-sweep: event listeners 6 6 +0% z=-0.6
canvas-zoom-sweep: avg frame time 17ms 17ms +0% z=0.5
canvas-zoom-sweep: p95 frame time 17ms 17ms +1%
canvas-zoom-sweep: layout duration 1ms 1ms +20% ⚠️ z=2.9
canvas-zoom-sweep: style recalc duration 17ms 18ms +10% z=-0.6
canvas-zoom-sweep: layout count 6 6 +0%
canvas-zoom-sweep: style recalc count 31 31 +0% z=-0.6
canvas-zoom-sweep: task duration 289ms 299ms +3% z=-1.2
canvas-zoom-sweep: script duration 18ms 20ms +12% z=-2.3
canvas-zoom-sweep: TBT 0ms 0ms +0%
canvas-zoom-sweep: heap used 65.0 MB 65.0 MB +0%
canvas-zoom-sweep: DOM nodes 76 77 +1% z=-2.8
canvas-zoom-sweep: event listeners 19 19 +0% z=-0.9
dom-widget-clipping: avg frame time 17ms 17ms +0% z=0.1
dom-widget-clipping: p95 frame time 17ms 17ms +0%
dom-widget-clipping: layout duration 0ms 0ms +0%
dom-widget-clipping: style recalc duration 8ms 10ms +27% z=0.7
dom-widget-clipping: layout count 0 0 +0%
dom-widget-clipping: style recalc count 12 11 -8% z=-4.2
dom-widget-clipping: task duration 345ms 333ms -3% z=-1.9
dom-widget-clipping: script duration 64ms 59ms -8% z=-2.8
dom-widget-clipping: TBT 0ms 0ms +0%
dom-widget-clipping: heap used 48.2 MB 48.2 MB +0%
dom-widget-clipping: DOM nodes 19 18 -5% z=-2.9
dom-widget-clipping: event listeners 2 2 +0% variance too high
large-graph-idle: avg frame time 17ms 17ms +0% z=-0.2
large-graph-idle: p95 frame time 17ms 17ms +0%
large-graph-idle: layout duration 0ms 0ms +0%
large-graph-idle: style recalc duration 9ms 9ms -2% z=-3.5
large-graph-idle: layout count 0 0 +0%
large-graph-idle: style recalc count 10 10 +0% z=-5.1
large-graph-idle: task duration 524ms 608ms +16% z=1.2
large-graph-idle: script duration 97ms 107ms +10% z=0.4
large-graph-idle: TBT 0ms 0ms +0%
large-graph-idle: heap used 54.3 MB 54.1 MB -0%
large-graph-idle: DOM nodes -259 -258 -0% z=-312.8
large-graph-idle: event listeners -125 -125 +0% z=-24.8
large-graph-pan: avg frame time 17ms 17ms +0% z=0.3
large-graph-pan: p95 frame time 17ms 17ms +0%
large-graph-pan: layout duration 0ms 0ms +0%
large-graph-pan: style recalc duration 15ms 16ms +7% z=-1.3
large-graph-pan: layout count 0 0 +0%
large-graph-pan: style recalc count 69 68 -1% z=-2.4
large-graph-pan: task duration 1049ms 1088ms +4% z=0.1
large-graph-pan: script duration 392ms 379ms -3% z=-1.5
large-graph-pan: TBT 0ms 0ms +0%
large-graph-pan: heap used 65.9 MB 67.5 MB +2%
large-graph-pan: DOM nodes -262 -260 -1% z=-169.1
large-graph-pan: event listeners -127 -125 -2% z=-156.9
large-graph-zoom: avg frame time 17ms 17ms +0%
large-graph-zoom: p95 frame time 17ms 17ms +0%
large-graph-zoom: layout duration 7ms 8ms +20%
large-graph-zoom: style recalc duration 16ms 16ms -2%
large-graph-zoom: layout count 60 60 +0%
large-graph-zoom: style recalc count 66 65 -2%
large-graph-zoom: task duration 1330ms 1329ms -0%
large-graph-zoom: script duration 508ms 489ms -4%
large-graph-zoom: TBT 0ms 0ms +0%
large-graph-zoom: heap used 59.8 MB 59.5 MB -1%
large-graph-zoom: DOM nodes -264 -266 +1%
large-graph-zoom: event listeners -123 -123 +0%
minimap-idle: avg frame time 17ms 17ms +0% z=0.1
minimap-idle: p95 frame time 17ms 17ms +0%
minimap-idle: layout duration 0ms 0ms +0%
minimap-idle: style recalc duration 9ms 8ms -15% z=-2.2
minimap-idle: layout count 0 0 +0%
minimap-idle: style recalc count 10 9 -10% z=-0.8
minimap-idle: task duration 524ms 531ms +1% z=0.1
minimap-idle: script duration 96ms 83ms -13% z=-1.5
minimap-idle: TBT 0ms 0ms +0%
minimap-idle: heap used 56.0 MB 55.8 MB -0%
minimap-idle: DOM nodes -261 -263 +1% z=-206.3
minimap-idle: event listeners -127 -127 +0% z=-199.3
subgraph-dom-widget-clipping: avg frame time 17ms 17ms +0% z=0.1
subgraph-dom-widget-clipping: p95 frame time 17ms 17ms +1%
subgraph-dom-widget-clipping: layout duration 0ms 0ms +0%
subgraph-dom-widget-clipping: style recalc duration 11ms 12ms +8% z=-1.1
subgraph-dom-widget-clipping: layout count 0 0 +0%
subgraph-dom-widget-clipping: style recalc count 47 48 +2% z=0.1
subgraph-dom-widget-clipping: task duration 347ms 359ms +3% z=-1.0
subgraph-dom-widget-clipping: script duration 123ms 130ms +6% z=0.3
subgraph-dom-widget-clipping: TBT 0ms 0ms +0%
subgraph-dom-widget-clipping: heap used 48.2 MB 48.5 MB +1%
subgraph-dom-widget-clipping: DOM nodes 20 21 +5% z=-1.1
subgraph-dom-widget-clipping: event listeners 8 8 +0% z=-1.4
subgraph-idle: avg frame time 17ms 17ms +0% z=0.4
subgraph-idle: p95 frame time 17ms 17ms +0%
subgraph-idle: layout duration 0ms 0ms +0%
subgraph-idle: style recalc duration 9ms 7ms -23% z=-4.0
subgraph-idle: layout count 0 0 +0%
subgraph-idle: style recalc count 11 9 -18% z=-2.9
subgraph-idle: task duration 340ms 360ms +6% z=-0.3
subgraph-idle: script duration 18ms 16ms -8% z=-1.5
subgraph-idle: TBT 0ms 0ms +0%
subgraph-idle: heap used 61.0 MB 60.7 MB -0%
subgraph-idle: DOM nodes 21 18 -14% z=-2.5
subgraph-idle: event listeners 6 6 +0% variance too high
subgraph-mouse-sweep: avg frame time 17ms 17ms +0% z=0.4
subgraph-mouse-sweep: p95 frame time 17ms 17ms -1%
subgraph-mouse-sweep: layout duration 4ms 5ms +13% z=0.8
subgraph-mouse-sweep: style recalc duration 48ms 47ms -1% z=1.4
subgraph-mouse-sweep: layout count 16 16 +0%
subgraph-mouse-sweep: style recalc count 84 84 +0% z=2.0
subgraph-mouse-sweep: task duration 891ms 936ms +5% ⚠️ z=2.4
subgraph-mouse-sweep: script duration 94ms 107ms +14% z=0.9
subgraph-mouse-sweep: TBT 0ms 0ms +0%
subgraph-mouse-sweep: heap used 52.8 MB 53.1 MB +1%
subgraph-mouse-sweep: DOM nodes 73 71 -3% z=1.8
subgraph-mouse-sweep: event listeners 6 6 +0% variance too high
viewport-pan-sweep: avg frame time 17ms 17ms +0%
viewport-pan-sweep: p95 frame time 17ms 17ms +0%
viewport-pan-sweep: layout duration 0ms 0ms +0%
viewport-pan-sweep: style recalc duration 43ms 47ms +9%
viewport-pan-sweep: layout count 0 0 +0%
viewport-pan-sweep: style recalc count 251 251 +0%
viewport-pan-sweep: task duration 3596ms 3626ms +1%
viewport-pan-sweep: script duration 1267ms 1238ms -2%
viewport-pan-sweep: TBT 0ms 0ms +0%
viewport-pan-sweep: heap used 65.8 MB 75.1 MB +14%
viewport-pan-sweep: DOM nodes -258 -259 +0%
viewport-pan-sweep: event listeners -111 -111 +0%
vue-large-graph-idle: avg frame time 17ms 17ms +0%
vue-large-graph-idle: p95 frame time 17ms 17ms +0%
vue-large-graph-idle: layout duration 0ms 0ms +0%
vue-large-graph-idle: style recalc duration 0ms 0ms +0%
vue-large-graph-idle: layout count 0 0 +0%
vue-large-graph-idle: style recalc count 0 0 +0%
vue-large-graph-idle: task duration 11666ms 12879ms +10%
vue-large-graph-idle: script duration 600ms 589ms -2%
vue-large-graph-idle: TBT 0ms 0ms +0%
vue-large-graph-idle: heap used 161.0 MB 159.9 MB -1%
vue-large-graph-idle: DOM nodes -9850 -9848 -0%
vue-large-graph-idle: event listeners -23959 -23957 -0%
vue-large-graph-pan: avg frame time 17ms 18ms +3%
vue-large-graph-pan: p95 frame time 17ms 17ms -1%
vue-large-graph-pan: layout duration 0ms 0ms +0%
vue-large-graph-pan: style recalc duration 14ms 16ms +20%
vue-large-graph-pan: layout count 0 0 +0%
vue-large-graph-pan: style recalc count 68 75 +10%
vue-large-graph-pan: task duration 14224ms 15317ms +8%
vue-large-graph-pan: script duration 864ms 909ms +5%
vue-large-graph-pan: TBT 39ms 0ms -100%
vue-large-graph-pan: heap used 153.9 MB 154.8 MB +1%
vue-large-graph-pan: DOM nodes -9850 -9848 -0%
vue-large-graph-pan: event listeners -23983 -23953 -0%
workflow-execution: avg frame time 17ms 17ms -0% z=-0.4
workflow-execution: p95 frame time 17ms 17ms +0%
workflow-execution: layout duration 1ms 1ms +1% z=-1.0
workflow-execution: style recalc duration 20ms 24ms +17% z=-0.1
workflow-execution: layout count 5 5 +0% z=0.1
workflow-execution: style recalc count 15 17 +13% z=-0.4
workflow-execution: task duration 107ms 123ms +15% z=-0.0
workflow-execution: script duration 22ms 28ms +28% z=-0.3
workflow-execution: TBT 0ms 0ms +0%
workflow-execution: heap used 47.6 MB 47.9 MB +1%
workflow-execution: DOM nodes 152 156 +3% z=-0.7
workflow-execution: event listeners 71 71 +0% z=4.4
Historical variance (last 15 runs)
Metric μ σ CV
canvas-idle: avg frame time 17ms 0ms 0.0%
canvas-idle: layout duration 0ms 0ms 0.0%
canvas-idle: style recalc duration 11ms 1ms 8.2%
canvas-idle: layout count 0 0 0.0%
canvas-idle: style recalc count 11 1 5.0%
canvas-idle: task duration 395ms 31ms 7.9%
canvas-idle: script duration 25ms 2ms 8.8%
canvas-idle: TBT 0ms 0ms 0.0%
canvas-idle: DOM nodes 23 1 5.6%
canvas-idle: event listeners 12 5 40.9%
canvas-mouse-sweep: avg frame time 17ms 0ms 0.0%
canvas-mouse-sweep: layout duration 4ms 0ms 5.4%
canvas-mouse-sweep: style recalc duration 43ms 3ms 7.4%
canvas-mouse-sweep: layout count 12 0 0.0%
canvas-mouse-sweep: style recalc count 79 2 3.0%
canvas-mouse-sweep: task duration 865ms 58ms 6.7%
canvas-mouse-sweep: script duration 136ms 6ms 4.8%
canvas-mouse-sweep: TBT 0ms 0ms 0.0%
canvas-mouse-sweep: DOM nodes 62 3 4.2%
canvas-mouse-sweep: event listeners 8 4 49.4%
canvas-zoom-sweep: avg frame time 17ms 0ms 0.0%
canvas-zoom-sweep: layout duration 1ms 0ms 7.0%
canvas-zoom-sweep: style recalc duration 19ms 2ms 8.0%
canvas-zoom-sweep: layout count 6 0 0.0%
canvas-zoom-sweep: style recalc count 31 0 1.5%
canvas-zoom-sweep: task duration 327ms 23ms 7.1%
canvas-zoom-sweep: script duration 27ms 3ms 11.1%
canvas-zoom-sweep: TBT 0ms 0ms 0.0%
canvas-zoom-sweep: DOM nodes 79 1 1.0%
canvas-zoom-sweep: event listeners 24 5 21.8%
dom-widget-clipping: avg frame time 17ms 0ms 0.0%
dom-widget-clipping: layout duration 0ms 0ms 0.0%
dom-widget-clipping: style recalc duration 10ms 1ms 8.0%
dom-widget-clipping: layout count 0 0 0.0%
dom-widget-clipping: style recalc count 13 0 3.8%
dom-widget-clipping: task duration 365ms 16ms 4.5%
dom-widget-clipping: script duration 68ms 3ms 4.8%
dom-widget-clipping: TBT 0ms 0ms 0.0%
dom-widget-clipping: DOM nodes 22 1 6.4%
dom-widget-clipping: event listeners 8 6 81.2%
large-graph-idle: avg frame time 17ms 0ms 0.0%
large-graph-idle: layout duration 0ms 0ms 0.0%
large-graph-idle: style recalc duration 12ms 1ms 8.6%
large-graph-idle: layout count 0 0 0.0%
large-graph-idle: style recalc count 12 0 2.7%
large-graph-idle: task duration 542ms 54ms 10.0%
large-graph-idle: script duration 102ms 11ms 10.3%
large-graph-idle: TBT 0ms 0ms 0.0%
large-graph-idle: DOM nodes 25 1 3.7%
large-graph-idle: event listeners 26 6 23.2%
large-graph-pan: avg frame time 17ms 0ms 0.0%
large-graph-pan: layout duration 0ms 0ms 0.0%
large-graph-pan: style recalc duration 17ms 1ms 4.6%
large-graph-pan: layout count 0 0 0.0%
large-graph-pan: style recalc count 70 1 0.9%
large-graph-pan: task duration 1082ms 43ms 4.0%
large-graph-pan: script duration 408ms 20ms 4.8%
large-graph-pan: TBT 0ms 0ms 0.0%
large-graph-pan: DOM nodes 19 2 8.7%
large-graph-pan: event listeners 5 1 16.8%
minimap-idle: avg frame time 17ms 0ms 0.0%
minimap-idle: layout duration 0ms 0ms 0.0%
minimap-idle: style recalc duration 10ms 1ms 8.6%
minimap-idle: layout count 0 0 0.0%
minimap-idle: style recalc count 10 1 7.1%
minimap-idle: task duration 527ms 47ms 9.0%
minimap-idle: script duration 98ms 10ms 10.1%
minimap-idle: TBT 0ms 0ms 0.0%
minimap-idle: DOM nodes 19 1 7.1%
minimap-idle: event listeners 5 1 14.4%
subgraph-dom-widget-clipping: avg frame time 17ms 0ms 0.0%
subgraph-dom-widget-clipping: layout duration 0ms 0ms 0.0%
subgraph-dom-widget-clipping: style recalc duration 13ms 1ms 7.4%
subgraph-dom-widget-clipping: layout count 0 0 0.0%
subgraph-dom-widget-clipping: style recalc count 48 1 1.2%
subgraph-dom-widget-clipping: task duration 378ms 18ms 4.9%
subgraph-dom-widget-clipping: script duration 128ms 6ms 4.9%
subgraph-dom-widget-clipping: TBT 0ms 0ms 0.0%
subgraph-dom-widget-clipping: DOM nodes 22 1 5.0%
subgraph-dom-widget-clipping: event listeners 16 6 36.0%
subgraph-idle: avg frame time 17ms 0ms 0.0%
subgraph-idle: layout duration 0ms 0ms 0.0%
subgraph-idle: style recalc duration 10ms 1ms 7.5%
subgraph-idle: layout count 0 0 0.0%
subgraph-idle: style recalc count 11 1 6.0%
subgraph-idle: task duration 370ms 31ms 8.5%
subgraph-idle: script duration 20ms 3ms 13.2%
subgraph-idle: TBT 0ms 0ms 0.0%
subgraph-idle: DOM nodes 22 1 6.9%
subgraph-idle: event listeners 10 7 64.5%
subgraph-mouse-sweep: avg frame time 17ms 0ms 0.0%
subgraph-mouse-sweep: layout duration 5ms 0ms 6.8%
subgraph-mouse-sweep: style recalc duration 42ms 3ms 7.8%
subgraph-mouse-sweep: layout count 16 0 0.0%
subgraph-mouse-sweep: style recalc count 80 2 2.4%
subgraph-mouse-sweep: task duration 766ms 69ms 9.0%
subgraph-mouse-sweep: script duration 101ms 7ms 6.5%
subgraph-mouse-sweep: TBT 0ms 0ms 0.0%
subgraph-mouse-sweep: DOM nodes 67 2 3.3%
subgraph-mouse-sweep: event listeners 8 4 52.6%
workflow-execution: avg frame time 17ms 0ms 0.0%
workflow-execution: layout duration 2ms 0ms 9.4%
workflow-execution: style recalc duration 24ms 2ms 9.1%
workflow-execution: layout count 5 1 11.0%
workflow-execution: style recalc count 18 2 11.5%
workflow-execution: task duration 123ms 11ms 8.8%
workflow-execution: script duration 29ms 3ms 10.2%
workflow-execution: TBT 0ms 0ms 0.0%
workflow-execution: DOM nodes 161 7 4.4%
workflow-execution: event listeners 52 4 8.4%
Trend (last 15 commits on main)
Metric Trend Dir Latest
canvas-idle: avg frame time ▆▃▆▁▆▃▆█▆▆▄▃▃▄▃ ➡️ 17ms
canvas-idle: p95 frame time ➡️ NaNms
canvas-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: style recalc duration ▇▇▆▆▃█▄▃▄▃▇▄▁▆▇ ➡️ 11ms
canvas-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
canvas-idle: style recalc count █▃▅▂▅▆▃▁▂▁▂▅▆▅▆ ➡️ 12
canvas-idle: task duration ▃▃▃▆▂▃▃▅▆▂█▃▁▃▃ ➡️ 391ms
canvas-idle: script duration ▄▃▅▇▂▅▃▆▇▅█▄▁▅▆ ➡️ 27ms
canvas-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: heap used ➡️ NaN MB
canvas-idle: DOM nodes █▇▆▅▃▇▃▁▂▂▅▆▆▆▇ ➡️ 24
canvas-idle: event listeners ▅█▅▄▁▅▁▁▁▄▅▅▁▅▄ 📉 11
canvas-mouse-sweep: avg frame time ▆█▆▃▁▃▁▆▆▁▃▆▆▃▃ ➡️ 17ms
canvas-mouse-sweep: p95 frame time ➡️ NaNms
canvas-mouse-sweep: layout duration ▁▃▂▄▁▂▁▃▆▂█▇▆▄▃ ➡️ 4ms
canvas-mouse-sweep: style recalc duration ▄▄▂▄▁▂▃▃▅▄█▆▂▄▄ ➡️ 43ms
canvas-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 12
canvas-mouse-sweep: style recalc count █▅▄▃▂▂▁▄▄▅▆▅▂▇▄ ➡️ 79
canvas-mouse-sweep: task duration █▆▄▂▂▃▂▄▄▅█▆▁▆▄ ➡️ 868ms
canvas-mouse-sweep: script duration ▄▅▄▆▄▆▆▆▅▅█▆▁▅▆ ➡️ 139ms
canvas-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-mouse-sweep: heap used ➡️ NaN MB
canvas-mouse-sweep: DOM nodes █▅▃▃▁▂▂▃▂▄▆▅▃▅▅ ➡️ 64
canvas-mouse-sweep: event listeners █▁▁▁▁▁▇▁▁▁██▇▁█ 📈 13
canvas-zoom-sweep: avg frame time ▅▅█▄▅▁▁▁▅▁▁▅▄▅▁ ➡️ 17ms
canvas-zoom-sweep: p95 frame time ➡️ NaNms
canvas-zoom-sweep: layout duration ▆▅▅▄▁▁█▅▃▅▇▆▁▂▆ ➡️ 1ms
canvas-zoom-sweep: style recalc duration ▆▅▄▆▅▃█▆▇▅▇▄▁▃▅ ➡️ 20ms
canvas-zoom-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
canvas-zoom-sweep: style recalc count ▁▁▃▄▆▃▆█▄▄▆▁▆▁▆ ➡️ 32
canvas-zoom-sweep: task duration ▄▂▁▇▂▂▄▅▆▃█▄▁▁▅ ➡️ 338ms
canvas-zoom-sweep: script duration ▃▃▂▇▂▂▅▇▆▅█▄▁▂▆ ➡️ 30ms
canvas-zoom-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-zoom-sweep: heap used ➡️ NaN MB
canvas-zoom-sweep: DOM nodes ▄▃▁▅█▁▃▆▄▅▅▃▃▄▃ ➡️ 79
canvas-zoom-sweep: event listeners ▁▁▂▅█▂▁▅▁▅▅▄▁▅▁ ➡️ 19
dom-widget-clipping: avg frame time ▂▄▅▅▂▄█▇▅▇▇▅▅▁▇ ➡️ 17ms
dom-widget-clipping: p95 frame time ➡️ NaNms
dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: style recalc duration ▆▆▂▆▄▃██▄▁▆▇▆▃▅ ➡️ 10ms
dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-clipping: style recalc count ▇█▅█▅▄█▇▇▁▇▄▇▂▅ ➡️ 13
dom-widget-clipping: task duration ▃▃▁▅▄▃▅▆▅▂▇█▁▅▅ ➡️ 371ms
dom-widget-clipping: script duration ▅▄▄▆▆▅▇▇▆▃█▇▁▇▇ ➡️ 71ms
dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: heap used ➡️ NaN MB
dom-widget-clipping: DOM nodes ▇▇▄▇▅▄█▇▅▁▅▄▇▃▄ ➡️ 21
dom-widget-clipping: event listeners ▅▅▅▅▁▅██▁▁▁▁█▁▁ 📉 2
large-graph-idle: avg frame time ▅▅▅▅▅▂▁▂▄▅▄▂▂▅█ ➡️ 17ms
large-graph-idle: p95 frame time ➡️ NaNms
large-graph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: style recalc duration ▅▅▅▆▄▅▃▄▅▅▆█▁▄▆ ➡️ 13ms
large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-idle: style recalc count █▆█▃▃▁▃▆▃▆▆▃▆██ ➡️ 12
large-graph-idle: task duration ▂▃▂▆▂▃▃▇▅▃██▁▂▅ ➡️ 569ms
large-graph-idle: script duration ▄▅▄▆▄▅▅▇▆▅█▆▁▃▆ ➡️ 110ms
large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: heap used ➡️ NaN MB
large-graph-idle: DOM nodes ▆█▅▂▅▃▁▂▃▅▅▆▂▆▅ ➡️ 25
large-graph-idle: event listeners ███▇██▄▁▄▇▇█▂█▇ ➡️ 29
large-graph-pan: avg frame time ▆▃▃▆█▃▁█▆▆▆▆█▁▆ ➡️ 17ms
large-graph-pan: p95 frame time ➡️ NaNms
large-graph-pan: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: style recalc duration ▃▂▄▄▁▅▂▂▁▄▄█▃▁▂ ➡️ 17ms
large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-pan: style recalc count ▆▃█▂▃▂▂▂▁▇▅▃█▆▃ ➡️ 69
large-graph-pan: task duration ▄▃▄▆▄▄▄▆▄▄█▆▁▂▅ ➡️ 1100ms
large-graph-pan: script duration ▅▄▅▆▆▅▄▆▄▅█▄▁▄▅ ➡️ 413ms
large-graph-pan: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: heap used ➡️ NaN MB
large-graph-pan: DOM nodes ▅▃▆▂▄▁▃▁▁▅▁▂█▅▂ ➡️ 18
large-graph-pan: event listeners █▆█▁▁▆▁▁▃▆▁▃██▃ ➡️ 5
minimap-idle: avg frame time ▃▆▆▃█▁█▆▆▃▃▆█▆█ ➡️ 17ms
minimap-idle: p95 frame time ➡️ NaNms
minimap-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: style recalc duration ▄█▁█▅▅█▅▅▃▅▁▁▄▆ ➡️ 10ms
minimap-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
minimap-idle: style recalc count ▃▅▂▄█▃▆▁▂▅▂▁▅▆▃ ➡️ 9
minimap-idle: task duration ▃▄▁▅▁▃▄▅▇▃█▅▁▁▅ ➡️ 547ms
minimap-idle: script duration ▄▆▃▇▃▅▆▆▇▅█▅▁▃▆ ➡️ 106ms
minimap-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: heap used ➡️ NaN MB
minimap-idle: DOM nodes ▃▅▂▄█▃▆▁▂▅▂▁▅▆▃ ➡️ 19
minimap-idle: event listeners ▃▃▆▁▁▁▃▁▁▆▁▃█▆▁ ➡️ 4
subgraph-dom-widget-clipping: avg frame time ▅▄▄▄▄▄█▄▄▄▃▁▆▃▃ ➡️ 17ms
subgraph-dom-widget-clipping: p95 frame time ➡️ NaNms
subgraph-dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: style recalc duration ▂▄▃▅▅▃▂▅▇▃▄█▁▄▆ ➡️ 14ms
subgraph-dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-dom-widget-clipping: style recalc count ▇█▆▃▆▃▁▆█▇▃▆▇█▅ ➡️ 48
subgraph-dom-widget-clipping: task duration ▂▃▃▆▅▅▂▅█▂▆█▁▂▇ ➡️ 398ms
subgraph-dom-widget-clipping: script duration ▃▃▃▄▅▅▂▄█▂▅▇▁▂▅ ➡️ 131ms
subgraph-dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: heap used ➡️ NaN MB
subgraph-dom-widget-clipping: DOM nodes ▅▇▅▂▅▂▁▅▅▅▁▇▅█▄ ➡️ 22
subgraph-dom-widget-clipping: event listeners ▅▅▅▂▅▁▅██▁▁█▅█▅ 📈 16
subgraph-idle: avg frame time ▆▆█▁▆▃▆▆▆▃▆▁▃▆█ ➡️ 17ms
subgraph-idle: p95 frame time ➡️ NaNms
subgraph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: style recalc duration ▁▇▃▆▂▄▂▃▃▆▆▄▃▇█ ➡️ 12ms
subgraph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-idle: style recalc count ▃▆▃▃▂▅▁▂▁▆▃▃██▇ ➡️ 12
subgraph-idle: task duration ▁▃▁▇▁▁▃▆▅▂█▅▁▁▄ ➡️ 378ms
subgraph-idle: script duration ▁▃▂▇▁▂▃▇▆▂█▅▂▁▅ ➡️ 22ms
subgraph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: heap used ➡️ NaN MB
subgraph-idle: DOM nodes ▃▅▃▂▁▄▁▂▁▅▃▂▇█▇ ➡️ 24
subgraph-idle: event listeners ▁▅▁▁▁▁▁▁▁▅▄▁███ 📈 21
subgraph-mouse-sweep: avg frame time ▅▄▁▃▃▄▆▄▆▃▃█▁▃▃ ➡️ 17ms
subgraph-mouse-sweep: p95 frame time ➡️ NaNms
subgraph-mouse-sweep: layout duration ▁▄▄▄▃▃▅▅▅▂█▇▂▃▆ ➡️ 5ms
subgraph-mouse-sweep: style recalc duration ▃▂▄▅▂▃▄▅█▃█▆▁▂▅ ➡️ 43ms
subgraph-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 16
subgraph-mouse-sweep: style recalc count ▅▂▅▅▁▄▃▅█▅▆▄▂▄▅ ➡️ 81
subgraph-mouse-sweep: task duration ▃▂▄▅▂▄▄▅▇▄█▆▁▃▅ ➡️ 785ms
subgraph-mouse-sweep: script duration ▄▅▄▇▅▅▆▇▆▅██▁▄▆ ➡️ 105ms
subgraph-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-mouse-sweep: heap used ➡️ NaN MB
subgraph-mouse-sweep: DOM nodes ▅▁▄▅▁▄▃▃█▅▅▄▂▅▃ ➡️ 66
subgraph-mouse-sweep: event listeners ▇▁▂▇▁▂▂▂█▇▂▂▇▇▂ 📈 5
workflow-execution: avg frame time ▆▆▆▄▆▆▃▄▁▄█▆▅▄▆ ➡️ 17ms
workflow-execution: p95 frame time ➡️ NaNms
workflow-execution: layout duration ▁▆▁▃▂▄▃▂▃▃▅█▄▂▅ ➡️ 2ms
workflow-execution: style recalc duration ▃▇▅▇▁▅▆▇█▁██▂▄▆ ➡️ 25ms
workflow-execution: layout count ▁█▂▃▂▃▃▁▃▃▄▃▂▃▂ ➡️ 5
workflow-execution: style recalc count ▃█▅▇▁▄▅▆▅▅▅▅▄▄▂ ➡️ 15
workflow-execution: task duration ▂▅▄▅▁▄▆▆▆▁▇█▁▃▃ ➡️ 120ms
workflow-execution: script duration ▄▃▄▄▃▅▄▅▆▂▇█▁▃▄ ➡️ 29ms
workflow-execution: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
workflow-execution: heap used ➡️ NaN MB
workflow-execution: DOM nodes ▂█▃▆▁▄▃▅▃█▃▃▄▃▁ ➡️ 152
workflow-execution: event listeners ▅███▁▅███▁██▅█▅ ➡️ 49
Raw data
{
  "timestamp": "2026-04-15T22:50:43.326Z",
  "gitSha": "1bc18d26d17d3e71bd61f6c4822ea2fd9340fb9d",
  "branch": "bl/subscription-backend-gtm",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2026.6860000000122,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 5.295000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 334.63,
      "heapDeltaBytes": 19982744,
      "heapUsedBytes": 63832600,
      "domNodes": 14,
      "jsHeapTotalBytes": 22806528,
      "scriptDurationMs": 15.003999999999996,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-idle",
      "durationMs": 2013.5700000000156,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.640999999999997,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 343.42699999999996,
      "heapDeltaBytes": 19924296,
      "heapUsedBytes": 63774912,
      "domNodes": 16,
      "jsHeapTotalBytes": 22544384,
      "scriptDurationMs": 15.482,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-idle",
      "durationMs": 2021.4330000000018,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.605999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 364.12199999999996,
      "heapDeltaBytes": 20663876,
      "heapUsedBytes": 65526368,
      "domNodes": 17,
      "jsHeapTotalBytes": 22806528,
      "scriptDurationMs": 18.109000000000005,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 2055.8619999999905,
      "styleRecalcs": 84,
      "styleRecalcDurationMs": 47.733,
      "layouts": 12,
      "layoutDurationMs": 3.974,
      "taskDurationMs": 1014.037,
      "heapDeltaBytes": 16494980,
      "heapUsedBytes": 60292452,
      "domNodes": 65,
      "jsHeapTotalBytes": 23068672,
      "scriptDurationMs": 122.12299999999998,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 2049.3749999999977,
      "styleRecalcs": 84,
      "styleRecalcDurationMs": 41.794,
      "layouts": 12,
      "layoutDurationMs": 3.9290000000000003,
      "taskDurationMs": 942.5709999999999,
      "heapDeltaBytes": 15626416,
      "heapUsedBytes": 59487684,
      "domNodes": 66,
      "jsHeapTotalBytes": 23592960,
      "scriptDurationMs": 118.12100000000001,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1891.6909999999234,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 45.079,
      "layouts": 12,
      "layoutDurationMs": 3.8659999999999997,
      "taskDurationMs": 826.195,
      "heapDeltaBytes": 15950304,
      "heapUsedBytes": 59492300,
      "domNodes": 61,
      "jsHeapTotalBytes": 23330816,
      "scriptDurationMs": 135.70600000000002,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1729.4469999999933,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 18.281999999999996,
      "layouts": 6,
      "layoutDurationMs": 0.7919999999999999,
      "taskDurationMs": 298.64399999999995,
      "heapDeltaBytes": 24472328,
      "heapUsedBytes": 68180708,
      "domNodes": 79,
      "jsHeapTotalBytes": 20971520,
      "scriptDurationMs": 20.116999999999997,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1714.7320000000263,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 16.527,
      "layouts": 6,
      "layoutDurationMs": 0.697,
      "taskDurationMs": 292.57599999999996,
      "heapDeltaBytes": 24330144,
      "heapUsedBytes": 68177228,
      "domNodes": 77,
      "jsHeapTotalBytes": 21233664,
      "scriptDurationMs": 18.299,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1749.9709999999595,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 19.271000000000004,
      "layouts": 6,
      "layoutDurationMs": 0.7719999999999999,
      "taskDurationMs": 352.28800000000007,
      "heapDeltaBytes": 24332856,
      "heapUsedBytes": 68180248,
      "domNodes": 76,
      "jsHeapTotalBytes": 21495808,
      "scriptDurationMs": 25.752,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 566.3189999999929,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 8.348,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 326.692,
      "heapDeltaBytes": 6732000,
      "heapUsedBytes": 50553060,
      "domNodes": 19,
      "jsHeapTotalBytes": 12320768,
      "scriptDurationMs": 54.319,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 581.0570000000439,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 10.454,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 333.48299999999995,
      "heapDeltaBytes": 6209812,
      "heapUsedBytes": 49531896,
      "domNodes": 18,
      "jsHeapTotalBytes": 13369344,
      "scriptDurationMs": 58.822,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 596.2200000000166,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 11.145000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 388.07199999999995,
      "heapDeltaBytes": 6798536,
      "heapUsedBytes": 50624316,
      "domNodes": 18,
      "jsHeapTotalBytes": 13369344,
      "scriptDurationMs": 65.884,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.663333333333338,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2048.218999999989,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 8.067000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 544.1370000000001,
      "heapDeltaBytes": 4394796,
      "heapUsedBytes": 56618760,
      "domNodes": -258,
      "jsHeapTotalBytes": 15917056,
      "scriptDurationMs": 87.87,
      "eventListeners": -125,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2040.9839999999804,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 8.558,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 608.117,
      "heapDeltaBytes": 4780728,
      "heapUsedBytes": 56976756,
      "domNodes": -259,
      "jsHeapTotalBytes": 15917056,
      "scriptDurationMs": 106.91400000000002,
      "eventListeners": -125,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2061.680000000024,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 10.386,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 677.756,
      "heapDeltaBytes": 3644872,
      "heapUsedBytes": 56727548,
      "domNodes": -257,
      "jsHeapTotalBytes": 16703488,
      "scriptDurationMs": 113.27400000000002,
      "eventListeners": -125,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2133.974999999992,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 16.244,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1045.317,
      "heapDeltaBytes": 16165508,
      "heapUsedBytes": 70821632,
      "domNodes": -260,
      "jsHeapTotalBytes": 18743296,
      "scriptDurationMs": 364.702,
      "eventListeners": -125,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2122.645000000034,
      "styleRecalcs": 67,
      "styleRecalcDurationMs": 15.801999999999996,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1088.158,
      "heapDeltaBytes": -7933704,
      "heapUsedBytes": 47817544,
      "domNodes": -249,
      "jsHeapTotalBytes": 20955136,
      "scriptDurationMs": 378.876,
      "eventListeners": -122,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2156.380000000013,
      "styleRecalcs": 68,
      "styleRecalcDurationMs": 17.435,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1239.402,
      "heapDeltaBytes": 19308440,
      "heapUsedBytes": 74074396,
      "domNodes": -262,
      "jsHeapTotalBytes": 19267584,
      "scriptDurationMs": 469.124,
      "eventListeners": -127,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3132.8580000000275,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 16.028999999999996,
      "layouts": 60,
      "layoutDurationMs": 7.953999999999999,
      "taskDurationMs": 1314.277,
      "heapDeltaBytes": 6146764,
      "heapUsedBytes": 62350136,
      "domNodes": -266,
      "jsHeapTotalBytes": 16965632,
      "scriptDurationMs": 481.64099999999996,
      "eventListeners": -123,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3180.4349999999886,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 17.273,
      "layouts": 60,
      "layoutDurationMs": 8.426,
      "taskDurationMs": 1329.256,
      "heapDeltaBytes": 9006984,
      "heapUsedBytes": 64546564,
      "domNodes": -265,
      "jsHeapTotalBytes": 16179200,
      "scriptDurationMs": 488.696,
      "eventListeners": -123,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3147.4600000000237,
      "styleRecalcs": 62,
      "styleRecalcDurationMs": 15.371000000000002,
      "layouts": 60,
      "layoutDurationMs": 8.71,
      "taskDurationMs": 1433.699,
      "heapDeltaBytes": 4267104,
      "heapUsedBytes": 62372728,
      "domNodes": -269,
      "jsHeapTotalBytes": 16154624,
      "scriptDurationMs": 524.1589999999999,
      "eventListeners": -123,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "minimap-idle",
      "durationMs": 2033.0079999999953,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.7219999999999995,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 531.4559999999999,
      "heapDeltaBytes": 2795996,
      "heapUsedBytes": 58502676,
      "domNodes": -263,
      "jsHeapTotalBytes": 15917056,
      "scriptDurationMs": 83.253,
      "eventListeners": -125,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "minimap-idle",
      "durationMs": 2020.2269999999771,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.683000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 517.0379999999999,
      "heapDeltaBytes": -1343872,
      "heapUsedBytes": 54068300,
      "domNodes": -263,
      "jsHeapTotalBytes": 15130624,
      "scriptDurationMs": 78.776,
      "eventListeners": -127,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "minimap-idle",
      "durationMs": 2067.3889999999346,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 11.369999999999997,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 615.65,
      "heapDeltaBytes": 3620216,
      "heapUsedBytes": 59787000,
      "domNodes": -263,
      "jsHeapTotalBytes": 16285696,
      "scriptDurationMs": 97.861,
      "eventListeners": -127,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 578.5919999999578,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 11.709999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 358.974,
      "heapDeltaBytes": 6778728,
      "heapUsedBytes": 50563476,
      "domNodes": 21,
      "jsHeapTotalBytes": 13369344,
      "scriptDurationMs": 130.162,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 540.0710000000117,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 11.533,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 358.21099999999996,
      "heapDeltaBytes": 7077956,
      "heapUsedBytes": 50892096,
      "domNodes": 22,
      "jsHeapTotalBytes": 12582912,
      "scriptDurationMs": 125.99,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 594.0770000000839,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 12.365999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 385.634,
      "heapDeltaBytes": 7383328,
      "heapUsedBytes": 51080560,
      "domNodes": 20,
      "jsHeapTotalBytes": 13107200,
      "scriptDurationMs": 130.33099999999996,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.669999999999998,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2020.184999999998,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.244999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 328.908,
      "heapDeltaBytes": 19751784,
      "heapUsedBytes": 63659716,
      "domNodes": 18,
      "jsHeapTotalBytes": 22806528,
      "scriptDurationMs": 12.889,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 1990.9509999999955,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.994,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 360.12799999999993,
      "heapDeltaBytes": 19690428,
      "heapUsedBytes": 63699932,
      "domNodes": 16,
      "jsHeapTotalBytes": 22806528,
      "scriptDurationMs": 16.115000000000002,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2007.8640000000405,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 8.910000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 443.95000000000005,
      "heapDeltaBytes": 20098524,
      "heapUsedBytes": 65193304,
      "domNodes": 18,
      "jsHeapTotalBytes": 22806528,
      "scriptDurationMs": 20.343999999999994,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1962.9219999999918,
      "styleRecalcs": 83,
      "styleRecalcDurationMs": 41.565999999999995,
      "layouts": 16,
      "layoutDurationMs": 4.42,
      "taskDurationMs": 859.21,
      "heapDeltaBytes": 11662504,
      "heapUsedBytes": 55331296,
      "domNodes": 71,
      "jsHeapTotalBytes": 22806528,
      "scriptDurationMs": 92.36999999999999,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66999999999998,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1972.2019999999816,
      "styleRecalcs": 84,
      "styleRecalcDurationMs": 47.116,
      "layouts": 16,
      "layoutDurationMs": 4.952,
      "taskDurationMs": 935.6719999999998,
      "heapDeltaBytes": 12234788,
      "heapUsedBytes": 55995984,
      "domNodes": 72,
      "jsHeapTotalBytes": 23068672,
      "scriptDurationMs": 106.551,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1986.7949999999155,
      "styleRecalcs": 84,
      "styleRecalcDurationMs": 49.67699999999999,
      "layouts": 16,
      "layoutDurationMs": 5.278,
      "taskDurationMs": 999.7109999999999,
      "heapDeltaBytes": 11777764,
      "heapUsedBytes": 55690028,
      "domNodes": 67,
      "jsHeapTotalBytes": 23330816,
      "scriptDurationMs": 108.148,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8176.901999999984,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 44.125,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3625.835,
      "heapDeltaBytes": 26381460,
      "heapUsedBytes": 78747020,
      "domNodes": -261,
      "jsHeapTotalBytes": 21626880,
      "scriptDurationMs": 1238.224,
      "eventListeners": -109,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8168.3750000000255,
      "styleRecalcs": 251,
      "styleRecalcDurationMs": 46.95199999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3598.53,
      "heapDeltaBytes": 26417012,
      "heapUsedBytes": 78870344,
      "domNodes": -258,
      "jsHeapTotalBytes": 18481152,
      "scriptDurationMs": 1159.6419999999998,
      "eventListeners": -111,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8259.873999999967,
      "styleRecalcs": 252,
      "styleRecalcDurationMs": 52.321,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4213.086,
      "heapDeltaBytes": 24684336,
      "heapUsedBytes": 77812000,
      "domNodes": -259,
      "jsHeapTotalBytes": 18481152,
      "scriptDurationMs": 1308.935,
      "eventListeners": -111,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 12430.475000000002,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 12414.638,
      "heapDeltaBytes": -44636220,
      "heapUsedBytes": 167683212,
      "domNodes": -9850,
      "jsHeapTotalBytes": 25255936,
      "scriptDurationMs": 589.289,
      "eventListeners": -23957,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 12893.96899999997,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 12879.486,
      "heapDeltaBytes": -31895156,
      "heapUsedBytes": 181802364,
      "domNodes": -9848,
      "jsHeapTotalBytes": 22634496,
      "scriptDurationMs": 589.1949999999999,
      "eventListeners": -23957,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.77333333333336,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 13289.853999999992,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 13257.122000000003,
      "heapDeltaBytes": -49424444,
      "heapUsedBytes": 166915800,
      "domNodes": -9848,
      "jsHeapTotalBytes": 21848064,
      "scriptDurationMs": 656.9929999999999,
      "eventListeners": -23957,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 15205.727999999965,
      "styleRecalcs": 70,
      "styleRecalcDurationMs": 14.84399999999997,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 15173.141999999998,
      "heapDeltaBytes": -36602704,
      "heapUsedBytes": 174134148,
      "domNodes": -9848,
      "jsHeapTotalBytes": -24113152,
      "scriptDurationMs": 858.4699999999998,
      "eventListeners": -23953,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.780000000000047,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 15354.165999999965,
      "styleRecalcs": 75,
      "styleRecalcDurationMs": 16.34600000000003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 15322.631999999998,
      "heapDeltaBytes": -59917256,
      "heapUsedBytes": 162347140,
      "domNodes": -9848,
      "jsHeapTotalBytes": -10219520,
      "scriptDurationMs": 911.9909999999999,
      "eventListeners": -23951,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.220000000000073,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 15347.533,
      "styleRecalcs": 76,
      "styleRecalcDurationMs": 21.165000000000045,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 15317.328,
      "heapDeltaBytes": -49138720,
      "heapUsedBytes": 162082468,
      "domNodes": -9850,
      "jsHeapTotalBytes": -14938112,
      "scriptDurationMs": 908.592,
      "eventListeners": -23985,
      "totalBlockingTimeMs": 46,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "workflow-execution",
      "durationMs": 462.78999999998405,
      "styleRecalcs": 17,
      "styleRecalcDurationMs": 24.151000000000003,
      "layouts": 5,
      "layoutDurationMs": 1.56,
      "taskDurationMs": 128.69600000000003,
      "heapDeltaBytes": 5361988,
      "heapUsedBytes": 50136708,
      "domNodes": 167,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 29.674000000000003,
      "eventListeners": 71,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.663333333333338,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "workflow-execution",
      "durationMs": 466.3140000000112,
      "styleRecalcs": 16,
      "styleRecalcDurationMs": 21.762000000000004,
      "layouts": 5,
      "layoutDurationMs": 1.4020000000000004,
      "taskDurationMs": 122.74900000000002,
      "heapDeltaBytes": 5118352,
      "heapUsedBytes": 50215412,
      "domNodes": 156,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 28.098,
      "eventListeners": 71,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "workflow-execution",
      "durationMs": 442.71200000002864,
      "styleRecalcs": 17,
      "styleRecalcDurationMs": 23.959999999999997,
      "layouts": 5,
      "layoutDurationMs": 1.277,
      "taskDurationMs": 117.20999999999998,
      "heapDeltaBytes": 4978440,
      "heapUsedBytes": 50571536,
      "domNodes": 154,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 23.931999999999995,
      "eventListeners": 71,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.663333333333338,
      "p95FrameDurationMs": 16.700000000000273
    }
  ]
}

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/platform/cloud/subscription/composables/useSubscription.ts`:
- Around line 226-243: The current implementation in
consumePendingSubscriptionSuccess emits telemetry before performing the POST
consume call, which can let two tabs both pass the local check and double-fire
trackMonthlySubscriptionSucceeded; change the flow to use the consume-as-lock
pattern: perform the POST to
buildApiUrl(`/customers/pending-subscription-success/${id}/consume`) first and
only call trackMonthlySubscriptionSucceeded after verifying the response is a
successful consume (response.ok), treat 404 as “already consumed” and do not
emit telemetry, and throw on other non-OK non-404 statuses; apply the same
change to the other pending-subscription consume helper in this file that
currently tracks before consuming so telemetry is only emitted after a confirmed
successful consume.
- Around line 218-220: Replace raw English Error throws in useSubscription.ts
(the pending-success fetch handlers around the throw at line 218 and the similar
throws around 239-241) with user-facing, localized messages using the
composition API vue-i18n instance (e.g., call
t('main.pendingSubscriptionFetchFailed', { status: response.status }) or
similar) and throw an Error containing that localized string; also add the new
key(s) (e.g., "pendingSubscriptionFetchFailed") to src/locales/en/main.json with
a clear, actionable message that includes a placeholder for the status.
- Around line 395-397: fetchSubscriptionStatus currently awaits
syncPendingSubscriptionSuccess(headers) which, if it throws, causes the whole
fetch to reject even after subscriptionStatus.value was updated; wrap the call
to syncPendingSubscriptionSuccess(headers) in a try/catch inside the same block
so any error is caught and handled (log or telemetry via existing logger/emit
function) and do NOT rethrow, ensuring subscriptionStatus.value remains
considered a successful fetch; target the code around the
options?.syncPendingSuccess && statusData.is_active check and modify only the
call to syncPendingSubscriptionSuccess to swallow/record errors instead of
propagating them.

In `@src/platform/telemetry/providers/cloud/GtmTelemetryProvider.ts`:
- Around line 171-176: The method trackMonthlySubscriptionSucceeded currently
pushes { ecommerce: null } to window.dataLayer even when the provider is not
initialized; update this method to only mutate dataLayer after the provider's
established initialization check (use the same flag used elsewhere in this
class, e.g., this.initialized or this.isInitialized) and return early if not
initialized so the dataLayer push is skipped when dispatching is disabled;
ensure the guard wraps the window.dataLayer?.push call inside
trackMonthlySubscriptionSucceeded.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 46a3728e-c872-4aaf-a4c2-63adf5a7db96

📥 Commits

Reviewing files that changed from the base of the PR and between a8e1fa8 and ee1d823.

📒 Files selected for processing (9)
  • src/platform/cloud/subscription/components/SubscriptionRequiredDialogContent.vue
  • src/platform/cloud/subscription/composables/useSubscription.test.ts
  • src/platform/cloud/subscription/composables/useSubscription.ts
  • src/platform/telemetry/TelemetryRegistry.ts
  • src/platform/telemetry/providers/cloud/GtmTelemetryProvider.test.ts
  • src/platform/telemetry/providers/cloud/GtmTelemetryProvider.ts
  • src/platform/telemetry/providers/cloud/MixpanelTelemetryProvider.ts
  • src/platform/telemetry/providers/cloud/PostHogTelemetryProvider.ts
  • src/platform/telemetry/types.ts

Comment on lines +218 to +220
throw new Error(
`Failed to fetch pending subscription success: ${response.status}`
)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Use actionable, localized errors for new pending-success API failures

These new thrown Error messages are raw English status strings and may bubble through shared error handling with poor UX context.

💡 Proposed direction
-      throw new Error(
-        `Failed to fetch pending subscription success: ${response.status}`
-      )
+      throw new AuthStoreError(
+        t('toastMessages.failedToSyncSubscriptionSuccess', {
+          error: `HTTP ${response.status}`
+        })
+      )
@@
-      throw new Error(
-        `Failed to consume pending subscription success: ${response.status}`
-      )
+      throw new AuthStoreError(
+        t('toastMessages.failedToSyncSubscriptionSuccess', {
+          error: `HTTP ${response.status}`
+        })
+      )

Also add the new translation key in src/locales/en/main.json.

As per coding guidelines, “Provide user-friendly and actionable error messages” and “Use vue-i18n in composition API for all string literals.”

Also applies to: 239-241

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/platform/cloud/subscription/composables/useSubscription.ts` around lines
218 - 220, Replace raw English Error throws in useSubscription.ts (the
pending-success fetch handlers around the throw at line 218 and the similar
throws around 239-241) with user-facing, localized messages using the
composition API vue-i18n instance (e.g., call
t('main.pendingSubscriptionFetchFailed', { status: response.status }) or
similar) and throw an Error containing that localized string; also add the new
key(s) (e.g., "pendingSubscriptionFetchFailed") to src/locales/en/main.json with
a clear, actionable message that includes a placeholder for the status.

Comment on lines +226 to +243
const consumePendingSubscriptionSuccess = async (
headers: Record<string, string>,
id: string
): Promise<void> => {
const response = await fetch(
buildApiUrl(`/customers/pending-subscription-success/${id}/consume`),
{
method: 'POST',
headers
}
)

if (!response.ok && response.status !== 404) {
throw new Error(
`Failed to consume pending subscription success: ${response.status}`
)
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Cross-tab dedupe is race-prone and can still double-fire telemetry

Current flow tracks before consume. Two tabs can both pass the local delivered check and both emit trackMonthlySubscriptionSucceeded before one consume returns 404.

💡 Proposed fix (consume-as-lock)
-  const consumePendingSubscriptionSuccess = async (
+  const consumePendingSubscriptionSuccess = async (
     headers: Record<string, string>,
     id: string
-  ): Promise<void> => {
+  ): Promise<boolean> => {
     const response = await fetch(
       buildApiUrl(`/customers/pending-subscription-success/${id}/consume`),
       {
         method: 'POST',
         headers
       }
     )
 
-    if (!response.ok && response.status !== 404) {
+    if (response.status === 404) {
+      return false
+    }
+
+    if (!response.ok) {
       throw new Error(
         `Failed to consume pending subscription success: ${response.status}`
       )
     }
+
+    return true
   }
@@
-    telemetry?.trackMonthlySubscriptionSucceeded({
+    const consumed = await consumePendingSubscriptionSuccess(
+      headers,
+      pendingSuccess.id
+    )
+    if (!consumed) {
+      return
+    }
+
+    telemetry?.trackMonthlySubscriptionSucceeded({
       ...(authStore.userId ? { user_id: authStore.userId } : {}),
@@
     })
 
     markSubscriptionSuccessAsDelivered(pendingSuccess.transaction_id)
-    await consumePendingSubscriptionSuccess(headers, pendingSuccess.id)
   }

Also applies to: 253-287

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/platform/cloud/subscription/composables/useSubscription.ts` around lines
226 - 243, The current implementation in consumePendingSubscriptionSuccess emits
telemetry before performing the POST consume call, which can let two tabs both
pass the local check and double-fire trackMonthlySubscriptionSucceeded; change
the flow to use the consume-as-lock pattern: perform the POST to
buildApiUrl(`/customers/pending-subscription-success/${id}/consume`) first and
only call trackMonthlySubscriptionSucceeded after verifying the response is a
successful consume (response.ok), treat 404 as “already consumed” and do not
emit telemetry, and throw on other non-OK non-404 statuses; apply the same
change to the other pending-subscription consume helper in this file that
currently tracks before consuming so telemetry is only emitted after a confirmed
successful consume.

Comment on lines +395 to +397
if (options?.syncPendingSuccess && statusData.is_active) {
await syncPendingSubscriptionSuccess(headers)
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Don’t let pending-success sync failure fail subscription status fetch

If syncPendingSubscriptionSuccess throws, fetchSubscriptionStatus rejects even after subscriptionStatus.value is updated. This can incorrectly surface a “status fetch failed” path for a telemetry-side failure.

💡 Proposed fix
-    if (options?.syncPendingSuccess && statusData.is_active) {
-      await syncPendingSubscriptionSuccess(headers)
-    }
+    if (options?.syncPendingSuccess && statusData.is_active) {
+      try {
+        await syncPendingSubscriptionSuccess(headers)
+      } catch (error) {
+        console.error(
+          '[Subscription] Failed to sync pending subscription success:',
+          error
+        )
+      }
+    }

As per coding guidelines, “Implement proper error handling” and “Implement proper error propagation.”

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
if (options?.syncPendingSuccess && statusData.is_active) {
await syncPendingSubscriptionSuccess(headers)
}
if (options?.syncPendingSuccess && statusData.is_active) {
try {
await syncPendingSubscriptionSuccess(headers)
} catch (error) {
// Log for debugging but don't fail the status fetch
console.error('[Subscription] Pending sync error:', error)
}
}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/platform/cloud/subscription/composables/useSubscription.ts` around lines
395 - 397, fetchSubscriptionStatus currently awaits
syncPendingSubscriptionSuccess(headers) which, if it throws, causes the whole
fetch to reject even after subscriptionStatus.value was updated; wrap the call
to syncPendingSubscriptionSuccess(headers) in a try/catch inside the same block
so any error is caught and handled (log or telemetry via existing logger/emit
function) and do NOT rethrow, ensuring subscriptionStatus.value remains
considered a successful fetch; target the code around the
options?.syncPendingSuccess && statusData.is_active check and modify only the
call to syncPendingSubscriptionSuccess to swallow/record errors instead of
propagating them.

Comment on lines +171 to +176
trackMonthlySubscriptionSucceeded(
metadata?: SubscriptionSuccessMetadata
): void {
if (metadata?.ecommerce) {
window.dataLayer?.push({ ecommerce: null })
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Guard ecommerce: null reset behind provider initialization.

At Line 175, window.dataLayer?.push({ ecommerce: null }) bypasses the provider’s normal initialized gate, so this method can mutate dataLayer even when event dispatch is disabled.

Suggested fix
  trackMonthlySubscriptionSucceeded(
    metadata?: SubscriptionSuccessMetadata
  ): void {
+    if (!this.initialized) return
+
     if (metadata?.ecommerce) {
       window.dataLayer?.push({ ecommerce: null })
     }

     this.pushEvent(
       'subscription_success',
       metadata ? { ...metadata } : undefined
     )
  }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
trackMonthlySubscriptionSucceeded(
metadata?: SubscriptionSuccessMetadata
): void {
if (metadata?.ecommerce) {
window.dataLayer?.push({ ecommerce: null })
}
trackMonthlySubscriptionSucceeded(
metadata?: SubscriptionSuccessMetadata
): void {
if (!this.initialized) return
if (metadata?.ecommerce) {
window.dataLayer?.push({ ecommerce: null })
}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/platform/telemetry/providers/cloud/GtmTelemetryProvider.ts` around lines
171 - 176, The method trackMonthlySubscriptionSucceeded currently pushes {
ecommerce: null } to window.dataLayer even when the provider is not initialized;
update this method to only mutate dataLayer after the provider's established
initialization check (use the same flag used elsewhere in this class, e.g.,
this.initialized or this.isInitialized) and return early if not initialized so
the dataLayer push is skipped when dispatching is disabled; ensure the guard
wraps the window.dataLayer?.push call inside trackMonthlySubscriptionSucceeded.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 15, 2026

Codecov Report

❌ Patch coverage is 69.07216% with 30 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
.../cloud/subscription/composables/useSubscription.ts 76.92% 18 Missing ⚠️
...n/components/SubscriptionRequiredDialogContent.vue 0.00% 7 Missing ⚠️
src/platform/telemetry/TelemetryRegistry.ts 0.00% 3 Missing ⚠️
...metry/providers/cloud/MixpanelTelemetryProvider.ts 0.00% 2 Missing ⚠️
@@             Coverage Diff             @@
##             main   #11285       +/-   ##
===========================================
- Coverage   63.95%   44.23%   -19.72%     
===========================================
  Files        1459     1350      -109     
  Lines       83590    69325    -14265     
  Branches    23083    19237     -3846     
===========================================
- Hits        53457    30666    -22791     
- Misses      29176    38059     +8883     
+ Partials      957      600      -357     
Flag Coverage Δ
e2e ?
unit 44.23% <69.07%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
.../telemetry/providers/cloud/GtmTelemetryProvider.ts 65.38% <100.00%> (+0.81%) ⬆️
...emetry/providers/cloud/PostHogTelemetryProvider.ts 47.34% <100.00%> (ø)
src/platform/telemetry/types.ts 100.00% <ø> (ø)
...metry/providers/cloud/MixpanelTelemetryProvider.ts 0.00% <0.00%> (ø)
src/platform/telemetry/TelemetryRegistry.ts 0.00% <0.00%> (ø)
...n/components/SubscriptionRequiredDialogContent.vue 0.00% <0.00%> (ø)
.../cloud/subscription/composables/useSubscription.ts 80.68% <76.92%> (-5.43%) ⬇️

... and 1010 files with indirect coverage changes

🚀 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.

@christian-byrne christian-byrne self-assigned this Apr 20, 2026
@christian-byrne
Copy link
Copy Markdown
Contributor

Draft Review — Architectural Feedback

Verdict: 🟢 Direction looks good

What's looking good

  • Moving event authorship to the backend is the right call — eliminates the brittle focus-polling loop and makes success tracking reliable across Stripe's multi-tab return
  • Clean fetch → track → mark-delivered → consume pipeline with proper dedupe via localStorage
  • GTM ecommerce reset (push({ ecommerce: null })) before the real push is correct GA4 practice
  • Good separation: fetchStatus (no side-effects) vs syncStatusAfterCheckout (with telemetry delivery)
  • PendingSubscriptionSuccessResponse type is well-structured and aligns telemetry payload shape with backend response
  • Tests cover both the happy path and the dedupe guard — solid coverage for the new flow

Architectural concerns

  • useSubscription.ts is getting large (~500 lines). The localStorage dedupe helpers (readDelivered…, hasDelivered…, markAsDelivered…) and the syncPendingSubscriptionSuccess orchestration could be extracted to a small usePendingSubscriptionSuccess.ts composable. This would keep useSubscription focused on subscription state and checkout flow. Not blocking, but worth considering before the PR exits draft.

  • SubscriptionSuccessMetadata.ecommerce is required in the type but the telemetry method signature has metadata? optional. This means providers must handle the case where metadata (and therefore ecommerce) is undefined, yet the type says ecommerce is always present when metadata exists. Consider making the parameter required at trackMonthlySubscriptionSucceeded(metadata: SubscriptionSuccessMetadata) since the old call-site without args is gone.

Suggested direction

The approach is solid — keep going. The main suggestion is to consider extracting the pending-success delivery logic into its own composable to keep useSubscription's complexity manageable, and tighten the telemetry method signature now that it always receives metadata. Otherwise this is ready to move toward final review.


This is an early-stage review focused on direction — detailed line-by-line feedback will come when the PR is marked ready for review.

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