Skip to content

FE-3117 feat(billing-web): report the resubscribe lifecycle - #19811

Merged
dante01yoon merged 27 commits into
mainfrom
jaewon/fe-3117-billing-web-attempt-lifecycle-events-sdk-stream-and-business-3
Oct 2, 2026
Merged

dante01yoon merged 27 commits into
mainfrom
jaewon/fe-3117-billing-web-attempt-lifecycle-events-sdk-stream-and-business-3

Conversation

@dante01yoon

@dante01yoon dante01yoon commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Billing web reports the resubscribe lifecycle from the subscription screen: billing.resubscribe.started before the request and one billing.resubscribe.succeeded or .failed, with source: 'billing_web_subscription'. This is the third of three stacked branches for FE-3117 and delivers E13. It reuses the attempt tracker from the branch that delivers E10 and E11.

Why

The SDK reports a resubscribe as a plain subscription operation, so the operation stream cannot tell a resubscribe from a new subscription or a plan change. The cloud app reports billing.resubscribe.* from its callers. Billing web reported nothing, so a resubscribe, a plan that was already active and a refusal before any operation were all invisible.

Root cause

The resubscribe button on billing web called checkout.resubscribe() with no emitter, and the resubscribe event type had no operation id, no duration and no billing web source.

How

  • Events. resubscribeTelemetry.ts builds the events on the same createAttemptTelemetry and result mapping as the checkout. The start is reported immediately before checkout.resubscribe(). The terminal carries billing_op_id once one exists, duration_ms, and for a decline its decline_reason. A plan that was already active (the SDK's already-held answer, which issues nothing) counts as succeeded and has no operation id. payment_intent_source is the entry source when the customer arrived with one.
  • Wiring. SubscriptionActions.vue wraps its one checkout.resubscribe() call. Cancel is unchanged.
  • Contract. ResubscribeBillingEvent gains billing_op_id, duration_ms and decline_reason on its failed variant, all optional, so the cloud's events are unchanged. ResubscribeSource gains billing_web_subscription.
  • README. A short paragraph in the Telemetry section.

Review Focus

AS IS / TO BE

AS IS: AS IS at 96c1f28cea with this PR's new tests copied in: 6 of 8 scenarios off contract. A resubscribe from the subscription screen reports only the SDK stream when an operation is issued (billing.operation.started, then succeeded or failed) and nothing at all for an already-active plan, a 503, a network failure and an operation already pending, so no billing.resubscribe event exists; a cancel already reports only the SDK stream with operation_type cancel, and no payload holds the planted server text; the new tests fail as expected (resubscribeTelemetry.test.ts and billingWebClient.test.ts fail to load, 4 SubscriptionView tests red): apps/billing-web passes 1085 of 1089 and account-core src/core/billing 600 of 600

TO BE: TO BE at 8abe6fe05d: 8 of 8 scenarios on contract. A resubscribe reports billing.resubscribe.started before the request and then exactly one .succeeded or .failed with source billing_web_subscription, billing_client sdk and the entry source: a settled operation and a decline join the SDK stream through the same billing_op_id (the decline adds provider_decline and card_declined), an already-active plan counts as succeeded with no operation id and no SDK events, and a 503, a network failure and an operation already pending end with api_rejected, network and operation_already_pending; a cancel emits only the SDK stream with operation_type cancel and no billing.resubscribe event; the planted server messages, codes, email, URL and secret appear in none of 36 payloads; apps/billing-web passes 1111 of 1111 and account-core src/core/billing 600 of 600

The evidence is the RUM actions billing web sends when a customer resubscribes from the subscription screen and the request settles, is a plan that was already active, is declined, or is refused before an operation exists: before, none; after, billing.resubscribe.started and one terminal with billing_client: 'sdk' and the billing web source.

Where this sits in the plan

Linear: FE-3117, part of FE-3105. Plan, event catalog and dependency graph: action items.

Task Ticket What Status
T1 FE-3107 Decide vocabulary and dimensions done, in the SSOT
T2 FE-3108 Decide RUM application and env mapping decided
T3 FE-3109 Billing web telemetry bootstrap (RUM and PostHog) PR 19688, merged
T3+ FE-3156 Opaque RUM user id on billing web PR 19794, merged
T4, F1 FE-3106 SDK-rail ownership PR 19620, merged
T4, F2 FE-3110 Keep operation id and fields in the mapper PR 19623, merged
T4, F3 FE-3111 Stamp billing_surface and billing_client PR 19685, merged
T4, F5 FE-3112 SDK top-up terminals PR 19628, merged
T4, F6 FE-3113 Downgrade reconciliation terminal PR 19622, merged
T4, F7 FE-3114 Legacy personal-rail events, first slice PR 19627, merged
T4, F7+ FE-3131 Legacy personal-rail events, remaining slices PR 19686, merged
T4+ FE-3140 Move the billing event contract to a shared package PR 19798, merged
T5 FE-3115 Cloud entry fidelity and Datadog parity PR 19815, PR 19816, PR 19817, PR 19818, in review
T6 FE-3116 Handoff contract and event PR 19687, merged
T7 FE-3117 Billing web attempt lifecycle this PR
T8 FE-3118 Billing web journey and choices PR 19819, PR 19821, PR 19822, in review
T9 FE-3119 Payment friction events todo
T10 FE-3120 Billing web entry, session and return PR 19804, PR 19806 and PR 19807, merged in PR 19798
T11 FE-3121 Portal events todo
T12 FE-3122 Flag coverage check todo
T13 FE-3123 PostHog rollout dashboard todo
T14 FE-3124 Datadog tiles in the Frontend RUM dashboard todo
T15 FE-3125 Verification per flow todo
T16 FE-3126 Rollout plan todo
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T7 stroke-width:3px
Loading

…to account-core

The typed billing event union, its payload allowlist, the payload builders and the billing event-name constants now live in @comfyorg/account-core/billing so billing web can import them. src/platform/telemetry/types.ts re-exports the moved names until the cloud imports are migrated.
…o account-core

The journey phases, their wire names and payload builder share their failure vocabulary with the billing event union, so billing web needs them from the same package to type the billing.checkout events.
…ount-core

Migrates every cloud import of the moved contract to @comfyorg/account-core/billing and deletes the re-exports from src/platform/telemetry/types.ts. TelemetryEvents spreads the shared billing event names, TierKey and BillingCycle derive from the shared vocabulary, and the telemetry failure type is now BillingTelemetryFailure.
…the allowlist

getBillingWebTelemetryEventPayload builds the allowlisted payload and claims the billing_web surface, as the cloud app builder claims cloud_app. Tests cover both builders dropping every field outside the allowlist, a table that fails to compile when an event field has no handling, and a type test in billing-contract that fails when the event vocabulary drifts from the entry URL contract.
…try facade

trackBillingEvent takes a BillingTelemetryEvent, builds its allowlisted payload through the shared billing web builder, which claims billing_surface billing_web, and sends it to RUM and PostHog as before. The event name comes from the event, so a caller can no longer pair a name with another operation's payload or send a field the privacy contract does not allowlist.
…emetry event name

TelemetryEventName now includes BillingTelemetryEventName, so adding a member to the shared BillingTelemetryEvent union no longer needs a matching TelemetryEvents constant to keep the cloud sinks compiling.
@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: Comfy-Org/ComfyUI_frontend/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 19fec70c-a17c-4b5d-9595-1ca1a005e88a

📥 Commits

Reviewing files that changed from the base of the PR and between b2d96e2 and 8f0a814.

📒 Files selected for processing (5)
  • apps/billing-web/README.md
  • apps/billing-web/src/session/billingWebClient.test.ts
  • apps/billing-web/src/views/FullPageCheckoutView.test.ts
  • packages/account-core/src/core/billing/telemetry/resubscribeEvent.ts
  • packages/account-core/src/core/billing/telemetry/vocabulary.ts

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.


📝 Walkthrough

Walkthrough

Billing-web now reports resubscription attempts from the subscription screen with started and terminal telemetry events. Account-core adds the event fields and source value used by this reporting. Tests cover event payloads, outcomes, and ordering.

Changes

Resubscribe telemetry

Layer / File(s) Summary
Resubscribe event contract
packages/account-core/src/core/billing/telemetry/resubscribeEvent.ts, packages/account-core/src/core/billing/telemetry/vocabulary.ts
The event contract adds optional operation ID, duration, and decline-reason fields. The accepted source values now include billing_web_subscription.
Attempt reporting and subscription action
apps/billing-web/src/telemetry/resubscribeTelemetry.ts, apps/billing-web/src/components/SubscriptionActions.vue
The telemetry factory maps attempt starts and outcomes to events. The subscription action runs resubscription through the telemetry wrapper.
Flow tests and documentation
apps/billing-web/src/telemetry/resubscribeTelemetry.test.ts, apps/billing-web/src/views/SubscriptionView.test.ts, apps/billing-web/src/session/billingWebClient.test.ts, apps/billing-web/src/views/FullPageCheckoutView.test.ts, apps/billing-web/README.md
Tests check event payloads and ordering across resubscription outcomes, cancellation, SDK calls, and completed-payment recovery. The README documents the subscription-screen event source.

Priority: ⬇️ Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  participant SubscriptionActions
  participant resubscribeAttempts
  participant checkout.resubscribe
  participant BillingWebTelemetry
  SubscriptionActions->>resubscribeAttempts: Run with current entry and checkout callback
  resubscribeAttempts->>checkout.resubscribe: Execute resubscription
  resubscribeAttempts->>BillingWebTelemetry: Emit pending and terminal events
Loading

Suggested reviewers: anupreet-comfy

Merge Risk: ⚪ Minimal · up to 8f0a8

The supplied evidence identifies no issue that needs to be fixed before merging.

🚥 Pre-merge checks | ✅ 7
✅ Passed checks (7 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
End-To-End Regression Coverage For Fixes ✅ Passed No bug-fix signal appears in the PR title or commit subjects. The title uses “feat”, and the listed subjects use “feat”, “refactor”, “test”, or merge wording. Therefore the check does not require brow…
Website End-To-End Regression Coverage ✅ Passed The changed files listed in the review context are under apps/billing-web and packages/account-core. No file under apps/website/src/ or apps/website/public/ changed. This check is not applicable.
Adr Compliance For Entity/Litegraph Changes ✅ Passed PASS: The changed files are limited to billing-web and account-core billing telemetry files. No files under src/lib/litegraph/, src/ecs/, or graph-entity-related files are changed. The ADR-LAYOUT …
Title check ✅ Passed The title clearly and concisely identifies the billing-web resubscribe lifecycle telemetry, which is the main change.
Description check ✅ Passed The description explains the change, its rationale, implementation, review focus, and expected behavior. It does not use the template’s exact “Changes” heading or state breaking changes and dependenci…
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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

@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 10/02/2026, 02:10:16 AM UTC

Links

🌐 Website E2E

Tip

All tests passed.

Status ✅ Passed
Report View Report

🌾 Fallow: ✅ Passed

Fallow audits the diff for duplication, complexity and dead code. It gates on new findings only, so when the audit completes, a red is something this PR introduced or moved — never inherited backlog. A red can also mean the audit itself did not finish; the details below say which happened.

No new findings in the changed files.

Reproduce locally
# the base the gate compared against
npx fallow audit --root . --quiet --format json \
  --changed-since 8148f20d57db3bd594684325629d694043dce8e9

Full docs: ADR-DEVEX-LINT-0015

🎭 Playwright: ✅ 2187 passed, 0 failed

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

🧩 Custom Nodes Ecosystem Matrix: ✅ Passed

Executes the frontend JS of every registry pack that ships any, against this change, in both renderers. The eight ecosystem-matrix shard checks are a harness self-test; the pack verdict is matrix-verdict.

Stage Result What a failure here means
pin-status success Informational. It never fails the build; it warns when the corpus snapshot is over 30 days old.
corpus success Infrastructure: the pack mirror could not be fetched, validated or cached. Not your diff.
shards success Harness integrity, not pack breakage. A shard only checks that every built spec wrote its row; vitest's own exit code is deliberately ignored because pack code leaks unhandled rejections.
verdicts success The population verdict per renderer. This is the stage that judges packs. Exit 1 is FAIL; exit 2 is withheld — rows were missing, so nothing was measured, which is not the same as your change breaking packs.
detection-proofs success The instrument self-test: the matrix must FAIL on a deliberately poisoned corpus. A failure here means the gate cannot be trusted this run, in either direction.

On a pin-bump PR, a red gate means the ecosystem moved — not that your diff broke something. That is what the bump PR is for. Outside a pin bump or a cold rebuild of the unpinned tail, a red means the diff.

Note the corpus size and the executed count are different numbers, and the verdict is against the executed count: roughly 3,100 of ~5,100 packs ship no extension-shaped JS and are skipped.

Reproduce locally
# build one shard's fixture, then run it
python3 scripts/registry-census/build_matrix.py --shard 1/4
MATRIX_RENDERER=vue MATRIX_VUE=1 \
  npx vitest run --config vitest.matrix.config.mts

Full docs: scripts/registry-census/README.md

📦 Bundle: 10.1 MB gzip 🔴 +79 B

Details

Summary

  • Raw size: 42.9 MB baseline 42.9 MB — 🟢 -72 B
  • Gzip: 10.1 MB baseline 10.1 MB — 🔴 +79 B
  • Brotli: 7.15 MB baseline 7.15 MB — 🟢 -88 B
  • Bundles: 466 current • 466 baseline • 166 added / 166 removed

Category Glance
Other 🟢 -72 B (18.3 MB) · Vendor & Third-Party ⚪ 0 B (17.2 MB) · Data & Services ⚪ 0 B (4.13 MB) · Graph Workspace ⚪ 0 B (1.47 MB) · Panels & Settings ⚪ 0 B (646 kB) · Utilities & Hooks ⚪ 0 B (586 kB) · + 5 more

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

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-nNPdRfUT.js (removed) 3.89 kB — 🟢 -3.89 kB 🟢 -1.98 kB 🟢 -1.7 kB
assets/index-yYNg-6vH.js (new) — 3.89 kB 🔴 +3.89 kB 🔴 +1.98 kB 🔴 +1.7 kB

Status: 1 added / 1 removed

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

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-CXqSXkRa.js (removed) 1.46 MB — 🟢 -1.46 MB 🟢 -321 kB 🟢 -240 kB
assets/GraphView-D5bvh36s.js (new) — 1.46 MB 🔴 +1.46 MB 🔴 +321 kB 🔴 +240 kB
assets/WidgetCompositor-CyM7jtww.js (new) — 8.5 kB 🔴 +8.5 kB 🔴 +2.8 kB 🔴 +2.49 kB
assets/WidgetCompositor-DKI57fcT.js (removed) 8.5 kB — 🟢 -8.5 kB 🟢 -2.8 kB 🟢 -2.48 kB

Status: 2 added / 2 removed / 1 unchanged

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

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-CiUyySqE.js (new) — 26.7 kB 🔴 +26.7 kB 🔴 +6.71 kB 🔴 +5.92 kB
assets/CloudSurveyView-Dr73hrJh.js (removed) 26.7 kB — 🟢 -26.7 kB 🟢 -6.71 kB 🟢 -5.92 kB
assets/CloudLayoutView-Bi6kHdN-.js (removed) 21.7 kB — 🟢 -21.7 kB 🟢 -6.56 kB 🟢 -5.75 kB
assets/CloudLayoutView-BLiwknOW.js (new) — 21.7 kB 🔴 +21.7 kB 🔴 +6.56 kB 🔴 +5.74 kB
assets/useCloudAuthPage-1yBeTvn9.js (removed) 10.8 kB — 🟢 -10.8 kB 🟢 -4.07 kB 🟢 -3.44 kB
assets/useCloudAuthPage-BIKpPWZe.js (new) — 10.8 kB 🔴 +10.8 kB 🔴 +4.07 kB 🔴 +3.44 kB
assets/CloudLoginView-CbCByFzJ.js (new) — 9.49 kB 🔴 +9.49 kB 🔴 +2.66 kB 🔴 +2.34 kB
assets/CloudLoginView-DV-MbzmM.js (removed) 9.49 kB — 🟢 -9.49 kB 🟢 -2.66 kB 🟢 -2.34 kB
assets/UserCheckView-B2IVDf6X.js (removed) 8.61 kB — 🟢 -8.61 kB 🟢 -2.18 kB 🟢 -1.91 kB
assets/UserCheckView-D05nOQ5q.js (new) — 8.61 kB 🔴 +8.61 kB 🔴 +2.19 kB 🔴 +1.9 kB
assets/CloudSignupView-BC1KqoAB.js (new) — 6.98 kB 🔴 +6.98 kB 🔴 +2.29 kB 🔴 +2 kB
assets/CloudSignupView-BFq2ELnF.js (removed) 6.98 kB — 🟢 -6.98 kB 🟢 -2.28 kB 🟢 -1.99 kB
assets/WidgetTextPreview-BOK9YJMA.js (removed) 6.06 kB — 🟢 -6.06 kB 🟢 -2.12 kB 🟢 -1.89 kB
assets/WidgetTextPreview-vm5ZaC6N.js (new) — 6.06 kB 🔴 +6.06 kB 🔴 +2.13 kB 🔴 +1.89 kB
assets/UserSelectView-CuSnlNjW.js (new) — 5.91 kB 🔴 +5.91 kB 🔴 +2.07 kB 🔴 +1.8 kB
assets/UserSelectView-CWrnbb8a.js (removed) 5.91 kB — 🟢 -5.91 kB 🟢 -2.07 kB 🟢 -1.8 kB
assets/CloudSubscriptionRedirectView-B0EFkG4w.js (new) — 5.67 kB 🔴 +5.67 kB 🔴 +1.93 kB 🔴 +1.69 kB
assets/CloudSubscriptionRedirectView-CW0jhi-Z.js (removed) 5.67 kB — 🟢 -5.67 kB 🟢 -1.93 kB 🟢 -1.69 kB
assets/CloudForgotPasswordView-Bq9R9lH8.js (new) — 5.37 kB 🔴 +5.37 kB 🔴 +1.76 kB 🔴 +1.54 kB
assets/CloudForgotPasswordView-R_qu3iln.js (removed) 5.37 kB — 🟢 -5.37 kB 🟢 -1.76 kB 🟢 -1.53 kB
assets/CloudAuthTimeoutView-Bkr1eSwH.js (removed) 4.43 kB — 🟢 -4.43 kB 🟢 -1.54 kB 🟢 -1.33 kB
assets/CloudAuthTimeoutView-ByzCkp-o.js (new) — 4.43 kB 🔴 +4.43 kB 🔴 +1.54 kB 🔴 +1.33 kB
assets/WidgetResolutionPreview-Bgjci8Rv.js (new) — 3.78 kB 🔴 +3.78 kB 🔴 +1.49 kB 🔴 +1.33 kB
assets/WidgetResolutionPreview-DL47nzQH.js (removed) 3.78 kB — 🟢 -3.78 kB 🟢 -1.49 kB 🟢 -1.33 kB
assets/OAuthLayoutView-BNDNAMJ2.js (removed) 1.32 kB — 🟢 -1.32 kB 🟢 -706 B 🟢 -595 B
assets/OAuthLayoutView-L_E-ryDG.js (new) — 1.32 kB 🔴 +1.32 kB 🔴 +707 B 🔴 +596 B
assets/WidgetTextPreview-CfSiG7nb.js (new) — 131 B 🔴 +131 B 🔴 +100 B 🔴 +93 B
assets/WidgetTextPreview-xRyDo31e.js (removed) 131 B — 🟢 -131 B 🟢 -100 B 🟢 -89 B

Status: 14 added / 14 removed / 4 unchanged

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

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/KeybindingPanel-CcAhrEPx.js (removed) 50 kB — 🟢 -50 kB 🟢 -10.1 kB 🟢 -8.94 kB
assets/KeybindingPanel-ffAMN-V5.js (new) — 50 kB 🔴 +50 kB 🔴 +10.1 kB 🔴 +8.94 kB
assets/CreditsPanel-BovDANh-.js (removed) 40.2 kB — 🟢 -40.2 kB 🟢 -9.74 kB 🟢 -8.52 kB
assets/CreditsPanel-opLfJzmL.js (new) — 40.2 kB 🔴 +40.2 kB 🔴 +9.74 kB 🔴 +8.52 kB
assets/SecretsPanel-CklIiyyR.js (new) — 34.7 kB 🔴 +34.7 kB 🔴 +7.9 kB 🔴 +6.95 kB
assets/SecretsPanel-DzBZKT4p.js (removed) 34.7 kB — 🟢 -34.7 kB 🟢 -7.9 kB 🟢 -6.95 kB
assets/AboutPanel-CWoM_7eB.js (new) — 11.4 kB 🔴 +11.4 kB 🔴 +3.15 kB 🔴 +2.82 kB
assets/AboutPanel-D5JlEqZA.js (removed) 11.4 kB — 🟢 -11.4 kB 🟢 -3.15 kB 🟢 -2.83 kB
assets/ExtensionPanel-BEt8Qp79.js (new) — 9.7 kB 🔴 +9.7 kB 🔴 +2.59 kB 🔴 +2.29 kB
assets/ExtensionPanel-dxhuUMLR.js (removed) 9.7 kB — 🟢 -9.7 kB 🟢 -2.59 kB 🟢 -2.29 kB
assets/refreshRemoteConfig-C9wwMQbd.js (removed) 7.85 kB — 🟢 -7.85 kB 🟢 -2.3 kB 🟢 -2.02 kB
assets/refreshRemoteConfig-mE0aXBxB.js (new) — 7.85 kB 🔴 +7.85 kB 🔴 +2.3 kB 🔴 +2.02 kB
assets/UserPanel-C5ga2jak.js (new) — 6.4 kB 🔴 +6.4 kB 🔴 +2.02 kB 🔴 +1.74 kB
assets/UserPanel-D8K_dSFf.js (removed) 6.4 kB — 🟢 -6.4 kB 🟢 -2.02 kB 🟢 -1.74 kB
assets/ServerConfigPanel-D9uMTX-X.js (new) — 6.11 kB 🔴 +6.11 kB 🔴 +1.96 kB 🔴 +1.73 kB
assets/ServerConfigPanel-f54wnE25.js (removed) 6.11 kB — 🟢 -6.11 kB 🟢 -1.96 kB 🟢 -1.73 kB
assets/CreditsPanel-CDv78FnK.js (new) — 116 B 🔴 +116 B 🔴 +95 B 🔴 +88 B
assets/CreditsPanel-DGTo6_7s.js (removed) 116 B — 🟢 -116 B 🟢 -95 B 🟢 -84 B
assets/refreshRemoteConfig-BaTY1Xhk.js (new) — 110 B 🔴 +110 B 🔴 +89 B 🔴 +92 B
assets/refreshRemoteConfig-iqsH3p67.js (removed) 110 B — 🟢 -110 B 🟢 -89 B 🟢 -82 B

Status: 10 added / 10 removed / 18 unchanged

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

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SignUpForm-DaXnWeVE.js (removed) 22.5 kB — 🟢 -22.5 kB 🟢 -7.42 kB 🟢 -6.41 kB
assets/SignUpForm-DoZyGh1g.js (new) — 22.5 kB 🔴 +22.5 kB 🔴 +7.42 kB 🔴 +6.38 kB
assets/PasswordFields-8Cn8xKYq.js (new) — 5.98 kB 🔴 +5.98 kB 🔴 +1.7 kB 🔴 +1.49 kB
assets/PasswordFields-DEdF3HTI.js (removed) 5.98 kB — 🟢 -5.98 kB 🟢 -1.7 kB 🟢 -1.49 kB
assets/auth-C2IcjQSr.js (new) — 4.96 kB 🔴 +4.96 kB 🔴 +1.66 kB 🔴 +1.41 kB
assets/auth-f8_Vg_ma.js (removed) 4.96 kB — 🟢 -4.96 kB 🟢 -1.66 kB 🟢 -1.41 kB
assets/InviteWrongAccountDialogContent-BTBxwshN.js (removed) 3.58 kB — 🟢 -3.58 kB 🟢 -1.36 kB 🟢 -1.16 kB
assets/InviteWrongAccountDialogContent-CnuVIdlQ.js (new) — 3.58 kB 🔴 +3.58 kB 🔴 +1.36 kB 🔴 +1.16 kB
assets/UpdatePasswordContent-BbRgCTfn.js (new) — 2.01 kB 🔴 +2.01 kB 🔴 +928 B 🔴 +807 B
assets/UpdatePasswordContent-Bdh9C4UY.js (removed) 2.01 kB — 🟢 -2.01 kB 🟢 -927 B 🟢 -806 B
assets/authStore-DX-xVoDo.js (new) — 126 B 🔴 +126 B 🔴 +103 B 🔴 +104 B
assets/authStore-rRln5kg9.js (removed) 126 B — 🟢 -126 B 🟢 -103 B 🟢 -104 B
assets/workspaceAuthStore-BEHzWARA.js (new) — 108 B 🔴 +108 B 🔴 +99 B 🔴 +112 B
assets/workspaceAuthStore-DNXmx0Z2.js (removed) 108 B — 🟢 -108 B 🟢 -99 B 🟢 -112 B
assets/auth-CfXNW26e.js (removed) 105 B — 🟢 -105 B 🟢 -96 B 🟢 -81 B
assets/auth-Do0avEFC.js (new) — 105 B 🔴 +105 B 🔴 +96 B 🔴 +80 B

Status: 8 added / 8 removed / 7 unchanged

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

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyHubPublishDialog-DLBljsRs.js (removed) 90.7 kB — 🟢 -90.7 kB 🟢 -19.3 kB 🟢 -16.5 kB
assets/ComfyHubPublishDialog-DrdFpvt1.js (new) — 90.7 kB 🔴 +90.7 kB 🔴 +19.3 kB 🔴 +16.5 kB
assets/useShareDialog-CzblFu7V.js (new) — 23.9 kB 🔴 +23.9 kB 🔴 +5.74 kB 🔴 +5.08 kB
assets/useShareDialog-D1OSAAGw.js (removed) 23.9 kB — 🟢 -23.9 kB 🟢 -5.74 kB 🟢 -5.08 kB
assets/feedbackDialog-3ohrIfDY.js (new) — 4.45 kB 🔴 +4.45 kB 🔴 +1.87 kB 🔴 +1.59 kB
assets/feedbackDialog-BZETWA_I.js (removed) 4.45 kB — 🟢 -4.45 kB 🟢 -1.86 kB 🟢 -1.59 kB
assets/useRangeEditor-CmT6PMSN.js (removed) 3.29 kB — 🟢 -3.29 kB 🟢 -1.14 kB 🟢 -1.04 kB
assets/useRangeEditor-ukcujZBR.js (new) — 3.29 kB 🔴 +3.29 kB 🔴 +1.14 kB 🔴 +1.04 kB
assets/useLayerEditor-CSE1hsA0.js (new) — 1.19 kB 🔴 +1.19 kB 🔴 +566 B 🔴 +494 B
assets/useLayerEditor-DILiFiB-.js (removed) 1.19 kB — 🟢 -1.19 kB 🟢 -566 B 🟢 -510 B
assets/ComfyHubPublishDialog-GltIIKgJ.js (removed) 143 B — 🟢 -143 B 🟢 -105 B 🟢 -92 B
assets/ComfyHubPublishDialog-TEdwf54E.js (new) — 143 B 🔴 +143 B 🔴 +105 B 🔴 +86 B
assets/useSubscriptionDialog-sirOvTf3.js (removed) 108 B — 🟢 -108 B 🟢 -102 B 🟢 -87 B
assets/useSubscriptionDialog-vArsYu6N.js (new) — 108 B 🔴 +108 B 🔴 +102 B 🔴 +96 B

Status: 7 added / 7 removed / 1 unchanged

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

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useMoreOptionsMenu-Bor7z7dL.js (removed) 48 kB — 🟢 -48 kB 🟢 -11.6 kB 🟢 -10 kB
assets/useMoreOptionsMenu-OWIYQhVd.js (new) — 48 kB 🔴 +48 kB 🔴 +11.6 kB 🔴 +10 kB
assets/cameraTransform-BYRgHz4r.js (new) — 24.8 kB 🔴 +24.8 kB 🔴 +6.73 kB 🔴 +5.95 kB
assets/cameraTransform-CeHu9--B.js (removed) 24.8 kB — 🟢 -24.8 kB 🟢 -6.72 kB 🟢 -5.96 kB
assets/ComfyQueueButton-CYN6-3eh.js (removed) 13.7 kB — 🟢 -13.7 kB 🟢 -3.7 kB 🟢 -3.29 kB
assets/ComfyQueueButton-FynAt9km.js (new) — 13.7 kB 🔴 +13.7 kB 🔴 +3.7 kB 🔴 +3.29 kB
assets/useTerminalTabs-BlcTXUJE.js (new) — 11.8 kB 🔴 +11.8 kB 🔴 +3.71 kB 🔴 +3.29 kB
assets/useTerminalTabs-Cv4A14rx.js (removed) 11.8 kB — 🟢 -11.8 kB 🟢 -3.71 kB 🟢 -3.29 kB
assets/InviteMembersForm-C3zK8mno.js (new) — 10.5 kB 🔴 +10.5 kB 🔴 +3.17 kB 🔴 +2.81 kB
assets/InviteMembersForm-DrFKr1m9.js (removed) 10.5 kB — 🟢 -10.5 kB 🟢 -3.17 kB 🟢 -2.81 kB
assets/SubscribeButton-C_lBTM_I.js (new) — 2.19 kB 🔴 +2.19 kB 🔴 +978 B 🔴 +855 B
assets/SubscribeButton-iCcWgm0p.js (removed) 2.19 kB — 🟢 -2.19 kB 🟢 -977 B 🟢 -853 B
assets/cloudFeedbackTopbarButton-CgPTgYCI.js (new) — 701 B 🔴 +701 B 🔴 +422 B 🔴 +379 B
assets/cloudFeedbackTopbarButton-CjZAD4Nw.js (removed) 701 B — 🟢 -701 B 🟢 -421 B 🟢 -385 B
assets/ComfyQueueButton-B0Y8Cm5_.js (new) — 128 B 🔴 +128 B 🔴 +99 B 🔴 +89 B
assets/ComfyQueueButton-B2F_zUQc.js (removed) 128 B — 🟢 -128 B 🟢 -99 B 🟢 -93 B

Status: 8 added / 8 removed / 10 unchanged

Data & Services — 4.13 MB (baseline 4.13 MB) • ⚪ 0 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/settingStore-B6_RlLnq.js (removed) 3.79 MB — 🟢 -3.79 MB 🟢 -908 kB 🟢 -682 kB
assets/settingStore-DaKP4BOA.js (new) — 3.79 MB 🔴 +3.79 MB 🔴 +908 kB 🔴 +682 kB
assets/api-CEhwQbxF.js (new) — 201 kB 🔴 +201 kB 🔴 +48.1 kB 🔴 +40.2 kB
assets/api-EmgeZ-HE.js (removed) 201 kB — 🟢 -201 kB 🟢 -48.1 kB 🟢 -40.1 kB
assets/load3dService-BceHGp9c.js (removed) 87.4 kB — 🟢 -87.4 kB 🟢 -20.5 kB 🟢 -17.7 kB
assets/load3dService-HkjcofXU.js (new) — 87.4 kB 🔴 +87.4 kB 🔴 +20.5 kB 🔴 +17.7 kB
assets/releaseStore-BkZEcBL8.js (new) — 24.9 kB 🔴 +24.9 kB 🔴 +7.39 kB 🔴 +6.5 kB
assets/releaseStore-Fm2NbHZ4.js (removed) 24.9 kB — 🟢 -24.9 kB 🟢 -7.39 kB 🟢 -6.5 kB
assets/workflowShareService-C0BqID8v.js (removed) 17.2 kB — 🟢 -17.2 kB 🟢 -5.12 kB 🟢 -4.53 kB
assets/workflowShareService-CbX3Xxc0.js (new) — 17.2 kB 🔴 +17.2 kB 🔴 +5.12 kB 🔴 +4.53 kB
assets/audioService-B5q5nUmY.js (removed) 1.71 kB — 🟢 -1.71 kB 🟢 -824 B 🟢 -721 B
assets/audioService-C3LRokO9.js (new) — 1.71 kB 🔴 +1.71 kB 🔴 +825 B 🔴 +724 B
assets/dialogService-Dv9u-i2c.js (new) — 97 B 🔴 +97 B 🔴 +96 B 🔴 +94 B
assets/dialogService-No1hLtdi.js (removed) 97 B — 🟢 -97 B 🟢 -96 B 🟢 -80 B
assets/releaseStore-C21wNdif.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -87 B
assets/releaseStore-O7Qpxehv.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +85 B
assets/settingStore-7ckjeodH.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -81 B
assets/settingStore-BAHbokeA.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +90 B
assets/assetsStore-0-d9U7c9.js (removed) 94 B — 🟢 -94 B 🟢 -92 B 🟢 -87 B
assets/assetsStore-ColMCqEf.js (new) — 94 B 🔴 +94 B 🔴 +92 B 🔴 +87 B
assets/api-1AhYH_Au.js (removed) 62 B — 🟢 -62 B 🟢 -74 B 🟢 -66 B
assets/api-C4l-sXh4.js (new) — 62 B 🔴 +62 B 🔴 +74 B 🔴 +66 B

Status: 11 added / 11 removed / 3 unchanged

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

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useConflictDetection-Dd0DSi3e.js (new) — 247 kB 🔴 +247 kB 🔴 +56.3 kB 🔴 +45.8 kB
assets/useConflictDetection-DSkqhiJy.js (removed) 247 kB — 🟢 -247 kB 🟢 -56.3 kB 🟢 -45.8 kB
assets/useLayerEditorSession-DLeSFzlO.js (removed) 159 kB — 🟢 -159 kB 🟢 -41 kB 🟢 -34.5 kB
assets/useLayerEditorSession-n_3i8m-W.js (new) — 159 kB 🔴 +159 kB 🔴 +41 kB 🔴 +34.5 kB
assets/useLoad3d-DxaEfXnS.js (removed) 26.7 kB — 🟢 -26.7 kB 🟢 -6.03 kB 🟢 -5.34 kB
assets/useLoad3d-o2bYeh2y.js (new) — 26.7 kB 🔴 +26.7 kB 🔴 +6.04 kB 🔴 +5.34 kB
assets/useLoad3dViewer-Bg3_D5vG.js (removed) 21.9 kB — 🟢 -21.9 kB 🟢 -5.25 kB 🟢 -4.59 kB
assets/useLoad3dViewer-Df0efdr_.js (new) — 21.9 kB 🔴 +21.9 kB 🔴 +5.25 kB 🔴 +4.59 kB
assets/useImageCrop-CkzHuaG9.js (new) — 15.3 kB 🔴 +15.3 kB 🔴 +3.54 kB 🔴 +3.08 kB
assets/useImageCrop-DCk6UWFd.js (removed) 15.3 kB — 🟢 -15.3 kB 🟢 -3.54 kB 🟢 -3.08 kB
assets/useFeatureFlags-B_6mXYCW.js (removed) 12.8 kB — 🟢 -12.8 kB 🟢 -3.82 kB 🟢 -3.19 kB
assets/useFeatureFlags-DTtukF8E.js (new) — 12.8 kB 🔴 +12.8 kB 🔴 +3.82 kB 🔴 +3.2 kB
assets/useDowngradeToPersonal-4syZYgf1.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -2.83 kB 🟢 -2.43 kB
assets/useDowngradeToPersonal-rKOGkQA-.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +2.83 kB 🔴 +2.43 kB
assets/useExternalLink-CKY7QTGO.js (new) — 10.2 kB 🔴 +10.2 kB 🔴 +3.51 kB 🔴 +3.04 kB
assets/useExternalLink-DlXYxb8G.js (removed) 10.2 kB — 🟢 -10.2 kB 🟢 -3.51 kB 🟢 -3.04 kB
assets/usePricingTableUrlLoader-Chco86yU.js (removed) 4.81 kB — 🟢 -4.81 kB 🟢 -1.66 kB 🟢 -1.41 kB
assets/usePricingTableUrlLoader-CnLA1etH.js (new) — 4.81 kB 🔴 +4.81 kB 🔴 +1.66 kB 🔴 +1.41 kB
assets/downloadUtil-CQfHAAdc.js (new) — 3.67 kB 🔴 +3.67 kB 🔴 +1.41 kB 🔴 +1.16 kB
assets/downloadUtil-CWqlDIWM.js (removed) 3.67 kB — 🟢 -3.67 kB 🟢 -1.41 kB 🟢 -1.16 kB
assets/useSocialSignIn-ClReOT4e.js (new) — 3.13 kB 🔴 +3.13 kB 🔴 +1.35 kB 🔴 +1.16 kB
assets/useSocialSignIn-CV61GpTx.js (removed) 3.13 kB — 🟢 -3.13 kB 🟢 -1.35 kB 🟢 -1.16 kB
assets/useCompositorLayers-BWCa3KRC.js (removed) 2.93 kB — 🟢 -2.93 kB 🟢 -860 B 🟢 -776 B
assets/useCompositorLayers-iTcy-e_j.js (new) — 2.93 kB 🔴 +2.93 kB 🔴 +861 B 🔴 +777 B
assets/useScheduledPlanChange-9ylQC-gn.js (removed) 2.4 kB — 🟢 -2.4 kB 🟢 -960 B 🟢 -832 B
assets/useScheduledPlanChange-Cjc2vnEZ.js (new) — 2.4 kB 🔴 +2.4 kB 🔴 +961 B 🔴 +837 B
assets/useWorkspaceTierLabel-Bs1AThDg.js (new) — 2.03 kB 🔴 +2.03 kB 🔴 +869 B 🔴 +734 B
assets/useWorkspaceTierLabel-CFEX-k8K.js (removed) 2.03 kB — 🟢 -2.03 kB 🟢 -869 B 🟢 -736 B
assets/useUpstreamValue-Btd4wJep.js (removed) 1.97 kB — 🟢 -1.97 kB 🟢 -753 B 🟢 -663 B
assets/useUpstreamValue-Cq5Gbjh6.js (new) — 1.97 kB 🔴 +1.97 kB 🔴 +752 B 🔴 +698 B
assets/useSessionCookie-9Bh2xJdT.js (removed) 728 B — 🟢 -728 B 🟢 -374 B 🟢 -325 B
assets/useSessionCookie-C83riwFH.js (new) — 728 B 🔴 +728 B 🔴 +376 B 🔴 +323 B
assets/useLoad3d-C6SNTjnU.js (removed) 364 B — 🟢 -364 B 🟢 -178 B 🟢 -158 B
assets/useLoad3d-DX2wH4HX.js (new) — 364 B 🔴 +364 B 🔴 +178 B 🔴 +157 B
assets/useSessionCookie--4OD6nke.js (new) — 101 B 🔴 +101 B 🔴 +86 B 🔴 +78 B
assets/useSessionCookie-Qx4wx52x.js (removed) 101 B — 🟢 -101 B 🟢 -86 B 🟢 -80 B
assets/useFeatureFlags-BqzK1OL3.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -80 B
assets/useFeatureFlags-fgzLpe8y.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +80 B
assets/useLoad3dViewer-DdzY0gz0.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -86 B
assets/useLoad3dViewer-Dmyo__-Y.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +81 B
assets/useCurrentUser-BjkK2R80.js (removed) 93 B — 🟢 -93 B 🟢 -94 B 🟢 -79 B
assets/useCurrentUser-BTjV5GEY.js (new) — 93 B 🔴 +93 B 🔴 +94 B 🔴 +94 B

Status: 21 added / 21 removed / 17 unchanged

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

External libraries and shared vendor chunks

Status: 18 unchanged

Other — 18.3 MB (baseline 18.3 MB) • 🟢 -72 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/main-Cx5y85Ju.js (removed) 237 kB — 🟢 -237 kB 🟢 -68.8 kB 🟢 -57.7 kB
assets/main-CyGQ7PaK.js (new) — 236 kB 🔴 +236 kB 🔴 +68.8 kB 🔴 +57.7 kB
assets/SubscriptionTransitionPreviewWorkspace-DE4_1dKq.js (new) — 148 kB 🔴 +148 kB 🔴 +31 kB 🔴 +25.5 kB
assets/SubscriptionTransitionPreviewWorkspace-EPUuS0ga.js (removed) 148 kB — 🟢 -148 kB 🟢 -31 kB 🟢 -25.5 kB
assets/WorkspaceSettingsPanelContent-D3_8AIqB.js (removed) 124 kB — 🟢 -124 kB 🟢 -24.4 kB 🟢 -20.2 kB
assets/WorkspaceSettingsPanelContent-DHdgh2ly.js (new) — 124 kB 🔴 +124 kB 🔴 +24.4 kB 🔴 +20.2 kB
assets/core-Dd3CrJyc.js (removed) 121 kB — 🟢 -121 kB 🟢 -32.2 kB 🟢 -27.1 kB
assets/core-DFR2rGCy.js (new) — 121 kB 🔴 +121 kB 🔴 +32.2 kB 🔴 +27.1 kB
assets/WidgetSelect-CeKzluSF.js (removed) 89.2 kB — 🟢 -89.2 kB 🟢 -20.3 kB 🟢 -17.3 kB
assets/WidgetSelect-DaFic4cF.js (new) — 89.2 kB 🔴 +89.2 kB 🔴 +20.3 kB 🔴 +17.3 kB
assets/Load3D-B8wuUZj5.js (removed) 82.7 kB — 🟢 -82.7 kB 🟢 -13.7 kB 🟢 -11.5 kB
assets/Load3D-nF6WFTRP.js (new) — 82.7 kB 🔴 +82.7 kB 🔴 +13.7 kB 🔴 +11.5 kB
assets/WidgetVideoEdit-Dnq1lGTS.js (new) — 74.3 kB 🔴 +74.3 kB 🔴 +17.7 kB 🔴 +15.5 kB
assets/WidgetVideoEdit-uYUP-AZC.js (removed) 74.3 kB — 🟢 -74.3 kB 🟢 -17.7 kB 🟢 -15.5 kB
assets/Preview3d-BfOh5nGW.js (new) — 52.6 kB 🔴 +52.6 kB 🔴 +8.59 kB 🔴 +7.5 kB
assets/Preview3d-BkftMR3M.js (removed) 52.6 kB — 🟢 -52.6 kB 🟢 -8.59 kB 🟢 -7.5 kB
assets/SubscriptionRequiredDialogContentUnified-BRKJPnsZ.js (removed) 52.4 kB — 🟢 -52.4 kB 🟢 -11 kB 🟢 -9.59 kB
assets/SubscriptionRequiredDialogContentUnified-wt7OOVs5.js (new) — 52.4 kB 🔴 +52.4 kB 🔴 +11 kB 🔴 +9.64 kB
assets/main-BWhXwBSP.js (new) — 47.9 kB 🔴 +47.9 kB 🔴 +14.3 kB 🔴 +12.3 kB
assets/main-Cc2yks_6.js (removed) 47.9 kB — 🟢 -47.9 kB 🟢 -14.3 kB 🟢 -12.3 kB
assets/Viewport3d-Bqb_bYIo.js (new) — 47.7 kB 🔴 +47.7 kB 🔴 +10.2 kB 🔴 +9.06 kB
assets/Viewport3d-Df1CgH5F.js (removed) 47.7 kB — 🟢 -47.7 kB 🟢 -10.2 kB 🟢 -9.07 kB
assets/LayerEditorContent-B0T6e7rg.js (removed) 45.4 kB — 🟢 -45.4 kB 🟢 -10.6 kB 🟢 -9.27 kB
assets/LayerEditorContent-Vg9VXVKs.js (new) — 45.4 kB 🔴 +45.4 kB 🔴 +10.6 kB 🔴 +9.26 kB
assets/CameraInfo-Cn-HkD7f.js (removed) 45.1 kB — 🟢 -45.1 kB 🟢 -10.4 kB 🟢 -9.11 kB
assets/CameraInfo-M2tE33L5.js (new) — 45.1 kB 🔴 +45.1 kB 🔴 +10.4 kB 🔴 +9.12 kB
assets/WidgetBoundingBoxes-BtI0jEAZ.js (removed) 33.8 kB — 🟢 -33.8 kB 🟢 -9.17 kB 🟢 -8.12 kB
assets/WidgetBoundingBoxes-CmtltWer.js (new) — 33.8 kB 🔴 +33.8 kB 🔴 +9.17 kB 🔴 +8.13 kB
assets/WidgetPainter-BDvvBlvh.js (removed) 32.1 kB — 🟢 -32.1 kB 🟢 -7.89 kB 🟢 -6.97 kB
assets/WidgetPainter-BYpZ-1e6.js (new) — 32.1 kB 🔴 +32.1 kB 🔴 +7.88 kB 🔴 +6.98 kB
assets/HdrViewerContent-BvhyJ98z.js (new) — 31.1 kB 🔴 +31.1 kB 🔴 +8.54 kB 🔴 +7.56 kB
assets/HdrViewerContent-CK-UZh5Y.js (removed) 31.1 kB — 🟢 -31.1 kB 🟢 -8.54 kB 🟢 -7.57 kB
assets/Load3dViewerContent-C_yfdpdf.js (removed) 30.7 kB — 🟢 -30.7 kB 🟢 -6.21 kB 🟢 -5.36 kB
assets/Load3dViewerContent-qodnjeHL.js (new) — 30.7 kB 🔴 +30.7 kB 🔴 +6.21 kB 🔴 +5.36 kB
assets/CameraAngle-Byfuv4iA.js (removed) 28.1 kB — 🟢 -28.1 kB 🟢 -8.13 kB 🟢 -7.18 kB
assets/CameraAngle-IUTxAMLZ.js (new) — 28.1 kB 🔴 +28.1 kB 🔴 +8.13 kB 🔴 +7.19 kB
assets/SubscriptionRequiredDialogContent-CXm2VdZY.js (removed) 27.1 kB — 🟢 -27.1 kB 🟢 -6.35 kB 🟢 -5.59 kB
assets/SubscriptionRequiredDialogContent-D6oi4lN0.js (new) — 27.1 kB 🔴 +27.1 kB 🔴 +6.35 kB 🔴 +5.59 kB
assets/SubscriptionRequiredDialogContentWorkspace-BEWBmqqW.js (removed) 26.5 kB — 🟢 -26.5 kB 🟢 -6.05 kB 🟢 -5.33 kB
assets/SubscriptionRequiredDialogContentWorkspace-DOhSad1x.js (new) — 26.5 kB 🔴 +26.5 kB 🔴 +6.05 kB 🔴 +5.33 kB
assets/SingleSelect-C-p1ymA6.js (new) — 23.8 kB 🔴 +23.8 kB 🔴 +6 kB 🔴 +5.23 kB
assets/SingleSelect-D1JbTafF.js (removed) 23.8 kB — 🟢 -23.8 kB 🟢 -6 kB 🟢 -5.23 kB
assets/load3d-ixpEQgP6.js (new) — 23.2 kB 🔴 +23.2 kB 🔴 +5.76 kB 🔴 +5 kB
assets/load3d-JSYiF5X6.js (removed) 23.2 kB — 🟢 -23.2 kB 🟢 -5.76 kB 🟢 -4.99 kB
assets/SignInContent-C2zru1y6.js (removed) 21.6 kB — 🟢 -21.6 kB 🟢 -5.51 kB 🟢 -4.82 kB
assets/SignInContent-DXVzFYEU.js (new) — 21.6 kB 🔴 +21.6 kB 🔴 +5.51 kB 🔴 +4.81 kB
assets/CurrentUserPopoverWorkspace-BIHFPA1h.js (removed) 18 kB — 🟢 -18 kB 🟢 -4.24 kB 🟢 -3.74 kB
assets/CurrentUserPopoverWorkspace-oDquA9n9.js (new) — 18 kB 🔴 +18 kB 🔴 +4.24 kB 🔴 +3.75 kB
assets/i18n-2rYQ9jVG.js (new) — 17.1 kB 🔴 +17.1 kB 🔴 +4.61 kB 🔴 +3.86 kB
assets/i18n-CWQkiHjv.js (removed) 17.1 kB — 🟢 -17.1 kB 🟢 -4.61 kB 🟢 -3.88 kB
assets/WidgetRecordAudio-DqUW-3pN.js (removed) 16.5 kB — 🟢 -16.5 kB 🟢 -4.59 kB 🟢 -4.09 kB
assets/WidgetRecordAudio-E6PoFkfU.js (new) — 16.5 kB 🔴 +16.5 kB 🔴 +4.59 kB 🔴 +4.09 kB
assets/WidgetRange-CQbMydIu.js (removed) 13.7 kB — 🟢 -13.7 kB 🟢 -3.55 kB 🟢 -3.13 kB
assets/WidgetRange-pfCNsk38.js (new) — 13.7 kB 🔴 +13.7 kB 🔴 +3.55 kB 🔴 +3.13 kB
assets/WaveAudioPlayer-Cqz7-5G3.js (removed) 13.6 kB — 🟢 -13.6 kB 🟢 -3.63 kB 🟢 -3.19 kB
assets/WaveAudioPlayer-LQWAQB8M.js (new) — 13.6 kB 🔴 +13.6 kB 🔴 +3.63 kB 🔴 +3.2 kB
assets/WidgetInputNumber-9ccpVxTi.js (new) — 12.7 kB 🔴 +12.7 kB 🔴 +3.22 kB 🔴 +2.83 kB
assets/WidgetInputNumber-Vn-bL5DD.js (removed) 12.7 kB — 🟢 -12.7 kB 🟢 -3.22 kB 🟢 -2.83 kB
assets/WidgetCurve-DoMcAYdP.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.48 kB 🟢 -3.16 kB
assets/WidgetCurve-OWf86owK.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.48 kB 🔴 +3.16 kB
assets/launchCancellationFlow-CJV2tulg.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.04 kB 🟢 -2.69 kB
assets/launchCancellationFlow-DvSvjmjf.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.04 kB 🔴 +2.69 kB
assets/AudioPreviewPlayer-D5FkqXpA.js (removed) 10.6 kB — 🟢 -10.6 kB 🟢 -3.05 kB 🟢 -2.72 kB
assets/AudioPreviewPlayer-D8bMka9Y.js (new) — 10.6 kB 🔴 +10.6 kB 🔴 +3.05 kB 🔴 +2.73 kB
assets/TeamWorkspacesDialogContent-BwJ9ijwa.js (removed) 10.4 kB — 🟢 -10.4 kB 🟢 -2.99 kB 🟢 -2.64 kB
assets/TeamWorkspacesDialogContent-DJz3n-Vu.js (new) — 10.4 kB 🔴 +10.4 kB 🔴 +2.99 kB 🔴 +2.64 kB
assets/onboardingCloudRoutes-Blf45USO.js (new) — 10.2 kB 🔴 +10.2 kB 🔴 +2.87 kB 🔴 +2.46 kB
assets/onboardingCloudRoutes-DRjS3DBg.js (removed) 10.2 kB — 🟢 -10.2 kB 🟢 -2.87 kB 🟢 -2.46 kB
assets/InviteMemberDialogContent-A8kl9wai.js (removed) 9.64 kB — 🟢 -9.64 kB 🟢 -2.86 kB 🟢 -2.56 kB
assets/InviteMemberDialogContent-DRWw9jgm.js (new) — 9.64 kB 🔴 +9.64 kB 🔴 +2.86 kB 🔴 +2.55 kB
assets/nodeTemplates-_Y6RRgao.js (removed) 9.43 kB — 🟢 -9.43 kB 🟢 -3.13 kB 🟢 -2.75 kB
assets/nodeTemplates-CcRlqSn4.js (new) — 9.43 kB 🔴 +9.43 kB 🔴 +3.14 kB 🔴 +2.75 kB
assets/WidgetImageCompare-CQH0X0h4.js (removed) 9.41 kB — 🟢 -9.41 kB 🟢 -2.85 kB 🟢 -2.53 kB
assets/WidgetImageCompare-CvEm4ONv.js (new) — 9.41 kB 🔴 +9.41 kB 🔴 +2.85 kB 🔴 +2.53 kB
assets/WidgetImageCrop-B2-0lZxW.js (new) — 8.49 kB 🔴 +8.49 kB 🔴 +2.66 kB 🔴 +2.34 kB
assets/WidgetImageCrop-D4YZIVNM.js (removed) 8.49 kB — 🟢 -8.49 kB 🟢 -2.66 kB 🟢 -2.35 kB
assets/SetMemberCreditLimitDialogContent-CjfXM_ko.js (removed) 8.47 kB — 🟢 -8.47 kB 🟢 -2.34 kB 🟢 -2.06 kB
assets/SetMemberCreditLimitDialogContent-DNf3xlKl.js (new) — 8.47 kB 🔴 +8.47 kB 🔴 +2.34 kB 🔴 +2.04 kB
assets/CloudRunButtonWrapper-BYqULt4Q.js (removed) 8.11 kB — 🟢 -8.11 kB 🟢 -2.44 kB 🟢 -2.15 kB
assets/CloudRunButtonWrapper-DGKOXnYn.js (new) — 8.11 kB 🔴 +8.11 kB 🔴 +2.44 kB 🔴 +2.14 kB
assets/WorkspaceSwitcherPopover-BoRcX4Gi.js (removed) 8.08 kB — 🟢 -8.08 kB 🟢 -2.39 kB 🟢 -2.13 kB
assets/WorkspaceSwitcherPopover-q7_IUzYj.js (new) — 8.08 kB 🔴 +8.08 kB 🔴 +2.39 kB 🔴 +2.13 kB
assets/Load3DConfiguration-DC-TDRhE.js (new) — 7.96 kB 🔴 +7.96 kB 🔴 +2.48 kB 🔴 +2.18 kB
assets/Load3DConfiguration-DqKFlwNp.js (removed) 7.96 kB — 🟢 -7.96 kB 🟢 -2.48 kB 🟢 -2.18 kB
assets/NightlySurveyController-C3Z0GhxS.js (new) — 7.5 kB 🔴 +7.5 kB 🔴 +2.56 kB 🔴 +2.25 kB
assets/NightlySurveyController-CVY5mWAP.js (removed) 7.5 kB — 🟢 -7.5 kB 🟢 -2.56 kB 🟢 -2.25 kB
assets/LayoutDefault-B6mCsub_.js (new) — 7.41 kB 🔴 +7.41 kB 🔴 +2.44 kB 🔴 +2.14 kB
assets/LayoutDefault-DAKr2bq_.js (removed) 7.41 kB — 🟢 -7.41 kB 🟢 -2.44 kB 🟢 -2.15 kB
assets/WidgetWithControl-C2pld9cf.js (removed) 6.59 kB — 🟢 -6.59 kB 🟢 -2.73 kB 🟢 -2.41 kB
assets/WidgetWithControl-Cs39y5e5.js (new) — 6.59 kB 🔴 +6.59 kB 🔴 +2.74 kB 🔴 +2.38 kB
assets/missingModelMetadata-BE80QVmc.js (removed) 6.52 kB — 🟢 -6.52 kB 🟢 -2.22 kB 🟢 -1.94 kB
assets/missingModelMetadata-BJbI8UVT.js (new) — 6.52 kB 🔴 +6.52 kB 🔴 +2.22 kB 🔴 +1.95 kB
assets/CancelSubscriptionDialogContent-B_oROUN_.js (new) — 6.45 kB 🔴 +6.45 kB 🔴 +2.08 kB 🔴 +1.84 kB
assets/CancelSubscriptionDialogContent-D5bb2U6S.js (removed) 6.45 kB — 🟢 -6.45 kB 🟢 -2.08 kB 🟢 -1.84 kB
assets/load3dPreviewExtensions-C3b-pD1Y.js (new) — 6.08 kB 🔴 +6.08 kB 🔴 +1.85 kB 🔴 +1.64 kB
assets/load3dPreviewExtensions-c8rKZCDX.js (removed) 6.08 kB — 🟢 -6.08 kB 🟢 -1.85 kB 🟢 -1.63 kB
assets/main-CBaAeVVL.js (new) — 6 kB 🔴 +6 kB 🔴 +1.95 kB 🔴 +1.63 kB
assets/main-DpmP1oKb.js (removed) 6 kB — 🟢 -6 kB 🟢 -1.95 kB 🟢 -1.63 kB
assets/ApiNodesSignInContent-DKxdY81m.js (removed) 5.68 kB — 🟢 -5.68 kB 🟢 -2.02 kB 🟢 -1.78 kB
assets/ApiNodesSignInContent-DVwmbR6Y.js (new) — 5.68 kB 🔴 +5.68 kB 🔴 +2.02 kB 🔴 +1.78 kB
assets/CreateWorkspaceDialogContent-DOOs1fRP.js (removed) 5.11 kB — 🟢 -5.11 kB 🟢 -1.79 kB 🟢 -1.55 kB
assets/CreateWorkspaceDialogContent-EUR70is1.js (new) — 5.11 kB 🔴 +5.11 kB 🔴 +1.79 kB 🔴 +1.55 kB
assets/ChangeMemberRoleDialogContent-Bj64es6P.js (removed) 4.96 kB — 🟢 -4.96 kB 🟢 -1.63 kB 🟢 -1.43 kB
assets/ChangeMemberRoleDialogContent-DBaeCezL.js (new) — 4.96 kB 🔴 +4.96 kB 🔴 +1.64 kB 🔴 +1.42 kB
assets/GlobalToast-Dudq7NKL.js (new) — 4.94 kB 🔴 +4.94 kB 🔴 +1.79 kB 🔴 +1.55 kB
assets/GlobalToast-fy2xGags.js (removed) 4.94 kB — 🟢 -4.94 kB 🟢 -1.78 kB 🟢 -1.55 kB
assets/EditWorkspaceDialogContent-bZh_FmWp.js (new) — 4.92 kB 🔴 +4.92 kB 🔴 +1.76 kB 🔴 +1.52 kB
assets/EditWorkspaceDialogContent-D2Q4sHLM.js (removed) 4.92 kB — 🟢 -4.92 kB 🟢 -1.76 kB 🟢 -1.52 kB
assets/WidgetTextarea-BADxwM2J.js (new) — 4.83 kB 🔴 +4.83 kB 🔴 +1.88 kB 🔴 +1.65 kB
assets/WidgetTextarea-DoY4stpA.js (removed) 4.83 kB — 🟢 -4.83 kB 🟢 -1.88 kB 🟢 -1.64 kB
assets/saveMesh-BTzySq3k.js (new) — 4.74 kB 🔴 +4.74 kB 🔴 +1.52 kB 🔴 +1.33 kB
assets/saveMesh-uPGOM2ZM.js (removed) 4.74 kB — 🟢 -4.74 kB 🟢 -1.51 kB 🟢 -1.34 kB
assets/ValueControlPopover-D7BDidnS.js (new) — 4.33 kB 🔴 +4.33 kB 🔴 +1.5 kB 🔴 +1.32 kB
assets/ValueControlPopover-D8YfyDrC.js (removed) 4.33 kB — 🟢 -4.33 kB 🟢 -1.5 kB 🟢 -1.32 kB
assets/cameraAngle-afW7-T12.js (new) — 3.91 kB 🔴 +3.91 kB 🔴 +1.99 kB 🔴 +1.72 kB
assets/cameraAngle-Ih95mAKc.js (removed) 3.91 kB — 🟢 -3.91 kB 🟢 -1.99 kB 🟢 -1.73 kB
assets/DeleteWorkspaceDialogContent-DCDr1_4m.js (new) — 3.84 kB 🔴 +3.84 kB 🔴 +1.43 kB 🔴 +1.23 kB
assets/DeleteWorkspaceDialogContent-DNpL_ctT.js (removed) 3.84 kB — 🟢 -3.84 kB 🟢 -1.43 kB 🟢 -1.23 kB
assets/RemoveMemberDialogContent-DfEtqE0a.js (removed) 3.75 kB — 🟢 -3.75 kB 🟢 -1.38 kB 🟢 -1.19 kB
assets/RemoveMemberDialogContent-McBkrNJj.js (new) — 3.75 kB 🔴 +3.75 kB 🔴 +1.38 kB 🔴 +1.21 kB
assets/RevokeInviteDialogContent-1JLnTMXX.js (removed) 3.66 kB — 🟢 -3.66 kB 🟢 -1.39 kB 🟢 -1.21 kB
assets/RevokeInviteDialogContent-CeONkX2v.js (new) — 3.66 kB 🔴 +3.66 kB 🔴 +1.39 kB 🔴 +1.21 kB
assets/LeaveWorkspaceDialogContent-CADUmHWP.js (removed) 3.66 kB — 🟢 -3.66 kB 🟢 -1.38 kB 🟢 -1.19 kB
assets/LeaveWorkspaceDialogContent-Cb22_BZM.js (new) — 3.66 kB 🔴 +3.66 kB 🔴 +1.38 kB 🔴 +1.18 kB
assets/InviteMemberUpsellDialogContent-BnAv4RMN.js (removed) 3.46 kB — 🟢 -3.46 kB 🟢 -1.23 kB 🟢 -1.08 kB
assets/InviteMemberUpsellDialogContent-Bx9sezi-.js (new) — 3.46 kB 🔴 +3.46 kB 🔴 +1.23 kB 🔴 +1.08 kB
assets/SubscribeToRun--BXtrckU.js (new) — 3.34 kB 🔴 +3.34 kB 🔴 +1.42 kB 🔴 +1.22 kB
assets/SubscribeToRun-DiB-c54q.js (removed) 3.34 kB — 🟢 -3.34 kB 🟢 -1.42 kB 🟢 -1.22 kB
assets/Media3DTop-B1PUaKSl.js (removed) 3.23 kB — 🟢 -3.23 kB 🟢 -1.28 kB 🟢 -1.11 kB
assets/Media3DTop-C0cbIUwy.js (new) — 3.23 kB 🔴 +3.23 kB 🔴 +1.28 kB 🔴 +1.12 kB
assets/load3dAdvanced-BhBFM0aa.js (new) — 2.87 kB 🔴 +2.87 kB 🔴 +1.11 kB 🔴 +966 B
assets/load3dAdvanced-Cs0iF_0_.js (removed) 2.87 kB — 🟢 -2.87 kB 🟢 -1.11 kB 🟢 -968 B
assets/signInSchema-DD8fBxQ4.js (removed) 2.85 kB — 🟢 -2.85 kB 🟢 -1.02 kB 🟢 -861 B
assets/signInSchema-xSWBwGH_.js (new) — 2.85 kB 🔴 +2.85 kB 🔴 +1.02 kB 🔴 +864 B
assets/LocalRunButtonWrapper-BzWgFIhO.js (new) — 2.49 kB 🔴 +2.49 kB 🔴 +1.14 kB 🔴 +1 kB
assets/LocalRunButtonWrapper-DPxKa15P.js (removed) 2.49 kB — 🟢 -2.49 kB 🟢 -1.14 kB 🟢 -999 B
assets/paymentReturnUrl-BwIvoGKp.js (removed) 2.37 kB — 🟢 -2.37 kB 🟢 -1.1 kB 🟢 -885 B
assets/paymentReturnUrl-Jr88Iji8.js (new) — 2.37 kB 🔴 +2.37 kB 🔴 +1.1 kB 🔴 +886 B
assets/inviteLinks-B4SicCi7.js (removed) 2.08 kB — 🟢 -2.08 kB 🟢 -1.11 kB 🟢 -885 B
assets/inviteLinks-CeLFL4EG.js (new) — 2.08 kB 🔴 +2.08 kB 🔴 +1.11 kB 🔴 +884 B
assets/MediaAudioTop-CNbrnucO.js (removed) 1.62 kB — 🟢 -1.62 kB 🟢 -810 B 🟢 -668 B
assets/MediaAudioTop-DIrJMvgc.js (new) — 1.62 kB 🔴 +1.62 kB 🔴 +808 B 🔴 +670 B
assets/cameraInfo-CGTySyx_.js (new) — 1.1 kB 🔴 +1.1 kB 🔴 +575 B 🔴 +496 B
assets/cameraInfo-rhmvLo2_.js (removed) 1.1 kB — 🟢 -1.1 kB 🟢 -574 B 🟢 -519 B
assets/Load3DAdvanced-CIPuVjrd.js (new) — 761 B 🔴 +761 B 🔴 +424 B 🔴 +359 B
assets/Load3DAdvanced-D021cZi9.js (removed) 761 B — 🟢 -761 B 🟢 -422 B 🟢 -362 B
assets/Load3dViewerContent-BU7TzTMJ.js (removed) 137 B — 🟢 -137 B 🟢 -103 B 🟢 -89 B
assets/Load3dViewerContent-ByJYhClg.js (new) — 137 B 🔴 +137 B 🔴 +103 B 🔴 +91 B
assets/AudioPreviewPlayer-BDFFr-0B.js (removed) 134 B — 🟢 -134 B 🟢 -101 B 🟢 -86 B
assets/AudioPreviewPlayer-BsVy1C5w.js (new) — 134 B 🔴 +134 B 🔴 +101 B 🔴 +96 B
assets/missingModelMetadata-DwHAxozT.js (new) — 125 B 🔴 +125 B 🔴 +103 B 🔴 +103 B
assets/missingModelMetadata-Euz4glfj.js (removed) 125 B — 🟢 -125 B 🟢 -103 B 🟢 -103 B
assets/Load3DAdvanced-BBdmnrJs.js (new) — 122 B 🔴 +122 B 🔴 +97 B 🔴 +88 B
assets/Load3DAdvanced-Bqxd-FXL.js (removed) 122 B — 🟢 -122 B 🟢 -97 B 🟢 -88 B
assets/LayoutDefault-BZFMSUpN.js (removed) 119 B — 🟢 -119 B 🟢 -92 B 🟢 -88 B
assets/LayoutDefault-C_ziP4At.js (new) — 119 B 🔴 +119 B 🔴 +92 B 🔴 +87 B
assets/WidgetLegacy-Cu0pkyrH.js (removed) 117 B — 🟢 -117 B 🟢 -106 B 🟢 -104 B
assets/WidgetLegacy-DXlGv0h5.js (new) — 117 B 🔴 +117 B 🔴 +106 B 🔴 +104 B
assets/workflowDraftStoreV2-CWdKUQQx.js (removed) 112 B — 🟢 -112 B 🟢 -101 B 🟢 -110 B
assets/workflowDraftStoreV2-DSrZrDUg.js (new) — 112 B 🔴 +112 B 🔴 +101 B 🔴 +109 B
assets/CameraInfo-BDEVGUKQ.js (removed) 110 B — 🟢 -110 B 🟢 -93 B 🟢 -91 B
assets/CameraInfo-vKnGtf23.js (new) — 110 B 🔴 +110 B 🔴 +93 B 🔴 +89 B
assets/Load3D-DDI3_ASs.js (removed) 98 B — 🟢 -98 B 🟢 -89 B 🟢 -95 B
assets/Load3D-DWkNOWdN.js (new) — 98 B 🔴 +98 B 🔴 +89 B 🔴 +80 B
assets/i18n-C1IEqmr5.js (removed) 97 B — 🟢 -97 B 🟢 -92 B 🟢 -94 B
assets/i18n-CaRG5SoS.js (new) — 97 B 🔴 +97 B 🔴 +92 B 🔴 +101 B
assets/changeTracker-C85DfyA0.js (new) — 92 B 🔴 +92 B 🔴 +94 B 🔴 +86 B
assets/changeTracker-DvaN0nTC.js (removed) 92 B — 🟢 -92 B 🟢 -94 B 🟢 -87 B

Status: 84 added / 84 removed / 221 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 68.5 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.9 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.3 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.7 MB heap
dom-widget-order-dense-n200-w200-i120: · 38.1 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 270ms TBT · 88.0 MB heap
dom-widget-order-sparse-n1000-w20-i120: · 48.1 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 97ms TBT · 87.9 MB heap
extension-clean-combined-draw: · 45.5 avg FPS · 29.9 P5 FPS ❌ (target: ≥52) · 68ms TBT · 72.0 MB heap
extension-rgthree-prototype-draw: · 47.7 avg FPS · 29.9 P5 FPS ❌ (target: ≥52) · 14ms TBT · 84.9 MB heap
large-graph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 80.3 MB heap
large-graph-pan: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 80.3 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.7 MB heap
legacy-node-drag: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 75.9 MB heap
minimap-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 77.1 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 57.8 MB heap
subgraph-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 72.6 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.1 MB heap
subgraph-transition-enter: · 52.7 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 60ms TBT · 102.6 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 77.5 MB heap
vue-large-graph-idle: · 47.0 avg FPS · 29.9 P5 FPS ❌ (target: ≥52) · 0ms TBT · 171.0 MB heap
vue-large-graph-pan: · 39.0 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 171.2 MB heap
vue-node-resize-workload: · 38.6 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 197.2 MB heap
vue-zoom-out-idle: · 46.4 avg FPS · 29.9 P5 FPS ❌ (target: ≥52) · 0ms TBT · 168.2 MB heap
workflow-execution: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.2 MB heap
agent-composer-empty-conversation-typing: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.2 MB heap
agent-composer-long-conversation-typing: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 126.0 MB heap

⚠️ 10 regressions detected

Show regressions
Metric Baseline PR (median) Δ Sig
canvas-mouse-sweep: heap used 69.9 MB 69.9 MB +0% ⚠️ z=2.2
canvas-zoom-sweep: style recalc duration 10ms 11ms +17% ⚠️ z=2.3
dom-widget-clipping: avg frame time 17ms 17ms +0% ⚠️ z=2.2
large-graph-pan: style recalc duration 11ms 13ms +14% ⚠️ z=2.9
large-graph-zoom: layout duration 15ms 16ms +9% ⚠️ z=2.0
legacy-node-drag: style recalc count 42 47 +12% ⚠️ z=3.1
subgraph-idle: p95 frame time 17ms 17ms -0% ⚠️ z=3.7
subgraph-mouse-sweep: layout duration 6ms 7ms +9% ⚠️ z=2.2
viewport-pan-sweep: style recalc duration 37ms 43ms +16% ⚠️ z=3.2
agent-composer-long-conversation-typing: heap used 109.2 MB 126.0 MB +15% ⚠️ z=5.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 +0% z=0.5
canvas-idle: layout duration 0ms 0ms +0% —
canvas-idle: style recalc duration 3ms 4ms +10% z=-0.3
canvas-idle: layout count 0 0 +0% —
canvas-idle: style recalc count 8 10 +25% z=0.5
canvas-idle: task duration 416ms 291ms -30% z=-2.2
canvas-idle: script duration 11ms 10ms -7% z=0.1
canvas-idle: TBT 0ms 0ms +0% —
canvas-idle: heap used 72.1 MB 68.5 MB -5% z=0.6
canvas-idle: DOM nodes 0 0 +0% z=0.9
canvas-idle: event listeners 0 0 +0% z=0.7
canvas-mouse-sweep: avg frame time 17ms 17ms +0% z=0.5
canvas-mouse-sweep: p95 frame time 17ms 17ms +0% z=0.1
canvas-mouse-sweep: layout duration 5ms 4ms -5% z=0.3
canvas-mouse-sweep: style recalc duration 17ms 16ms -6% z=-0.4
canvas-mouse-sweep: layout count 12 12 +0% —
canvas-mouse-sweep: style recalc count 75 62 -17% z=-2.3
canvas-mouse-sweep: task duration 818ms 576ms -30% z=-2.2
canvas-mouse-sweep: script duration 167ms 118ms -30% z=-1.7
canvas-mouse-sweep: TBT 0ms 0ms +0% —
canvas-mouse-sweep: heap used 69.9 MB 69.9 MB +0% ⚠️ z=2.2
canvas-mouse-sweep: DOM nodes 0 0 +0% z=0.8
canvas-mouse-sweep: event listeners 0 0 +0% z=0.6
canvas-zoom-sweep: avg frame time 17ms 17ms +0% z=-0.4
canvas-zoom-sweep: p95 frame time 17ms 17ms -1% z=-1.8
canvas-zoom-sweep: layout duration 1ms 1ms +6% z=-0.1
canvas-zoom-sweep: style recalc duration 10ms 11ms +17% ⚠️ z=2.3
canvas-zoom-sweep: layout count 6 6 +0% —
canvas-zoom-sweep: style recalc count 31 32 +3% z=2.1
canvas-zoom-sweep: task duration 353ms 255ms -28% z=-2.0
canvas-zoom-sweep: script duration 13ms 12ms -4% z=-0.1
canvas-zoom-sweep: TBT 0ms 0ms +0% —
canvas-zoom-sweep: heap used 75.2 MB 65.3 MB -13% z=-1.5
canvas-zoom-sweep: DOM nodes -177 -63 -65% variance too high
canvas-zoom-sweep: event listeners 15 -65 -533% z=-1.7
dom-widget-clipping: avg frame time 17ms 17ms +0% ⚠️ z=2.2
dom-widget-clipping: p95 frame time 17ms 17ms -0% z=0.3
dom-widget-clipping: layout duration 0ms 0ms +0% —
dom-widget-clipping: style recalc duration 4ms 4ms -5% z=0.1
dom-widget-clipping: layout count 0 0 +0% —
dom-widget-clipping: style recalc count 12 12 -4% z=0.1
dom-widget-clipping: task duration 475ms 337ms -29% z=-2.1
dom-widget-clipping: script duration 176ms 117ms -33% z=-2.5
dom-widget-clipping: TBT 0ms 0ms +0% —
dom-widget-clipping: heap used 56.7 MB 64.7 MB +14% z=0.9
dom-widget-clipping: DOM nodes 0 -231 — z=-3.2
dom-widget-clipping: event listeners 0 0 +0% z=0.6
dom-widget-order-dense-n200-w200-i120: avg frame time 35ms 26ms -26% z=-3.2
dom-widget-order-dense-n200-w200-i120: p95 frame time 17ms 17ms +0% z=0.8
dom-widget-order-dense-n200-w200-i120: layout duration 0ms 0ms +0% —
dom-widget-order-dense-n200-w200-i120: style recalc duration 0ms 0ms +0% —
dom-widget-order-dense-n200-w200-i120: layout count 0 0 +0% —
dom-widget-order-dense-n200-w200-i120: style recalc count 0 0 +0% —
dom-widget-order-dense-n200-w200-i120: task duration 785ms 509ms -35% z=-2.7
dom-widget-order-dense-n200-w200-i120: script duration 74ms 38ms -48% z=-2.3
dom-widget-order-dense-n200-w200-i120: TBT 549ms 270ms -51% z=-3.0
dom-widget-order-dense-n200-w200-i120: heap used 102.0 MB 88.0 MB -14% z=-0.1
dom-widget-order-dense-n200-w200-i120: DOM nodes 0 0 +0% —
dom-widget-order-dense-n200-w200-i120: event listeners 0 0 +0% —
dom-widget-order-sparse-n1000-w20-i120: avg frame time 25ms 21ms -17% z=-3.8
dom-widget-order-sparse-n1000-w20-i120: p95 frame time 17ms 17ms -0% z=-0.4
dom-widget-order-sparse-n1000-w20-i120: layout duration 0ms 0ms +0% —
dom-widget-order-sparse-n1000-w20-i120: style recalc duration 0ms 0ms +0% —
dom-widget-order-sparse-n1000-w20-i120: layout count 0 0 +0% —
dom-widget-order-sparse-n1000-w20-i120: style recalc count 0 0 +0% —
dom-widget-order-sparse-n1000-w20-i120: task duration 485ms 298ms -39% z=-3.0
dom-widget-order-sparse-n1000-w20-i120: script duration 169ms 104ms -39% z=-2.1
dom-widget-order-sparse-n1000-w20-i120: TBT 227ms 97ms -57% z=-3.6
dom-widget-order-sparse-n1000-w20-i120: heap used 99.0 MB 87.9 MB -11% z=-1.6
dom-widget-order-sparse-n1000-w20-i120: DOM nodes 0 0 +0% —
dom-widget-order-sparse-n1000-w20-i120: event listeners 0 0 +0% —
extension-clean-combined-draw: avg frame time 33ms 22ms -33% z=-2.2
extension-clean-combined-draw: p95 frame time 67ms 33ms -50% z=-1.7
extension-clean-combined-draw: layout duration 0ms 0ms +0% —
extension-clean-combined-draw: style recalc duration 0ms 1ms — variance too high
extension-clean-combined-draw: layout count 0 0 +0% —
extension-clean-combined-draw: style recalc count 0 4 — variance too high
extension-clean-combined-draw: task duration 9874ms 5642ms -43% z=-1.8
extension-clean-combined-draw: script duration 8095ms 4346ms -46% z=-1.9
extension-clean-combined-draw: TBT 1213ms 68ms -94% variance too high
extension-clean-combined-draw: heap used 73.7 MB 72.0 MB -2% z=-1.2
extension-clean-combined-draw: DOM nodes -142 -71 -50% z=-0.1
extension-clean-combined-draw: event listeners -78 -26 -67% z=0.4
extension-rgthree-prototype-draw: avg frame time 34ms 21ms -38% z=-2.6
extension-rgthree-prototype-draw: p95 frame time 67ms 33ms -50% z=-1.6
extension-rgthree-prototype-draw: layout duration 0ms 0ms +0% —
extension-rgthree-prototype-draw: style recalc duration 0ms 1ms — variance too high
extension-rgthree-prototype-draw: layout count 0 0 +0% —
extension-rgthree-prototype-draw: style recalc count 0 5 — variance too high
extension-rgthree-prototype-draw: task duration 9317ms 5433ms -42% z=-2.1
extension-rgthree-prototype-draw: script duration 7920ms 4210ms -47% z=-2.1
extension-rgthree-prototype-draw: TBT 1579ms 14ms -99% variance too high
extension-rgthree-prototype-draw: heap used 76.3 MB 84.9 MB +11% z=0.8
extension-rgthree-prototype-draw: DOM nodes -142 -142 +0% z=-1.2
extension-rgthree-prototype-draw: event listeners -78 -65 -17% z=-0.7
large-graph-idle: avg frame time 17ms 17ms +0% z=1.3
large-graph-idle: p95 frame time 17ms 17ms +0% z=-1.5
large-graph-idle: layout duration 0ms 0ms +0% —
large-graph-idle: style recalc duration 3ms 3ms +12% z=-0.3
large-graph-idle: layout count 0 0 +0% —
large-graph-idle: style recalc count 8 10 +25% z=1.6
large-graph-idle: task duration 639ms 407ms -36% z=-2.1
large-graph-idle: script duration 35ms 30ms -15% z=-1.0
large-graph-idle: TBT 0ms 0ms +0% —
large-graph-idle: heap used 79.0 MB 80.3 MB +2% z=0.5
large-graph-idle: DOM nodes -328 -164 -50% z=-0.1
large-graph-idle: event listeners -164 -82 -50% z=-0.1
large-graph-pan: avg frame time 17ms 17ms -1% z=-0.9
large-graph-pan: p95 frame time 17ms 17ms -1% z=-1.8
large-graph-pan: layout duration 0ms 0ms +0% —
large-graph-pan: style recalc duration 11ms 13ms +14% ⚠️ z=2.9
large-graph-pan: layout count 0 0 +0% —
large-graph-pan: style recalc count 69 69 -1% z=-0.4
large-graph-pan: task duration 1770ms 1178ms -33% z=-2.0
large-graph-pan: script duration 901ms 579ms -36% z=-2.2
large-graph-pan: TBT 0ms 0ms +0% —
large-graph-pan: heap used 85.3 MB 80.3 MB -6% z=0.1
large-graph-pan: DOM nodes 0 -164 — z=-0.9
large-graph-pan: event listeners 0 -82 — z=-1.2
large-graph-zoom: avg frame time 17ms 17ms +0% z=-0.3
large-graph-zoom: p95 frame time 17ms 17ms +0% z=0.6
large-graph-zoom: layout duration 15ms 16ms +9% ⚠️ z=2.0
large-graph-zoom: style recalc duration 13ms 13ms +5% z=1.0
large-graph-zoom: layout count 60 60 +0% —
large-graph-zoom: style recalc count 64 64 +0% z=-0.7
large-graph-zoom: task duration 1782ms 1239ms -30% z=-2.3
large-graph-zoom: script duration 814ms 546ms -33% z=-2.5
large-graph-zoom: TBT 0ms 0ms +0% —
large-graph-zoom: heap used 72.9 MB 69.7 MB -4% z=-0.9
large-graph-zoom: DOM nodes 0 0 +0% z=0.6
large-graph-zoom: event listeners 0 0 +0% —
legacy-node-drag: avg frame time 17ms 17ms -1% z=-4.5
legacy-node-drag: p95 frame time 17ms 17ms -0% z=1.8
legacy-node-drag: layout duration 0ms 0ms +0% —
legacy-node-drag: style recalc duration 6ms 8ms +19% z=1.6
legacy-node-drag: layout count 0 0 +0% —
legacy-node-drag: style recalc count 42 47 +12% ⚠️ z=3.1
legacy-node-drag: task duration 1990ms 1364ms -31% z=-2.5
legacy-node-drag: script duration 995ms 680ms -32% z=-2.5
legacy-node-drag: TBT 0ms 0ms +0% —
legacy-node-drag: heap used 87.1 MB 75.9 MB -13% z=-1.4
legacy-node-drag: DOM nodes 0 0 +0% z=0.4
legacy-node-drag: event listeners 180 180 +0% —
minimap-idle: avg frame time 17ms 17ms -0% z=-0.1
minimap-idle: p95 frame time 17ms 17ms +0% z=-2.0
minimap-idle: layout duration 0ms 0ms +0% —
minimap-idle: style recalc duration 4ms 3ms -17% z=-0.0
minimap-idle: layout count 0 0 +0% —
minimap-idle: style recalc count 8 9 +13% z=2.1
minimap-idle: task duration 585ms 387ms -34% z=-2.4
minimap-idle: script duration 39ms 30ms -22% z=-1.3
minimap-idle: TBT 0ms 0ms +0% —
minimap-idle: heap used 82.6 MB 77.1 MB -7% z=-2.1
minimap-idle: DOM nodes 0 -164 — z=-0.8
minimap-idle: event listeners 0 -82 — z=-0.8
subgraph-dom-widget-clipping: avg frame time 17ms 17ms -0% z=-2.6
subgraph-dom-widget-clipping: p95 frame time 17ms 17ms -0% z=-1.8
subgraph-dom-widget-clipping: layout duration 0ms 0ms +0% —
subgraph-dom-widget-clipping: style recalc duration 6ms 7ms +9% z=0.6
subgraph-dom-widget-clipping: layout count 0 0 +0% —
subgraph-dom-widget-clipping: style recalc count 47 48 +2% z=0.7
subgraph-dom-widget-clipping: task duration 410ms 279ms -32% z=-2.9
subgraph-dom-widget-clipping: script duration 148ms 100ms -33% z=-2.9
subgraph-dom-widget-clipping: TBT 0ms 0ms +0% —
subgraph-dom-widget-clipping: heap used 54.6 MB 57.8 MB +6% z=-0.1
subgraph-dom-widget-clipping: DOM nodes 0 0 +0% z=0.7
subgraph-dom-widget-clipping: event listeners 6 6 +0% z=0.6
subgraph-idle: avg frame time 17ms 17ms +0% z=1.1
subgraph-idle: p95 frame time 17ms 17ms -0% ⚠️ z=3.7
subgraph-idle: layout duration 0ms 0ms +0% —
subgraph-idle: style recalc duration 4ms 4ms -4% z=-0.2
subgraph-idle: layout count 0 0 +0% —
subgraph-idle: style recalc count 10 11 +5% z=0.7
subgraph-idle: task duration 463ms 295ms -36% z=-2.1
subgraph-idle: script duration 11ms 9ms -16% z=-0.2
subgraph-idle: TBT 0ms 0ms +0% —
subgraph-idle: heap used 72.2 MB 72.6 MB +1% z=1.6
subgraph-idle: DOM nodes 0 -124 — z=-1.1
subgraph-idle: event listeners 0 -105 — z=-1.2
subgraph-mouse-sweep: avg frame time 17ms 17ms +0% z=-0.2
subgraph-mouse-sweep: p95 frame time 17ms 17ms +0% z=0.2
subgraph-mouse-sweep: layout duration 6ms 7ms +9% ⚠️ z=2.2
subgraph-mouse-sweep: style recalc duration 19ms 19ms +3% z=1.1
subgraph-mouse-sweep: layout count 16 16 +0% —
subgraph-mouse-sweep: style recalc count 59 76 +28% z=0.5
subgraph-mouse-sweep: task duration 801ms 577ms -28% z=-1.8
subgraph-mouse-sweep: script duration 117ms 95ms -19% z=-1.1
subgraph-mouse-sweep: TBT 0ms 0ms +0% —
subgraph-mouse-sweep: heap used 59.7 MB 63.1 MB +6% z=0.0
subgraph-mouse-sweep: DOM nodes 0 0 +0% z=1.2
subgraph-mouse-sweep: event listeners 0 0 +0% z=0.9
subgraph-transition-enter: avg frame time 19ms 19ms -2% z=-1.8
subgraph-transition-enter: p95 frame time 17ms 17ms +0% z=-0.3
subgraph-transition-enter: layout duration 13ms 8ms -41% z=-2.4
subgraph-transition-enter: style recalc duration 31ms 20ms -37% z=-2.5
subgraph-transition-enter: layout count 5 5 +0% —
subgraph-transition-enter: style recalc count 17 19 +12% z=2.1
subgraph-transition-enter: task duration 911ms 592ms -35% z=-2.3
subgraph-transition-enter: script duration 30ms 20ms -34% z=-1.7
subgraph-transition-enter: TBT 141ms 60ms -57% z=-2.6
subgraph-transition-enter: heap used 104.2 MB 102.6 MB -1% z=0.2
subgraph-transition-enter: DOM nodes 13747 13747 +0% —
subgraph-transition-enter: event listeners 2383 2383 +0% —
viewport-pan-sweep: avg frame time 17ms 17ms -0% z=-1.3
viewport-pan-sweep: p95 frame time 17ms 17ms -1% z=-1.8
viewport-pan-sweep: layout duration 0ms 0ms +0% —
viewport-pan-sweep: style recalc duration 37ms 43ms +16% ⚠️ z=3.2
viewport-pan-sweep: layout count 0 0 +0% —
viewport-pan-sweep: style recalc count 251 250 -0% z=-0.6
viewport-pan-sweep: task duration 6021ms 4210ms -30% z=-2.2
viewport-pan-sweep: script duration 2822ms 1963ms -30% z=-2.1
viewport-pan-sweep: TBT 0ms 0ms +0% —
viewport-pan-sweep: heap used 75.2 MB 77.5 MB +3% z=0.3
viewport-pan-sweep: DOM nodes -143 -235 +64% z=-0.4
viewport-pan-sweep: event listeners -82 -121 +48% z=-0.5
vue-large-graph-idle: avg frame time 30ms 21ms -29% z=-3.5
vue-large-graph-idle: p95 frame time 67ms 33ms -50% z=-3.3
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 16912ms 11651ms -31% z=-3.4
vue-large-graph-idle: script duration 276ms 185ms -33% z=-2.4
vue-large-graph-idle: TBT 0ms 0ms +0% variance too high
vue-large-graph-idle: heap used 180.7 MB 171.0 MB -5% z=-1.6
vue-large-graph-idle: DOM nodes -3045 -3045 +0% z=0.4
vue-large-graph-idle: event listeners -14915 -14915 +0% —
vue-large-graph-pan: avg frame time 39ms 26ms -34% z=-3.3
vue-large-graph-pan: p95 frame time 83ms 50ms -40% z=-3.6
vue-large-graph-pan: layout duration 0ms 0ms +0% —
vue-large-graph-pan: style recalc duration 20ms 16ms -21% z=-1.3
vue-large-graph-pan: layout count 0 0 +0% —
vue-large-graph-pan: style recalc count 172 69 -60% z=-5.7
vue-large-graph-pan: task duration 20917ms 13937ms -33% z=-2.9
vue-large-graph-pan: script duration 883ms 613ms -31% z=-2.6
vue-large-graph-pan: TBT 13ms 0ms -100% variance too high
vue-large-graph-pan: heap used 169.5 MB 171.2 MB +1% z=-0.7
vue-large-graph-pan: DOM nodes -3045 -3045 +0% z=0.5
vue-large-graph-pan: event listeners -14915 -14915 +0% —
vue-node-resize-workload: avg frame time 36ms 26ms -29% z=-3.4
vue-node-resize-workload: p95 frame time 67ms 50ms -25% z=-3.0
vue-node-resize-workload: layout duration 24ms 24ms +1% z=-0.2
vue-node-resize-workload: style recalc duration 81ms 54ms -33% z=-2.2
vue-node-resize-workload: layout count 20 20 +0% —
vue-node-resize-workload: style recalc count 20 20 +0% —
vue-node-resize-workload: task duration 6091ms 4282ms -30% z=-3.6
vue-node-resize-workload: script duration 110ms 74ms -33% z=-2.8
vue-node-resize-workload: TBT 0ms 0ms +0% —
vue-node-resize-workload: heap used 197.9 MB 197.2 MB -0% z=-0.7
vue-node-resize-workload: DOM nodes 0 0 +0% —
vue-node-resize-workload: event listeners 0 0 +0% —
vue-zoom-out-idle: avg frame time 31ms 22ms -30% z=-3.5
vue-zoom-out-idle: p95 frame time 67ms 33ms -50% z=-3.1
vue-zoom-out-idle: layout duration 0ms 0ms +0% —
vue-zoom-out-idle: style recalc duration 0ms 0ms +0% —
vue-zoom-out-idle: layout count 0 0 +0% —
vue-zoom-out-idle: style recalc count 0 0 +0% —
vue-zoom-out-idle: task duration 8591ms 5988ms -30% z=-3.2
vue-zoom-out-idle: script duration 138ms 96ms -30% z=-2.5
vue-zoom-out-idle: TBT 0ms 0ms +0% —
vue-zoom-out-idle: heap used 172.0 MB 168.2 MB -2% z=-0.5
vue-zoom-out-idle: DOM nodes -3045 -3045 +0% z=0.3
vue-zoom-out-idle: event listeners -14915 -14915 +0% z=0.3
workflow-execution: avg frame time 17ms 17ms +0% z=-0.5
workflow-execution: p95 frame time 17ms 17ms +0% z=-0.4
workflow-execution: layout duration 2ms 1ms -46% z=-1.1
workflow-execution: style recalc duration 17ms 12ms -31% z=-1.0
workflow-execution: layout count 4 3 -25% z=-1.1
workflow-execution: style recalc count 9 11 +17% z=-0.4
workflow-execution: task duration 95ms 76ms -20% z=-1.4
workflow-execution: script duration 8ms 7ms -9% z=-1.4
workflow-execution: TBT 0ms 0ms +0% —
workflow-execution: heap used 65.1 MB 63.2 MB -3% z=0.5
workflow-execution: DOM nodes 114 111 -3% z=0.7
workflow-execution: event listeners 33 49 +48% z=0.5
agent-composer-empty-conversation-typing: avg frame time 17ms 17ms +0% z=-0.6
agent-composer-empty-conversation-typing: p95 frame time 17ms 17ms -0% z=-0.2
agent-composer-empty-conversation-typing: layout duration 31ms 27ms -14% z=0.4
agent-composer-empty-conversation-typing: style recalc duration 118ms 98ms -17% z=-0.3
agent-composer-empty-conversation-typing: layout count 76 76 +0% —
agent-composer-empty-conversation-typing: style recalc count 78 78 +0% —
agent-composer-empty-conversation-typing: task duration 1130ms 507ms -55% z=-1.5
agent-composer-empty-conversation-typing: script duration 462ms 165ms -64% z=-1.7
agent-composer-empty-conversation-typing: TBT 0ms 0ms +0% —
agent-composer-empty-conversation-typing: heap used 85.8 MB 69.2 MB -19% z=-1.7
agent-composer-empty-conversation-typing: DOM nodes 76 76 +0% —
agent-composer-empty-conversation-typing: event listeners 876 876 +0% —
agent-composer-long-conversation-typing: avg frame time 19ms 17ms -11% z=-1.5
agent-composer-long-conversation-typing: p95 frame time 33ms 17ms -50% z=-1.4
agent-composer-long-conversation-typing: layout duration 30ms 28ms -9% z=-0.4
agent-composer-long-conversation-typing: style recalc duration 283ms 242ms -15% z=-1.4
agent-composer-long-conversation-typing: layout count 76 76 +0% —
agent-composer-long-conversation-typing: style recalc count 78 78 +0% —
agent-composer-long-conversation-typing: task duration 1474ms 879ms -40% z=-2.9
agent-composer-long-conversation-typing: script duration 480ms 226ms -53% z=-3.3
agent-composer-long-conversation-typing: TBT 0ms 0ms +0% —
agent-composer-long-conversation-typing: heap used 109.2 MB 126.0 MB +15% ⚠️ z=5.4
agent-composer-long-conversation-typing: DOM nodes 76 76 +0% —
agent-composer-long-conversation-typing: event listeners 876 876 +0% —
Historical variance (last 15 runs)
Metric μ σ CV
canvas-idle: avg frame time 17ms 0ms 0.0%
canvas-idle: p95 frame time 17ms 0ms 0.2%
canvas-idle: layout duration 0ms 0ms 0.0%
canvas-idle: style recalc duration 4ms 0ms 10.5%
canvas-idle: layout count 0 0 0.0%
canvas-idle: style recalc count 10 1 7.6%
canvas-idle: task duration 402ms 50ms 12.3%
canvas-idle: script duration 10ms 2ms 16.0%
canvas-idle: TBT 0ms 0ms 0.0%
canvas-idle: heap used 67.3 MB 2.1 MB 3.2%
canvas-idle: DOM nodes -36 40 0.0%
canvas-idle: event listeners -17 25 0.0%
canvas-mouse-sweep: avg frame time 17ms 0ms 0.0%
canvas-mouse-sweep: p95 frame time 17ms 0ms 0.2%
canvas-mouse-sweep: layout duration 4ms 0ms 6.6%
canvas-mouse-sweep: style recalc duration 17ms 1ms 6.9%
canvas-mouse-sweep: layout count 12 0 0.0%
canvas-mouse-sweep: style recalc count 71 4 5.5%
canvas-mouse-sweep: task duration 755ms 81ms 10.7%
canvas-mouse-sweep: script duration 151ms 19ms 12.8%
canvas-mouse-sweep: TBT 0ms 0ms 0.0%
canvas-mouse-sweep: heap used 65.1 MB 2.1 MB 3.3%
canvas-mouse-sweep: DOM nodes -41 49 0.0%
canvas-mouse-sweep: event listeners -20 31 0.0%
canvas-zoom-sweep: avg frame time 17ms 0ms 0.1%
canvas-zoom-sweep: p95 frame time 17ms 0ms 0.1%
canvas-zoom-sweep: layout duration 1ms 0ms 5.8%
canvas-zoom-sweep: style recalc duration 10ms 1ms 7.3%
canvas-zoom-sweep: layout count 6 0 0.0%
canvas-zoom-sweep: style recalc count 31 1 1.9%
canvas-zoom-sweep: task duration 332ms 39ms 11.8%
canvas-zoom-sweep: script duration 12ms 1ms 10.9%
canvas-zoom-sweep: TBT 0ms 0ms 0.0%
canvas-zoom-sweep: heap used 70.0 MB 3.3 MB 4.6%
canvas-zoom-sweep: DOM nodes 11 58 529.4%
canvas-zoom-sweep: event listeners -7 34 0.0%
dom-widget-clipping: avg frame time 17ms 0ms 0.0%
dom-widget-clipping: p95 frame time 17ms 0ms 0.2%
dom-widget-clipping: layout duration 0ms 0ms 0.0%
dom-widget-clipping: style recalc duration 4ms 1ms 14.7%
dom-widget-clipping: layout count 0 0 0.0%
dom-widget-clipping: style recalc count 11 1 7.9%
dom-widget-clipping: task duration 436ms 47ms 10.7%
dom-widget-clipping: script duration 159ms 17ms 10.8%
dom-widget-clipping: TBT 0ms 0ms 0.0%
dom-widget-clipping: heap used 61.5 MB 3.4 MB 5.5%
dom-widget-clipping: DOM nodes -46 57 0.0%
dom-widget-clipping: event listeners -25 40 0.0%
dom-widget-order-dense-n200-w200-i120: avg frame time 33ms 2ms 6.4%
dom-widget-order-dense-n200-w200-i120: p95 frame time 17ms 0ms 0.1%
dom-widget-order-dense-n200-w200-i120: layout duration 0ms 0ms 0.0%
dom-widget-order-dense-n200-w200-i120: style recalc duration 0ms 0ms 0.0%
dom-widget-order-dense-n200-w200-i120: layout count 0 0 0.0%
dom-widget-order-dense-n200-w200-i120: style recalc count 0 0 0.0%
dom-widget-order-dense-n200-w200-i120: task duration 769ms 97ms 12.6%
dom-widget-order-dense-n200-w200-i120: script duration 63ms 11ms 17.1%
dom-widget-order-dense-n200-w200-i120: TBT 488ms 74ms 15.1%
dom-widget-order-dense-n200-w200-i120: heap used 88.5 MB 5.3 MB 6.0%
dom-widget-order-dense-n200-w200-i120: DOM nodes 0 0 0.0%
dom-widget-order-dense-n200-w200-i120: event listeners 0 0 0.0%
dom-widget-order-sparse-n1000-w20-i120: avg frame time 25ms 1ms 4.1%
dom-widget-order-sparse-n1000-w20-i120: p95 frame time 18ms 2ms 11.1%
dom-widget-order-sparse-n1000-w20-i120: layout duration 0ms 0ms 0.0%
dom-widget-order-sparse-n1000-w20-i120: style recalc duration 0ms 0ms 0.0%
dom-widget-order-sparse-n1000-w20-i120: layout count 0 0 0.0%
dom-widget-order-sparse-n1000-w20-i120: style recalc count 0 0 0.0%
dom-widget-order-sparse-n1000-w20-i120: task duration 452ms 51ms 11.2%
dom-widget-order-sparse-n1000-w20-i120: script duration 154ms 24ms 15.3%
dom-widget-order-sparse-n1000-w20-i120: TBT 207ms 31ms 14.9%
dom-widget-order-sparse-n1000-w20-i120: heap used 97.3 MB 6.0 MB 6.2%
dom-widget-order-sparse-n1000-w20-i120: DOM nodes 0 0 0.0%
dom-widget-order-sparse-n1000-w20-i120: event listeners 0 0 0.0%
extension-clean-combined-draw: avg frame time 30ms 4ms 12.4%
extension-clean-combined-draw: p95 frame time 54ms 12ms 22.0%
extension-clean-combined-draw: layout duration 0ms 0ms 0.0%
extension-clean-combined-draw: style recalc duration 0ms 0ms 129.8%
extension-clean-combined-draw: layout count 0 0 0.0%
extension-clean-combined-draw: style recalc count 1 1 140.1%
extension-clean-combined-draw: task duration 8301ms 1451ms 17.5%
extension-clean-combined-draw: script duration 6747ms 1272ms 18.9%
extension-clean-combined-draw: TBT 646ms 539ms 83.4%
extension-clean-combined-draw: heap used 77.2 MB 4.3 MB 5.6%
extension-clean-combined-draw: DOM nodes -66 39 0.0%
extension-clean-combined-draw: event listeners -36 21 0.0%
extension-rgthree-prototype-draw: avg frame time 30ms 3ms 11.5%
extension-rgthree-prototype-draw: p95 frame time 52ms 11ms 22.0%
extension-rgthree-prototype-draw: layout duration 0ms 0ms 0.0%
extension-rgthree-prototype-draw: style recalc duration 0ms 0ms 102.1%
extension-rgthree-prototype-draw: layout count 0 0 0.0%
extension-rgthree-prototype-draw: style recalc count 1 1 94.3%
extension-rgthree-prototype-draw: task duration 8342ms 1361ms 16.3%
extension-rgthree-prototype-draw: script duration 6756ms 1188ms 17.6%
extension-rgthree-prototype-draw: TBT 605ms 517ms 85.4%
extension-rgthree-prototype-draw: heap used 79.8 MB 6.4 MB 8.0%
extension-rgthree-prototype-draw: DOM nodes -93 40 0.0%
extension-rgthree-prototype-draw: event listeners -49 22 0.0%
large-graph-idle: avg frame time 17ms 0ms 0.0%
large-graph-idle: p95 frame time 17ms 0ms 0.2%
large-graph-idle: layout duration 0ms 0ms 0.0%
large-graph-idle: style recalc duration 3ms 0ms 9.6%
large-graph-idle: layout count 0 0 0.0%
large-graph-idle: style recalc count 9 1 9.9%
large-graph-idle: task duration 565ms 77ms 13.6%
large-graph-idle: script duration 34ms 4ms 10.9%
large-graph-idle: TBT 0ms 0ms 0.0%
large-graph-idle: heap used 79.8 MB 1.0 MB 1.3%
large-graph-idle: DOM nodes -154 108 0.0%
large-graph-idle: event listeners -77 54 0.0%
large-graph-pan: avg frame time 17ms 0ms 0.2%
large-graph-pan: p95 frame time 17ms 0ms 0.2%
large-graph-pan: layout duration 0ms 0ms 0.0%
large-graph-pan: style recalc duration 11ms 1ms 5.9%
large-graph-pan: layout count 0 0 0.0%
large-graph-pan: style recalc count 69 1 0.7%
large-graph-pan: task duration 1562ms 188ms 12.0%
large-graph-pan: script duration 794ms 98ms 12.3%
large-graph-pan: TBT 0ms 0ms 0.0%
large-graph-pan: heap used 80.1 MB 3.1 MB 3.9%
large-graph-pan: DOM nodes -92 82 0.0%
large-graph-pan: event listeners -33 41 0.0%
large-graph-zoom: avg frame time 17ms 0ms 0.1%
large-graph-zoom: p95 frame time 17ms 0ms 0.2%
large-graph-zoom: layout duration 14ms 1ms 6.0%
large-graph-zoom: style recalc duration 12ms 1ms 7.7%
large-graph-zoom: layout count 60 0 0.0%
large-graph-zoom: style recalc count 64 1 1.0%
large-graph-zoom: task duration 1657ms 181ms 10.9%
large-graph-zoom: script duration 759ms 85ms 11.2%
large-graph-zoom: TBT 0ms 0ms 0.0%
large-graph-zoom: heap used 71.3 MB 1.9 MB 2.7%
large-graph-zoom: DOM nodes -30 46 0.0%
large-graph-zoom: event listeners 0 0 0.0%
legacy-node-drag: avg frame time 17ms 0ms 0.2%
legacy-node-drag: p95 frame time 17ms 0ms 0.1%
legacy-node-drag: layout duration 0ms 0ms 0.0%
legacy-node-drag: style recalc duration 7ms 1ms 7.7%
legacy-node-drag: layout count 0 0 0.0%
legacy-node-drag: style recalc count 45 1 1.5%
legacy-node-drag: task duration 1864ms 201ms 10.8%
legacy-node-drag: script duration 941ms 105ms 11.1%
legacy-node-drag: TBT 0ms 0ms 0.0%
legacy-node-drag: heap used 82.3 MB 4.7 MB 5.7%
legacy-node-drag: DOM nodes -11 32 0.0%
legacy-node-drag: event listeners 180 0 0.0%
minimap-idle: avg frame time 17ms 0ms 0.0%
minimap-idle: p95 frame time 17ms 0ms 0.1%
minimap-idle: layout duration 0ms 0ms 0.0%
minimap-idle: style recalc duration 3ms 1ms 24.9%
minimap-idle: layout count 0 0 0.0%
minimap-idle: style recalc count 8 1 7.8%
minimap-idle: task duration 544ms 66ms 12.1%
minimap-idle: script duration 34ms 3ms 8.2%
minimap-idle: TBT 0ms 0ms 0.0%
minimap-idle: heap used 80.8 MB 1.8 MB 2.2%
minimap-idle: DOM nodes -109 72 0.0%
minimap-idle: event listeners -55 36 0.0%
subgraph-dom-widget-clipping: avg frame time 17ms 0ms 0.0%
subgraph-dom-widget-clipping: p95 frame time 17ms 0ms 0.2%
subgraph-dom-widget-clipping: layout duration 0ms 0ms 0.0%
subgraph-dom-widget-clipping: style recalc duration 6ms 1ms 8.8%
subgraph-dom-widget-clipping: layout count 0 0 0.0%
subgraph-dom-widget-clipping: style recalc count 47 1 2.4%
subgraph-dom-widget-clipping: task duration 387ms 38ms 9.7%
subgraph-dom-widget-clipping: script duration 138ms 13ms 9.5%
subgraph-dom-widget-clipping: TBT 0ms 0ms 0.0%
subgraph-dom-widget-clipping: heap used 58.0 MB 2.0 MB 3.4%
subgraph-dom-widget-clipping: DOM nodes -43 61 0.0%
subgraph-dom-widget-clipping: event listeners -26 51 0.0%
subgraph-idle: avg frame time 17ms 0ms 0.0%
subgraph-idle: p95 frame time 17ms 0ms 0.1%
subgraph-idle: layout duration 0ms 0ms 0.0%
subgraph-idle: style recalc duration 4ms 0ms 11.5%
subgraph-idle: layout count 0 0 0.0%
subgraph-idle: style recalc count 10 1 12.4%
subgraph-idle: task duration 413ms 58ms 14.0%
subgraph-idle: script duration 9ms 2ms 19.2%
subgraph-idle: TBT 0ms 0ms 0.0%
subgraph-idle: heap used 67.8 MB 3.0 MB 4.5%
subgraph-idle: DOM nodes -50 69 0.0%
subgraph-idle: event listeners -37 58 0.0%
subgraph-mouse-sweep: avg frame time 17ms 0ms 0.1%
subgraph-mouse-sweep: p95 frame time 17ms 0ms 0.2%
subgraph-mouse-sweep: layout duration 6ms 0ms 7.7%
subgraph-mouse-sweep: style recalc duration 18ms 1ms 6.7%
subgraph-mouse-sweep: layout count 16 0 0.0%
subgraph-mouse-sweep: style recalc count 74 4 5.1%
subgraph-mouse-sweep: task duration 726ms 82ms 11.3%
subgraph-mouse-sweep: script duration 108ms 12ms 11.1%
subgraph-mouse-sweep: TBT 0ms 0ms 0.0%
subgraph-mouse-sweep: heap used 63.0 MB 2.5 MB 3.9%
subgraph-mouse-sweep: DOM nodes -66 56 0.0%
subgraph-mouse-sweep: event listeners -44 47 0.0%
subgraph-transition-enter: avg frame time 19ms 0ms 1.5%
subgraph-transition-enter: p95 frame time 18ms 4ms 23.8%
subgraph-transition-enter: layout duration 12ms 2ms 14.4%
subgraph-transition-enter: style recalc duration 28ms 3ms 11.6%
subgraph-transition-enter: layout count 5 0 0.0%
subgraph-transition-enter: style recalc count 17 1 5.0%
subgraph-transition-enter: task duration 858ms 116ms 13.6%
subgraph-transition-enter: script duration 28ms 5ms 17.0%
subgraph-transition-enter: TBT 118ms 22ms 19.1%
subgraph-transition-enter: heap used 101.4 MB 5.3 MB 5.2%
subgraph-transition-enter: DOM nodes 13747 0 0.0%
subgraph-transition-enter: event listeners 2383 0 0.0%
viewport-pan-sweep: avg frame time 17ms 0ms 0.1%
viewport-pan-sweep: p95 frame time 17ms 0ms 0.1%
viewport-pan-sweep: layout duration 0ms 0ms 0.0%
viewport-pan-sweep: style recalc duration 36ms 2ms 5.4%
viewport-pan-sweep: layout count 0 0 0.0%
viewport-pan-sweep: style recalc count 250 1 0.2%
viewport-pan-sweep: task duration 5592ms 637ms 11.4%
viewport-pan-sweep: script duration 2619ms 308ms 11.7%
viewport-pan-sweep: TBT 0ms 0ms 0.0%
viewport-pan-sweep: heap used 76.6 MB 3.5 MB 4.6%
viewport-pan-sweep: DOM nodes -210 59 0.0%
viewport-pan-sweep: event listeners -107 28 0.0%
vue-large-graph-idle: avg frame time 29ms 2ms 7.4%
vue-large-graph-idle: p95 frame time 58ms 7ms 12.9%
vue-large-graph-idle: layout duration 0ms 0ms 0.0%
vue-large-graph-idle: style recalc duration 0ms 0ms 0.0%
vue-large-graph-idle: layout count 0 0 0.0%
vue-large-graph-idle: style recalc count 0 0 0.0%
vue-large-graph-idle: task duration 15952ms 1258ms 7.9%
vue-large-graph-idle: script duration 260ms 31ms 12.1%
vue-large-graph-idle: TBT 0ms 0ms 387.3%
vue-large-graph-idle: heap used 177.1 MB 3.8 MB 2.1%
vue-large-graph-idle: DOM nodes -3045 0 0.0%
vue-large-graph-idle: event listeners -14915 0 0.0%
vue-large-graph-pan: avg frame time 37ms 4ms 9.6%
vue-large-graph-pan: p95 frame time 77ms 8ms 9.8%
vue-large-graph-pan: layout duration 0ms 0ms 0.0%
vue-large-graph-pan: style recalc duration 20ms 3ms 15.9%
vue-large-graph-pan: layout count 0 0 0.0%
vue-large-graph-pan: style recalc count 161 16 10.1%
vue-large-graph-pan: task duration 19740ms 1979ms 10.0%
vue-large-graph-pan: script duration 840ms 86ms 10.2%
vue-large-graph-pan: TBT 20ms 13ms 67.8%
vue-large-graph-pan: heap used 174.3 MB 4.7 MB 2.7%
vue-large-graph-pan: DOM nodes -3045 1 0.0%
vue-large-graph-pan: event listeners -14915 0 0.0%
vue-node-resize-workload: avg frame time 35ms 3ms 7.7%
vue-node-resize-workload: p95 frame time 67ms 6ms 8.7%
vue-node-resize-workload: layout duration 25ms 2ms 6.6%
vue-node-resize-workload: style recalc duration 75ms 9ms 12.3%
vue-node-resize-workload: layout count 20 0 0.0%
vue-node-resize-workload: style recalc count 20 0 0.0%
vue-node-resize-workload: task duration 5881ms 446ms 7.6%
vue-node-resize-workload: script duration 106ms 11ms 10.7%
vue-node-resize-workload: TBT 0ms 0ms 0.0%
vue-node-resize-workload: heap used 200.6 MB 5.1 MB 2.5%
vue-node-resize-workload: DOM nodes 0 0 0.0%
vue-node-resize-workload: event listeners 0 0 0.0%
vue-zoom-out-idle: avg frame time 29ms 2ms 7.3%
vue-zoom-out-idle: p95 frame time 57ms 8ms 13.5%
vue-zoom-out-idle: layout duration 0ms 0ms 0.0%
vue-zoom-out-idle: style recalc duration 0ms 0ms 0.0%
vue-zoom-out-idle: layout count 0 0 0.0%
vue-zoom-out-idle: style recalc count 0 0 0.0%
vue-zoom-out-idle: task duration 8058ms 647ms 8.0%
vue-zoom-out-idle: script duration 140ms 17ms 12.3%
vue-zoom-out-idle: TBT 0ms 0ms 0.0%
vue-zoom-out-idle: heap used 171.5 MB 6.2 MB 3.6%
vue-zoom-out-idle: DOM nodes -3156 430 0.0%
vue-zoom-out-idle: event listeners -14915 0 0.0%
workflow-execution: avg frame time 17ms 0ms 2.8%
workflow-execution: p95 frame time 18ms 3ms 18.1%
workflow-execution: layout duration 2ms 0ms 21.7%
workflow-execution: style recalc duration 14ms 2ms 16.4%
workflow-execution: layout count 3 0 10.6%
workflow-execution: style recalc count 11 3 23.5%
workflow-execution: task duration 99ms 16ms 16.3%
workflow-execution: script duration 9ms 2ms 18.5%
workflow-execution: TBT 0ms 0ms 0.0%
workflow-execution: heap used 62.0 MB 2.7 MB 4.4%
workflow-execution: DOM nodes 87 37 42.6%
workflow-execution: event listeners 40 17 42.5%
agent-composer-empty-conversation-typing: avg frame time 17ms 0ms 0.7%
agent-composer-empty-conversation-typing: p95 frame time 17ms 1ms 8.3%
agent-composer-empty-conversation-typing: layout duration 25ms 4ms 15.8%
agent-composer-empty-conversation-typing: style recalc duration 101ms 14ms 14.2%
agent-composer-empty-conversation-typing: layout count 76 0 0.0%
agent-composer-empty-conversation-typing: style recalc count 78 0 0.0%
agent-composer-empty-conversation-typing: task duration 815ms 210ms 25.8%
agent-composer-empty-conversation-typing: script duration 327ms 96ms 29.4%
agent-composer-empty-conversation-typing: TBT 0ms 0ms 0.0%
agent-composer-empty-conversation-typing: heap used 79.8 MB 6.3 MB 7.9%
agent-composer-empty-conversation-typing: DOM nodes 76 0 0.0%
agent-composer-empty-conversation-typing: event listeners 876 0 0.0%
agent-composer-long-conversation-typing: avg frame time 18ms 1ms 4.2%
agent-composer-long-conversation-typing: p95 frame time 27ms 7ms 26.9%
agent-composer-long-conversation-typing: layout duration 29ms 2ms 8.2%
agent-composer-long-conversation-typing: style recalc duration 266ms 17ms 6.4%
agent-composer-long-conversation-typing: layout count 76 0 0.0%
agent-composer-long-conversation-typing: style recalc count 78 0 0.0%
agent-composer-long-conversation-typing: task duration 1332ms 155ms 11.7%
agent-composer-long-conversation-typing: script duration 434ms 64ms 14.7%
agent-composer-long-conversation-typing: TBT 0ms 0ms 0.0%
agent-composer-long-conversation-typing: heap used 106.2 MB 3.6 MB 3.4%
agent-composer-long-conversation-typing: DOM nodes 76 0 0.0%
agent-composer-long-conversation-typing: event listeners 876 0 0.0%
Trend (last 15 commits on main)
Metric Trend Dir Latest
canvas-idle: avg frame time █▆▁▇▆▄▆▃█▃▄█▆▆▆ ➡️ 17ms
canvas-idle: p95 frame time ▃▆▃▃▁▃█▃▆▃▁▆▁▃▁ ➡️ 17ms
canvas-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: style recalc duration ▄▁▂▄█▃▄▃▅▃█▆▅▂▅ ➡️ 4ms
canvas-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
canvas-idle: style recalc count ▁▅██▅▅▆▅▅▅▅▅▆▇▂ ➡️ 8
canvas-idle: task duration █▁▂▃▆▅▇▅▆▂█▇▇▃▅ ➡️ 398ms
canvas-idle: script duration ▇▁▂▄█▁█▁▃▂▆▆▆▂▆ ➡️ 11ms
canvas-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: heap used ██▂█▂▇▄▅█▄▄▅▅▁█ ➡️ 69.4 MB
canvas-idle: DOM nodes ▁██▁█▁██▁█▁▁██▁ 📈 -77
canvas-idle: event listeners ███▁█▁██▁█▁▃███ 📈 0
canvas-mouse-sweep: avg frame time ▆▅▅▃▃▆▄▄█▇▂▁▆▇▄ ➡️ 17ms
canvas-mouse-sweep: p95 frame time ▃█▃▃▁██▆▆▃▁▆▁▃▃ ➡️ 17ms
canvas-mouse-sweep: layout duration █▁▃▃▇▅▇▃▄▂▇▇▇▅▇ ➡️ 5ms
canvas-mouse-sweep: style recalc duration █▁▁▂▄▂█▁▅▃▄▅▆▃▅ ➡️ 18ms
canvas-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 12
canvas-mouse-sweep: style recalc count █▅▁▅▂▁▇▂▇▅▃▃▃▁▇ ➡️ 75
canvas-mouse-sweep: task duration █▁▁▁▇▅▆▄▆▁▆▇▇▃▆ ➡️ 810ms
canvas-mouse-sweep: script duration █▁▁▁▇▅▅▅▆▁▅▇▇▃▇ ➡️ 167ms
canvas-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-mouse-sweep: heap used ▄▆▆▄█▄▄▄▃▁▆▆▆▄▄ ➡️ 63.9 MB
canvas-mouse-sweep: DOM nodes █▅▄█▅█▅█▅██▁▅██ ➡️ 0
canvas-mouse-sweep: event listeners ██▄███▄█▄██▁▅██ 📈 0
canvas-zoom-sweep: avg frame time ▁▁▁▁▁▁▁█▁▁▁▁▁█▁ ➡️ 17ms
canvas-zoom-sweep: p95 frame time ██▁▁█▄▄▄▄▄▄█▄▄█ ➡️ 17ms
canvas-zoom-sweep: layout duration ▄▂▁▁▆▃▅▃▄▄█▅▇▆▄ ➡️ 1ms
canvas-zoom-sweep: style recalc duration ▆▁▂▂▆▄▇▆▂▄▇▆█▇▅ ➡️ 10ms
canvas-zoom-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
canvas-zoom-sweep: style recalc count ▆▂▆▁▆█▅▅▄▆▆▆▇▆▅ ➡️ 31
canvas-zoom-sweep: task duration ▇▁▂▁█▅▆▇▅▂▇▇▆▅▆ ➡️ 351ms
canvas-zoom-sweep: script duration ▆▂▃▂█▁▅▄▃▃▅▅▅▃▄ ➡️ 13ms
canvas-zoom-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-zoom-sweep: heap used ▅▁▄▃▆▄▁▄█▄▆▅▅▆█ ➡️ 75.2 MB
canvas-zoom-sweep: DOM nodes ████▅▅█▄██▁██▄▁ 📉 -101
canvas-zoom-sweep: event listeners █████▅█▅██▁██▅▅ 📉 -40
dom-widget-clipping: avg frame time ▁▁▇▇▆▁▅▂▃▁▃█▆▆▄ ➡️ 17ms
dom-widget-clipping: p95 frame time ▃▃▃▆▁▃▃▃█▆▆▁▃▃▆ ➡️ 17ms
dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: style recalc duration ▃▁▂▂▅▃▃▅▁▁▃▆▁▂█ ➡️ 5ms
dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-clipping: style recalc count ▄▅▇▆█▆▆▃▃▄▃█▁▄▇ ➡️ 12
dom-widget-clipping: task duration █▁▂▂█▆▇▆▆▁▇▇▇▄█ ➡️ 481ms
dom-widget-clipping: script duration █▁▂▂█▇▆▆▇▁▇█▇▄█ ➡️ 176ms
dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: heap used ▆▇▃▆▁▂▁█▅██▅█▄▃ ➡️ 59.3 MB
dom-widget-clipping: DOM nodes ▅▅█████▁█▅▁█▅█▅ 📈 -77
dom-widget-clipping: event listeners ▄██████▁██▁█▄█▅ 📈 -53
dom-widget-order-dense-n200-w200-i120: avg frame time █▂▂▁▇▆▆▅▆▁▅█▆▃▇ ➡️ 35ms
dom-widget-order-dense-n200-w200-i120: p95 frame time ▁▁█▁██▁▁▁██████ ➡️ 17ms
dom-widget-order-dense-n200-w200-i120: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-order-dense-n200-w200-i120: style recalc duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-order-dense-n200-w200-i120: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-dense-n200-w200-i120: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-dense-n200-w200-i120: task duration ▇▁▁▁▇▅▆▅▅▁▅█▆▃▆ ➡️ 812ms
dom-widget-order-dense-n200-w200-i120: script duration █▁▃▁▇▅▅▅▆▂▄█▇▂▇ ➡️ 75ms
dom-widget-order-dense-n200-w200-i120: TBT █▂▁▁▇▆▆▅▆▁▅█▇▃▆ ➡️ 537ms
dom-widget-order-dense-n200-w200-i120: heap used ▂▃█▁▃▃▄▅▆▁▂▁▆▂█ ➡️ 98.3 MB
dom-widget-order-dense-n200-w200-i120: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-dense-n200-w200-i120: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-sparse-n1000-w20-i120: avg frame time █▁▁▁▆▆▆▆▆▁▆▆▆▃▆ ➡️ 25ms
dom-widget-order-sparse-n1000-w20-i120: p95 frame time ▁▁▁▁▁▁▁▁▁▁▁██▁▁ ➡️ 17ms
dom-widget-order-sparse-n1000-w20-i120: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-order-sparse-n1000-w20-i120: style recalc duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-order-sparse-n1000-w20-i120: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-sparse-n1000-w20-i120: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-sparse-n1000-w20-i120: task duration █▁▂▁▇▅▆▆▆▁▇▆▆▃▇ ➡️ 490ms
dom-widget-order-sparse-n1000-w20-i120: script duration █▁▂▁▇▆▄▆▆▁▅▆▆▂▇ ➡️ 174ms
dom-widget-order-sparse-n1000-w20-i120: TBT █▁▁▁▇▆▆▆▆▁▆▆▆▃▇ ➡️ 230ms
dom-widget-order-sparse-n1000-w20-i120: heap used █▄▁▆▅▆▂▅▃▂▃▂▆▄▅ ➡️ 99.9 MB
dom-widget-order-sparse-n1000-w20-i120: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-sparse-n1000-w20-i120: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
extension-clean-combined-draw: avg frame time ▇▁▁▁▇█▅▇█▁▅▇▆▃▇ ➡️ 33ms
extension-clean-combined-draw: p95 frame time █▂▂▂█▇▅█▇▁▅█▆▄▇ ➡️ 61ms
extension-clean-combined-draw: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
extension-clean-combined-draw: style recalc duration ▁▄▂▅▁▄▂▃▁█▂▁▁▁▁ 📉 0ms
extension-clean-combined-draw: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
extension-clean-combined-draw: style recalc count ▁▃▂▅▁▅▂▃▁█▂▂▁▁▁ 📉 0
extension-clean-combined-draw: task duration ▆▁▂▁█▅▅▇▄▂▄▇▇▃▇ ➡️ 9884ms
extension-clean-combined-draw: script duration ▆▁▁▁█▆▅▇▅▁▄█▇▃▇ ➡️ 8126ms
extension-clean-combined-draw: TBT ▆▁▁▁█▅▂▆▅▁▂▇▆▁▇ 📈 1221ms
extension-clean-combined-draw: heap used ▃▄▅█▁▅▁▂▄▃▇▃▅▃▄ ➡️ 77.5 MB
extension-clean-combined-draw: DOM nodes ▃▆█▆▆▁▃▃▆▃▆▃▆█▃ ➡️ -95
extension-clean-combined-draw: event listeners ▃▆█▆▆▁▃▄▆▃▆▃▆█▃ ➡️ -53
extension-rgthree-prototype-draw: avg frame time ▆▁▁▁▇▆▅▆▆▁▄▆▆▃█ ➡️ 35ms
extension-rgthree-prototype-draw: p95 frame time ▇▃▁▁█▆▅▆▆▁▅▇▇▄█ ➡️ 67ms
extension-rgthree-prototype-draw: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
extension-rgthree-prototype-draw: style recalc duration ▁█▄▇▁▃▂▄▁█▅▁▁▆▁ 📉 0ms
extension-rgthree-prototype-draw: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
extension-rgthree-prototype-draw: style recalc count ▁█▅▇▃▃▂▄▂█▄▁▁▅▂ 📉 0
extension-rgthree-prototype-draw: task duration ▇▁▂▁█▆▅▆▇▂▄▇▇▃▇ ➡️ 9649ms
extension-rgthree-prototype-draw: script duration ▇▂▂▁█▆▄▆▇▂▄▇▇▃█ ➡️ 8029ms
extension-rgthree-prototype-draw: TBT ▆▁▁▁█▅▂▅▆▁▁▆▆▁█ 📈 1386ms
extension-rgthree-prototype-draw: heap used ▄█▂▅▅▅▄▅▄█▄▁▆█▄ ➡️ 75.9 MB
extension-rgthree-prototype-draw: DOM nodes █▅█▅▂█▅▅█▅▂█▅▁▂ 📈 -142
extension-rgthree-prototype-draw: event listeners ▇▄▇▄▂▇▄▄█▄▁▇▅▁▂ 📈 -78
large-graph-idle: avg frame time ▂▃▅▄▅▃▅▄▅▅▄█▅▁▂ ➡️ 17ms
large-graph-idle: p95 frame time ▄█▁▁▅█▁█▅▅███▅▄ ➡️ 17ms
large-graph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: style recalc duration ▅▁▃▃█▃▂▆▃▅▅▇▅▅▃ ➡️ 3ms
large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-idle: style recalc count ▁▄▄▆▆▅▂▆▃█▄▄▁▇▂ ➡️ 8
large-graph-idle: task duration █▁▂▁█▄▇▆▅▃██▇▄█ ➡️ 647ms
large-graph-idle: script duration ▇▁▁▁█▁▆▄▄▂█▅▆▆▅ ➡️ 35ms
large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: heap used ▁▆▆▅█▇▅▇▆▄▆▅▇█▄ ➡️ 79.0 MB
large-graph-idle: DOM nodes █▃▆▃█▆▃▆▃▁▆▃▆█▁ 📈 -328
large-graph-idle: event listeners █▃▆▃█▆▃▆▃▁▆▃▆█▁ 📈 -164
large-graph-pan: avg frame time ▃▁▁▁▁▆▃▃▃▁▃██▁▅ ➡️ 17ms
large-graph-pan: p95 frame time ▃█▃▆▆▁▆▆▁▃▆▆█▃▆ ➡️ 17ms
large-graph-pan: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: style recalc duration ▄▂▄▁▄▁█▃▄▂▇▄▄▆▅ ➡️ 11ms
large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-pan: style recalc count ▁▅█▁▃██▆▆▁▃█▅▅▅ ➡️ 69
large-graph-pan: task duration █▁▁▁█▅▆▅▆▁▆▇▇▃▇ ➡️ 1741ms
large-graph-pan: script duration █▁▂▂█▇▆▇▇▁▆▇▇▃█ ➡️ 888ms
large-graph-pan: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: heap used ▇▄▂▆▂▄▇▅▂▃▁▁█▃█ ➡️ 84.9 MB
large-graph-pan: DOM nodes ▁▁█▆▅▅██▅▄▅█▄▁█ ➡️ 0
large-graph-pan: event listeners ▅▁██▅███▅▅▅██▁█ 📈 0
large-graph-zoom: avg frame time ▁▁▁█▁▁▁▁▁▁▁▁▁▁▁ ➡️ 17ms
large-graph-zoom: p95 frame time ▄███▄▁▁▄█▄▁█▁▄▁ ➡️ 17ms
large-graph-zoom: layout duration ▇▁▂▂▆▂█▄▃▂▇▅▆▆▅ ➡️ 15ms
large-graph-zoom: style recalc duration █▁▃▁▆▁█▃▂▃▄▅▇▅▅ ➡️ 13ms
large-graph-zoom: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 60
large-graph-zoom: style recalc count ▆▅█▂▆▄▆▃▂▅▁▄▇▃▃ ➡️ 64
large-graph-zoom: task duration █▁▂▁█▅▇▆▆▁▆▇▇▄▇ ➡️ 1810ms
large-graph-zoom: script duration █▁▁▁▇▆▇▆▆▁▇▇▇▄█ ➡️ 840ms
large-graph-zoom: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-zoom: heap used █▄▄▁▆▆▆▅▅▄▇▆▇▅█ ➡️ 73.9 MB
large-graph-zoom: DOM nodes █████▄▁▄██▁██▁█ 📈 0
large-graph-zoom: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
legacy-node-drag: avg frame time ▆▄▄▄█▂▂▂▄▁▄▄▂▅▄ ➡️ 17ms
legacy-node-drag: p95 frame time ▆▆▆▆▆▆▃▁█▆▃▆▆▆▆ ➡️ 17ms
legacy-node-drag: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
legacy-node-drag: style recalc duration █▂▁▁█▂▅▃▄▃▇▇▅▇▃ ➡️ 6ms
legacy-node-drag: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
legacy-node-drag: style recalc count ▇▆▃▄▅▅▅▅▄▇▄▆▄█▁ ➡️ 43
legacy-node-drag: task duration █▁▂▁▇▆▆▅▆▁▇▇▆▄▇ ➡️ 2003ms
legacy-node-drag: script duration █▁▁▁▇▆▆▅▆▁▇▇▆▄▆ ➡️ 1004ms
legacy-node-drag: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
legacy-node-drag: heap used ▅▄▅▅▇█▁█▇▆▄▆▅▆█ ➡️ 88.5 MB
legacy-node-drag: DOM nodes ██████████▁███▅ ➡️ -56
legacy-node-drag: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 180
minimap-idle: avg frame time ▁▅▄▃█▁▄▃▅▁▄▅▃█▇ ➡️ 17ms
minimap-idle: p95 frame time ▃▃▆▆▆▆▃▃▁▆▃▆▃█▃ ➡️ 17ms
minimap-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: style recalc duration ▄▃▃▂█▄▃▁▃▃▃▅▅▂▄ ➡️ 4ms
minimap-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
minimap-idle: style recalc count ▅▅█▅▄▅▅▁▃▅▄▅▆▅▅ ➡️ 8
minimap-idle: task duration █▁▂▂▇▅▆▆▅▂▆▇▆▃▆ ➡️ 590ms
minimap-idle: script duration █▁▅▃█▂▇▄▃▂▆▅▆▅█ ➡️ 37ms
minimap-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: heap used ▇▇▇▇▆▆▁▅▄▆▆▇██▇ ➡️ 81.7 MB
minimap-idle: DOM nodes ▅█▅▅▁▁▅▁█▅▅▅█▅▅ 📉 -109
minimap-idle: event listeners ▅█▅▅▁▁▅▁█▅▅▅█▅▅ 📉 -55
subgraph-dom-widget-clipping: avg frame time █▁▆▅▁▅▄▇▄▅▄▄▇▅▃ ➡️ 17ms
subgraph-dom-widget-clipping: p95 frame time ▃▃▃▁▆█▃█▃█▆█▆▆▃ ➡️ 17ms
subgraph-dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: style recalc duration ▆▂█▃▅▃▄▃▅▁▃▄▁▄▇ ➡️ 7ms
subgraph-dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-dom-widget-clipping: style recalc count ▅▇█▇▆▇▆▆▆▆▄▂▁▆▄ ➡️ 46
subgraph-dom-widget-clipping: task duration █▁▂▁▇▆▇▆▇▁▇▇▇▅█ ➡️ 425ms
subgraph-dom-widget-clipping: script duration █▁▂▁▇▆▆▆▇▁▆▆▇▄▇ ➡️ 148ms
subgraph-dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: heap used █▃▅▆▇▆▁▆▁▃▇▅▅▃▂ ➡️ 55.7 MB
subgraph-dom-widget-clipping: DOM nodes █▅▁███████▁▄█▄▅ 📈 -63
subgraph-dom-widget-clipping: event listeners ██▁███████▁▄█▄▄ 📈 -64
subgraph-idle: avg frame time ▃▃▃▆▁▁▄▆▆▃█▆▆▆▆ ➡️ 17ms
subgraph-idle: p95 frame time ▄▄▄█▄▁▄▄▄▄▄▄▁▄█ ➡️ 17ms
subgraph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: style recalc duration ▁▁▄▁▄▆▆▃▆▄██▅▃▅ 📈 4ms
subgraph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-idle: style recalc count ▁▆█▆▃▃▅▅▆▇▇▆▄▇▅ ➡️ 9
subgraph-idle: task duration █▁▂▂█▅▇▅▆▂▇█▆▃▇ ➡️ 461ms
subgraph-idle: script duration █▁▂▂▇▁▆▂▂▂▆▇▅▃▆ ➡️ 11ms
subgraph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: heap used █▇▄▇▅▄█▄▂▆▁▄▆▁▄ ➡️ 67.3 MB
subgraph-idle: DOM nodes ▆██▆█▆▁█▆▆████▆ 📉 -83
subgraph-idle: event listeners ███▆█▆▁█▆▆████▆ 📉 -69
subgraph-mouse-sweep: avg frame time ▁▁▁▁▁▁▁▁▁▁▁▁█▁▁ ➡️ 17ms
subgraph-mouse-sweep: p95 frame time ▃▁▃▁█▆▃▆▃▁▃▆▆█▁ ➡️ 17ms
subgraph-mouse-sweep: layout duration █▂▃▁▇▅▇▄▅▂▇▆▆▅▇ ➡️ 6ms
subgraph-mouse-sweep: style recalc duration █▂▄▁▆▃▆▅▄▃▇▆▆▅▆ ➡️ 19ms
subgraph-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 16
subgraph-mouse-sweep: style recalc count ▄▇█▇▄▄▄██▇█▄▄█▁ ➡️ 65
subgraph-mouse-sweep: task duration █▁▂▁█▅▆▆▆▂▆▇▇▄▇ ➡️ 797ms
subgraph-mouse-sweep: script duration █▁▂▁▇▅▆▆▆▂▅▇▇▄▇ ➡️ 119ms
subgraph-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-mouse-sweep: heap used ▁▃▄▁▂▂█▄▄▁▄▄▇▄▂ ➡️ 61.2 MB
subgraph-mouse-sweep: DOM nodes ██▅█▄█▅▄▄█▁▁▅▅▄ 📈 -83
subgraph-mouse-sweep: event listeners ██▅█▅██▅▅█▃▁█▅▅ 📈 -70
subgraph-transition-enter: avg frame time ▃▆▄▆▇▃▄▁▁▄▁▁▄█▃ ➡️ 19ms
subgraph-transition-enter: p95 frame time ▁▁▁▁▁▁▁▁▁█▁▁▁▁▁ 📈 17ms
subgraph-transition-enter: layout duration ▇▁▁▁█▆▅▇▆▂▄▇▅▂▇ ➡️ 13ms
subgraph-transition-enter: style recalc duration ▇▁▁▁█▆▆▇▇▂▆▇▆▃█ ➡️ 31ms
subgraph-transition-enter: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 5
subgraph-transition-enter: style recalc count ▆██▆▁▃▆██▆██▆▆▆ ➡️ 17
subgraph-transition-enter: task duration █▁▂▁█▅▇▆▅▃▆█▅▂▆ ➡️ 911ms
subgraph-transition-enter: script duration █▁▂▁█▅▅▆▅▃▅█▄▂▆ ➡️ 30ms
subgraph-transition-enter: TBT █▁▁▁█▆▅▇▇▂▆▇▆▃█ ➡️ 141ms
subgraph-transition-enter: heap used █▇▇▇▁▇▇█▇▇▇▇▇▇█ ➡️ 104.2 MB
subgraph-transition-enter: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 13747
subgraph-transition-enter: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 2383
viewport-pan-sweep: avg frame time ▆▁▃▁▄▄▄▂▄▃▂█▅▃█ ➡️ 17ms
viewport-pan-sweep: p95 frame time ▅█▅▅█▅▅█▁█▁▅▅▅█ ➡️ 17ms
viewport-pan-sweep: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
viewport-pan-sweep: style recalc duration ▆▃▅▃▅▁█▄▄▄▇▃▆█▅ ➡️ 37ms
viewport-pan-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
viewport-pan-sweep: style recalc count ▃█▇▂▃▇▆▅▅▃▅▁▇▂▇ ➡️ 251
viewport-pan-sweep: task duration █▁▂▁▇▅▆▆▆▁▆▇▇▃▇ ➡️ 6043ms
viewport-pan-sweep: script duration █▁▁▁▆▆▆▆▆▁▅▇▇▃▇ ➡️ 2836ms
viewport-pan-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
viewport-pan-sweep: heap used ▂▅▇▃▆▂▇▁▇█▂▃▄▁▃ ➡️ 74.9 MB
viewport-pan-sweep: DOM nodes ▇▃▃█▃▅▅▅▅▁▅▅▇▅▇ ➡️ -143
viewport-pan-sweep: event listeners ▇▃▃█▃▅▅▅▅▁▅▅▇▅▆ ➡️ -81
vue-large-graph-idle: avg frame time ▇▁▁▁▇▃█▅▅▁█▅▆▄▆ ➡️ 30ms
vue-large-graph-idle: p95 frame time █▁▁▁█▁█▃▃▁█▆█▁▆ ➡️ 61ms
vue-large-graph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-large-graph-idle: style recalc duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-large-graph-idle: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-large-graph-idle: task duration █▁▂▁▇▃█▆▆▂▇▆▇▄▇ ➡️ 16964ms
vue-large-graph-idle: script duration █▂▂▁▇▂█▄▆▂▇▇▆▅▆ ➡️ 278ms
vue-large-graph-idle: TBT ▁▁▁▁▁▁▁▁▁▁▁█▁▁▁ 📈 0ms
vue-large-graph-idle: heap used ▅▆▆▄█▆▆▄▂▁▄▁▆▇▆ ➡️ 179.4 MB
vue-large-graph-idle: DOM nodes ████▄█▄███▁████ ➡️ -3045
vue-large-graph-idle: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ -14915
vue-large-graph-pan: avg frame time ▆▁▁▁▇▄█▅▅▁▇▅▄▃▅ ➡️ 39ms
vue-large-graph-pan: p95 frame time █▁▁▁█▃███▁██▆▃█ ➡️ 83ms
vue-large-graph-pan: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-large-graph-pan: style recalc duration ▇▁▂▁▇▂█▄▃▁▆▅▄▃▄ ➡️ 20ms
vue-large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-large-graph-pan: style recalc count █▃▂▂▇▇▇█▇▁▆▇▄▅▇ ➡️ 171
vue-large-graph-pan: task duration ▇▁▂▁▇▅█▇▆▁▇▆▅▄▇ ➡️ 21056ms
vue-large-graph-pan: script duration █▁▂▂▇▅▇▆▆▂▆▆▆▄▆ ➡️ 890ms
vue-large-graph-pan: TBT ▆▁▃▁▅▁▆▄█▂▅▃▆▄▄ 📈 21ms
vue-large-graph-pan: heap used ▄▃▅▄▅▁▃▄▅▇▁▅█▄▁ ➡️ 167.5 MB
vue-large-graph-pan: DOM nodes █████▁▂████▇▆██ ➡️ -3045
vue-large-graph-pan: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ -14915
vue-node-resize-workload: avg frame time ▇▁▃▂▇▅▇▆▅▃█▇▇▄▇ ➡️ 37ms
vue-node-resize-workload: p95 frame time █▁▅▅▇▅▇▅▅▅▇▅▅▅▅ ➡️ 67ms
vue-node-resize-workload: layout duration █▁▅▁█▃█▄▄▃█▇▅▆▅ ➡️ 25ms
vue-node-resize-workload: style recalc duration █▁▂▁▇▇▅▇█▂▆▇▇▃▇ ➡️ 81ms
vue-node-resize-workload: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 20
vue-node-resize-workload: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 20
vue-node-resize-workload: task duration █▁▂▁▇▅█▆▆▂▇▇▇▄▇ ➡️ 6144ms
vue-node-resize-workload: script duration ▇▁▃▁▇▄█▆▆▂▆▆▇▄▆ ➡️ 110ms
vue-node-resize-workload: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-node-resize-workload: heap used ▃▅▁█▁▂█▆▁▂▄▂▃▅▃ ➡️ 198.1 MB
vue-node-resize-workload: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-node-resize-workload: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-zoom-out-idle: avg frame time ▇▁▂▁▇▄█▅▅▂█▆▆▄▄ ➡️ 28ms
vue-zoom-out-idle: p95 frame time ▆▁▁▁█▃█▁▁▁███▁▃ ➡️ 56ms
vue-zoom-out-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-zoom-out-idle: style recalc duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-zoom-out-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-zoom-out-idle: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-zoom-out-idle: task duration █▁▂▁█▅█▆▆▂█▇▇▄▄ ➡️ 7837ms
vue-zoom-out-idle: script duration ▆▃▃▁█▆▇▆█▂▇▅▇▅▄ ➡️ 132ms
vue-zoom-out-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-zoom-out-idle: heap used ▃▇▃▃█▆▄▇▂▁▅▄▆▃▄ ➡️ 171.7 MB
vue-zoom-out-idle: DOM nodes ████████▁██████ ➡️ -3045
vue-zoom-out-idle: event listeners ███████████▁███ ➡️ -14915
workflow-execution: avg frame time █▁▁▁▂▁▆▁▁▁▁▂▅▁▁ ➡️ 17ms
workflow-execution: p95 frame time █▁▁▁▁▁▅▁▁▁▁▁▅▁▁ ➡️ 17ms
workflow-execution: layout duration ▆▃▄▄▆▁▇▄▄▄▄▇▄▄█ ➡️ 2ms
workflow-execution: style recalc duration ▆▁▃▂█▂▅▂▂▁▂▅▂▁▅ ➡️ 17ms
workflow-execution: layout count ▃▃▁▃█▁▆▃▃▃▁█▃▁█ ➡️ 4
workflow-execution: style recalc count ▃▃▇▃█▃▃▃▃▄▃█▃▁▂ ➡️ 9
workflow-execution: task duration ▅▁▃▂█▄▅▃▃▂▃▆▄▁▃ ➡️ 96ms
workflow-execution: script duration ▅▂▄▂█▄▃▂▂▂▃▆▄▁▃ ➡️ 9ms
workflow-execution: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
workflow-execution: heap used ▇▇▂▂▅▂▁▁▁▄▄█▄▄▅ ➡️ 62.8 MB
workflow-execution: DOM nodes ▆▇█▁▂▆▁▁▇▇▇▇▇▇▇ 📈 111
workflow-execution: event listeners ▆▆▇▆▄▇▁▅▆▆▆█▆▄▄ ➡️ 28
agent-composer-empty-conversation-typing: avg frame time ▅▁▁▁▁▁▁▁▁▁▆▁▅▁█ ➡️ 17ms
agent-composer-empty-conversation-typing: p95 frame time ▁▁▁▁▁▁▁▁▁▁▁▁▁▁█ ➡️ 22ms
agent-composer-empty-conversation-typing: layout duration ▆▁▁▁▇▃▆▅▄▁█▅▇▄▇ 📈 30ms
agent-composer-empty-conversation-typing: style recalc duration ▇▁▂▁▇▄▆▅▅▁█▅▇▄▇ ➡️ 118ms
agent-composer-empty-conversation-typing: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 76
agent-composer-empty-conversation-typing: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 78
agent-composer-empty-conversation-typing: task duration ▇▁▁▁▇▄▆▆▅▁█▅▇▃█ 📈 1087ms
agent-composer-empty-conversation-typing: script duration ▇▁▁▁▇▄▆▆▅▁█▆▇▃█ 📈 449ms
agent-composer-empty-conversation-typing: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
agent-composer-empty-conversation-typing: heap used █▂▂▁▄▅▇▇▇▂█▇█▅█ ➡️ 85.4 MB
agent-composer-empty-conversation-typing: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 76
agent-composer-empty-conversation-typing: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 876
agent-composer-long-conversation-typing: avg frame time ▇▁▁▁█▃▅▅▅▂▇▆▅▂▆ ➡️ 18ms
agent-composer-long-conversation-typing: p95 frame time █▁▁▁█▆▆██▁███▃█ 📈 33ms
agent-composer-long-conversation-typing: layout duration ▇▂▁▃▇▄▇▆▆▂█▆▆▆▆ ➡️ 30ms
agent-composer-long-conversation-typing: style recalc duration ▇▃▁▃▆▄▆▄▄▂█▅▄▅▆ ➡️ 277ms
agent-composer-long-conversation-typing: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 76
agent-composer-long-conversation-typing: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 78
agent-composer-long-conversation-typing: task duration █▂▁▃█▆▇▆▆▂█▇▇▅▇ ➡️ 1455ms
agent-composer-long-conversation-typing: script duration █▂▁▃█▆▆▇▇▂▇▇▇▅▇ ➡️ 476ms
agent-composer-long-conversation-typing: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
agent-composer-long-conversation-typing: heap used ▂▂█▅▂▁▂▂▂▁▂▂▂▂▄ ➡️ 109.1 MB
agent-composer-long-conversation-typing: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 76
agent-composer-long-conversation-typing: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 876
Raw data
{
  "timestamp": "2026-10-02T02:18:51.478Z",
  "gitSha": "581b183f2eed6fa30e04c91e2ef3c9239b0200bc",
  "branch": "jaewon/fe-3117-billing-web-attempt-lifecycle-events-sdk-stream-and-business-3",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2009.1209999999933,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 3.9859999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 288.823,
      "heapDeltaBytes": 343260,
      "heapUsedBytes": 67432108,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 9.456000000000007,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66611570247934,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-idle",
      "durationMs": 2017.8609999999821,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 3.3170000000000006,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 293.396,
      "heapDeltaBytes": 22340980,
      "heapUsedBytes": 76139568,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 10.207,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66611570247934,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1715.7430000000318,
      "styleRecalcs": 53,
      "styleRecalcDurationMs": 16.076,
      "layouts": 12,
      "layoutDurationMs": 4.364000000000001,
      "taskDurationMs": 598.6590000000001,
      "heapDeltaBytes": 19487420,
      "heapUsedBytes": 73285880,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 123.39699999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666019417475727,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1684.0369999999893,
      "styleRecalcs": 71,
      "styleRecalcDurationMs": 16.848,
      "layouts": 12,
      "layoutDurationMs": 4.3740000000000006,
      "taskDurationMs": 552.7299999999999,
      "heapDeltaBytes": 19529216,
      "heapUsedBytes": 73296788,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 111.706,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666336633663366,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1726.7630000000054,
      "styleRecalcs": 32,
      "styleRecalcDurationMs": 9.937,
      "layouts": 6,
      "layoutDurationMs": 1.3019999999999998,
      "taskDurationMs": 255.116,
      "heapDeltaBytes": -837048,
      "heapUsedBytes": 58054244,
      "domNodes": 53,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 13.024000000000001,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665384615384614,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1719.9509999999805,
      "styleRecalcs": 32,
      "styleRecalcDurationMs": 12.517999999999999,
      "layouts": 6,
      "layoutDurationMs": 1.1360000000000003,
      "taskDurationMs": 254.091,
      "heapDeltaBytes": -23577572,
      "heapUsedBytes": 78832880,
      "domNodes": -178,
      "jsHeapTotalBytes": -2359296,
      "scriptDurationMs": 11.325999999999999,
      "eventListeners": -145,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666346153846156,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 563.8450000000148,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 3.66,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 358.05600000000004,
      "heapDeltaBytes": 14213492,
      "heapUsedBytes": 67957140,
      "domNodes": -231,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 122.73500000000001,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.669696969696968,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 498.37700000000495,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 3.8060000000000005,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 316.824,
      "heapDeltaBytes": 14250760,
      "heapUsedBytes": 67698484,
      "domNodes": -231,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 111.288,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 903.5580000000039,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 509.904,
      "heapDeltaBytes": 14945816,
      "heapUsedBytes": 92176964,
      "domNodes": 0,
      "jsHeapTotalBytes": 8028160,
      "scriptDurationMs": 37.852000000000004,
      "eventListeners": 0,
      "totalBlockingTimeMs": 273,
      "frameDurationMs": 26.47058823529413,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 885.9820000000127,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 508.738,
      "heapDeltaBytes": 14981496,
      "heapUsedBytes": 92444016,
      "domNodes": 0,
      "jsHeapTotalBytes": 8814592,
      "scriptDurationMs": 38.900000000000006,
      "eventListeners": 0,
      "totalBlockingTimeMs": 267,
      "frameDurationMs": 25.976470588235287,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 718.8429999999926,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 316.14699999999993,
      "heapDeltaBytes": 16639064,
      "heapUsedBytes": 103840188,
      "domNodes": 0,
      "jsHeapTotalBytes": 266240,
      "scriptDurationMs": 107.624,
      "eventListeners": 0,
      "totalBlockingTimeMs": 96,
      "frameDurationMs": 20.47714285714285,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 717.1190000000252,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 280.0599999999998,
      "heapDeltaBytes": -14576032,
      "heapUsedBytes": 80527840,
      "domNodes": 0,
      "jsHeapTotalBytes": 266240,
      "scriptDurationMs": 99.67699999999996,
      "eventListeners": 0,
      "totalBlockingTimeMs": 97,
      "frameDurationMs": 21.076470588235306,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 6707.163000000009,
      "styleRecalcs": 4,
      "styleRecalcDurationMs": 1.1839999999999993,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5716.123,
      "heapDeltaBytes": -9189072,
      "heapUsedBytes": 82312708,
      "domNodes": -142,
      "jsHeapTotalBytes": -4853760,
      "scriptDurationMs": 4423.142,
      "eventListeners": -52,
      "totalBlockingTimeMs": 40,
      "frameDurationMs": 22.731632653061222,
      "p95FrameDurationMs": 33.400000000000546
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 6663.457999999991,
      "styleRecalcs": 3,
      "styleRecalcDurationMs": 0.7999999999999986,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5568.2,
      "heapDeltaBytes": -12411112,
      "heapUsedBytes": 68614396,
      "domNodes": 0,
      "jsHeapTotalBytes": -15204352,
      "scriptDurationMs": 4268.7609999999995,
      "eventListeners": 0,
      "totalBlockingTimeMs": 95,
      "frameDurationMs": 21.245367412140574,
      "p95FrameDurationMs": 33.399999999999636
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 6342.0140000000065,
      "styleRecalcs": 4,
      "styleRecalcDurationMs": 1.0830000000000006,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5302.022,
      "heapDeltaBytes": 1750964,
      "heapUsedBytes": 93056472,
      "domNodes": -142,
      "jsHeapTotalBytes": -5640192,
      "scriptDurationMs": 4098.474,
      "eventListeners": -52,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 20.750980392156862,
      "p95FrameDurationMs": 33.399999999999636
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 6669.148999999948,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 1.4929999999999994,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5564.648,
      "heapDeltaBytes": 674584,
      "heapUsedBytes": 84968872,
      "domNodes": -142,
      "jsHeapTotalBytes": -5378048,
      "scriptDurationMs": 4321.477,
      "eventListeners": -78,
      "totalBlockingTimeMs": 27,
      "frameDurationMs": 21.177707006369427,
      "p95FrameDurationMs": 33.400000000000546
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2055.142999999987,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 3.523999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 472.57200000000006,
      "heapDeltaBytes": -40890680,
      "heapUsedBytes": 82608232,
      "domNodes": -328,
      "jsHeapTotalBytes": -3506176,
      "scriptDurationMs": 32.17,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666664,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2008.7480000000255,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 3.2230000000000003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 340.964,
      "heapDeltaBytes": -474236,
      "heapUsedBytes": 85770448,
      "domNodes": 0,
      "jsHeapTotalBytes": -225280,
      "scriptDurationMs": 27.464999999999996,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666115702479342,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2113.0619999999567,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 13.309,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1208.5040000000001,
      "heapDeltaBytes": -4795868,
      "heapUsedBytes": 82451144,
      "domNodes": 0,
      "jsHeapTotalBytes": 1048576,
      "scriptDurationMs": 599.619,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666664,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2162.855000000036,
      "styleRecalcs": 68,
      "styleRecalcDurationMs": 12.084000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1147.6550000000002,
      "heapDeltaBytes": -38049028,
      "heapUsedBytes": 85911828,
      "domNodes": -328,
      "jsHeapTotalBytes": -2494464,
      "scriptDurationMs": 558.7289999999999,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66640625,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3078.665000000001,
      "styleRecalcs": 63,
      "styleRecalcDurationMs": 13.947000000000001,
      "layouts": 60,
      "layoutDurationMs": 16.719,
      "taskDurationMs": 1333.0320000000002,
      "heapDeltaBytes": 8613920,
      "heapUsedBytes": 73164184,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 575.342,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665945945945946,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3082.0229999999924,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 12.814,
      "layouts": 60,
      "layoutDurationMs": 15.665,
      "taskDurationMs": 1144.142,
      "heapDeltaBytes": 8541052,
      "heapUsedBytes": 72964580,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 517.6419999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665945945945946,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2153.931,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 7.484000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1446.6689999999999,
      "heapDeltaBytes": 18120608,
      "heapUsedBytes": 82994452,
      "domNodes": 0,
      "jsHeapTotalBytes": 417792,
      "scriptDurationMs": 709.699,
      "eventListeners": 180,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2150.256000000013,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 7.965999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1280.9789999999998,
      "heapDeltaBytes": 9077492,
      "heapUsedBytes": 76239828,
      "domNodes": 0,
      "jsHeapTotalBytes": 2060288,
      "scriptDurationMs": 650.702,
      "eventListeners": 180,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66666666666667,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "minimap-idle",
      "durationMs": 2030.300000000011,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 3.134999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 412.906,
      "heapDeltaBytes": -42620836,
      "heapUsedBytes": 83612528,
      "domNodes": -328,
      "jsHeapTotalBytes": -2457600,
      "scriptDurationMs": 29.370999999999995,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665853658536584,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2017.5239999999803,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 3.404000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 361.954,
      "heapDeltaBytes": -1396728,
      "heapUsedBytes": 78066328,
      "domNodes": 0,
      "jsHeapTotalBytes": -225280,
      "scriptDurationMs": 30.914000000000005,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666115702479342,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 460.94899999997097,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 6.244999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 278.5110000000001,
      "heapDeltaBytes": 9720600,
      "heapUsedBytes": 63765276,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 99.598,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.660714285714285,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 422.5930000000062,
      "styleRecalcs": 50,
      "styleRecalcDurationMs": 7.110999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 280.094,
      "heapDeltaBytes": -12807584,
      "heapUsedBytes": 57498632,
      "domNodes": 0,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 99.745,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66538461538462,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2019.8270000000207,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 3.422999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 288.21999999999997,
      "heapDeltaBytes": 22306448,
      "heapUsedBytes": 76235844,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 9.153999999999998,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665289256198346,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2018.863999999951,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 4.081000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 301.30400000000003,
      "heapDeltaBytes": -29218940,
      "heapUsedBytes": 76037476,
      "domNodes": -248,
      "jsHeapTotalBytes": -3932160,
      "scriptDurationMs": 8.794999999999998,
      "eventListeners": -210,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.667213114754095,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1718.4349999999995,
      "styleRecalcs": 75,
      "styleRecalcDurationMs": 20.418,
      "layouts": 16,
      "layoutDurationMs": 7.743999999999999,
      "taskDurationMs": 608.902,
      "heapDeltaBytes": 15328596,
      "heapUsedBytes": 69282112,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 99.131,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66601941747573,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1688.8769999999909,
      "styleRecalcs": 76,
      "styleRecalcDurationMs": 18.481,
      "layouts": 16,
      "layoutDurationMs": 5.585,
      "taskDurationMs": 545.336,
      "heapDeltaBytes": -6429588,
      "heapUsedBytes": 62972504,
      "domNodes": 0,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 90.413,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666336633663363,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 817.8139999999985,
      "styleRecalcs": 19,
      "styleRecalcDurationMs": 19.548000000000002,
      "layouts": 5,
      "layoutDurationMs": 7.864,
      "taskDurationMs": 592.271,
      "heapDeltaBytes": 21995504,
      "heapUsedBytes": 107628212,
      "domNodes": 13747,
      "jsHeapTotalBytes": 4456448,
      "scriptDurationMs": 20.088,
      "eventListeners": 2383,
      "totalBlockingTimeMs": 60,
      "frameDurationMs": 18.990697674418612,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8195.483999999964,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 43.263999999999996,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4352.285,
      "heapDeltaBytes": -36948112,
      "heapUsedBytes": 87736156,
      "domNodes": -328,
      "jsHeapTotalBytes": -4591616,
      "scriptDurationMs": 1965.2060000000001,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665853658536584,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8226.424000000008,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 41.828,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4067.665,
      "heapDeltaBytes": -10799552,
      "heapUsedBytes": 74879908,
      "domNodes": -142,
      "jsHeapTotalBytes": -9572352,
      "scriptDurationMs": 1960.1010000000003,
      "eventListeners": -78,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666125760649088,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 12389.112000000012,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 11683.038,
      "heapDeltaBytes": -13937440,
      "heapUsedBytes": 188397684,
      "domNodes": -3045,
      "jsHeapTotalBytes": 5263360,
      "scriptDurationMs": 180.43200000000002,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 21.276288659793817,
      "p95FrameDurationMs": 33.399999999999636
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 12595.215000000053,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 11618.198999999999,
      "heapDeltaBytes": -38236136,
      "heapUsedBytes": 170291820,
      "domNodes": -3045,
      "jsHeapTotalBytes": 7798784,
      "scriptDurationMs": 189.044,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 21.31895093062606,
      "p95FrameDurationMs": 33.399999999999636
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 14798.707000000035,
      "styleRecalcs": 73,
      "styleRecalcDurationMs": 17.08899999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 14236.817000000001,
      "heapDeltaBytes": -31133188,
      "heapUsedBytes": 192134332,
      "domNodes": -3045,
      "jsHeapTotalBytes": 6242304,
      "scriptDurationMs": 620.508,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 26.422419928825626,
      "p95FrameDurationMs": 50.100000000000364
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 14406.50400000004,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 14.492999999999977,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 13636.554,
      "heapDeltaBytes": -42364988,
      "heapUsedBytes": 166805680,
      "domNodes": -3045,
      "jsHeapTotalBytes": 6311936,
      "scriptDurationMs": 606.05,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 24.84130808950086,
      "p95FrameDurationMs": 50
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 4560.1810000000005,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 55.30199999999999,
      "layouts": 20,
      "layoutDurationMs": 25.864000000000004,
      "taskDurationMs": 4416.539000000001,
      "heapDeltaBytes": 1002640,
      "heapUsedBytes": 203659092,
      "domNodes": 0,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 78.07399999999998,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 25.79943502824859,
      "p95FrameDurationMs": 50
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 4278.8040000000365,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 53.059999999999995,
      "layouts": 20,
      "layoutDurationMs": 22.71,
      "taskDurationMs": 4146.8910000000005,
      "heapDeltaBytes": 7224780,
      "heapUsedBytes": 209990456,
      "domNodes": 0,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 70.21799999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 25.95818181818182,
      "p95FrameDurationMs": 50
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 6386.491999999976,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5953.844,
      "heapDeltaBytes": -30644192,
      "heapUsedBytes": 170671972,
      "domNodes": -3045,
      "jsHeapTotalBytes": 12537856,
      "scriptDurationMs": 95.837,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 21.492255892255887,
      "p95FrameDurationMs": 33.400000000001455
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 6474.784,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 6021.415000000001,
      "heapDeltaBytes": -47269856,
      "heapUsedBytes": 182050876,
      "domNodes": -3045,
      "jsHeapTotalBytes": 12865536,
      "scriptDurationMs": 96.80099999999997,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 21.610333333333333,
      "p95FrameDurationMs": 33.400000000001455
    },
    {
      "name": "workflow-execution",
      "durationMs": 441.5349999999876,
      "styleRecalcs": 15,
      "styleRecalcDurationMs": 12.911,
      "layouts": 2,
      "layoutDurationMs": 0.5469999999999999,
      "taskDurationMs": 90.636,
      "heapDeltaBytes": 5600568,
      "heapUsedBytes": 70189656,
      "domNodes": 102,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 8.115000000000004,
      "eventListeners": 65,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670370370370367,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "workflow-execution",
      "durationMs": 89.18800000003557,
      "styleRecalcs": 6,
      "styleRecalcDurationMs": 11.129000000000001,
      "layouts": 4,
      "layoutDurationMs": 1.7650000000000001,
      "taskDurationMs": 60.96399999999999,
      "heapDeltaBytes": 3840704,
      "heapUsedBytes": 62429152,
      "domNodes": 120,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 5.918999999999999,
      "eventListeners": 33,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "agent-composer-empty-conversation-typing",
      "durationMs": 541.4369999999735,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 98.323,
      "layouts": 76,
      "layoutDurationMs": 27.387999999999998,
      "taskDurationMs": 508.4030000000001,
      "heapDeltaBytes": -10443068,
      "heapUsedBytes": 77314384,
      "domNodes": 76,
      "jsHeapTotalBytes": 3145728,
      "scriptDurationMs": 162.162,
      "eventListeners": 876,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "agent-composer-empty-conversation-typing",
      "durationMs": 543.5439999999971,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 96.982,
      "layouts": 76,
      "layoutDurationMs": 26.467000000000002,
      "taskDurationMs": 505.37200000000007,
      "heapDeltaBytes": -16875524,
      "heapUsedBytes": 67834204,
      "domNodes": 76,
      "jsHeapTotalBytes": 13369344,
      "scriptDurationMs": 167.46999999999997,
      "eventListeners": 876,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "agent-composer-long-conversation-typing",
      "durationMs": 883.3930000000692,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 230.132,
      "layouts": 76,
      "layoutDurationMs": 27.732,
      "taskDurationMs": 862.799,
      "heapDeltaBytes": 10679264,
      "heapUsedBytes": 129940856,
      "domNodes": 76,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 227.262,
      "eventListeners": 876,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.664150943396223,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "agent-composer-long-conversation-typing",
      "durationMs": 913.7540000000399,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 253.737,
      "layouts": 76,
      "layoutDurationMs": 27.598000000000003,
      "taskDurationMs": 894.4300000000001,
      "heapDeltaBytes": 10904108,
      "heapUsedBytes": 134340008,
      "domNodes": 76,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 224.292,
      "eventListeners": 876,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66607142857143,
      "p95FrameDurationMs": 16.800000000000182
    }
  ]
}

🔬 E2E Coverage

Metric Covered Total Pct
Lines 53494 81944 65.3% 🟡
Functions 0 0 — —
Branches 0 0 — —
Top 10 files by uncovered lines
File Coverage Missed
src/LGraphCanvas.ts 66.8% 1165
src/LGraphNode.ts 70.5% 387
src/platform/workspace/stores/billingOperationStore.ts 7.8% 366
src/renderer/extensions/layerEditor/composables/useLayerEditorSession.ts 40.1% 332
src/LGraph.ts 79.0% 272
src/core/billing/operationLifecycle.ts 1.1% 262
src/platform/workspace/stores/teamWorkspaceStore.ts 39.2% 258
src/scripts/app.ts 73.1% 253
src/core/webSessionIdentity.ts 3.3% 231
src/scripts/pnginfo.ts 20.7% 222

@codecov

codecov Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##             main   #19811      +/-   ##
==========================================
- Coverage   84.76%   84.76%   -0.01%     
==========================================
  Files        3422     3423       +1     
  Lines      163921   163931      +10     
  Branches    42770    44700    +1930     
==========================================
+ Hits       138953   138954       +1     
- Misses      23021    23031      +10     
+ Partials     1947     1946       -1     
Flag Coverage Δ
billing-web-unit 91.71% <100.00%> (+0.14%) ⬆️
e2e 65.28% <ø> (-0.03%) ⬇️
unit 82.23% <ø> (-0.01%) ⬇️
website-unit 79.85% <ø> (ø)

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

Files with missing lines Coverage Δ
...billing-web/src/components/SubscriptionActions.vue 100.00% <100.00%> (+5.76%) ⬆️
.../billing-web/src/telemetry/resubscribeTelemetry.ts 100.00% <100.00%> (ø)

... and 9 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.

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

🔧 Auto-fixes Applied

This PR has been automatically updated to fix linting and formatting issues.

⚠️ Important: Your local branch is now behind. Run git pull before making additional changes to avoid conflicts.

Changes made:

  • ESLint auto-fixes
  • Oxfmt formatting

…19804)

## Summary

Billing web reports how an entry link arrives, once per tab entry:
`billing.web_entry.received`, `.rejected` and `.bounced` (E4 to E6).
This is the first of three PRs for FE-3120. Session events (E7 to E9)
and the return click (E27) follow in the next two.

## Why

Nothing records what reaches billing web. A link that fails to parse, a
pricing or plan-less checkout link that sends the customer straight back
to the host, and a checkout whose return target was replaced are all
invisible. The rollout needs the landing as a countable step that links
to the cloud app's handoff, and it must count a customer once, not once
per route change.

## Root cause

The router guard reads and routes every entry link but reports nothing,
and billing web has no way to say "this tab already reported". The guard
runs on every navigation, on the sign-in redirect and on every reload,
so a naive emit would repeat.

## How

- **Contract.** `webEntryEvent.ts` in
`packages/account-core/src/core/billing/telemetry` defines the three
events as one `WebEntryBillingEvent` and adds one line to the
`BillingTelemetryEvent` union. The payload allowlist gains `product`,
`has_plan`, `reason` and `to`. All are bounded enums or a boolean.
`WebEntryProduct`, `WebEntryErrorCode` and `WebEntryBounceTarget` mirror
the billing-contract types, and type tests in
`packages/billing-contract` fail when they drift.
- **Once per tab.** `trackOncePerTab` sends an event the first time the
tab produces its name. It remembers in `sessionStorage`, which survives
a reload and ends with the tab. A tab that refuses storage still reports
once per page load.
- **Router.** The guard reports `received` when it admits a link,
`rejected` with the parser's `error_code` when it cannot use one
(including a link whose way back cannot be resolved), and `bounced` when
it sends the customer to the host or replaces a checkout's `return_to`.
- **Payloads.** `received` carries `intent`, `product`, `has_plan`, the
link's `payment_intent_source` and its `correlation_id` (the cloud
journey id) when present. `bounced` carries `reason` (`pricing_link`,
`planless_checkout`, `return_target_rewritten`) and `to` (a return
target or `pricing_table`). No URL, query value, workspace id, promo
code or amount is reported.
- **Docs.** A short subsection in the billing web README lists the
events.
- **User-visible behavior.** None. This is telemetry only.

## Review Focus

- Stacked on #19798
(FE-3140): the base is its branch until it merges, then the base moves
to main. Review only the commits after FE-3140's head `c24ff3de75`. Next
in this stack: the session events (E7 to E9) and the return click (E27).
- Field name: `received` sends the link's source as
`payment_intent_source`, not `source`, the same call E3 made. `source`
already means the resubscribe surface in the allowlist, and every other
billing event uses `payment_intent_source` for this list.
- Disjoint outcomes: `received` means admitted, `rejected` means the
error view, `bounced` means the customer left for the host. A pricing
link or plan-less checkout that bounces is not also `received`. The one
overlap is `return_target_rewritten`, which follows `received` because
the link is still served.
- `outcome` is `pending` on all three. The SSOT says client journey
events never claim an operation outcome, so a rejected link is `stage:
rejected` with `error_code`, not `outcome: failure`. Dashboards that
filter on `outcome:failure` will not see these.
- Once per tab is per event name, not per link. A tab that bounces a
pricing link and later rewrites a checkout's return target reports only
the first `bounced`. A host that navigates the same tab into billing web
twice, instead of opening a new tab, is counted once. Cloud opens a new
tab each time.
- `UNKNOWN_RETURN_TARGET` can come from a pricing or plan-less link
whose return target has no destination in this environment. That link is
reported as `rejected`, not `received` then `bounced`.
- The planless router test file now mocks the telemetry facade, as the
sink boundary, so its cold import stays light. On a heavily loaded
machine its first test is close to the default 5s limit for module
loading. It passed at normal load.
- Known gap: `bounced` leaves the page immediately (`location.replace`).
If PostHog has not finished loading when the page leaves, its queued
event is lost with the page. Whether RUM flushes on a page exit is part
of the FE-3119 check.

## AS IS / TO BE

AS IS: ![AS IS at 9ec8aa2: 18 of 18 scenarios off contract. In all 23
tabs run, a valid subscription, checkout and top-up link, 9 rejected
links one per error code, a pricing link, a plan-less checkout, two
checkouts whose return_to is replaced, and the same links after route
changes, a sign-in redirect, a reload and a tab without storage,
trackBillingEvent, datadogRum.addAction and posthog.capture are called 0
times, while the router still sends the pricing and plan-less links back
to the host and an event that already existed reaches both sinks in the
same harness; router.entryTelemetry.test.ts passes 0 of 22, each failing
with an empty list where the reported event is expected,
apps/billing-web passes 1055 of 1077, account-core src/core/billing 594
of 594, billing-contract 123 of
123](https://github.com/user-attachments/assets/4cca4264-a532-4b4d-90f7-9fa64d2b661d)

TO BE: ![TO BE at 7a373ea: 18 of 18 scenarios on contract. A valid
link reports one billing.web_entry.received with intent, product and
has_plan, plus payment_intent_source and the Cloud correlation_id when
the link carries them, each of the 9 rejected links reports one
billing.web_entry.rejected with its own error_code, a pricing link and a
plan-less checkout report one billing.web_entry.bounced to the return
target or pricing_table, and a checkout whose return_to is replaced
reports received then bounced as return_target_rewritten to
comfyui_credits, the same payload in RUM and PostHog with outcome
pending and billing_surface billing_web; route changes, the sign-in
redirect, a reload and a tab without storage add no second event of the
same name, the 26 payloads in each sink hold only enums, booleans and
the journey id with no URL, query value, workspace id, promo code,
amount or plan name, and the host redirects are unchanged;
router.entryTelemetry.test.ts passes 22 of 22, apps/billing-web 1077 of
1077, account-core src/core/billing 598 of 598, billing-contract 126 of
126](https://github.com/user-attachments/assets/57e64e81-78d8-4e80-a170-ae71ad3de86d)

The evidence is the sequence of billing web telemetry events for a valid
link, a rejected link, a pricing link, a plan-less checkout and a
checkout with a replaced return target, then the same links after a
route change and a reload in the same tab, before (no events) and after.

## Where this sits in the plan

Linear: [FE-3120](https://linear.app/comfyorg/issue/FE-3120), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](#19794), in
review |
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](#19798), in
review |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | todo |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](#19809), [PR
19810](#19810), [PR
19811](#19811), in
review |
| T8 | FE-3118 | Billing web journey and choices | todo |
| T9 | FE-3119 | Payment friction events | todo |
| T10 | FE-3120 | Billing web entry, session and return | this PR |
| T11 | FE-3121 | Portal events | todo |
| T12 | FE-3122 | Flag coverage check | todo |
| T13 | FE-3123 | PostHog rollout dashboard | todo |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard | todo |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T10 stroke-width:3px
```
@github-actions github-actions Bot added the risk:high PR risk grade (advisory shadow check; grader-owned) label Oct 1, 2026
…he-billing-telemetry-event-contract-to-a-shared
FE-3156's test sent a billing event as a name plus a payload. trackBillingEvent now takes the typed BillingTelemetryEvent, so the test sends a real event and still asserts that RUM carries no user field beyond the id set by startRumUser.
@dante01yoon
dante01yoon removed the request for review from jtydhr88 October 2, 2026 13:04
dante01yoon added a commit that referenced this pull request Oct 2, 2026
… and failed stages (#19945)

## Summary

Billing web reports its cancel flow as billing.cancel.intent,
billing.cancel.abandoned and billing.cancel.failed, using the cancel
contract from FE-3115.

## Why

E14 needs the cancel flow on both hosts. The cloud app gets it in
FE-3115. Billing web reported nothing for its cancel flow: a customer
who opened the confirmation and kept the plan, and a cancel the server
refused before any operation existed, were invisible. A refusal before
an operation exists is also invisible to the SDK stream, because the SDK
only reports operations.

## How

createCancelFlowTelemetry in
apps/billing-web/src/telemetry/cancelTelemetry.ts reports intent when
the confirmation opens, abandoned when the customer picks Keep my plan
or the surface unmounts with the confirmation still open, and failed
only when the cancel command returns a refusal (status error),
classified through the shared outcomeOfCommandResult. Once the customer
confirms, the flow is no longer abandoned, and a cancel that issued an
operation ends in the SDK's billing.operation.* events with
operation_type cancel, so this flow adds no terminal of its own. Each
event carries billing_client sdk and the current plan's tier and cycle,
which SubscriptionPanel passes down from the plan catalog.
checkoutTierOf is exported from subscriptionCheckoutTelemetry.ts so both
flows map server tiers the same way. There is no user-visible change.

## Review Focus

- Ownership: failed fires only for status error; an ok result with or
without an operation reports nothing here.
- Abandoned on unmount covers leaving the surface in the app; closing
the tab with the confirmation open is not reported.
- A thrown cancel command (not a returned refusal) reports nothing,
matching the cloud rule that a confirmed flow's end belongs to the
operation.
- Merge note: origin/main's #19811 adds the resubscribe telemetry import
on the same lines of SubscriptionActions.vue. Merging main into this
branch (or into FE-3115) gives a two-line import conflict; keep both
imports.

## AS IS / TO BE

Captured through the real telemetry providers in the component and
composable tests (Datadog RUM action and PostHog event carry identical
payloads, `billing_surface` per host). AS IS = base branch, TO BE = this
branch.

| Path | Host | AS IS | TO BE |
| --- | --- | --- | --- |
| reports opening the confirmation and keeping the plan | billing_web |
nothing | `billing.cancel.intent` (billing_client: sdk, current_tier:
pro, cycle: yearly)<br>`billing.cancel.abandoned` (billing_client: sdk,
current_tier: pro, cycle: yearly) |
| reports leaving the page while the confirmation is open as abandoned |
billing_web | nothing | `billing.cancel.intent` (billing_client: sdk,
current_tier: pro, cycle: yearly)<br>`billing.cancel.abandoned`
(billing_client: sdk, current_tier: pro, cycle: yearly) |
| leaves the end of a cancel the server settled to the operation events
| billing_web | nothing | `billing.cancel.intent` (billing_client: sdk,
current_tier: pro, cycle: yearly) |
| leaves the end of a cancel operation that failed to the operation
events | billing_web | nothing | `billing.cancel.intent`
(billing_client: sdk, current_tier: pro, cycle: yearly) |
| leaves the end of a cancel that already held to the operation events |
billing_web | nothing | `billing.cancel.intent` (billing_client: sdk,
current_tier: pro, cycle: yearly) |
| reports a request that never reached the server as a failed cancel
before any operation exists | billing_web | nothing |
`billing.cancel.intent` (billing_client: sdk, current_tier: pro, cycle:
yearly)<br>`billing.cancel.failed` (billing_client: sdk, current_tier:
pro, cycle: yearly, failure_category: network) |
| reports no subscription to cancel as a failed cancel before any
operation exists | billing_web | nothing | `billing.cancel.intent`
(billing_client: sdk, current_tier: pro, cycle:
yearly)<br>`billing.cancel.failed` (billing_client: sdk, current_tier:
pro, cycle: yearly, failure_category: api_rejected) |
| reports an earlier payment still open as a failed cancel before any
operation exists | billing_web | nothing | `billing.cancel.intent`
(billing_client: sdk, current_tier: pro, cycle:
yearly)<br>`billing.cancel.failed` (billing_client: sdk, current_tier:
pro, cycle: yearly, failure_category: api_rejected, error_code:
operation_already_pending) |

Captured RUM actions and PostHog events for eight cancel paths on
billing web show nothing on the FE-3115 base and intent, abandoned or
failed with tier, cycle and failure category on this branch
(evidence-fe3117-web-cancel/).

## Where this sits in the plan

Linear: [FE-3117](https://linear.app/comfyorg/issue/FE-3117), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](#19815) (four
parts), in review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | this PR |
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | todo |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](#19804), [PR
19806](#19806) and [PR
19807](#19807), merged
in [PR 19798](#19798)
|
| T11 | FE-3121 | Portal events | todo |
| T12 | FE-3122 | Flag coverage check | [PR
19942](#19942), in
review |
| T13 | FE-3123 | PostHog rollout dashboard | specified, blocked on
PostHog key scopes |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
[PR 19941](#19941), in
review |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T7 stroke-width:3px
```

---------

Co-authored-by: GitHub Action <action@github.com>
dante01yoon added a commit that referenced this pull request Oct 3, 2026
…he cloud app and billing web (#19944)

## Summary

The cloud app and billing web report each trip to the Stripe portal as
billing.portal.opened, billing.portal.failed and
billing.portal.returned, with a bounded target of payment_methods,
invoices or manage_subscription.

## Why

Opening the Stripe portal, failing to open it and coming back were not
recorded on either host. A portal failure reached error reporting only,
so the Datadog Billing UI tab and the PostHog rollout dashboard could
not count it. What the customer does inside the portal (add, remove or
set a default card) never reaches the browser, so the trip itself is the
only signal we can have.

## How

A new contract module, portalEvent.ts, defines PortalBillingEvent
(operation portal, stages opened, failed and returned) and
BillingPortalTarget. It adds one line to the BillingTelemetryEvent
union, three names to BILLING_TELEMETRY_EVENTS and target to the payload
allowlist as a required field. On the cloud app,
createBillingPortalReporter reports the open, the failure (blocked tab
as redirect with payment_popup_blocked, other errors through
describeBillingFailure) and the first return to the tab, using the same
return signal as the billing refresh. Personal Manage subscription and
Invoice history call it with billing_client legacy and keep their
existing error toast and error report. Workspace Manage subscription
calls it with billing_client sdk or legacy depending on which rail
served the portal URL. On billing web, a usePaymentPortal composable now
owns opening the portal and the portal=return marker for both the
payment methods panel and the invoices page; it reports opened, failed
(network, api_rejected, or unknown for a malformed URL) and returned
once on landing. The invoices page's return URL now carries
portal=return and strips it on arrival. There is no user-visible change.

## Review Focus

- One return per open on the cloud app: only the latest open waits for a
return, through a module-level stop handle in billingPortalTelemetry.ts.
- Workspace Manage subscription reports billing_client only when it
knows which rail answered; a thrown failure omits it.
- useSubscription now calls accessBillingPortalDirect inside its own
error wrapper so it can classify the failure; the toast and reportError
behavior is unchanged.
- PaymentMethodsPanel and InvoicesView moved their portal logic into
usePaymentPortal; the invoices page now gets the portal=return marker
and strips it.
- Out of scope: the portal used for a plan change in PricingTable (its
operation events already cover it), the payment recovery portal in
useSubscriptionCheckout, and the hosted billing web tab that workspace
Manage subscription opens when hosted billing is on (that is
billing.web_handoff.opened).

## AS IS / TO BE

Captured through the real telemetry providers in the component and
composable tests (Datadog RUM action and PostHog event carry identical
payloads, `billing_surface` per host). AS IS = base branch, TO BE = this
branch.

| Path | Host | AS IS | TO BE |
| --- | --- | --- | --- |
| reports manageSubscription opening the portal and one return |
cloud_app | nothing | `billing.portal.opened` (target:
manage_subscription, billing_client:
legacy)<br>`billing.portal.returned` (target: manage_subscription,
billing_client: legacy) |
| reports handleInvoiceHistory opening the portal and one return |
cloud_app | nothing | `billing.portal.opened` (target: invoices,
billing_client: legacy)<br>`billing.portal.returned` (target: invoices,
billing_client: legacy) |
| reports manageSubscription as a failed open when the tab is blocked |
cloud_app | nothing | `billing.portal.failed` (target:
manage_subscription, billing_client: legacy, failure_category: redirect,
error_code: payment_popup_blocked) |
| reports handleInvoiceHistory as a failed open when the tab is blocked
| cloud_app | nothing | `billing.portal.failed` (target: invoices,
billing_client: legacy, failure_category: redirect, error_code:
payment_popup_blocked) |
| reports a refused portal request as a failed open and still reports
the error | cloud_app | nothing | `billing.portal.failed` (target:
manage_subscription, billing_client: legacy, failure_category:
api_rejected) |
| reports the portal opening from the SDK rail and one return |
cloud_app | nothing | `billing.portal.opened` (target:
manage_subscription, billing_client: sdk)<br>`billing.portal.returned`
(target: manage_subscription, billing_client: sdk) |
| reports the portal opening from the workspace client and one return |
cloud_app | nothing | `billing.portal.opened` (target:
manage_subscription, billing_client:
legacy)<br>`billing.portal.returned` (target: manage_subscription,
billing_client: legacy) |
| reports a blocked portal tab as a failed open | cloud_app | nothing |
`billing.portal.failed` (target: manage_subscription, failure_category:
redirect, error_code: payment_popup_blocked) |
| reports a refused portal request as a failed open | cloud_app |
nothing | `billing.portal.failed` (target: manage_subscription,
failure_category: api_rejected) |
| reports the portal opening on the invoices | billing_web | nothing |
`billing.portal.opened` (target: invoices, billing_client: sdk) |
| reports the portal opening on the payment methods | billing_web |
nothing | `billing.portal.opened` (target: payment_methods,
billing_client: sdk) |
| reports a portal it could not open as a failed open | billing_web |
nothing | `billing.portal.failed` (target: payment_methods,
billing_client: sdk, failure_category: api_rejected) |
| reports the return from the portal once and drops the marker |
billing_web | nothing | `billing.portal.returned` (target: invoices,
billing_client: sdk) |
| reports the return from the portal once | billing_web | nothing |
`billing.portal.returned` (target: payment_methods, billing_client: sdk)
|
| reports a request that never reached the server as a failed portal
open | billing_web | nothing | `billing.portal.failed` (target:
invoices, billing_client: sdk, failure_category: network) |
| reports a refusal from the server as a failed portal open |
billing_web | nothing | `billing.portal.failed` (target: invoices,
billing_client: sdk, failure_category: api_rejected) |
| reports a portal address that fails validation as a failed portal open
| billing_web | nothing | `billing.portal.failed` (target: invoices,
billing_client: sdk, failure_category: unknown) |

Captured RUM actions and PostHog events for each path on both hosts show
nothing on the FE-3115 base and the matching billing.portal.* event with
target, failure category and billing_surface on this branch
(evidence-fe3121/).

## Where this sits in the plan

Linear: [FE-3121](https://linear.app/comfyorg/issue/FE-3121), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](#19815) (four
parts), in review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](#19809), [PR
19810](#19810), [PR
19811](#19811), merged
|
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | todo |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](#19804), [PR
19806](#19806) and [PR
19807](#19807), merged
in [PR 19798](#19798)
|
| T11 | FE-3121 | Portal events | this PR |
| T12 | FE-3122 | Flag coverage check | [PR
19942](#19942), in
review |
| T13 | FE-3123 | PostHog rollout dashboard | specified, blocked on
PostHog key scopes |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
[PR 19941](#19941), in
review |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T11 stroke-width:3px
```
dante01yoon added a commit that referenced this pull request Oct 3, 2026
…g screen (#19948)

## Summary

Report an abandoned checkout and the ending screen on the billing web
full-page checkout, and send the abandon to PostHog by beacon (E24,
E25).

## Why

customer_abandoned is the largest failure class on the backend, and the
browser had no event for a customer who closes the tab or goes back with
an unresolved checkout. The ending screen the customer saw was not
reported either, so a funnel could not tell a success screen from a
refusal.

## How

The shared journey contract gains two phases, billing.checkout.abandoned
(last_phase, exit) and billing.checkout.ended (ending_kind,
attribution), as union lines in checkoutJourney.ts with their payload
fields. They carry the journey context, so they join entered and
operation_linked on checkout_journey_id and billing_op_id.
useCheckoutJourney remembers the last progress phase, reports each new
ending kind once, and reports abandoned once, only before any ending.
The full-page checkout reports ended from its existing endingOf screen
and terminal attribution. It reports abandoned with exit page_exit on
pagehide, and with exit back from the Back control. It reports no
abandon when the page handed itself to a hosted step or a method's own
site. The billing web telemetry facade sends abandoned to PostHog with
transport sendBeacon. PostHog drains its queue on its own pagehide
listener, which runs before ours, so a plain capture there would be
queued and lost. There is no user-visible change.

## Review Focus

- Flush check: Datadog RUM 6.33 flushes by sendBeacon on
visibilitychange hidden, freeze and beforeunload. It has no pagehide
listener, but the browser fires visibilitychange after pagehide on
unload, so an action added in pagehide is sent. PostHog 1.402 drains by
beacon on pagehide, so only an event captured inside pagehide needs the
sendBeacon option.
- leftForPayment: a redirect to a hosted step or a non-card method's
site is a redirect_started, not an abandon.
- Existing journey tests now expect billing.checkout.ended after a
preview failure and after a success.
- Known gaps: the embedded billing web CheckoutView reports neither
phase. The cloud app reports no abandoned event, because its journey is
kept in session storage across dialogs and reloads, and whether a dialog
close ends it needs a product decision. A tab closed while already in
the background may not flush its RUM action, because visibilitychange
already fired; the derived count of starts without terminals covers it
(D8).

## AS IS / TO BE

Telemetry change, so the evidence is the captured events instead of a
screenshot: the real SDK lifecycle and the billing web checkout with
only the network edge and the telemetry SDKs (Datadog RUM, posthog-js)
stubbed. AS IS = origin/main, TO BE = this stack.

| Path | AS IS | TO BE |
| --- | --- | --- |
| E24 tab closed at the quote | `entered`, `preview_ready` | adds
`abandoned` (last_phase preview_ready, exit page_exit); PostHog copy
sent with `{transport: 'sendBeacon'}` |
| E24 Back control | `entered`, `preview_ready`, `web_return.clicked` |
adds `abandoned` (exit back), once, even though the page then unloads |
| E24 Alipay Pay leaving for its own site | no abandon | still no
abandon (it is a redirect) |
| E25 own payment succeeds | no ending event | `ended` (ending_kind
success, attribution started); no abandon when the tab closes after it |
| E25 refused workspace | no ending event | `ended` (ending_kind
refused), no attribution |

No payload carries an email, URL, client secret, promo code or provider
id; every new field is a bounded enum.

evidence-fe3119/as-is-billing-web.json shows the tab-close, Back,
success and refusal paths with no abandoned or ended event on main, and
to-be-billing-web.json shows abandoned with last_phase and exit to RUM
and to PostHog with transport sendBeacon, ended with ending_kind and
attribution, and no abandon for an Alipay Pay that left for its own
site.

## Where this sits in the plan

Linear: [FE-3119](https://linear.app/comfyorg/issue/FE-3119), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](#19815) (four
parts), in review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](#19809), [PR
19810](#19810), [PR
19811](#19811) merged,
billing web cancel [PR
19945](#19945) in
review |
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | this PR |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](#19804), [PR
19806](#19806) and [PR
19807](#19807), merged
in [PR 19798](#19798)
|
| T11 | FE-3121 | Portal events | [PR
19944](#19944), in
review |
| T12 | FE-3122 | Flag coverage check | [PR
19942](#19942), in
review |
| T13 | FE-3123 | PostHog rollout dashboard | specified, blocked on
PostHog key scopes |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
[PR 19941](#19941), in
review |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T9 stroke-width:3px
```
Penguinjanator pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Oct 3, 2026
…w in the cloud journey phases (Comfy-Org#19819)

## Summary

Part 1 of 3. Both billing web checkouts report the first two steps of
the checkout journey in the cloud app's phases:
`billing.checkout.entered`, then `preview_ready` or `preview_failed`.
Every event carries `billing_surface: 'billing_web'` and a `ui_mode` of
`embedded` or `full_page`.

## Why

Billing web sends no checkout funnel today. The cloud app and billing
web cannot be compared per surface, and the rollout cannot see how many
customers open the billing web checkout or how many get a quote. This
part adds the same entry and quote steps on both billing web checkouts,
including the quotes and capability reads that refuse a customer.

## Root cause

The `billing.checkout.<phase>` journey exists only in the cloud app's
emitters. The shared contract has no `full_page` UI mode and no bounded
way to say that a capability, a plan or a quote was refused. The billing
web facade only accepts `BillingTelemetryEvent`.

## How

- **Contract.** In `@comfyorg/account-core/billing`, `CheckoutUiMode`
gains `full_page`. `entered` carries an optional
`payment_intent_source`. `preview_failed` gains a bounded
`denial_reason` (the capability denial) and two checkout codes for
`error_code`, `quote_not_allowed` and `plan_unavailable`. The payload
builder forwards them. The cloud app's persisted-journey allowlist
accepts `full_page` (one line).
- **Facade.** `billingWebTelemetry.trackCheckoutJourneyEvent` sends a
journey phase to RUM and PostHog under its wire name, stamped
`billing_surface: 'billing_web'`. `trackBillingEvent` now shares the
same send path and behaves as before. The journey payload comes from the
contract's explicit builder, so no other field can pass.
- **Journey.** `useCheckoutJourney(uiMode)` owns the identity. The
journey id is the entry link's `correlation_id` and a fresh id only for
a link that carries none. `payment_intent_source` on `entered` is the
link's `source`. `entry_source` maps the link's source into the cloud's
coarse enum. `entry_flow` is the first quote's transition
(`initial_subscription` or `paid_upgrade`) and reads `unknown` on
`entered`. `assignment_status` is `unavailable`.
- **Embedded checkout.** `entered` fires at setup. Each plain quote
reports through `quotePlan`: an allowed quote is `preview_ready`, a
refused quote is `preview_failed` with `quote_not_allowed`, a failed
read is `preview_failed` with a category. Only the newest quote call
reports, so an answer the quote composable abandoned for a newer one
reports nothing.
- **Full-page checkout.** Every page event passes through one observer.
`quoted` is `preview_ready`. A refused capability, an unreadable
capability read, an unreadable quote, a refused quote and an unavailable
plan are `preview_failed`. `unavailable` and `capabilitiesFailed` events
now carry the HTTP status when the server answered.
- **Categories.** `REQUEST_FAILED` is `network` without an HTTP status
and `api_rejected` with one. `NOT_AUTHENTICATED`, `ACCESS_DENIED`,
`NOT_FOUND`, `CONFLICT`, `OPERATION_ALREADY_PENDING` and
`NO_ACTIVE_SUBSCRIPTION` are `api_rejected`. `INVALID_REQUEST` is
`validation`. Anything else is `unknown`.
- **Once per revision.** `preview_ready` fires once per accepted quote
revision (`quote_id:quote_version`), as in the cloud app.

## Review Focus

- FE-3140 (Comfy-Org#19798) is
merged into main (`a8337f39a4`); the base of this PR is main. This PR
carries all three parts of FE-3118: its own (E15 and E16, the entry and
the quote preview), part 2
(Comfy-Org#19821, E17 and E18)
and part 3 (Comfy-Org#19822,
E19 to E21 and the three account-ui components that forward the payment
method type), which were merged into this branch. It is a sibling of the
FE-3117 part 3
(Comfy-Org#19811) and FE-3115
(Comfy-Org#19815) PRs.
- `entry_source` vocabulary: billing web maps the link's 15 sources into
the cloud's coarse 7-value `entry_source` enum. `agent_paywall`,
`deep_link` and `settings_billing_panel` (as `settings_billing`) keep a
name, any other source is `other`, no source is `unknown`.
`payment_intent_source` on `entered` carries the full source, and it is
the field to split by. The cloud reports `pricing` for most
pricing-dialog entries, so cloud and billing web `entry_source` do not
match for the same journey until FE-3115 unifies the source
vocabularies. Widening `CheckoutEntrySource` here instead would break
the cloud's `satisfies Record` allowlist and collide with FE-3115.
- `entry_flow` is `unknown` on `entered`, because the flow is the
quote's and nothing is quoted yet. Join on `checkout_journey_id` to read
the flow of an entry.
- Journey identity is fixed when the view sets up. A reload sends
`entered` again under the same journey id, so count distinct journey
ids. A link change inside a reused checkout view keeps the first id. A
journey id minted for a link without `correlation_id` uses
`crypto.randomUUID()`, which the SDK already requires for its
idempotency keys.
- Likely overlap: the one-line `UI_MODES` change in
`src/platform/workspace/utils/checkoutJourney.ts` sits near the
entry-source work in FE-3115. A code-to-category mapper like
`failureCategoryOf` may also appear in FE-3117 for subscribe failures.
- `checkoutPage.ts` changes only two event types, which gain an optional
`httpStatus`. The reducer is untouched.
- The facade change is small but touches `trackBillingEvent`: its body
now calls the shared `send`. Its existing tests pass unchanged.
- Known gaps: the top-up checkout on billing web reports no journey.
Quotes the promo field requests are left to part 3.
- No user-visible change. Telemetry only.
- `UnifiedPricingTable.test.ts` ("prompts free-tier users to subscribe")
fails locally on `origin/main` too under Node 24. The timing-based tests
in `router.planless.test.ts`, `billingWebAuth.*` and
`operationLifecycle.test.ts` can time out on a loaded machine and pass
alone.
- Merged with the FE-3140 branch after FE-3117 landed there
(`0de5cf4218`). One conflict, in `CheckoutView.vue` `pay()`: the journey
hooks (`method_selected`, `submitted`) now run first and FE-3117's
attempt tracker wraps the `checkout.subscribe` call unchanged.
`CheckoutView.streams.test.ts` runs the embedded checkout over the real
SDK client with only the network and the RUM sink mocked and pins the
order of a successful Pay across the three families: `entered`,
`preview_ready`, `method_selected`, `submitted`, then
`subscription_checkout.intent` and `.started`,
`billing.operation.started`, `operation_linked`,
`billing.operation.succeeded` and `subscription_checkout.succeeded`,
with the four events after the issue sharing one `billing_op_id`.
- Review fixes after CodeRabbit (`192c751f28`, red tests first): a Pay
refused with `OPERATION_ALREADY_PENDING` or `CONFLICT`, or whose command
rejects, no longer lets a later recovered operation be reported as
`operation_linked` (the journey's wait is cleared per press when its
command settles, in both Pay handlers); `preview_failed` takes its
`failure_category` from the attempt's mapper, so one refusal has one
category in the journey and the attempt funnels (`NOT_AUTHENTICATED`
without a status is `network` in both); and the negative tests wait on
positive signals instead of a timer.

## AS IS / TO BE

AS IS: ![AS IS at ce06a6f: 0 of 18 scenarios on contract. Across 63
runs of the real embedded checkout CheckoutView and full-page checkout
FullPageCheckoutView, billing web telemetry receives no checkout journey
event, with RUM addAction 0 calls and PostHog capture 0 calls, for a
quote that loads, a refused quote, a quote read that fails as no answer,
HTTP 503, ACCESS_DENIED, INVALID_REQUEST or MALFORMED_RESPONSE, a
capability denied for each of 7 reasons, a capability read that fails, a
retired plan, a team plan without its stop, a link with and without a
source and a journey id, each of the 15 link sources, and an abandoned
quote; the new tests of this PR run against this commit fail, with
apps/billing-web at 1093 of 1111 passing (18 failing in 3 files,
checkoutJourney.test.ts fails to load) and account-core src/core/billing
at 601 of
603](https://github.com/user-attachments/assets/967f5a49-5411-40d8-a39f-184bd4697e07)

TO BE: ![TO BE at f34408a: 18 of 18 scenarios on contract. The same
63 runs send billing.checkout.entered and then preview_ready or
preview_failed to RUM and PostHog with identical payloads, 250 payloads
and 2460 fields all inside the contract vocabulary: ui_mode embedded or
full_page, billing_surface billing_web, one journey id per run taken
from the link correlation_id or a fresh uuid, entry_source
agent_paywall, deep_link or settings_billing for those 3 of the 15 link
sources with other for the rest and unknown for no source or an unlisted
one while payment_intent_source carries the full source, preview_failed
with failure_category network, api_rejected, validation or unknown by
the read that failed, quote_not_allowed, plan_unavailable for a retired
plan and for a team plan without its stop, and the bounded denial_reason
for all 7 denials; an abandoned quote that answers REQUEST_FAILED after
the checkout moved on, and one that answers SUPERSEDED, report no
preview_failed, and no email, URL, secret or server message planted in
the stubbed answers reaches any payload; apps/billing-web passes 1147 of
1147 and account-core src/core/billing 603 of
603](https://github.com/user-attachments/assets/31b3c5a3-6e40-439e-9139-82bf45db53e0)

The evidence is the `billing.checkout.*` actions RUM receives for an
embedded and a full-page checkout (a quote that loads, a refused quote
and a denied capability), which are absent before and present after.

## Where this sits in the plan

Linear: [FE-3118](https://linear.app/comfyorg/issue/FE-3118), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](Comfy-Org#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](Comfy-Org#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](Comfy-Org#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](Comfy-Org#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](Comfy-Org#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](Comfy-Org#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](Comfy-Org#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](Comfy-Org#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](Comfy-Org#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](Comfy-Org#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](Comfy-Org#19815), [PR
19816](Comfy-Org#19816), [PR
19817](Comfy-Org#19817), [PR
19818](Comfy-Org#19818), in
review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](Comfy-Org#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | parts 1 and 2 merged
([PR 19809](Comfy-Org#19809),
[PR 19810](Comfy-Org#19810), in
[PR 19798](Comfy-Org#19798)),
[PR 19811](Comfy-Org#19811) in
review |
| T8 | FE-3118 | Billing web journey and choices | this PR |
| T9 | FE-3119 | Payment friction events | todo |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](Comfy-Org#19804), [PR
19806](Comfy-Org#19806) and [PR
19807](Comfy-Org#19807), merged
in [PR 19798](Comfy-Org#19798)
|
| T11 | FE-3121 | Portal events | todo |
| T12 | FE-3122 | Flag coverage check | todo |
| T13 | FE-3123 | PostHog rollout dashboard | todo |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard | todo |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T8 stroke-width:3px
```

---------

Co-authored-by: GitHub Action <action@github.com>
Penguinjanator pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Oct 3, 2026
… events (Comfy-Org#19943)

## Summary

Cloud app checkout journey events (billing.checkout.*) now carry
billing_surface: 'cloud_app' in Datadog RUM and PostHog.

## Why

Decision T1 says every billing event carries billing_surface. On the
cloud app the billing.<operation>.<stage> events already did, but the
checkout journey events did not. Billing web stamps billing_web on the
same journey events, so the Datadog tiles (FE-3124) that group by
@context.billing_surface showed cloud journey traffic with no surface.

## Root cause

getCheckoutJourneyTelemetryEventPayload builds the journey payload with
no surface. The cloud Datadog RUM and PostHog providers sent it as is.
Billing web adds the surface itself inside trackCheckoutJourneyEvent, so
only billing web output had it.

## How

A new getCloudAppCheckoutJourneyTelemetryEventPayload in
packages/account-core/src/core/billing/telemetry/checkoutJourney.ts
wraps the existing builder and adds billing_surface: 'cloud_app'. It
mirrors getCloudAppBillingTelemetryEventPayload. Both cloud sinks that
receive journey events (DatadogRumTelemetryProvider and
PostHogTelemetryProvider) call it in trackCheckoutJourneyEvent. The
shared builder and billing web are untouched.

## Review Focus

- Only one field is added. Event names and every existing field value
are unchanged (see the AS IS vs TO BE diff in the evidence).
- Billing web output does not change. It still stamps billing_web itself
on top of the unstamped shared builder.
- Datadog RUM and PostHog are the only providers that implement
trackCheckoutJourneyEvent, so no other sink needs the stamp.

## AS IS / TO BE

Telemetry payload change, so the evidence is the captured event rather
than a screenshot. One `billing.checkout.entered` sent through the real
cloud Datadog RUM and PostHog providers, origin/main (AS IS) vs this
branch (TO BE):

```diff
23c23,24
<       "payment_intent_source": "subscribe_to_run"
---
>       "payment_intent_source": "subscribe_to_run",
>       "billing_surface": "cloud_app"
37c38,39
<       "payment_intent_source": "subscribe_to_run"
---
>       "payment_intent_source": "subscribe_to_run",
>       "billing_surface": "cloud_app"
```

Captured payloads for one billing.checkout.entered event through the
real cloud Datadog RUM and PostHog providers show billing_surface
missing on origin/main and billing_surface: 'cloud_app' on the branch,
with all other fields identical (evidence-fe3111-journey-surface/).

## Where this sits in the plan

Linear: [FE-3111](https://linear.app/comfyorg/issue/FE-3111), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](Comfy-Org#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](Comfy-Org#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](Comfy-Org#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](Comfy-Org#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | this PR
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](Comfy-Org#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](Comfy-Org#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](Comfy-Org#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](Comfy-Org#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](Comfy-Org#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](Comfy-Org#19815) (four
parts), in review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](Comfy-Org#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](Comfy-Org#19809), [PR
19810](Comfy-Org#19810), [PR
19811](Comfy-Org#19811), merged
|
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](Comfy-Org#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | todo |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](Comfy-Org#19804), [PR
19806](Comfy-Org#19806) and [PR
19807](Comfy-Org#19807), merged
in [PR 19798](Comfy-Org#19798)
|
| T11 | FE-3121 | Portal events | todo |
| T12 | FE-3122 | Flag coverage check | todo |
| T13 | FE-3123 | PostHog rollout dashboard | todo |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](Comfy-Org#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
[PR 19941](Comfy-Org#19941), in
review |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style F3 stroke-width:3px
```
Penguinjanator pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Oct 3, 2026
Comfy-Org#19941)

## Summary

Billing web: Retry session after the shared session fails to create now
retries the creation. A remembered login whose restore keeps failing no
longer leaves the sign-in screen unsettled.

## Why

In shared-web-session mode a 503 on POST /auth/session left the customer
on a Retry session button that could never succeed. With a remembered
Firebase user and a failing restore, the sign-in screen showed 'Sign-in
is unavailable' with every button disabled, so the customer had no way
forward until the endpoint recovered.

## Root cause

Two gaps in unifiedBillingSession.ts. First, establish() with no user
only re-resolved the workspace. That answers NOT_AUTHENTICATED without a
request when the shared session does not exist. The controller's retry
always calls establish() with no user, so the failed creation was never
retried. Second, settledOf() treated the identity's retry_wait phase as
not settled. A restore that keeps failing loops through retry_wait,
reading and restoring, so settledPhase() never resolved, loadIdentity()
never loaded Firebase, and the sign-in page showed the unavailable
notice.

## How

establish() now picks who to create the session for: the passed user,
or, when there is no signed-in shared session, the user Firebase
currently holds. With such a user it re-mints the ID token and POSTs the
session again, then reboots the identity as the interactive path already
did. With no Firebase user it still answers NOT_AUTHENTICATED without a
request, and the sign-in form stays the way forward. settledOf() maps
retry_wait to signed-out, so the sign-in screen settles and renders the
form while the identity keeps retrying in the background. A later
successful restore still carries the customer off the page.

## Review Focus

- retry_wait now reads as signed-out. The router sends such a visit to
sign-in, and the once-per-tab signin_required event reports reason
no_session for it. A transient GET /auth/session failure on a live
session also shows the form until the next retry succeeds (1s, then
backoff).
- establish() with no user now loads Firebase when the shared session is
not signed in. When it is signed in (a restored session, or a retry
after a workspace refusal) the behavior is unchanged.
- After the fix, billing.web_session.failed with error_code
NOT_AUTHENTICATED stops appearing for the retry path. A failed retry
reports TOKEN_EXCHANGE_FAILED instead.
- In the remembered-login case the screen shows the sign-in form, not a
Retry session button. Signing in again or waiting for the background
retry both recover.

## AS IS / TO BE

**A. Interactive sign-in, POST /auth/session 503, then Retry session**

| AS IS | TO BE |
| --- | --- |
| <img width="420" alt="AS IS: Retry session after 503"
src="https://github.com/user-attachments/assets/b7acf55a-fcd5-4610-a6f9-64c75d6d9606"
/> | <img width="420" alt="TO BE: Retry session after 503"
src="https://github.com/user-attachments/assets/9f8831d3-1cf1-474a-bae3-cdbfbbfaa007"
/> |
| Retry session sends no request; the same error stays. | Retry session
re-mints the token, POST answers 200, the page leaves sign-in. |

Both builds start from the same screen after the 503:
[A1](https://github.com/user-attachments/assets/f163f436-92c7-4cda-9d22-a1371dff9e89).

**B. Remembered user, session restore keeps answering 503**

| AS IS | TO BE |
| --- | --- |
| <img width="420" alt="AS IS: remembered user with failing restore"
src="https://github.com/user-attachments/assets/7379aa7c-bc2e-45bd-b34c-aa114a0ca7da"
/> | <img width="420" alt="TO BE: remembered user with failing restore"
src="https://github.com/user-attachments/assets/05b8bc35-1793-4f68-b9cf-2d192cce36ca"
/> |
| 'Sign-in is unavailable' with every button disabled; the phase never
settles. | The sign-in form renders and works; the restore keeps
retrying in the background. |

Once the endpoint answers 200, both builds restore the session and leave
sign-in.

**C. Control (no outage)**

| AS IS | TO BE |
| --- | --- |
| <img width="420" alt="AS IS: control"
src="https://github.com/user-attachments/assets/9f8831d3-1cf1-474a-bae3-cdbfbbfaa007"
/> | <img width="420" alt="TO BE: control"
src="https://github.com/user-attachments/assets/9f8831d3-1cf1-474a-bae3-cdbfbbfaa007"
/> |
| Sign-in succeeds and leaves sign-in. | Identical. |

Playwright against a local production build with the session endpoint
stubbed to 503 then 200 shows AS IS stuck on Retry session and on a
disabled sign-in screen, and TO BE recovering in both paths
(evidence-fe3158/).

## Where this sits in the plan

Linear: [FE-3158](https://linear.app/comfyorg/issue/FE-3158), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](Comfy-Org#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](Comfy-Org#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](Comfy-Org#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](Comfy-Org#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](Comfy-Org#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](Comfy-Org#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](Comfy-Org#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](Comfy-Org#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](Comfy-Org#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](Comfy-Org#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](Comfy-Org#19815) (four
parts), in review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](Comfy-Org#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](Comfy-Org#19809), [PR
19810](Comfy-Org#19810), [PR
19811](Comfy-Org#19811), merged
|
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](Comfy-Org#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | todo |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](Comfy-Org#19804), [PR
19806](Comfy-Org#19806) and [PR
19807](Comfy-Org#19807), merged
in [PR 19798](Comfy-Org#19798)
|
| T11 | FE-3121 | Portal events | todo |
| T12 | FE-3122 | Flag coverage check | todo |
| T13 | FE-3123 | PostHog rollout dashboard | todo |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](Comfy-Org#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
this PR |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
```
Penguinjanator pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Oct 3, 2026
…count-core (Comfy-Org#19940)

## Summary

Move the three billing payload-helper test suites from
src/platform/telemetry into
packages/account-core/src/core/billing/telemetry, next to the code they
test. There is no user-visible change and no source change.

## Why

FE-3140 moved the billing event contract and payload helpers into
@comfyorg/account-core/billing. Three suites stayed in the app folder.
They tested no code in that folder, imported the package through its
public entry, and partly repeated cases the package already had.

## How

billingTelemetryEvent.test.ts (app) splits in two. The late-success type
test becomes account-core billingTelemetryEvent.test.ts. The
getBillingTelemetryEventPayload cases join payload.test.ts.
checkoutJourneyEvent.test.ts joins checkoutJourney.test.ts.
webHandoffEvent.test.ts moves as is. Imports are now package-relative.
es-toolkit pick, which account-core does not depend on, becomes an
own-key filter with the same semantics (an absent key stays absent, so
toStrictEqual still tells absent from undefined). Two cases are dropped
because existing account-core cases already prove them: the cloud-app
surface claim (identical to the cloud app row of the SURFACES table in
payload.test.ts) and 'omits assigned_arm when assignment is unavailable'
(every unavailable row in checkoutJourney.test.ts asserts the whole
payload with toStrictEqual). Every other assertion moved unchanged.

## Review Focus

- The two dropped cases really are covered by payload.test.ts
SURFACES[cloud app] and the checkoutJourney.test.ts strict payload
table.
- The Object.entries filter that replaces es-toolkit pick keeps the
absent versus undefined distinction.
- The late-success expectTypeOf test is still type-checked: account-core
tsconfig includes src/**/*, and typecheck:account-core passed in the
pre-commit hook.

## AS IS / TO BE

Test-only change, so the evidence is the test run instead of a
screenshot.

| Suite | AS IS | TO BE |
| --- | --- | --- |
| src/platform/telemetry billing helper suites (3 files) | 37 | 0
(moved) |
| account-core billing/telemetry | 30 | 65 |
| Total helper tests | 67 | 65 (2 exact duplicates dropped) |
| Remaining src/platform/telemetry | 567 | 567, all pass |

Before, 37 helper tests ran in the app suite and 30 in account-core
(67). After, account-core runs 65 and all pass, the remaining
src/platform/telemetry suite runs 567 and all pass, and the only
difference is the 2 duplicate cases named in how.

## Where this sits in the plan

Linear: [FE-3162](https://linear.app/comfyorg/issue/FE-3162), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](Comfy-Org#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](Comfy-Org#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](Comfy-Org#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](Comfy-Org#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](Comfy-Org#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](Comfy-Org#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](Comfy-Org#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](Comfy-Org#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](Comfy-Org#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](Comfy-Org#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](Comfy-Org#19815) (four
parts), in review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](Comfy-Org#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](Comfy-Org#19809), [PR
19810](Comfy-Org#19810), [PR
19811](Comfy-Org#19811), merged
|
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](Comfy-Org#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | todo |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](Comfy-Org#19804), [PR
19806](Comfy-Org#19806) and [PR
19807](Comfy-Org#19807), merged
in [PR 19798](Comfy-Org#19798)
|
| T11 | FE-3121 | Portal events | todo |
| T12 | FE-3122 | Flag coverage check | todo |
| T13 | FE-3123 | PostHog rollout dashboard | todo |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard | todo |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | this
PR |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
todo |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
```
Penguinjanator pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Oct 3, 2026
…ads feature flags (Comfy-Org#19942)

## Summary

Billing web sends its billing events to PostHog only after PostHog has
loaded the feature flags, so every event carries the rollout flags the
cohort tiles split on.

## Why

The rollout dashboard splits billing events by $feature/<flag>. PostHog
adds those properties only from the flags it has already loaded on that
origin. Billing web flushed the events it queued at boot right after
init, before the flags request answered, and a first visit to
billing.comfy.org has no cached flags. Its entry, session and first
journey events would reach PostHog without any flag, so the cohort split
and the second sign-in tile by unified_web_session would miss them.

## Root cause

startPostHog marked the sink ready and flushed the waiting queue as soon
as posthog.init returned. Flags load asynchronously after init and are
stored per origin, so the flushed events had no $feature/* properties.

## How

startPostHog now waits for PostHog's first onFeatureFlags callback
before it marks the sink ready and flushes. The wait is bounded at 3
seconds, so a slow or blocked flags request delays events but never
drops them. Events tracked during the wait stay in the existing bounded
queue. The README notes the wait. There is no user-visible change.

## Review Focus

- The 3 second bound: long enough for the flags request, short enough
that a tab closed early still sends.
- Events tracked while waiting use the existing queue of at most 50
events.
- The test fake makes onFeatureFlags call back at once by default, as
posthog-js does when flags are already loaded.

## AS IS / TO BE

AS IS: placeholder, to be attached by editing this description.

TO BE: placeholder, to be attached by editing this description.

PostHog has no billing web events yet because the deployed billing web
builds predate the PostHog sink, so the evidence is the red then green
unit test plus the cloud coverage queries in t12-flag-coverage.md; AS IS
/ TO BE payload capture needs a billing web deploy from this branch.

## Where this sits in the plan

Linear: [FE-3122](https://linear.app/comfyorg/issue/FE-3122), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](Comfy-Org#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](Comfy-Org#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](Comfy-Org#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](Comfy-Org#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](Comfy-Org#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](Comfy-Org#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](Comfy-Org#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](Comfy-Org#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](Comfy-Org#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](Comfy-Org#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](Comfy-Org#19815) (four
parts), in review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](Comfy-Org#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](Comfy-Org#19809), [PR
19810](Comfy-Org#19810), [PR
19811](Comfy-Org#19811), merged
|
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](Comfy-Org#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | todo |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](Comfy-Org#19804), [PR
19806](Comfy-Org#19806) and [PR
19807](Comfy-Org#19807), merged
in [PR 19798](Comfy-Org#19798)
|
| T11 | FE-3121 | Portal events | todo |
| T12 | FE-3122 | Flag coverage check | this PR |
| T13 | FE-3123 | PostHog rollout dashboard | todo |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](Comfy-Org#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
[PR 19941](Comfy-Org#19941), in
review |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T12 stroke-width:3px
```
Penguinjanator pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Oct 3, 2026
…nside a billing operation (Comfy-Org#19946)

## Summary

Report 3DS challenges and retryable declines inside one billing
operation, from the SDK lifecycle, on the cloud app and billing web
(E22).

## Why

The backend files most failed subscribes as customer_abandoned or
expected payment failures, and the browser reported none of the friction
behind them. The SDK already tracked the challenge, but the driver's
verdict was thrown away and a retryable decline left no trace until the
operation ended.

## Root cause

usePaymentAttempt and the cloud SDK store call driveEmbeddedChallenge
with void, and the lifecycle only emitted billing.operation.* for start
and terminal. A pending operation could move through a challenge, its
verdict and several declines without one event.

## How

A new contract module checkoutChallengeEvent.ts adds
billing.checkout.challenge_required, challenge_completed and
challenge_failed to the BillingTelemetryEvent union (one line). All
stages stay pending, so they never count as terminals. A pure function
paymentFrictionBetween compares two states of one pending operation, and
the lifecycle runs it on every transition and at adoption.
challenge_required fires once per new client secret. challenge_completed
and challenge_failed fire on this tab's driver verdict. Each new
retryable decline reason fires challenge_failed with decline_reason,
except the server's echo of a challenge this tab already saw fail.
toBillingTelemetryEvent maps the three onto operation checkout. Billing
web forwards them through the existing onTelemetry wiring. The cloud
store forwards them for every operation, including an issued top-up
whose start and terminal the dialog reports. Fields are decline_reason,
presentation, operation_type, billing_op_id and resumed, all already in
the allowlist. There is no user-visible change.

## Review Focus

- paymentFrictionBetween: one required per client secret, no second
required when a failed challenge returns from the hosted page, and the
echo rule for a decline after a failed challenge.
- The cloud reportTelemetry change: friction events skip the top-up and
caller-started filters on purpose.
- challenge_failed carries decline_reason only for a server decline.
Without it, it is this tab's own verdict.
- Known gap: the legacy cloud rail (billingOperationStore and the legacy
subscribe path) reports no friction. Only the SDK rail does.

## AS IS / TO BE

Telemetry change, so the evidence is the captured events instead of a
screenshot: the real SDK lifecycle and the billing web checkout with
only the network edge and the telemetry SDKs (Datadog RUM, posthog-js)
stubbed. AS IS = origin/main, TO BE = this stack.

| Path | AS IS | TO BE |
| --- | --- | --- |
| E22 embedded 3DS challenge completed / failed |
`billing.operation.started` only | adds
`billing.checkout.challenge_required`, then `challenge_completed` or
`challenge_failed` (presentation embedded) |
| E22 retryable declines in one hosted operation |
`billing.operation.started` only | `challenge_failed` with
`decline_reason: card_declined`, then `insufficient_funds` (presentation
hosted) |
| E22 billing web SDK, real client | `billing.operation.started` only |
adds `challenge_failed` with `decline_reason`, to RUM and PostHog,
`billing_surface: billing_web` |

No payload carries an email, URL, client secret, promo code or provider
id; every new field is a bounded enum.

evidence-fe3119/as-is-lifecycle.json and to-be-lifecycle.json show the
same embedded challenge and hosted decline scenarios emitting only
billing.operation.started on main and the challenge events with
presentation and decline_reason on the branch, for both cloud_app and
billing_web payloads, and to-be-billing-web.json shows the billing web
SDK sending challenge_failed with decline_reason to RUM and PostHog.

## Where this sits in the plan

Linear: [FE-3119](https://linear.app/comfyorg/issue/FE-3119), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](Comfy-Org#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](Comfy-Org#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](Comfy-Org#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](Comfy-Org#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](Comfy-Org#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](Comfy-Org#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](Comfy-Org#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](Comfy-Org#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](Comfy-Org#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](Comfy-Org#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](Comfy-Org#19815) (four
parts), in review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](Comfy-Org#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](Comfy-Org#19809), [PR
19810](Comfy-Org#19810), [PR
19811](Comfy-Org#19811) merged,
billing web cancel [PR
19945](Comfy-Org#19945) in
review |
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](Comfy-Org#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | this PR |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](Comfy-Org#19804), [PR
19806](Comfy-Org#19806) and [PR
19807](Comfy-Org#19807), merged
in [PR 19798](Comfy-Org#19798)
|
| T11 | FE-3121 | Portal events | [PR
19944](Comfy-Org#19944), in
review |
| T12 | FE-3122 | Flag coverage check | [PR
19942](Comfy-Org#19942), in
review |
| T13 | FE-3123 | PostHog rollout dashboard | specified, blocked on
PostHog key scopes |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](Comfy-Org#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
[PR 19941](Comfy-Org#19941), in
review |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T9 stroke-width:3px
```
Penguinjanator pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Oct 3, 2026
…p amount and the cancel flow as billing events (Comfy-Org#19815)

## Summary

Cloud entry fidelity and Datadog parity, in five parts reviewed
together: paywall impressions and add-credits clicks as typed billing
entry events that reach Datadog, the entry source carried through
top-up, downgrade and recovered operations with one source vocabulary,
the amount and preset on `billing.topup.started`, and the cancel flow as
`billing.cancel.intent`, `.abandoned` and `.failed` through a
surface-free contract that billing web reuses, and each trip to the
Stripe portal as `billing.portal.opened`, `.failed` and `.returned` on
the cloud app and billing web.

## Why

PostHog, Mixpanel and GTM receive the paywall impression and the
add-credits click. Datadog receives neither, so the Billing UX board
cannot show where a billing attempt started. Three entries emit nothing
anywhere: the inactive-member dialog, the out-of-credits banner and the
credits precondition. Five add-credits entries opened the top-up dialog
with no source, so `billing.entry.add_credits_clicked` and
`billing.topup.started` could not say where the customer came from. The
downgrade events carried no source at all. After a reload the poller and
the SDK lifecycle report a terminal for an operation they did not start,
and the checkout journey keeps only a collapsed `entry_source`, so those
terminals lost the source. Datadog receives top-up starts but not what
was bought. PostHog, Mixpanel and GTM get the amount from the legacy
purchase-click event only. Funnels by amount and by preset need the
amount on the canonical start. The cancel flow stages reach PostHog and
the desktop sink only. Datadog cannot show how many customers open the
cancel flow, how many leave it, or where it breaks. The cancel request
itself is already reported as `billing.operation.*` with
`operation_type: cancel`. Opening the Stripe portal, failing to open it
and coming back were not recorded on either host. A portal failure
reached error reporting only, and what the customer does inside the
portal never reaches the browser, so the trip itself is the only signal.

## Root cause

(1) `DatadogRumTelemetryProvider` implements only the typed
`trackBillingEvent`, and the paywall and add-credits trackers are legacy
methods it never had. There was no typed event for either, and three
entries never called a tracker. (2) `showTopUpCreditsDialog()` was
called without options from the popover, the tile, the settings panel
and the deep link. `useDowngradeToPersonal` had no source parameter. The
checkout journey record stored `entry_source` (`pricing`,
`settings_billing` or `agent_paywall`) and nothing finer, and no emitter
read it back for a recovered operation. (3) `billing.topup.started`
carried only the entry source. The dialogs know the amount and which
preset button was picked, but neither field had a place in the billing
event contract. (4) The legacy `trackSubscriptionCancellation` stages
(`flow_opened`, `abandoned`, `failed`) have no typed counterpart, and
the stage `abandoned` was not part of the billing vocabulary. (5) No
event existed for the portal: `accessBillingPortal` and the billing web
portal views opened Stripe and swallowed or reported the result without
a billing event.

## How

**Part 1, entry events (was Comfy-Org#19815)**

- **Contract.** A new `entryEvent.ts` in
`packages/account-core/src/core/billing/telemetry` defines operation
`entry` with stages `paywall_shown` and `add_credits_clicked`, outcome
`pending`. `paywall_shown` carries `current_tier` (bounded: the five
tier keys plus `team`). Both carry the optional `payment_intent_source`.
One line in the `BillingTelemetryEvent` union, one allowlist field
(`current_tier`), two names in `BILLING_TELEMETRY_EVENTS`.
- **E1.** `useSubscriptionDialog` reports `paywall_shown` for every
pricing dialog variant and for the inactive-member dialog. The source is
the one the dialog already hands to checkout (`paymentIntentSource ??
reason`).
- **E2.** `dialogService.showTopUpCreditsDialog` reports
`add_credits_clicked` on its first line, before the capability read. The
source is `options.source`, or `out_of_credits` when the caller says
`isInsufficientCredits`. This covers every entry that opens the top-up
dialog, including the banner and the credits precondition.
- **Datadog parity.** The provider needed no change: both events go
through `trackBillingEvent`, so Datadog builds the action and payload
from the shared builder and stamps `billing_surface: cloud_app`. PostHog
and the desktop sink receive the same events through the same method.
- **Legacy events.** `trackSubscription('modal_opened')`,
`trackAddApiCreditButtonClicked` and their sinks are untouched. A test
with a legacy provider beside the Datadog provider proves the paywall
legacy event still arrives once.

**Part 2, source fidelity (Comfy-Org#19816, merged here)**

- **Mapping.** `src/platform/telemetry/utils/paymentIntentSource.ts`
holds two tables. The click-time source maps to the list:
`credits_panel` and `settings_billing_panel` to
`settings_billing_panel`, `avatar_menu` to `avatar_menu_plans`,
`deep_link` and `agent_paywall` to themselves. The journey
`entry_source` maps to the list where it names a control: `deep_link`,
`settings_billing` (to `settings_billing_panel`) and `agent_paywall`.
`pricing`, `recovery`, `other` and `unknown` name no source.
`payment_intent_source` is the list itself. An `it.for` table covers all
three.
- **Entries.** The two popovers pass `avatar_menu_plans`, the credits
tile and the settings panel pass `settings_billing_panel`, the deep link
passes `deep_link`. The legacy `trackAddApiCreditButtonClicked` calls
are untouched. `dialogService` now forwards the options to both rails.
The legacy top-up dialog declares `source` and reports it on
`billing.topup.started` and `failed`.
- **Downgrade.** `DowngradeToPersonalBillingEvent` gains
`payment_intent_source`. The subscription checkout passes its source to
`showDowngradeToPersonalDialog`, which hands it to
`useDowngradeToPersonal`. All nine events of an attempt carry it (the
downgrade, the nested subscription checkout and the nested operation),
and so does the metadata the poller adopts for a payment that settles
later.
- **Recovered terminals.** The checkout journey record keeps
`payment_intent_source` next to `entry_source` (stored only; the emitted
journey events and `entry_source` do not change).
`getCheckoutJourneyPaymentIntentSource(opId)` returns it for the journey
bound to that operation, and falls back to the mapped `entry_source` for
a record written before this change. The poller reads it when it adopts
an operation with no metadata, and the SDK store attaches it to the
lifecycle events of an operation bound to a journey.

**Part 3, top-up amount and preset (Comfy-Org#19817, merged here)**

- **Contract.** `topupEvent.ts` gains `TOPUP_AMOUNT_PRESETS_USD` (10,
25, 50, 100), the `TopupAmountPreset` type (the four values as strings,
or `custom`) and `getTopupAmountPreset`. The started stage gains
optional `amount_cents` and `amount_preset`. Both are allowlist fields,
bounded: an integer and a fixed enum, nothing free-form.
- **Emitters.** The workspace dialog and the legacy dialog report both
fields on the start event. The preset is the button the customer picked.
Any typed amount is `custom`, including a typed amount that equals a
preset. The workspace dialog computes the cents once and uses the same
value for the API call.
- **One list of presets.** Both dialogs now read the preset amounts from
`TOPUP_AMOUNT_PRESETS_USD` instead of each keeping its own `[10, 25, 50,
100]`, so the telemetry enum and the buttons cannot drift.
- **Datadog.** A test drives the real dialog through the real registry
and the Datadog provider and checks the `billing.topup.started` action
with the amount, the preset, the source and `billing_surface:
cloud_app`.

**Part 4, cancel flow (Comfy-Org#19818, merged here)**

- **Contract.** `cancelEvent.ts` defines operation `cancel` with stages
`intent` and `failed` (the shared stage types) and the new `abandoned`
(outcome `pending`: the customer left, no operation outcome is claimed).
It carries only `current_tier` and `cycle`, both plan facts that exist
on any surface, and no surface-specific field. One union line and three
names. No new allowlist field.
- **Plan facts.** `toCurrentTier` moved from `useSubscriptionDialog` to
`billingPlanTelemetry.ts` and gained `toBillingCycle`, with a table
test. `createCancelFlowReporter` in
`subscriptionCancellationTelemetry.ts` builds the events for both flows,
so the ownership rule below lives in one place.
- **Ownership.** The reporter emits `intent` where the legacy
`flow_opened` fires. It emits `abandoned` where the legacy `abandoned`
fires, unless the customer already confirmed. When the confirmed cancel
becomes an operation (the workspace rail), its `billing.operation.*`
events own the end of the attempt, so the reporter emits no `failed`
either. `failed` is reported only for a flow that ends with no
operation: the legacy-rail dialog when its cancel fails, and a provider
failure whose native dialog cannot open (category `rendering`).
`useWorkspaceBilling.cancelSubscription` is unchanged.
- **Flows covered.** The provider (Churnkey) flow in
`launchCancellationFlow` and the native
`CancelSubscriptionDialogContent`, which also carries the attempt on
after a provider failure (`flowAlreadyOpened`).
- **Tests.** Table-driven through the real flows with the telemetry sink
recording: each row's expected cancel events are literal, and a Datadog
row shows the billing actions with `billing_surface: cloud_app`.

**Part 5, portal events (Comfy-Org#19944, merged here)**

- **Contract.** `portalEvent.ts` in
`packages/account-core/src/core/billing/telemetry` defines operation
`portal` with stages `opened`, `failed` and `returned`, and
`BillingPortalTarget` (`payment_methods`, `invoices`,
`manage_subscription`). One line in the `BillingTelemetryEvent` union,
three names in `BILLING_TELEMETRY_EVENTS`, and `target` as a required
allowlist field.
- **Cloud app.** `createBillingPortalReporter` reports the open, the
failure (a blocked tab as `redirect` with `payment_popup_blocked`, other
errors through `describeBillingFailure`) and the first return to the
tab, on the same return signal as the billing refresh. Only the latest
open waits for a return. Personal Manage subscription and Invoice
history report `billing_client: legacy`; workspace Manage subscription
reports the rail that answered and omits `billing_client` on a thrown
failure.
- **Billing web.** `usePaymentPortal` holds the portal logic of
`PaymentMethodsPanel` and `InvoicesView`. The invoices page now gets the
`portal=return` marker and strips it.
- **Out of scope.** The plan-change portal in `PricingTable` (its
operation events cover it), the payment recovery portal in
`useSubscriptionCheckout`, and the hosted billing web tab that workspace
Manage subscription opens (that is `billing.web_handoff.opened`).

## Review Focus

- FE-3140 (Comfy-Org#19798) is
merged into main (`a8337f39a4`) and the base of this PR is main. Five
parts in one PR: they were opened as
Comfy-Org#19815,
Comfy-Org#19816,
Comfy-Org#19817,
Comfy-Org#19818 and
Comfy-Org#19944, stacked, and
parts 2 to 5 were merged into this branch after Christian approved each
at its own head; this PR carries all five against main. It is a sibling
of the FE-3117 part 3
(Comfy-Org#19811) and FE-3118
(Comfy-Org#19819) PRs, which
touch shared contract files only by adding separate lines.
- Merged with the moved FE-3140 base (`cbbe1c4568`): the SDK operation
mapper moved to `@comfyorg/account-core/billing` as
`operationLifecycleEvent.ts` while part 2 added an optional
`paymentIntentSource` argument to it. That argument now imports
`PaymentIntentSource` from `./vocabulary.js` (the app-side import did
not resolve inside the package) and a new test covers it, since the old
app-side mapper test went away with the move. No other base test needed
changing.
- Part 1: E2 sends the entry as `payment_intent_source`, not `source`.
The Notion catalog names the field `source`, but every other billing
event uses `payment_intent_source` for this list, and `source` already
means the resubscribe surface in the allowlist.
- Part 1: E2 fires at `showTopUpCreditsDialog`, so it also fires when
the dialog then falls back to the pricing table or the member notice.
The legacy click event is gated in the deep link and the agent paywall
(only when the user can top up); the new event is not. A deep-link
visitor who cannot top up now produces `add_credits_clicked` followed by
`paywall_shown`, both with the same source.
- Part 1: Until part 2 lands, the popover, the credits tile, the
settings panel, the deep link and the banner call the dialog with no
source, so their E2 carries none. Part 2 passes it.
- Part 1: `outcome` is `pending`, as for `web_handoff`: an entry is a
client journey observation and claims no operation outcome.
- Part 1: `current_tier` is bounded where the legacy `current_tier` was
a free lowercase string: `TEAM` becomes `team`, `ENTERPRISE` and an
unknown tier are omitted.
- Part 1: Not covered: the insufficient-credits member notice that
`showTopUpCreditsDialog` opens for a member who cannot top up. The
ticket names the inactive-member dialog only.
- Part 1: PostHog and the desktop host now also receive
`billing.entry.*` next to the legacy names, so a PostHog funnel can use
either.
- Part 1: No user-visible change: the diff adds telemetry calls only. No
dialog, prop or code path changes.
- Part 2: No new source value. `recovery` is not produced: no entry
creates a recovery journey, a recovered operation is already marked
`resumed: true`, and it now carries the source of the journey it is
bound to. The journey `entry_source` is unchanged, so `deep_link` and
`recovery` stay unproduced there. An existing test pins that `deep_link`
leaves the rail default, and the decision says existing payloads do not
change.
- Part 2: The avatar menu's add-credits control maps to
`avatar_menu_plans`, so one value covers the whole avatar menu.
`credits_panel` and `settings_billing_panel` collapse into
`settings_billing_panel`. Say if either should keep its own value; that
needs a new list entry.
- Part 2: No user-visible change is intended, but one code path moves. A
customer who cannot top up but can subscribe lands on the pricing
dialog. Its `reason` was `top_up_blocked` and is now the entry's source.
Only `out_of_credits` changes the dialog copy and none of these entries
uses it. The legacy `modal_opened` event's `reason` and the `source` on
the hosted billing link change the same way for those customers.
- Part 2: The out-of-credits banner is not changed. Its natural source
is `out_of_credits`, and passing that would switch on the out-of-credits
copy in the pricing fallback, a visible change. It still reports
`add_credits_clicked` with no source.
- Part 2: A resumed journey keeps the source of the entry that created
it. The journey intent key does not include the source, so two entries
into the same journey report the first one on a recovered terminal.
- Part 2: Known gaps: a legacy-rail hosted top-up whose success is
inferred on return (credits tile and usage table) still reports no
source, because the pending top-up marker is a bare timestamp. The SDK
lifecycle's own `started` event fires before the journey binds to the
operation, so only its terminals carry the source.
- Part 2: The existing test 'withholds the surface from the legacy rail
content' is replaced: the legacy dialog now takes the source, so
withholding it is no longer the rule.
- Part 3: `amount_preset` is a string enum (`'10'`, `'25'`, `'50'`,
`'100'`, `'custom'`), not a number, so a Datadog facet has one type. The
ticket says 'the existing preset enum'; there was no enum, only the
dialogs' local arrays, so this adds the type and takes the values from
the same list the buttons use.
- Part 3: A typed amount that equals a preset reports `custom`. The
field says which control the customer used, not what the amount happens
to be. `amount_cents` carries the amount either way.
- Part 3: Both new fields are optional on the stage, not required, so a
surface that cannot supply them (billing web later) is not forced to
invent them. The legacy rail is covered: the legacy dialog reports them
too.
- Part 3: The recovered legacy top-up success (credits tile, usage
table) has no start event in that tab and still carries no amount.
- Part 3: The legacy PostHog, Mixpanel and GTM purchase-click event is
untouched.
- Part 3: No user-visible change: the diff adds telemetry fields and
replaces two local constants with the shared list.
- Part 4: The Notion catalog lists `source` and `failure_category` as
E14 key fields. `source` is not in the event: the cloud app only ever
sends `cancel_plan_menu`, billing web has its own entry, and neither
value belongs to the one source list. Add it when billing web needs it.
The legacy `current_tier`, `cycle` and `end_date` are replaced by the
bounded `current_tier` and `cycle`; the end date and the error message
are not sent.
- Part 4: `outcome` for `abandoned` is `pending`, so a dashboard that
counts `outcome: success` and `outcome: failure` is not moved by
customers who leave.
- Part 4: A provider failure that falls back to the native dialog
reports no `failed`: the attempt continues in the dialog and ends there.
Reporting both would give one attempt two endings.
- Part 4: A discount accepted in the provider flow ends with `intent`
and no end event. The customer kept the plan, which is neither an
abandonment nor a cancel, and the legacy event does not report it
either. Say if you want a stage for it.
- Part 4: On the legacy billing rail the cancel completes in the Stripe
portal, so a flow ends in `intent` and nothing else unless the request
fails. There is no operation to wait for.
- Part 4: No user-visible change: the diff adds telemetry calls, a plan
helper and a moved function. No dialog, copy or code path changes.
- Part 4: FE-3117 can emit the billing web side with
`CancelBillingEvent` as it stands.
- `UnifiedPricingTable.test.ts` ("prompts free-tier users to subscribe")
fails locally on `origin/main` too (`INTERNAL ASSERTION FAILED: Expected
a class definition`, local Node 24 against engine 26). This diff does
not touch it.
- Review fixes after CodeRabbit (`e1ba955394`, red tests first): a
fallback dialog opened after the customer confirmed in the provider flow
no longer reports `billing.cancel.abandoned` (the fallback receives
`flowAlreadyConfirmed`), and a native fallback that cannot open after a
confirmed cancel reports `billing.cancel.failed` with `rendering` (the
reporter drops the expectation that an operation follows once the
provider session fails, via `sessionFailed()`). The other cancel
sequences are unchanged.
- Merged with main after Comfy-Org#19921 (`b91f4e77d2`, wait for the workspace
type instead of falling back to legacy billing). Two hunks met part 5
and part 2. `manageSubscription` keeps the portal telemetry and takes
main's rule: a `WORKSPACE_BILLING_REQUIRED` refusal is reported as
`billing.portal.failed` and rethrown for the legacy adapter to recover,
any other failure is reported and not thrown. Invoice history keeps its
error wrapper. The top-up dialog takes main's chooser (only `legacy`
opens the legacy content, `unknown` opens the workspace content) and
keeps part 2's full props, since the legacy content now declares
`source`.

## AS IS / TO BE

**Part 1, entry events**

AS IS: ![AS IS at ce06a6f: 22 of 23 scenarios off contract.
showPricingTable and showTopUpCreditsDialog report no billing.entry
event to Datadog RUM addAction, PostHog capture or the desktop host
sink: 7 of 8 paywall scenarios reach PostHog and the desktop sink with
only the legacy app:subscription_required_modal_opened, the read-only
member dialog reaches nothing, none of the 7 add-credits scenarios
reaches any sink, and of 7 real callers 5 send only the legacy
app:add_api_credit_button_clicked while the agent paywall precondition
and the out-of-credits banner send nothing; this PR's new tests fail as
expected (7 of 19 in dialogService.topUpCredits.test.ts, 7 of 59 in
useSubscriptionDialog.test.ts, 1 of 3 in entryEvent.test.ts); root
changed test files plus src/platform/telemetry pass 661 of 675,
account-core src/core/billing 600 of
601](https://github.com/user-attachments/assets/3f5baa0d-dcef-4178-8e85-e11ca701b3b5)

TO BE: ![TO BE at 91a0b81: 23 of 23 scenarios on contract. The same
paths now report billing.entry.paywall_shown and
billing.entry.add_credits_clicked with one payload to
datadogRum.addAction, posthog.capture and the desktop host sink (the two
cloud providers add billing_surface cloud_app), the legacy modal_opened
and add-credits events still reach PostHog and the desktop sink beside
them, the read-only member dialog emits only the new event, paywall
current_tier is free, standard, creator, founder or team with ENTERPRISE
and an unknown plan omitted where the legacy event sends the raw tier,
the add-credits click carries deep_link, agent_paywall or out_of_credits
and no source for the 6 callers that pass none until part 2, and the 85
billing events recorded across 244 harness tests hold only current_tier,
duration_ms, outcome and payment_intent_source with bounded values, no
email, URL, secret or free-form text; root changed test files plus
src/platform/telemetry pass 675 of 675, account-core src/core/billing
601 of
601](https://github.com/user-attachments/assets/fa4d12e2-32ac-4697-b1f0-9d0eec80049e)

**Part 2, source fidelity**

AS IS: ![AS IS at 91a0b81: 21 of 25 scenarios off contract.
billing.entry.add_credits_clicked carries no source from the 2 avatar
menu popovers, the credits tile, the settings panel and the deep link
(the agent paywall and the banner are unchanged), no
paymentIntentSource.ts exists so the click-time, journey entry_source
and payment_intent_source vocabularies have no mapping, none of the 11
events of the 3 team downgrade scenarios, none of the terminals of a
recovered poller subscription, a recovered poller top-up or a reattached
SDK top-up, and neither billing.topup.started nor failed of the legacy
dialog carries payment_intent_source, and the 5 changed entries land a
customer who cannot top up on the pricing dialog with reason
top_up_blocked, which also fills the legacy modal_opened reason and
paywall_shown payment_intent_source; this PR's new tests fail as
expected (25 failing tests in 14 files, paymentIntentSource.test.ts
fails to load); root changed test files plus src/platform/telemetry pass
1365 of 1390, account-core src/core/billing 601 of
601](https://github.com/user-attachments/assets/e07d4eee-3554-4aca-9888-32b902cf72c2)

TO BE: ![TO BE at 3cfb584: 25 of 25 scenarios on contract. The same
callers now report the source with the legacy click events unchanged
beside it: avatar_menu_plans from both popovers, settings_billing_panel
from the credits tile and the settings panel, deep_link from the deep
link, while the agent paywall (agent_paywall) and the banner (none) are
unchanged; paymentIntentSource.ts maps credits_panel to
settings_billing_panel, avatar_menu to avatar_menu_plans and
settings_billing to settings_billing_panel, keeps deep_link and
agent_paywall, omits pricing, recovery, other and unknown, and adds no
value to the 15 in the list; every event of a completed, a failed and a
pending team downgrade, the terminals of a recovered poller subscription
(upgrade_to_add_credits), a recovered poller top-up and a reattached SDK
top-up (avatar_menu_plans), and the legacy dialog billing.topup.started
and failed (deep_link) carry payment_intent_source; the one behavior
change is that the pricing dialog now opens with the entry's source as
its reason (avatar_menu_plans, settings_billing_panel or deep_link)
instead of top_up_blocked, with the legacy modal_opened reason and
paywall_shown payment_intent_source following, while the agent paywall
(out_of_credits) and the banner (top_up_blocked) stay as they were; the
519 billing events recorded across 582 harness tests hold 17 allowlisted
keys with bounded values, no email, URL, secret or free-form text; root
changed test files plus src/platform/telemetry pass 1402 of 1402,
account-core src/core/billing 601 of
601](https://github.com/user-attachments/assets/fc0bf695-40e6-414e-8cb2-15dc14cc4388)

**Part 3, top-up amount and preset**

AS IS: ![AS IS at 3cfb584: 16 of 16 scenarios off contract. In all 16
purchase sequences, the preselected 50 dollars, the presets 10, 25, 50
and 100, a typed 75 and a typed 100, on both the workspace and the
legacy top-up dialog, billing.topup.started reaches
datadogRum.addAction, posthog.capture and the desktop host sink with
only outcome and the source and no amount_cents or amount_preset, while
the legacy app:api_credit_topup_button_purchase_clicked already sends
credit_amount to PostHog and the desktop sink; this PR's new tests fail
as expected (8 of 19 in TopUpCreditsDialogContentLegacy.test.ts, 5 of 60
in TopUpCreditsDialogContentWorkspace.test.ts, 7 of 7 in
topupEvent.test.ts); root changed test files plus src/platform/telemetry
pass 675 of 688, account-core src/core/billing 601 of
608](https://github.com/user-attachments/assets/19f882c7-7115-4c66-b490-6978659e8875)

TO BE: ![TO BE at 5e5c096: 16 of 16 scenarios on contract.
billing.topup.started now carries amount_cents and amount_preset to
datadogRum.addAction, posthog.capture and the desktop host sink on both
dialogs: 5000 and 50 for the preselected amount, 1000 and 10, 2500 and
25, 5000 and 50, 10000 and 100 for each clicked preset, 7500 and custom
for a typed 75, and 10000 and custom for a typed 100 that equals a
preset, the Datadog action also carries billing_surface cloud_app, the
legacy purchase_clicked event is unchanged beside it and
billing.topup.failed carries no amount; the 193 billing events recorded
across 85 harness tests hold 10 allowlisted keys with amount_cents an
integer and amount_preset one of 10, 25, 50, 100 or custom, no email,
URL, secret or free-form text; root changed test files plus
src/platform/telemetry pass 688 of 688, account-core src/core/billing
608 of
608](https://github.com/user-attachments/assets/cbf0f259-c711-4689-8550-8a35eae10088)

**Part 4, cancel flow**

AS IS: ![AS IS at 5e5c096: 16 of 16 scenarios off contract. The
provider cancel flow and the native cancel dialog report no
billing.cancel.intent, abandoned or failed to datadogRum.addAction,
posthog.capture or the desktop host sink in any of the 14 flow
scenarios: only the legacy app:subscription_cancel_flow_opened,
confirmed, abandoned and failed reach PostHog and the desktop sink (with
end_date and, on failure, error_message) and Datadog receives nothing, a
confirmed workspace cancel shows only its billing.operation.started, and
billing.operation.failed on failure, with no intent before them, so the
dismissed flow, the accepted discount, the provider failure with the
native dialog and with the native dialog failing, and the legacy rail
failure all end without a typed cancel event; this PR's new tests fail
as expected (7 of 32 in launchCancellationFlow.test.ts, 7 of 27 in
CancelSubscriptionDialogContent.test.ts, billingPlanTelemetry.test.ts
fails to load); root changed test files plus src/platform/telemetry pass
654 of 668, account-core src/core/billing 611 of 611 because its
cancelEvent.test.ts only exercises the generic
builders](https://github.com/user-attachments/assets/31de0750-8239-44ff-a4b3-993354b3e3c2)

TO BE: ![TO BE at f1760c9: 16 of 16 scenarios on contract.
billing.cancel.intent reaches datadogRum.addAction, posthog.capture and
the desktop host sink where the legacy flow_opened fires, then a
dismissed flow adds billing.cancel.abandoned, an accepted discount stops
at intent, a confirmed cancel stops at intent on both flows with the
unchanged billing.operation.started and failed events of the workspace
request next to it and no abandoned or failed from the reporter, a
provider failure with the native dialog stops at intent, a provider
failure with the native dialog failing to open adds
billing.cancel.failed with failure_category rendering, and a legacy rail
failure adds billing.cancel.failed with unknown and no
billing.cancel.abandoned after it; the new events carry only outcome,
current_tier, cycle and failure_category while the legacy events keep
end_date and error_message, and the Datadog actions carry
billing_surface cloud_app; the 343 billing events recorded across 325
harness tests hold 17 allowlisted keys with bounded values and ids, no
email, URL, secret or free-form text; root changed test files plus
src/platform/telemetry pass 681 of 681, account-core src/core/billing
611 of
611](https://github.com/user-attachments/assets/fb14feba-c567-4a09-a8b8-1e35ef9b0f79)

**Part 5, portal events**

Captured through the real telemetry providers in the component and
composable tests (Datadog RUM action and PostHog event carry identical
payloads, `billing_surface` per host). AS IS = the FE-3115 branch before
part 5, TO BE = after.

| Path | Host | AS IS | TO BE |
| --- | --- | --- | --- |
| reports manageSubscription opening the portal and one return |
cloud_app | nothing | `billing.portal.opened` (target:
manage_subscription, billing_client:
legacy)<br>`billing.portal.returned` (target: manage_subscription,
billing_client: legacy) |
| reports handleInvoiceHistory opening the portal and one return |
cloud_app | nothing | `billing.portal.opened` (target: invoices,
billing_client: legacy)<br>`billing.portal.returned` (target: invoices,
billing_client: legacy) |
| reports manageSubscription as a failed open when the tab is blocked |
cloud_app | nothing | `billing.portal.failed` (target:
manage_subscription, billing_client: legacy, failure_category: redirect,
error_code: payment_popup_blocked) |
| reports handleInvoiceHistory as a failed open when the tab is blocked
| cloud_app | nothing | `billing.portal.failed` (target: invoices,
billing_client: legacy, failure_category: redirect, error_code:
payment_popup_blocked) |
| reports a refused portal request as a failed open and still reports
the error | cloud_app | nothing | `billing.portal.failed` (target:
manage_subscription, billing_client: legacy, failure_category:
api_rejected) |
| reports the portal opening from the SDK rail and one return |
cloud_app | nothing | `billing.portal.opened` (target:
manage_subscription, billing_client: sdk)<br>`billing.portal.returned`
(target: manage_subscription, billing_client: sdk) |
| reports the portal opening from the workspace client and one return |
cloud_app | nothing | `billing.portal.opened` (target:
manage_subscription, billing_client:
legacy)<br>`billing.portal.returned` (target: manage_subscription,
billing_client: legacy) |
| reports a blocked portal tab as a failed open | cloud_app | nothing |
`billing.portal.failed` (target: manage_subscription, failure_category:
redirect, error_code: payment_popup_blocked) |
| reports a refused portal request as a failed open | cloud_app |
nothing | `billing.portal.failed` (target: manage_subscription,
failure_category: api_rejected) |
| reports the portal opening on the invoices | billing_web | nothing |
`billing.portal.opened` (target: invoices, billing_client: sdk) |
| reports the portal opening on the payment methods | billing_web |
nothing | `billing.portal.opened` (target: payment_methods,
billing_client: sdk) |
| reports a portal it could not open as a failed open | billing_web |
nothing | `billing.portal.failed` (target: payment_methods,
billing_client: sdk, failure_category: api_rejected) |
| reports the return from the portal once and drops the marker |
billing_web | nothing | `billing.portal.returned` (target: invoices,
billing_client: sdk) |
| reports the return from the portal once | billing_web | nothing |
`billing.portal.returned` (target: payment_methods, billing_client: sdk)
|
| reports a request that never reached the server as a failed portal
open | billing_web | nothing | `billing.portal.failed` (target:
invoices, billing_client: sdk, failure_category: network) |
| reports a refusal from the server as a failed portal open |
billing_web | nothing | `billing.portal.failed` (target: invoices,
billing_client: sdk, failure_category: api_rejected) |
| reports a portal address that fails validation as a failed portal open
| billing_web | nothing | `billing.portal.failed` (target: invoices,
billing_client: sdk, failure_category: unknown) |

The evidence has five parts, one per part of the change: the events each
cloud entry, source, top-up, cancel and portal path reports to Datadog
RUM, PostHog and the desktop sink, before and after.

## Where this sits in the plan

Linear: [FE-3115](https://linear.app/comfyorg/issue/FE-3115), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](Comfy-Org#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](Comfy-Org#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](Comfy-Org#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](Comfy-Org#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](Comfy-Org#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](Comfy-Org#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](Comfy-Org#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](Comfy-Org#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](Comfy-Org#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](Comfy-Org#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | this PR |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](Comfy-Org#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](Comfy-Org#19809), [PR
19810](Comfy-Org#19810), [PR
19811](Comfy-Org#19811), merged
|
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](Comfy-Org#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | todo |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](Comfy-Org#19804), [PR
19806](Comfy-Org#19806) and [PR
19807](Comfy-Org#19807), merged
in [PR 19798](Comfy-Org#19798)
|
| T11 | FE-3121 | Portal events | [PR
19944](Comfy-Org#19944), merged
into this PR |
| T12 | FE-3122 | Flag coverage check | [PR
19942](Comfy-Org#19942), in
review |
| T13 | FE-3123 | PostHog rollout dashboard | specified, blocked on
PostHog key scopes |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](Comfy-Org#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
[PR 19941](Comfy-Org#19941), in
review |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T5 stroke-width:3px
```

---------

Co-authored-by: GitHub Action <action@github.com>
laurigates pushed a commit to laurigates/ComfyUI_frontend that referenced this pull request Oct 3, 2026
… it (Comfy-Org#19947)

## Summary

Report a hosted step the customer is sent to and the return from it, on
the cloud app and billing web (E23).

## Why

A hosted redirect unloads the page, so the operation's start stayed open
with nothing to say the customer left for Stripe or the billing app.
Without a start and a return, a customer who never came back looks the
same as one the browser lost.

## How

A new contract module checkoutRedirectEvent.ts adds
billing.checkout.redirect_started and billing.checkout.returned (one
union line). Fields are destination (stripe or billing_web), step
(authentication, payment_method, invoice_payment or checkout, read from
what the server waits on), navigation (redirect or new_tab) and optional
method_kind. destination, step, navigation and method_kind join the
allowlist. The lifecycle gains reportHostedStepOpened(operationId,
navigation, methodKind?). It emits redirect_started. For a redirect it
stores the step in the operation pointer, so the page the customer lands
on reports returned once when it recovers the operation. Rewriting the
pointer drops the marker, so a reload does not count it again. For a new
tab it reports returned on the next wake. usePaymentAttempt reports the
hosted step before it hands the URL to the host, so the event is queued
before the page unloads. It also reports an embedded challenge as a
redirect when the host says the method is not a card, because Stripe
finishes Alipay and similar methods on their own site. The billing web
full-page checkout passes the method of its own Pay. The cloud SDK store
reports a hosted page it opened in a new tab. There is no user-visible
change.

## Review Focus

- The redirect marker in the operation pointer schema, and that adoption
rewrites the pointer without it.
- Reporting before openUrl is deliberate. Datadog RUM flushes on
beforeunload and visibilitychange, and PostHog drains its queue by
beacon on pagehide, so an event queued before location.assign is sent.
- The off-site challenge rule in usePaymentAttempt: a required challenge
plus a non-card method kind is reported as a redirect.
- BillingOperationTelemetryEvent is now a discriminated union, so a
redirect event cannot be built without destination, step and navigation.
- Known gaps: method_kind is only known for a non-card Pay on the
billing web full-page checkout. The legacy cloud subscribe path that
calls window.open directly is not covered. A return after a same-tab
redirect that lands on a page with no pointer storage is not reported.

## AS IS / TO BE

Telemetry change, so the evidence is the captured events instead of a
screenshot: the real SDK lifecycle and the billing web checkout with
only the network edge and the telemetry SDKs (Datadog RUM, posthog-js)
stubbed. AS IS = origin/main, TO BE = this stack.

| Path | AS IS | TO BE |
| --- | --- | --- |
| E23 same-tab redirect | page that left: `started`; page it came back
to: `started`, `succeeded` | left: `redirect_started` (destination
stripe, step payment_method, navigation redirect, method_kind alipay);
came back: `returned` with the same fields, `resumed: true` |
| E23 new tab | `started` only | `redirect_started` then `returned` on
the next wake (navigation new_tab) |

No payload carries an email, URL, client secret, promo code or provider
id; every new field is a bounded enum.

evidence-fe3119/as-is-lifecycle.json shows the redirect and new-tab
scenarios sending only billing.operation.started and succeeded on main,
and to-be-lifecycle.json shows redirect_started on the page that left,
returned with the same step and method on the page it came back to, and
the new-tab pair, for both surfaces.

## Where this sits in the plan

Linear: [FE-3119](https://linear.app/comfyorg/issue/FE-3119), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](Comfy-Org#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](Comfy-Org#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](Comfy-Org#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](Comfy-Org#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](Comfy-Org#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](Comfy-Org#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](Comfy-Org#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](Comfy-Org#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](Comfy-Org#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](Comfy-Org#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](Comfy-Org#19815) (four
parts), in review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](Comfy-Org#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](Comfy-Org#19809), [PR
19810](Comfy-Org#19810), [PR
19811](Comfy-Org#19811) merged,
billing web cancel [PR
19945](Comfy-Org#19945) in
review |
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](Comfy-Org#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | this PR |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](Comfy-Org#19804), [PR
19806](Comfy-Org#19806) and [PR
19807](Comfy-Org#19807), merged
in [PR 19798](Comfy-Org#19798)
|
| T11 | FE-3121 | Portal events | [PR
19944](Comfy-Org#19944), in
review |
| T12 | FE-3122 | Flag coverage check | [PR
19942](Comfy-Org#19942), in
review |
| T13 | FE-3123 | PostHog rollout dashboard | specified, blocked on
PostHog key scopes |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](Comfy-Org#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
[PR 19941](Comfy-Org#19941), in
review |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T9 stroke-width:3px
```
laurigates pushed a commit to laurigates/ComfyUI_frontend that referenced this pull request Oct 3, 2026
…ilures and returns (Comfy-Org#19973)

## Summary

The payment recovery portal that checkout opens after a failed or
outstanding payment now reports billing.portal.opened,
billing.portal.failed and billing.portal.returned with the new target
payment_recovery.

## Why

FE-3121 instrumented Manage subscription, Invoice history and the
billing web portal, but left out the portal that useSubscriptionCheckout
opens when a plan change is refused for an unpaid invoice. That trip is
the only way a customer in payment_failed or paused can get unstuck, and
it reached error reporting only on failure and nothing at all on
success. The Datadog Billing UI tab and the PostHog rollout dashboard
could not count it.

## How

recoverOutstandingPayment now uses createBillingPortalReporter, the same
reporter as the other cloud portal entries. readPaymentPortalUrl returns
which client served the URL, so opened, failed and returned carry
billing_client sdk or legacy once that is known. A thrown request
failure omits billing_client, as the workspace Manage subscription path
does. A blocked tab is failed with redirect and payment_popup_blocked.
When the toast's Try again then opens the tab, that click is the open
and waits for one return. A URL that fails the origin check is failed
with unknown. The contract gains one bounded value, payment_recovery, in
BillingPortalTarget. None of the existing values fits: payment_methods
is the voluntary card management panel on billing web, and folding
recovery into it would hide how often checkout blocks on an unpaid
invoice. target is already allowlisted as a required payload field, so
the allowlist needs no new key. There is no user-visible change. Toasts,
the Try again action, the return refresh and the reportError calls are
unchanged.

## Review Focus

- billing_client is set only after the URL came back. A rail error or a
refused workspace request omits it, matching useWorkspaceBilling; a URL
rejected by the origin check keeps it.
- The toast's Try again now checks the window.open result to report
opened or blocked. It still arms the return refresh either way, as
before.
- A stale attempt (isCurrent false) reports nothing, the same way it
shows nothing.
- payment_recovery is a new BillingPortalTarget value. Dashboards that
list portal targets need the fourth value (T13 PostHog, T14 Datadog
tiles).
- Comfy-Org#19921 is untouched: the WORKSPACE_BILLING_REQUIRED rethrow lives in
useSubscription, not in this path.

## AS IS / TO BE

Captured through the real telemetry providers in the component and
composable tests (Datadog RUM action and PostHog event carry identical
payloads, `billing_surface` per host). AS IS = base branch, TO BE = this
branch.

| Path | Host | AS IS | TO BE |
| --- | --- | --- | --- |
| reports the recovery portal opening from the legacy client and one
return | cloud_app | nothing | `billing.portal.opened` (target:
payment_recovery, billing_client: legacy)<br>`billing.portal.returned`
(target: payment_recovery, billing_client: legacy) |
| reports the recovery portal opening from the SDK rail and one return |
cloud_app | nothing | `billing.portal.opened` (target: payment_recovery,
billing_client: sdk)<br>`billing.portal.returned` (target:
payment_recovery, billing_client: sdk) |
| reports the recovery portal opening from the legacy client when the
rail route i… and one return | cloud_app | nothing |
`billing.portal.opened` (target: payment_recovery, billing_client:
legacy)<br>`billing.portal.returned` (target: payment_recovery,
billing_client: legacy) |
| reports a blocked recovery tab as a failed open and the retry as the
open | cloud_app | nothing | `billing.portal.failed` (target:
payment_recovery, billing_client: legacy, failure_category: redirect,
error_code: payment_popup_blocked)<br>`billing.portal.opened` (target:
payment_recovery, billing_client: legacy)<br>`billing.portal.returned`
(target: payment_recovery, billing_client: legacy) |
| reports a refused legacy portal request as a failed open and keeps the
error report | cloud_app | nothing | `billing.portal.failed` (target:
payment_recovery, failure_category: api_rejected) |
| reports a legacy portal request that never reac… as a failed open and
keeps the error report | cloud_app | nothing | `billing.portal.failed`
(target: payment_recovery, failure_category: network) |
| reports a rail portal failure as a failed open and keeps the error
report | cloud_app | nothing | `billing.portal.failed` (target:
payment_recovery, failure_category: api_rejected) |
| reports a portal address that fails validation as a failed open and
keeps the error report | cloud_app | nothing | `billing.portal.failed`
(target: payment_recovery, billing_client: legacy, failure_category:
unknown) |
| reports nothing when the rejection needs no payment recovery |
cloud_app | nothing | nothing |

Captured RUM actions and PostHog events for each recovery path show
nothing on the FE-3115 base and the matching billing.portal.* event with
target payment_recovery, client and failure category on this branch,
with identical reportError calls (evidence-fe3121-recovery/).

## Where this sits in the plan

Linear: [FE-3121](https://linear.app/comfyorg/issue/FE-3121), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](Comfy-Org#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](Comfy-Org#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](Comfy-Org#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](Comfy-Org#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](Comfy-Org#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](Comfy-Org#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](Comfy-Org#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](Comfy-Org#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](Comfy-Org#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](Comfy-Org#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](Comfy-Org#19815) (four
parts), in review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](Comfy-Org#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](Comfy-Org#19809), [PR
19810](Comfy-Org#19810), [PR
19811](Comfy-Org#19811) merged,
billing web cancel [PR
19945](Comfy-Org#19945) in
review |
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](Comfy-Org#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | [PR
19946](Comfy-Org#19946), [PR
19947](Comfy-Org#19947), [PR
19948](Comfy-Org#19948), in
review |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](Comfy-Org#19804), [PR
19806](Comfy-Org#19806) and [PR
19807](Comfy-Org#19807), merged
in [PR 19798](Comfy-Org#19798)
|
| T11 | FE-3121 | Portal events | this PR |
| T12 | FE-3122 | Flag coverage check | [PR
19942](Comfy-Org#19942), in
review |
| T13 | FE-3123 | PostHog rollout dashboard | [first
cut](https://us.posthog.com/project/204330/dashboard/2164447) created |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](Comfy-Org#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
[PR 19941](Comfy-Org#19941), in
review |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T11 stroke-width:3px
```

---------

Co-authored-by: GitHub Action <action@github.com>
theluckystrike pushed a commit to theluckystrike/ComfyUI_frontend that referenced this pull request Oct 3, 2026
…urney with no operation (Comfy-Org#19975)

## Summary

Report where a customer left a cloud app checkout dialog when the
journey has no operation yet (E24, cloud app follow-up).

## Why

Billing web reports billing.checkout.abandoned, but the cloud app did
not. A customer who closed the subscription or top-up dialog, or closed
the tab with it open, left no trace of where they stopped. The abandon
KPI itself is derived on the dashboard from journeys that never link an
operation. This event only says where the customer left.

## How

A new module, checkoutJourneyTelemetry.ts, becomes the one way the cloud
app reports a journey phase. It remembers the last progress phase this
tab reported on the active journey. reportCheckoutJourneyExit reports
billing.checkout.abandoned with last_phase and exit only when the active
journey has no billing_op_id, and only once per stretch of new progress.
A close and a later pagehide therefore report once, and a reopened
journey reports again only after a new phase. useCheckoutJourneyExit
wires it into useSubscriptionCheckout and the top-up dialog: scope
dispose reports exit dialog_close, and pagehide while the dialog is open
reports exit page_exit. A hand-off to the hosted billing web checkout
marks the journey as accounted for, so that close reports nothing. The
shared CheckoutExit enum gains dialog_close. The cloud PostHog provider
sends an abandoned page_exit with transport sendBeacon and
send_instantly, through its existing teardown capture. Everything else
stays batched. billing_surface cloud_app comes from the existing cloud
journey payload. There is no user-visible change.

## Review Focus

- Base: the -3 branch was squash-merged into -2 (8814fe1), so this
branch is cut from -2 and merges origin/main. Its PR targets -2.
- The event is an exit observation with no outcome. Once an operation is
bound, the cloud app reports nothing. The operation events and the
server own the end.
- The last phase is tab-scoped, module-level state. A journey resumed
after a reload with no new phase in this tab reports no exit.
- The three call sites (useSubscriptionCheckout,
SubscriptionAddPaymentPreviewWorkspace,
TopUpCreditsDialogContentWorkspace) now go through
trackCheckoutJourneyPhase. Their existing journey tests pass unchanged.
- Known gaps: the brief says later phase events carry resumed: true, but
cloud journey events have no resumed field, and this branch does not add
one. A tab closed while it was already in the background may not flush
its RUM action. PostHog events captured before it loads are not queued
for page_exit, the same as the agent panel teardown event. The hosted
handoff for the subscription intent (manage plan) is not a checkout
journey and is untouched.

## AS IS / TO BE

Telemetry change, so the evidence is the captured events instead of a
screenshot: the real cloud dialogs and journey module with the Datadog
RUM and PostHog providers, only the network edge and the telemetry SDKs
stubbed. AS IS = origin/main, TO BE = this branch.

| Scenario | AS IS | TO BE |
| --- | --- | --- |
| T1 top-up dialog closed after `entered` | `entered` | adds `abandoned`
(last_phase entered, exit dialog_close) |
| T2 tab closed with the top-up dialog open | `entered` | adds
`abandoned` (exit page_exit); PostHog sends with `{transport:
'sendBeacon', send_instantly: true}` |
| T3 top-up closed after a submit that bound no operation | `entered`,
`submitted` | adds `abandoned` (last_phase submitted, exit dialog_close)
|
| T4 top-up closed, then tab closed, after the operation was bound |
`entered`, `submitted`, `operation_linked` | unchanged, no abandon |
| T5 top-up closed, then tab closed | `entered` | one `abandoned`
(dialog_close), no second report on pagehide |
| T6 top-up closed, reopened (journey resumed), closed | `entered` | one
`abandoned`; the reopen made no new phase, so its close reports nothing
|
| S1 subscription dialog closed at the quote | `entered`,
`preview_ready` | adds `abandoned` (last_phase preview_ready, exit
dialog_close) |
| S2 tab closed at the quote | `entered`, `preview_ready` | adds
`abandoned` (exit page_exit), PostHog by sendBeacon |
| S3 subscription closed after the quote failed | `entered`,
`preview_failed` | adds `abandoned` (last_phase preview_failed) |
| S4 subscription closed, then tab closed, after the operation was bound
| through `operation_linked` | unchanged, no abandon |
| S5 dialog closed because the hosted checkout tab opened | `entered` |
unchanged, no abandon (billing web continues the journey) |
| S6 closed at the quote, reopened idle and closed, tab hidden, reopened
to the quote and closed | 2x `preview_ready` | one `abandoned` per
stretch of new progress: 2, not 4 |

The event is an exit observation (decision D13 in the plan): the
headline abandon count is derived on the dashboard from journeys with no
`operation_linked` within the journey TTL.

evidence-fe3119-cloud-abandon/as-is.json shows no abandoned event on
origin/main for any path, and to-be.json shows abandoned with last_phase
and exit to RUM and PostHog on dialog close at entered, submitted,
preview_ready and preview_failed, sendBeacon on page exit, one report
for close plus pagehide and for reopen without progress, and nothing
after a bound operation or a hosted handoff.

## Where this sits in the plan

Linear: [FE-3119](https://linear.app/comfyorg/issue/FE-3119), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](Comfy-Org#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](Comfy-Org#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](Comfy-Org#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](Comfy-Org#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](Comfy-Org#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](Comfy-Org#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](Comfy-Org#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](Comfy-Org#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](Comfy-Org#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](Comfy-Org#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](Comfy-Org#19815) (four
parts), in review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](Comfy-Org#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](Comfy-Org#19809), [PR
19810](Comfy-Org#19810), [PR
19811](Comfy-Org#19811) merged,
billing web cancel [PR
19945](Comfy-Org#19945) in
review |
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](Comfy-Org#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | this PR |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](Comfy-Org#19804), [PR
19806](Comfy-Org#19806) and [PR
19807](Comfy-Org#19807), merged
in [PR 19798](Comfy-Org#19798)
|
| T11 | FE-3121 | Portal events | [PR
19944](Comfy-Org#19944), in
review |
| T12 | FE-3122 | Flag coverage check | [PR
19942](Comfy-Org#19942), in
review |
| T13 | FE-3123 | PostHog rollout dashboard | [first
cut](https://us.posthog.com/project/204330/dashboard/2164447) created |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](Comfy-Org#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
[PR 19941](Comfy-Org#19941), in
review |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T9 stroke-width:3px
```
theluckystrike pushed a commit to theluckystrike/ComfyUI_frontend that referenced this pull request Oct 3, 2026
…embedded checkout (Comfy-Org#19974)

## Summary

Report an abandoned checkout and the ending screen on the billing web
embedded checkout, the same way the full-page checkout does (E24, E25).

## Why

The full-page checkout reports billing.checkout.abandoned and
billing.checkout.ended since Comfy-Org#19948, but the embedded CheckoutView
reported neither. A customer who closed the tab or went back from the
embedded checkout left no trace, and its success and refusal screens
could not be told apart in a funnel.

## How

CheckoutView reuses the journey's abandoned and ended methods from
useCheckoutJourney and the beacon transport the facade already applies
to abandoned. No shared composable was extracted, because the two views
share only the journey, which is already shared, and their ending
screens differ. It reports abandoned with exit page_exit on pagehide,
and with exit back or close from those controls. It reports no abandon
after the page handed itself to a hosted step, or while a Pay with a
non-card method is in flight, since that method pays on its own site. It
reports ended with ending_kind success when the success step shows:
attribution started when this page's Pay returned the result, followed
when the page recovered an operation it did not send. It reports ended
when the quote failure screen shows, right after preview_failed: refused
for ACCESS_DENIED, plan_unavailable for the server code INVALID_PLAN,
and load_failed otherwise. The journey keeps its existing rules:
abandoned at most once and never after an ending, and each ending kind
once. There is no user-visible change.

## Review Focus

- quoteFailureEndingOf maps the embedded quote failure screen onto the
full-page ending kinds. The embedded view has no capability read, so
refused comes from ACCESS_DENIED on the quote, not from a denial reason.
- payingOnOwnSite is true only between the Pay press and the command
settling, for a method type other than card. A card Pay in flight when
the tab closes is still an abandon, as on the full page.
- Success attribution reads checkout.result: an ok result means this
page's own Pay, and none means a recovered operation.
- Two existing tests now expect billing.checkout.ended: the full journey
test, and the stream ordering test, where ended lands before
billing.subscription_checkout.succeeded because the success step shows
before the attempt reports its terminal.
- Known gaps: a quote that allows no change (allowed false) shows no
ending screen on the embedded view, so it reports preview_failed and no
ended. A saved non-card method carries no method type, so a redirect
from it would count as an abandon. That matches the full page. The
background-tab flush gap from Comfy-Org#19948 applies here too.

## AS IS / TO BE

Telemetry change, so the evidence is the captured events instead of a
screenshot: the real `CheckoutView` with the billing web telemetry
facade and PostHog started, only the fake billing client and the
telemetry SDKs stubbed. AS IS = origin/main, TO BE = this branch.

| Path | AS IS | TO BE |
| --- | --- | --- |
| Tab closed at the quote | `entered`, `preview_ready` | adds
`abandoned` (last_phase preview_ready, exit page_exit). The PostHog copy
is sent with `{transport: 'sendBeacon'}` |
| Back control, then the page unloads | `entered`, `preview_ready`,
`web_return.clicked` | adds `abandoned` (exit back) once. The later
pagehide adds nothing |
| Close control, then the page unloads | `entered`, `preview_ready`,
`web_return.clicked` | adds `abandoned` (exit close) once |
| Hosted redirect (server offers a continuation) | `entered`,
`preview_ready` | unchanged. No abandon, because the page handed itself
to the hosted step |
| Alipay Pay leaving for its own site | no abandon | unchanged. No
abandon while a non-card Pay is in flight |
| Own payment succeeds, then the tab closes | no ending event | `ended`
(ending_kind success, attribution started, billing_op_id op_9). No
abandon after it |
| Quote refused (ACCESS_DENIED), then Back | `entered`,
`preview_failed`, `web_return.clicked` | adds `ended` (ending_kind
refused), with no attribution. Back after it adds no abandon |

No new field carries an email, URL, client secret, promo code or
provider id; every new field is a bounded enum.

evidence-fe3119-embedded/as-is.json shows no abandoned or ended event on
the embedded checkout on main. to-be.json shows abandoned with
last_phase and exit for tab close, Back and Close, sent to RUM and to
PostHog with transport sendBeacon. It shows no abandon for a hosted
redirect or an Alipay Pay, and ended with ending_kind and attribution
for the success and refusal screens.

## Where this sits in the plan

Linear: [FE-3119](https://linear.app/comfyorg/issue/FE-3119), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](Comfy-Org#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](Comfy-Org#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](Comfy-Org#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](Comfy-Org#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](Comfy-Org#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](Comfy-Org#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](Comfy-Org#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](Comfy-Org#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](Comfy-Org#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](Comfy-Org#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](Comfy-Org#19815) (four
parts), in review |
| T6 | FE-3116 | Handoff contract and event | [PR
19687](Comfy-Org#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](Comfy-Org#19809), [PR
19810](Comfy-Org#19810), [PR
19811](Comfy-Org#19811) merged,
billing web cancel [PR
19945](Comfy-Org#19945) in
review |
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](Comfy-Org#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | this PR |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](Comfy-Org#19804), [PR
19806](Comfy-Org#19806) and [PR
19807](Comfy-Org#19807), merged
in [PR 19798](Comfy-Org#19798)
|
| T11 | FE-3121 | Portal events | [PR
19944](Comfy-Org#19944), in
review |
| T12 | FE-3122 | Flag coverage check | [PR
19942](Comfy-Org#19942), in
review |
| T13 | FE-3123 | PostHog rollout dashboard | [first
cut](https://us.posthog.com/project/204330/dashboard/2164447) created |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](Comfy-Org#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
[PR 19941](Comfy-Org#19941), in
review |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T9 stroke-width:3px
```
Penguinjanator pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Oct 4, 2026
…tion switch rewrites the operation pointer (Comfy-Org#20004)

## Summary

Keep the saved hosted redirect when a presentation switch rewrites the
operation pointer, so billing.checkout.returned (E23) is still reported
on the page the customer comes back to.

## Why

CodeRabbit found this on Comfy-Org#19975
(Comfy-Org#19975 (comment)).
A same-tab hosted redirect is only reported as returned if the tab's
operation pointer still carries the redirect when the next page recovers
the operation. A presentation switch after the redirect erased it, so
that return was never reported.

## Root cause

writePointer rebuilds the pointer from the operation state and only
includes redirect when the caller passes one. reportHostedStepOpened
passes it, but switchPresentation rewrites the pointer for the same
operation without it, so the saved redirect is dropped.

## How

A small savedRedirect helper reads the current pointer and returns its
redirect only when its operationId is the operation being written.
switchPresentation passes that to writePointer. The adopt write is
deliberately left unchanged: adoption is where a saved redirect is
turned into billing.checkout.returned, so it must consume the redirect.
Carrying it forward there would report returned again on every reload,
which the existing 'reports the return once' test catches. There is no
user-visible change.

## Review Focus

- The carry-forward lives at the switchPresentation call site, not
inside writePointer. A generic carry-forward in writePointer also hits
the adopt write and breaks the 'reports the return once' contract. This
was checked: that test fails with the generic version.
- The operationId guard matters when two operations are live in one
scope. The new 'reports no return for an operation that never
redirected, though another one did' test fails if the guard is removed.
- leftScope writes a fresh pointer for a newly issued operation through
pointers.write directly. It has no redirect to keep and is unchanged.

## AS IS / TO BE

Telemetry change, so the evidence is the captured lifecycle events
instead of a screenshot. Scenario: embedded 3DS top-up, hosted redirect,
`switchPresentation('op-1', 'hosted')`, unload, then recover on a new
page.

| | Pointer after the rewrite | Events on the page the customer returns
to |
| --- | --- | --- |
| AS IS (main) | `redirect` dropped | `billing.operation.started`,
`billing.operation.succeeded` |
| TO BE | `redirect` kept | adds `billing.checkout.returned` (navigation
redirect, step authentication, method_kind card, presentation hosted,
resumed true) on both the cloud app and billing web payloads |

evidence-fe3119-pointer/as-is.json shows the pointer losing redirect
after the same-operation rewrite and no billing.checkout.returned on the
page returned to, and to-be.json shows redirect kept and
billing.checkout.returned reported to both cloud app and billing web
payloads.

## Where this sits in the plan

Linear: [FE-3119](https://linear.app/comfyorg/issue/FE-3119), part of
[FE-3105](https://linear.app/comfyorg/issue/FE-3105/billing-web-and-sdk-rollout-telemetry-events-fixes-and-dashboards).
Plan, event catalog and dependency graph: [action
items](https://app.notion.com/p/3ea6d73d3650814ba248d4d1431b8a89).

| Task | Ticket | What | Status |
| --- | --- | --- | --- |
| T1 | FE-3107 | Decide vocabulary and dimensions | done, in the SSOT |
| T2 | FE-3108 | Decide RUM application and env mapping | decided |
| T3 | FE-3109 | Billing web telemetry bootstrap (RUM and PostHog) | [PR
19688](Comfy-Org#19688), merged
|
| T3+ | FE-3156 | Opaque RUM user id on billing web | [PR
19794](Comfy-Org#19794), merged
|
| T4, F1 | FE-3106 | SDK-rail ownership | [PR
19620](Comfy-Org#19620), merged
|
| T4, F2 | FE-3110 | Keep operation id and fields in the mapper | [PR
19623](Comfy-Org#19623), merged
|
| T4, F3 | FE-3111 | Stamp billing_surface and billing_client | [PR
19685](Comfy-Org#19685), merged
|
| T4, F5 | FE-3112 | SDK top-up terminals | [PR
19628](Comfy-Org#19628), merged
|
| T4, F6 | FE-3113 | Downgrade reconciliation terminal | [PR
19622](Comfy-Org#19622), merged
|
| T4, F7 | FE-3114 | Legacy personal-rail events, first slice | [PR
19627](Comfy-Org#19627), merged
|
| T4, F7+ | FE-3131 | Legacy personal-rail events, remaining slices |
[PR 19686](Comfy-Org#19686),
merged |
| T4+ | FE-3140 | Move the billing event contract to a shared package |
[PR 19798](Comfy-Org#19798),
merged |
| T5 | FE-3115 | Cloud entry fidelity and Datadog parity | [PR
19815](Comfy-Org#19815), merged
|
| T6 | FE-3116 | Handoff contract and event | [PR
19687](Comfy-Org#19687), merged
|
| T7 | FE-3117 | Billing web attempt lifecycle | [PR
19809](Comfy-Org#19809), [PR
19810](Comfy-Org#19810), [PR
19811](Comfy-Org#19811) merged,
billing web cancel [PR
19945](Comfy-Org#19945) in
review |
| T8 | FE-3118 | Billing web journey and choices | [PR
19819](Comfy-Org#19819) (three
parts), merged |
| T9 | FE-3119 | Payment friction events | this PR |
| T10 | FE-3120 | Billing web entry, session and return | [PR
19804](Comfy-Org#19804), [PR
19806](Comfy-Org#19806) and [PR
19807](Comfy-Org#19807), merged
in [PR 19798](Comfy-Org#19798)
|
| T11 | FE-3121 | Portal events | [PR
19944](Comfy-Org#19944), in
review |
| T12 | FE-3122 | Flag coverage check | [PR
19942](Comfy-Org#19942), in
review |
| T13 | FE-3123 | PostHog rollout dashboard | [first
cut](https://us.posthog.com/project/204330/dashboard/2164447) created |
| T14 | FE-3124 | Datadog tiles in the Frontend RUM dashboard |
[comfy-infra PR
1597](Comfy-Org/comfy-infra#1597), in review |
| T4+ | FE-3162 | Move the payload-helper tests to account-core | [PR
19940](Comfy-Org#19940), in
review |
| T10+ | FE-3158 | Billing web Try again after session creation fails |
[PR 19941](Comfy-Org#19941), in
review |
| T15 | FE-3125 | Verification per flow | todo |
| T16 | FE-3126 | Rollout plan | todo |

```mermaid
flowchart LR
  subgraph DEC["Decided"]
    T1["FE-3107 T1 vocabulary"]
    T2["FE-3108 T2 RUM app and env"]
  end
  subgraph FIX["Existing events (T4)"]
    F1["FE-3106 F1 SDK-rail ownership"]
    F2["FE-3110 F2 mapper fields"]
    F3["FE-3111 F3 surface and client"]
    F5["FE-3112 F5 top-up terminals"]
    F6["FE-3113 F6 downgrade terminal"]
    F7["FE-3114 F7 legacy personal, first slice"]
    F7B["FE-3131 F7 remaining slices"]
    C140["FE-3140 event contract to shared package"]
  end
  subgraph EMIT["New events"]
    T3["FE-3109 T3 billing web bootstrap"]
    T3b["FE-3156 T3+ opaque RUM user id"]
    T5["FE-3115 T5 cloud entry and parity"]
    T6["FE-3116 T6 handoff contract"]
    T7["FE-3117 T7 attempt lifecycle"]
    T8["FE-3118 T8 journey and choices"]
    T9["FE-3119 T9 friction"]
    T10["FE-3120 T10 entry, session, return"]
    T11["FE-3121 T11 portal"]
    T12["FE-3122 T12 flag coverage"]
  end
  subgraph DASH["Dashboards"]
    T13["FE-3123 T13 PostHog rollout"]
    T14["FE-3124 T14 Frontend RUM tiles"]
  end
  T15["FE-3125 T15 verification"]
  T16["FE-3126 T16 rollout plan"]
  T2 --> T3
  T3 --> T3b
  F3 --> C140
  T3 --> C140
  C140 --> T7
  C140 --> T8
  C140 --> T10
  C140 --> T11
  T1 --> F3
  T1 --> T5
  T1 --> T6
  T1 --> T13
  T1 --> T14
  T2 --> T14
  F2 --> T7
  T3 --> T7
  T3 --> T8
  T3 --> T10
  T3 --> T11
  T3 --> T12
  T5 --> T11
  T6 --> T8
  T6 --> T10
  T7 --> T9
  T8 --> T9
  F1 --> T13
  F3 --> T13
  FIX --> T15
  T5 --> T15
  T9 --> T15
  T10 --> T15
  T11 --> T15
  T12 --> T15
  T13 --> T15
  T14 --> T15
  T13 --> T16
  T15 --> T16
  style T9 stroke-width:3px
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:high PR risk grade (advisory shadow check; grader-owned)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants