Skip to content

FE-3119 feat(billing-web): report an abandoned checkout and the ending screen - #19948

Merged
dante01yoon merged 7 commits into
jaewon/fe-3119-payment-friction-events-3ds-redirect-and-return-abandon-2from
jaewon/fe-3119-payment-friction-events-3ds-redirect-and-return-abandon-3
Oct 3, 2026
Merged

dante01yoon merged 7 commits into
jaewon/fe-3119-payment-friction-events-3ds-redirect-and-return-abandon-2from
jaewon/fe-3119-payment-friction-events-3ds-redirect-and-return-abandon-3

Conversation

@dante01yoon

Copy link
Copy Markdown
Collaborator

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, 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 (four parts), in review
T6 FE-3116 Handoff contract and event PR 19687, merged
T7 FE-3117 Billing web attempt lifecycle PR 19809, PR 19810, PR 19811 merged, billing web cancel PR 19945 in review
T8 FE-3118 Billing web journey and choices PR 19819 (three parts), merged
T9 FE-3119 Payment friction events this PR
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 PR 19944, in review
T12 FE-3122 Flag coverage check PR 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, in review
T4+ FE-3162 Move the payload-helper tests to account-core PR 19940, in review
T10+ FE-3158 Billing web Try again after session creation fails PR 19941, in review
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 T9 stroke-width:3px
Loading

@coderabbitai

coderabbitai Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository: Comfy-Org/ComfyUI_frontend/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 898c0771-1ff6-4b85-8465-ba646654b187

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • 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 2, 2026 •

Copy link
Copy Markdown
Contributor

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 10/03/2026, 12:57:42 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 38f5b4dcff5e171230f264686989146a5a27586f

Full docs: ADR-DEVEX-LINT-0015

📦 Bundle Size

⏳ Size data collection in progress…

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.5 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.4 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.8 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 60.6 MB heap
dom-widget-order-dense-n200-w200-i120: · 31.1 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 462ms TBT · 80.2 MB heap
dom-widget-order-sparse-n1000-w20-i120: · 43.8 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 150ms TBT · 105.8 MB heap
extension-clean-combined-draw: · 34.5 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 113ms TBT · 84.9 MB heap
extension-rgthree-prototype-draw: · 34.1 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 117ms TBT · 78.9 MB heap
large-graph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 76.6 MB heap
large-graph-pan: · 59.6 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.3 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 61.5 MB heap
legacy-node-drag: · 59.5 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.5 MB heap
minimap-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 66.6 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 54.9 MB heap
subgraph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 72.5 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.1 MB heap
subgraph-transition-enter: · 49.8 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 127ms TBT · 103.0 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 78.2 MB heap
vue-large-graph-idle: · 39.9 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 176.3 MB heap
vue-large-graph-pan: · 30.9 avg FPS · 15.0 P5 FPS ❌ (target: ≥52) · 12ms TBT · 171.2 MB heap
vue-node-resize-workload: · 33.2 avg FPS · 17.1 P5 FPS ❌ (target: ≥52) · 0ms TBT · 195.8 MB heap
vue-zoom-out-idle: · 39.4 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 180.0 MB heap
workflow-execution: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 54.7 MB heap
agent-composer-empty-conversation-typing: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 70.9 MB heap
agent-composer-long-conversation-typing: · 59.1 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 116.3 MB heap

ℹ️ No baseline found — significance unavailable.

Absolute values
Metric Value
canvas-idle: avg frame time 17ms
canvas-idle: p95 frame time 17ms
canvas-idle: layout duration 0ms
canvas-idle: style recalc duration 3ms
canvas-idle: layout count 0
canvas-idle: style recalc count 9
canvas-idle: task duration 389ms
canvas-idle: script duration 10ms
canvas-idle: TBT 0ms
canvas-idle: heap used 63.5 MB
canvas-idle: DOM nodes 0
canvas-idle: event listeners 0
canvas-mouse-sweep: avg frame time 17ms
canvas-mouse-sweep: p95 frame time 17ms
canvas-mouse-sweep: layout duration 4ms
canvas-mouse-sweep: style recalc duration 16ms
canvas-mouse-sweep: layout count 12
canvas-mouse-sweep: style recalc count 64
canvas-mouse-sweep: task duration 714ms
canvas-mouse-sweep: script duration 130ms
canvas-mouse-sweep: TBT 0ms
canvas-mouse-sweep: heap used 65.4 MB
canvas-mouse-sweep: DOM nodes -116
canvas-mouse-sweep: event listeners -82
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 331ms
canvas-zoom-sweep: script duration 13ms
canvas-zoom-sweep: TBT 0ms
canvas-zoom-sweep: heap used 65.8 MB
canvas-zoom-sweep: DOM nodes -63
canvas-zoom-sweep: event listeners 15
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 3ms
dom-widget-clipping: layout count 0
dom-widget-clipping: style recalc count 13
dom-widget-clipping: task duration 405ms
dom-widget-clipping: script duration 147ms
dom-widget-clipping: TBT 0ms
dom-widget-clipping: heap used 60.6 MB
dom-widget-clipping: DOM nodes -116
dom-widget-clipping: event listeners 0
dom-widget-order-dense-n200-w200-i120: avg frame time 32ms
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 710ms
dom-widget-order-dense-n200-w200-i120: script duration 49ms
dom-widget-order-dense-n200-w200-i120: TBT 462ms
dom-widget-order-dense-n200-w200-i120: heap used 80.2 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 23ms
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 390ms
dom-widget-order-sparse-n1000-w20-i120: script duration 123ms
dom-widget-order-sparse-n1000-w20-i120: TBT 150ms
dom-widget-order-sparse-n1000-w20-i120: heap used 105.8 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 29ms
extension-clean-combined-draw: p95 frame time 50ms
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 1
extension-clean-combined-draw: task duration 6671ms
extension-clean-combined-draw: script duration 5306ms
extension-clean-combined-draw: TBT 113ms
extension-clean-combined-draw: heap used 84.9 MB
extension-clean-combined-draw: DOM nodes -71
extension-clean-combined-draw: event listeners -39
extension-rgthree-prototype-draw: avg frame time 29ms
extension-rgthree-prototype-draw: p95 frame time 50ms
extension-rgthree-prototype-draw: layout duration 0ms
extension-rgthree-prototype-draw: style recalc duration 1ms
extension-rgthree-prototype-draw: layout count 0
extension-rgthree-prototype-draw: style recalc count 3
extension-rgthree-prototype-draw: task duration 6978ms
extension-rgthree-prototype-draw: script duration 5483ms
extension-rgthree-prototype-draw: TBT 117ms
extension-rgthree-prototype-draw: heap used 78.9 MB
extension-rgthree-prototype-draw: DOM nodes -143
extension-rgthree-prototype-draw: event listeners -80
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 5ms
large-graph-idle: layout count 0
large-graph-idle: style recalc count 9
large-graph-idle: task duration 489ms
large-graph-idle: script duration 34ms
large-graph-idle: TBT 0ms
large-graph-idle: heap used 76.6 MB
large-graph-idle: DOM nodes -164
large-graph-idle: event listeners -82
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 13ms
large-graph-pan: layout count 0
large-graph-pan: style recalc count 70
large-graph-pan: task duration 1502ms
large-graph-pan: script duration 757ms
large-graph-pan: TBT 0ms
large-graph-pan: heap used 64.3 MB
large-graph-pan: DOM nodes -174
large-graph-pan: event listeners -82
large-graph-zoom: avg frame time 17ms
large-graph-zoom: p95 frame time 17ms
large-graph-zoom: layout duration 16ms
large-graph-zoom: style recalc duration 14ms
large-graph-zoom: layout count 60
large-graph-zoom: style recalc count 69
large-graph-zoom: task duration 1548ms
large-graph-zoom: script duration 701ms
large-graph-zoom: TBT 0ms
large-graph-zoom: heap used 61.5 MB
large-graph-zoom: DOM nodes 24
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 1791ms
legacy-node-drag: script duration 903ms
legacy-node-drag: TBT 0ms
legacy-node-drag: heap used 67.5 MB
legacy-node-drag: DOM nodes 0
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 3ms
minimap-idle: layout count 0
minimap-idle: style recalc count 8
minimap-idle: task duration 476ms
minimap-idle: script duration 34ms
minimap-idle: TBT 0ms
minimap-idle: heap used 66.6 MB
minimap-idle: DOM nodes -164
minimap-idle: event listeners -82
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 6ms
subgraph-dom-widget-clipping: layout count 0
subgraph-dom-widget-clipping: style recalc count 46
subgraph-dom-widget-clipping: task duration 371ms
subgraph-dom-widget-clipping: script duration 127ms
subgraph-dom-widget-clipping: TBT 0ms
subgraph-dom-widget-clipping: heap used 54.9 MB
subgraph-dom-widget-clipping: DOM nodes 0
subgraph-dom-widget-clipping: event listeners 6
subgraph-idle: avg frame time 17ms
subgraph-idle: p95 frame time 17ms
subgraph-idle: layout duration 0ms
subgraph-idle: style recalc duration 3ms
subgraph-idle: layout count 0
subgraph-idle: style recalc count 7
subgraph-idle: task duration 366ms
subgraph-idle: script duration 9ms
subgraph-idle: TBT 0ms
subgraph-idle: heap used 72.5 MB
subgraph-idle: DOM nodes 0
subgraph-idle: event listeners 0
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 17ms
subgraph-mouse-sweep: layout count 16
subgraph-mouse-sweep: style recalc count 77
subgraph-mouse-sweep: task duration 703ms
subgraph-mouse-sweep: script duration 97ms
subgraph-mouse-sweep: TBT 0ms
subgraph-mouse-sweep: heap used 63.1 MB
subgraph-mouse-sweep: DOM nodes -125
subgraph-mouse-sweep: event listeners -62
subgraph-transition-enter: avg frame time 20ms
subgraph-transition-enter: p95 frame time 17ms
subgraph-transition-enter: layout duration 10ms
subgraph-transition-enter: style recalc duration 25ms
subgraph-transition-enter: layout count 5
subgraph-transition-enter: style recalc count 19
subgraph-transition-enter: task duration 805ms
subgraph-transition-enter: script duration 25ms
subgraph-transition-enter: TBT 127ms
subgraph-transition-enter: heap used 103.0 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 41ms
viewport-pan-sweep: layout count 0
viewport-pan-sweep: style recalc count 250
viewport-pan-sweep: task duration 5148ms
viewport-pan-sweep: script duration 2489ms
viewport-pan-sweep: TBT 0ms
viewport-pan-sweep: heap used 78.2 MB
viewport-pan-sweep: DOM nodes -164
viewport-pan-sweep: event listeners -82
vue-large-graph-idle: avg frame time 25ms
vue-large-graph-idle: p95 frame time 50ms
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 13730ms
vue-large-graph-idle: script duration 243ms
vue-large-graph-idle: TBT 0ms
vue-large-graph-idle: heap used 176.3 MB
vue-large-graph-idle: DOM nodes -3045
vue-large-graph-idle: event listeners -14915
vue-large-graph-pan: avg frame time 32ms
vue-large-graph-pan: p95 frame time 67ms
vue-large-graph-pan: layout duration 0ms
vue-large-graph-pan: style recalc duration 21ms
vue-large-graph-pan: layout count 0
vue-large-graph-pan: style recalc count 147
vue-large-graph-pan: task duration 17285ms
vue-large-graph-pan: script duration 866ms
vue-large-graph-pan: TBT 12ms
vue-large-graph-pan: heap used 171.2 MB
vue-large-graph-pan: DOM nodes -3045
vue-large-graph-pan: event listeners -14915
vue-node-resize-workload: avg frame time 30ms
vue-node-resize-workload: p95 frame time 58ms
vue-node-resize-workload: layout duration 26ms
vue-node-resize-workload: style recalc duration 70ms
vue-node-resize-workload: layout count 20
vue-node-resize-workload: style recalc count 20
vue-node-resize-workload: task duration 5144ms
vue-node-resize-workload: script duration 95ms
vue-node-resize-workload: TBT 0ms
vue-node-resize-workload: heap used 195.8 MB
vue-node-resize-workload: DOM nodes 0
vue-node-resize-workload: event listeners 0
vue-zoom-out-idle: avg frame time 25ms
vue-zoom-out-idle: p95 frame time 50ms
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 7009ms
vue-zoom-out-idle: script duration 144ms
vue-zoom-out-idle: TBT 0ms
vue-zoom-out-idle: heap used 180.0 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 13ms
workflow-execution: layout count 4
workflow-execution: style recalc count 10
workflow-execution: task duration 87ms
workflow-execution: script duration 7ms
workflow-execution: TBT 0ms
workflow-execution: heap used 54.7 MB
workflow-execution: DOM nodes -3
workflow-execution: event listeners -61
agent-composer-empty-conversation-typing: avg frame time 17ms
agent-composer-empty-conversation-typing: p95 frame time 17ms
agent-composer-empty-conversation-typing: layout duration 19ms
agent-composer-empty-conversation-typing: style recalc duration 89ms
agent-composer-empty-conversation-typing: layout count 76
agent-composer-empty-conversation-typing: style recalc count 78
agent-composer-empty-conversation-typing: task duration 599ms
agent-composer-empty-conversation-typing: script duration 226ms
agent-composer-empty-conversation-typing: TBT 0ms
agent-composer-empty-conversation-typing: heap used 70.9 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 17ms
agent-composer-long-conversation-typing: p95 frame time 17ms
agent-composer-long-conversation-typing: layout duration 23ms
agent-composer-long-conversation-typing: style recalc duration 231ms
agent-composer-long-conversation-typing: layout count 76
agent-composer-long-conversation-typing: style recalc count 78
agent-composer-long-conversation-typing: task duration 1118ms
agent-composer-long-conversation-typing: script duration 350ms
agent-composer-long-conversation-typing: TBT 0ms
agent-composer-long-conversation-typing: heap used 116.3 MB
agent-composer-long-conversation-typing: DOM nodes 76
agent-composer-long-conversation-typing: event listeners 876
Raw data
{
  "timestamp": "2026-10-03T01:09:17.992Z",
  "gitSha": "e7261418fe79b900c11724a780c28bd5d040d462",
  "branch": "jaewon/fe-3119-payment-friction-events-3ds-redirect-and-return-abandon-3",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2016.9230000000198,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 3.0290000000000004,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 391.52500000000003,
      "heapDeltaBytes": 543156,
      "heapUsedBytes": 68063344,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 10.671999999999993,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666942148760327,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-idle",
      "durationMs": 2016.1919999999327,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 2.8979999999999997,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 387.39900000000006,
      "heapDeltaBytes": -254080,
      "heapUsedBytes": 65025580,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 10.325999999999995,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666115702479335,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1743.963000000008,
      "styleRecalcs": 74,
      "styleRecalcDurationMs": 16.601000000000003,
      "layouts": 12,
      "layoutDurationMs": 4.151999999999999,
      "taskDurationMs": 707.3660000000001,
      "heapDeltaBytes": -2566972,
      "heapUsedBytes": 65255108,
      "domNodes": 0,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 133.329,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665384615384614,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1714.5819999999503,
      "styleRecalcs": 53,
      "styleRecalcDurationMs": 14.665999999999999,
      "layouts": 12,
      "layoutDurationMs": 4.203,
      "taskDurationMs": 721.497,
      "heapDeltaBytes": -30811836,
      "heapUsedBytes": 71946024,
      "domNodes": -232,
      "jsHeapTotalBytes": -2359296,
      "scriptDurationMs": 127.58500000000001,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66568627450981,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1743.4469999999465,
      "styleRecalcs": 32,
      "styleRecalcDurationMs": 10.212,
      "layouts": 6,
      "layoutDurationMs": 1.188,
      "taskDurationMs": 344.344,
      "heapDeltaBytes": -745308,
      "heapUsedBytes": 59177840,
      "domNodes": 53,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 13.471,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665384615384614,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1693.9200000000483,
      "styleRecalcs": 30,
      "styleRecalcDurationMs": 9.190999999999999,
      "layouts": 6,
      "layoutDurationMs": 1.468,
      "taskDurationMs": 318.02699999999993,
      "heapDeltaBytes": 25318528,
      "heapUsedBytes": 78888848,
      "domNodes": -178,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 12.681000000000001,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.6656862745098,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 622.9120000000421,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 2.5260000000000007,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 400.269,
      "heapDeltaBytes": 13905032,
      "heapUsedBytes": 67752164,
      "domNodes": -231,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 145.031,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.667567567567588,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 616.4959999999837,
      "styleRecalcs": 14,
      "styleRecalcDurationMs": 3.1660000000000004,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 408.90000000000003,
      "heapDeltaBytes": -8084412,
      "heapUsedBytes": 59365812,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 148.543,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.667567567567563,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 1096.0119999999733,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 701.928,
      "heapDeltaBytes": 15385104,
      "heapUsedBytes": 83942252,
      "domNodes": 0,
      "jsHeapTotalBytes": 6455296,
      "scriptDurationMs": 49.27699999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 471,
      "frameDurationMs": 32.35294117647059,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 1074.9299999999948,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 718.597,
      "heapDeltaBytes": 15125728,
      "heapUsedBytes": 84276876,
      "domNodes": 0,
      "jsHeapTotalBytes": 6193152,
      "scriptDurationMs": 47.89400000000002,
      "eventListeners": 0,
      "totalBlockingTimeMs": 453,
      "frameDurationMs": 31.861764705882358,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 796.7380000000048,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 386.7579999999999,
      "heapDeltaBytes": 17346212,
      "heapUsedBytes": 103994872,
      "domNodes": 0,
      "jsHeapTotalBytes": 266240,
      "scriptDurationMs": 119.82799999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 146,
      "frameDurationMs": 22.857142857142858,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 796.991999999932,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 392.773,
      "heapDeltaBytes": 17118884,
      "heapUsedBytes": 117905528,
      "domNodes": 0,
      "jsHeapTotalBytes": 3411968,
      "scriptDurationMs": 127.07500000000002,
      "eventListeners": 0,
      "totalBlockingTimeMs": 154,
      "frameDurationMs": 22.857142857142858,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 7807.461999999987,
      "styleRecalcs": 1,
      "styleRecalcDurationMs": 0.33799999999999975,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 6889.292,
      "heapDeltaBytes": 1334720,
      "heapUsedBytes": 85502580,
      "domNodes": -142,
      "jsHeapTotalBytes": -3018752,
      "scriptDurationMs": 5615.155,
      "eventListeners": -78,
      "totalBlockingTimeMs": 184,
      "frameDurationMs": 30.467578125000003,
      "p95FrameDurationMs": 50.099999999999454
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 7069.585999999958,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 6453.476000000001,
      "heapDeltaBytes": 12668160,
      "heapUsedBytes": 92643132,
      "domNodes": 0,
      "jsHeapTotalBytes": -16777216,
      "scriptDurationMs": 4997.842000000001,
      "eventListeners": 0,
      "totalBlockingTimeMs": 41,
      "frameDurationMs": 27.495719844357975,
      "p95FrameDurationMs": 50
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 7696.54300000002,
      "styleRecalcs": 2,
      "styleRecalcDurationMs": 0.5780000000000004,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 7043.713,
      "heapDeltaBytes": -16455808,
      "heapUsedBytes": 68134620,
      "domNodes": -143,
      "jsHeapTotalBytes": -6688768,
      "scriptDurationMs": 5501.179,
      "eventListeners": -82,
      "totalBlockingTimeMs": 128,
      "frameDurationMs": 28.883458646616543,
      "p95FrameDurationMs": 50
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 7490.580000000023,
      "styleRecalcs": 3,
      "styleRecalcDurationMs": 0.8489999999999991,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 6912.507,
      "heapDeltaBytes": 12423348,
      "heapUsedBytes": 97281252,
      "domNodes": -142,
      "jsHeapTotalBytes": -1708032,
      "scriptDurationMs": 5465.062,
      "eventListeners": -78,
      "totalBlockingTimeMs": 106,
      "frameDurationMs": 29.760317460317463,
      "p95FrameDurationMs": 50
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2054.4150000000627,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 5.906,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 500.7569999999999,
      "heapDeltaBytes": -53479996,
      "heapUsedBytes": 71936360,
      "domNodes": -328,
      "jsHeapTotalBytes": -1146880,
      "scriptDurationMs": 33.445,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665853658536584,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2015.9419999999955,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 3.372,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 477.98800000000006,
      "heapDeltaBytes": 14167996,
      "heapUsedBytes": 88653124,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 34.961,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666942148760327,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2390.215000000012,
      "styleRecalcs": 70,
      "styleRecalcDurationMs": 13.128000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1536.511,
      "heapDeltaBytes": -19415112,
      "heapUsedBytes": 69430748,
      "domNodes": 0,
      "jsHeapTotalBytes": 823296,
      "scriptDurationMs": 796.198,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.90212765957447,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2267.8039999999555,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 12.397,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1468.1660000000002,
      "heapDeltaBytes": -60914448,
      "heapUsedBytes": 65394536,
      "domNodes": -348,
      "jsHeapTotalBytes": -2195456,
      "scriptDurationMs": 717.555,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665441176470587,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3688.1630000000314,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 14.219000000000001,
      "layouts": 60,
      "layoutDurationMs": 16.113000000000003,
      "taskDurationMs": 1585.175,
      "heapDeltaBytes": 168228,
      "heapUsedBytes": 64881812,
      "domNodes": 24,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 717.807,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66621621621622,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3580.1890000000185,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 13.673,
      "layouts": 60,
      "layoutDurationMs": 15.504,
      "taskDurationMs": 1511.7689999999998,
      "heapDeltaBytes": -150420,
      "heapUsedBytes": 63998688,
      "domNodes": 24,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 684.103,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666046511627908,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 3046.9810000000734,
      "styleRecalcs": 43,
      "styleRecalcDurationMs": 6.511000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1745.2200000000003,
      "heapDeltaBytes": 6197676,
      "heapUsedBytes": 70935804,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 879.701,
      "eventListeners": 180,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.85027624309392,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 3101.4279999999417,
      "styleRecalcs": 43,
      "styleRecalcDurationMs": 6.375000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1836.54,
      "heapDeltaBytes": 5882220,
      "heapUsedBytes": 70525184,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 926.639,
      "eventListeners": 180,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.75621621621622,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2014.711000000034,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 3.2939999999999983,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 473.4440000000001,
      "heapDeltaBytes": -12339300,
      "heapUsedBytes": 66957028,
      "domNodes": 0,
      "jsHeapTotalBytes": -225280,
      "scriptDurationMs": 34.776,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665289256198346,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2037.9910000000336,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 2.5509999999999993,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 478.4520000000001,
      "heapDeltaBytes": -26502580,
      "heapUsedBytes": 72685640,
      "domNodes": -328,
      "jsHeapTotalBytes": -2494464,
      "scriptDurationMs": 32.230000000000004,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.6655737704918,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 626.622999999995,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 6.130999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 382.443,
      "heapDeltaBytes": -12028436,
      "heapUsedBytes": 57391168,
      "domNodes": 0,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 131.42,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665789473684214,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 610.0880000000188,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 5.439000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 359.596,
      "heapDeltaBytes": -12100936,
      "heapUsedBytes": 57704992,
      "domNodes": 0,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 122.78500000000001,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2018.2780000000093,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 2.5450000000000004,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 359.95899999999995,
      "heapDeltaBytes": 21951260,
      "heapUsedBytes": 76401336,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 9.481,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666115702479342,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2014.3009999999322,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 2.5349999999999993,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 371.197,
      "heapDeltaBytes": 21961408,
      "heapUsedBytes": 75702868,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 9.32,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665289256198346,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1697.6869999999735,
      "styleRecalcs": 76,
      "styleRecalcDurationMs": 15.86,
      "layouts": 16,
      "layoutDurationMs": 5.6080000000000005,
      "taskDurationMs": 700.2929999999999,
      "heapDeltaBytes": -6397212,
      "heapUsedBytes": 63007936,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 97.95599999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66568627450981,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1691.3339999999835,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 18.845,
      "layouts": 16,
      "layoutDurationMs": 5.481,
      "taskDurationMs": 706.373,
      "heapDeltaBytes": 15243588,
      "heapUsedBytes": 69340724,
      "domNodes": -249,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 96.778,
      "eventListeners": -124,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 983.6210000000847,
      "styleRecalcs": 19,
      "styleRecalcDurationMs": 24.794000000000004,
      "layouts": 5,
      "layoutDurationMs": 9.830000000000002,
      "taskDurationMs": 804.9079999999999,
      "heapDeltaBytes": 22048304,
      "heapUsedBytes": 107980400,
      "domNodes": 13747,
      "jsHeapTotalBytes": 3932160,
      "scriptDurationMs": 24.912000000000003,
      "eventListeners": 2383,
      "totalBlockingTimeMs": 127,
      "frameDurationMs": 20.067346938775515,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8256.395999999995,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 41.356,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5120.581999999999,
      "heapDeltaBytes": 32382076,
      "heapUsedBytes": 95189164,
      "domNodes": -328,
      "jsHeapTotalBytes": 225280,
      "scriptDurationMs": 2439.546,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666194331983807,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8350.415999999996,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 40.819,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5175.212,
      "heapDeltaBytes": -18649820,
      "heapUsedBytes": 68883500,
      "domNodes": 0,
      "jsHeapTotalBytes": 823296,
      "scriptDurationMs": 2538.967,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 14485.268000000018,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 13772.116999999998,
      "heapDeltaBytes": -32942836,
      "heapUsedBytes": 181074700,
      "domNodes": -3045,
      "jsHeapTotalBytes": -1089536,
      "scriptDurationMs": 235.51500000000004,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 24.884192439862545,
      "p95FrameDurationMs": 49.900000000001455
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 14421.22500000005,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 13687.543000000001,
      "heapDeltaBytes": -20429948,
      "heapUsedBytes": 188609000,
      "domNodes": -3045,
      "jsHeapTotalBytes": 6049792,
      "scriptDurationMs": 250.805,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 25.247110332749564,
      "p95FrameDurationMs": 50
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 17664.251000000037,
      "styleRecalcs": 143,
      "styleRecalcDurationMs": 20.508,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 17276.240999999998,
      "heapDeltaBytes": -21687876,
      "heapUsedBytes": 178699396,
      "domNodes": -3045,
      "jsHeapTotalBytes": 8318976,
      "scriptDurationMs": 850.9250000000001,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 8,
      "frameDurationMs": 32.41467889908257,
      "p95FrameDurationMs": 66.70000000000073
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 17705.956000000013,
      "styleRecalcs": 151,
      "styleRecalcDurationMs": 20.853999999999985,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 17294.366,
      "heapDeltaBytes": -27575344,
      "heapUsedBytes": 180395260,
      "domNodes": -3045,
      "jsHeapTotalBytes": 8052736,
      "scriptDurationMs": 880.694,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 16,
      "frameDurationMs": 32.35703839122486,
      "p95FrameDurationMs": 66.70000000000073
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 5317.033000000038,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 69.52600000000001,
      "layouts": 20,
      "layoutDurationMs": 26.187999999999988,
      "taskDurationMs": 5205.805999999999,
      "heapDeltaBytes": 7499564,
      "heapUsedBytes": 207974652,
      "domNodes": 0,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 96.65499999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 31.0906432748538,
      "p95FrameDurationMs": 66.69999999999891
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 5254.66700000004,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 69.49000000000002,
      "layouts": 20,
      "layoutDurationMs": 25.743000000000002,
      "taskDurationMs": 5083.1720000000005,
      "heapDeltaBytes": 608160,
      "heapUsedBytes": 202648232,
      "domNodes": 0,
      "jsHeapTotalBytes": 786432,
      "scriptDurationMs": 93.533,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 29.16555555555556,
      "p95FrameDurationMs": 50.100000000000364
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 7452.092999999991,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 7123.142000000002,
      "heapDeltaBytes": -22813608,
      "heapUsedBytes": 181891332,
      "domNodes": -3045,
      "jsHeapTotalBytes": 7872512,
      "scriptDurationMs": 166.87799999999996,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 25.688620689655163,
      "p95FrameDurationMs": 50
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 7420.845000000099,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 6895.022000000001,
      "heapDeltaBytes": -30840224,
      "heapUsedBytes": 195594004,
      "domNodes": -3045,
      "jsHeapTotalBytes": 10858496,
      "scriptDurationMs": 121.08299999999994,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 25.05540540540541,
      "p95FrameDurationMs": 50
    },
    {
      "name": "workflow-execution",
      "durationMs": 120.30200000003788,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 12.525,
      "layouts": 3,
      "layoutDurationMs": 2.788,
      "taskDurationMs": 82.49199999999998,
      "heapDeltaBytes": 3857704,
      "heapUsedBytes": 57529496,
      "domNodes": 113,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 8.37,
      "eventListeners": 17,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.65714285714278,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "workflow-execution",
      "durationMs": 127.82399999991867,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 12.548,
      "layouts": 4,
      "layoutDurationMs": 1.802,
      "taskDurationMs": 91.633,
      "heapDeltaBytes": 3700288,
      "heapUsedBytes": 57151752,
      "domNodes": -118,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 5.519999999999999,
      "eventListeners": -138,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.657142857142908,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "agent-composer-empty-conversation-typing",
      "durationMs": 621.0470000000896,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 89.747,
      "layouts": 76,
      "layoutDurationMs": 19.197,
      "taskDurationMs": 583.3470000000001,
      "heapDeltaBytes": 15128920,
      "heapUsedBytes": 79750084,
      "domNodes": 76,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 217.119,
      "eventListeners": 876,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.667567567567563,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "agent-composer-empty-conversation-typing",
      "durationMs": 649.7440000000552,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 89.167,
      "layouts": 76,
      "layoutDurationMs": 19.409,
      "taskDurationMs": 615.2979999999999,
      "heapDeltaBytes": -16559832,
      "heapUsedBytes": 68919436,
      "domNodes": 76,
      "jsHeapTotalBytes": 10223616,
      "scriptDurationMs": 234.874,
      "eventListeners": 876,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66500000000001,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "agent-composer-long-conversation-typing",
      "durationMs": 1153.5890000000109,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 234.79,
      "layouts": 76,
      "layoutDurationMs": 22.96,
      "taskDurationMs": 1134.1380000000001,
      "heapDeltaBytes": 6926020,
      "heapUsedBytes": 112192708,
      "domNodes": 76,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 357.52,
      "eventListeners": 876,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.908695652173925,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "agent-composer-long-conversation-typing",
      "durationMs": 1126.395999999886,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 228.046,
      "layouts": 76,
      "layoutDurationMs": 23.201,
      "taskDurationMs": 1101.561,
      "heapDeltaBytes": 12502492,
      "heapUsedBytes": 131679648,
      "domNodes": 76,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 343.099,
      "eventListeners": 876,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.914925373134317,
      "p95FrameDurationMs": 16.700000000000728
    }
  ]
}

🔬 E2E Coverage

Metric Covered Total Pct
Lines 53627 82227 65.2% 🟡
Functions 0 0 — —
Branches 0 0 — —
Top 10 files by uncovered lines
File Coverage Missed
src/LGraphCanvas.ts 66.4% 1180
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/core/billing/operationLifecycle.ts 1.3% 297
src/LGraph.ts 79.0% 272
src/platform/workspace/stores/teamWorkspaceStore.ts 39.2% 258
src/scripts/app.ts 73.1% 255
src/core/webSessionIdentity.ts 3.3% 231
src/scripts/pnginfo.ts 20.7% 222

🎭 Playwright: ✅ 2184 passed, 0 failed · 3 flaky

📊 Browser Reports
  • chromium: View Report (✅ 2162 / ❌ 0 / ⚠️ 3 / ⏭️ 0)
  • chromium-2x: View Report (✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • chromium-0.5x: View Report (✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • mobile-chrome: View Report (✅ 19 / ❌ 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

@codecov

codecov Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.22222% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
.../billing-web/src/composables/useCheckoutJourney.ts 90.00% 0 Missing and 1 partial ⚠️
@@                                            Coverage Diff                                             @@
##           jaewon/fe-3119-payment-friction-events-3ds-redirect-and-return-abandon-2   #19948    +/-   ##
==========================================================================================================
  Coverage                                                                     84.82%   84.82%            
==========================================================================================================
  Files                                                                          3437     3437            
  Lines                                                                        164708   164740    +32     
  Branches                                                                      43058    42791   -267     
==========================================================================================================
+ Hits                                                                         139716   139747    +31     
- Misses                                                                        23031    23032     +1     
  Partials                                                                       1961     1961            
Flag Coverage Δ
billing-web-unit 92.13% <96.77%> (+0.03%) ⬆️
e2e 65.23% <ø> (-0.03%) ⬇️
unit 82.31% <100.00%> (+<0.01%) ⬆️
website-unit 79.95% <ø> (ø)

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

Files with missing lines Coverage Δ
...billing-web/src/composables/useFullPageCheckout.ts 94.67% <100.00%> (+0.27%) ⬆️
...s/billing-web/src/telemetry/billingWebTelemetry.ts 98.21% <100.00%> (+0.10%) ⬆️
...pps/billing-web/src/views/FullPageCheckoutView.vue 96.55% <100.00%> (+0.06%) ⬆️
...core/src/core/billing/telemetry/checkoutJourney.ts 79.31% <100.00%> (+8.47%) ⬆️
.../billing-web/src/composables/useCheckoutJourney.ts 96.29% <90.00%> (-1.44%) ⬇️

... and 6 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 added the risk:xhigh PR risk grade (advisory shadow check; grader-owned) label Oct 2, 2026

@christian-byrne christian-byrne left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed the exact stacked head and base: abandonment and ending events are mutually exclusive, payment-provider navigation is not misclassified as abandonment, and current hosted checks are settled green.

Full context for agent readers

The journey records its last reached phase, emits an ending once per ending kind, and uses beacon transport only for the page-exit abandonment event. This telemetry-only change does not alter session or workspace scope. Current review threads are clear.

@dante01yoon
dante01yoon merged commit 8814fe1 into jaewon/fe-3119-payment-friction-events-3ds-redirect-and-return-abandon-2 Oct 3, 2026
131 checks passed
@dante01yoon
dante01yoon deleted the jaewon/fe-3119-payment-friction-events-3ds-redirect-and-return-abandon-3 branch October 3, 2026 01:21
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
…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
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants