Skip to content

[backport cloud/1.55] feat(agent): show the credits paywall when the workspace runs out, not only when a send is refused - #19521

Merged
christian-byrne merged 26 commits into
Comfy-Org:cloud/1.55from
christian-byrne:backport-18967-to-cloud-1.55
Sep 30, 2026
Merged

christian-byrne merged 26 commits into
Comfy-Org:cloud/1.55from
christian-byrne:backport-18967-to-cloud-1.55

Conversation

@christian-byrne

Copy link
Copy Markdown
Contributor

Backport of #18967 to cloud/1.55.

Replays the source PR’s 23 linear commits and excludes its five merge commits. Conflict resolution preserves cloud/1.55 billing-store behavior and adapts the paywall telemetry/capability contracts to APIs available on this target. No websocket parser changes or unrelated mainline commits are included.

Validation:

  • pnpm typecheck
  • pnpm typecheck:browser
  • scoped Vitest: 9 files, 617 tests passed
  • pnpm build:cloud
  • offline Playwright: standing paywall lifecycle, 1 passed
  • scoped format/lint and git diff --check

Source PR: #18967

christian-byrne and others added 24 commits September 29, 2026 17:47
… refused send

The agent paywall was reachable from exactly one moment: a turn POST that came
back 402/`no_funds`, which `recordSendError` turns into an inline card. Every
other way a user meets the credit ceiling had no upgrade path at all.

Two things produce that ceiling server-side, and both emit the same
`team_billing:agent_credit_stopped`: the pre-turn gate on `AgentPostMessage`
(the panel's own POST, so the browser sees the 402) and the per-call gate on
`AgentLLMMessages`, the agent runtime's LLM hop. The frontend never calls that
second route, so a refusal there kills a turn with no admission error to render.
A user who simply does not type again gets nothing either: the one
`hasFunds === false` surface in the product is `useBillingBanner`'s
`outOfCredits`, which is gated to team plans and lives inside the settings
dialog.

Measured on 2026-09-25, the one full day the credit-stop event has existed: 65
of the 141 people who sent an agent message hit the ceiling, and 2 were shown a
way to pay. Every one of those 65 workspaces is `personal`, so none could have
seen the team banner.

So read the funds signal the client already holds instead of waiting for a
refusal to carry it. `AgentPanelRoot` already cleared paywalls when
`subscription.hasFunds` became true; this is the symmetric other half, rendering
the existing `AgentPaywallCard` beside the composer when it becomes false. It is
non-modal and disables nothing - the composer stays live.

`app:agent_paywall_shown` and `app:agent_paywall_cta_clicked` now carry a
required `surface` of `refused_send | credits_exhausted`. Without it a rise in
impressions is ambiguous between this fix landing and more users being refused.

Gated on the capability read having settled (an unsettled read cannot name the
right remediation), hidden when the presentation resolves to `unavailable`,
suppressed while an inline card is already on screen, and cloud-only. One
impression per exhaustion episode, reset when funds return.

The pre-existing paywall tests are scoped to the transcript via a new
`agent-conversation` testid, since two surfaces now render the same component
with the same copy; no assertion was weakened.
Align billing status fields with generated cloud@4c75dea output.

Amp-Thread-ID: https://ampcode.com/threads/T-01a0e60b-75fb-7411-9d36-582ff066db3b
@coderabbitai

coderabbitai Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords (2)
  • [release]
  • [backport

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: Team

Run ID: 76eedb3b-5ce1-4bf6-a3bb-9f1f3611e9a1

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

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

@christian-byrne christian-byrne added agent Comfy Agent product, integration, tests or product documentation backport Backporting a PR onto a release candidate cloud/1.55 Backport PRs for cloud 1.55 labels Sep 30, 2026
@github-actions
github-actions Bot requested a review from ryan-di September 30, 2026 01:04
@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright: ⏳ Running...

🎨 Storybook: 🚧 Building...

📦 Bundle Size

⏳ Size data collection in progress…

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 68.8 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.8 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.6 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 82.6 MB heap
dom-widget-order-dense-n200-w200-i120: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 572ms TBT · 100.1 MB heap
dom-widget-order-sparse-n1000-w20-i120: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 231ms TBT · 86.7 MB heap
extension-clean-combined-draw: · 52.9 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 1169ms TBT · 68.5 MB heap
extension-rgthree-prototype-draw: · 52.9 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 1177ms TBT · 74.0 MB heap
large-graph-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 79.8 MB heap
large-graph-pan: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 75.9 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 71.3 MB heap
legacy-node-drag: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 84.8 MB heap
minimap-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 80.4 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 79.2 MB heap
subgraph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 74.2 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.0 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 134ms TBT · 82.6 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 75.0 MB heap
vue-large-graph-idle: · 56.2 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 178.1 MB heap
vue-large-graph-pan: · 56.2 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 124ms TBT · 168.7 MB heap
vue-node-resize-workload: · 56.3 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 419ms TBT · 171.9 MB heap
vue-zoom-out-idle: · 56.2 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 166.9 MB heap
workflow-execution: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.8 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 9ms
canvas-idle: layout count 0
canvas-idle: style recalc count 12
canvas-idle: task duration 371ms
canvas-idle: script duration 10ms
canvas-idle: TBT 0ms
canvas-idle: heap used 68.8 MB
canvas-idle: DOM nodes -260
canvas-idle: event listeners -152
canvas-mouse-sweep: avg frame time 17ms
canvas-mouse-sweep: p95 frame time 17ms
canvas-mouse-sweep: layout duration 0ms
canvas-mouse-sweep: style recalc duration 15ms
canvas-mouse-sweep: layout count 0
canvas-mouse-sweep: style recalc count 45
canvas-mouse-sweep: task duration 752ms
canvas-mouse-sweep: script duration 163ms
canvas-mouse-sweep: TBT 0ms
canvas-mouse-sweep: heap used 65.8 MB
canvas-mouse-sweep: DOM nodes -261
canvas-mouse-sweep: event listeners -152
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 14ms
canvas-zoom-sweep: layout count 6
canvas-zoom-sweep: style recalc count 30
canvas-zoom-sweep: task duration 332ms
canvas-zoom-sweep: script duration 10ms
canvas-zoom-sweep: TBT 0ms
canvas-zoom-sweep: heap used 67.6 MB
canvas-zoom-sweep: DOM nodes 77
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 8ms
dom-widget-clipping: layout count 0
dom-widget-clipping: style recalc count 12
dom-widget-clipping: task duration 428ms
dom-widget-clipping: script duration 172ms
dom-widget-clipping: TBT 0ms
dom-widget-clipping: heap used 82.6 MB
dom-widget-clipping: DOM nodes 19
dom-widget-clipping: event listeners 0
dom-widget-order-dense-n200-w200-i120: avg frame time 17ms
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 855ms
dom-widget-order-dense-n200-w200-i120: script duration 69ms
dom-widget-order-dense-n200-w200-i120: TBT 572ms
dom-widget-order-dense-n200-w200-i120: heap used 100.1 MB
dom-widget-order-dense-n200-w200-i120: DOM nodes -147
dom-widget-order-dense-n200-w200-i120: event listeners -98
dom-widget-order-sparse-n1000-w20-i120: avg frame time 17ms
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 470ms
dom-widget-order-sparse-n1000-w20-i120: script duration 164ms
dom-widget-order-sparse-n1000-w20-i120: TBT 231ms
dom-widget-order-sparse-n1000-w20-i120: heap used 86.7 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 19ms
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 0
extension-clean-combined-draw: task duration 9177ms
extension-clean-combined-draw: script duration 7857ms
extension-clean-combined-draw: TBT 1169ms
extension-clean-combined-draw: heap used 68.5 MB
extension-clean-combined-draw: DOM nodes -17
extension-clean-combined-draw: event listeners 0
extension-rgthree-prototype-draw: avg frame time 19ms
extension-rgthree-prototype-draw: p95 frame time 50ms
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 9755ms
extension-rgthree-prototype-draw: script duration 8063ms
extension-rgthree-prototype-draw: TBT 1177ms
extension-rgthree-prototype-draw: heap used 74.0 MB
extension-rgthree-prototype-draw: DOM nodes -12
extension-rgthree-prototype-draw: event listeners 0
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 7ms
large-graph-idle: layout count 0
large-graph-idle: style recalc count 8
large-graph-idle: task duration 577ms
large-graph-idle: script duration 36ms
large-graph-idle: TBT 0ms
large-graph-idle: heap used 79.8 MB
large-graph-idle: DOM nodes -242
large-graph-idle: event listeners -152
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 12ms
large-graph-pan: layout count 0
large-graph-pan: style recalc count 67
large-graph-pan: task duration 1663ms
large-graph-pan: script duration 866ms
large-graph-pan: TBT 0ms
large-graph-pan: heap used 75.9 MB
large-graph-pan: DOM nodes -121
large-graph-pan: event listeners -87
large-graph-zoom: avg frame time 17ms
large-graph-zoom: p95 frame time 17ms
large-graph-zoom: layout duration 13ms
large-graph-zoom: style recalc duration 12ms
large-graph-zoom: layout count 60
large-graph-zoom: style recalc count 62
large-graph-zoom: task duration 1674ms
large-graph-zoom: script duration 788ms
large-graph-zoom: TBT 0ms
large-graph-zoom: heap used 71.3 MB
large-graph-zoom: DOM nodes -123
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 10ms
legacy-node-drag: layout count 0
legacy-node-drag: style recalc count 44
legacy-node-drag: task duration 1977ms
legacy-node-drag: script duration 1000ms
legacy-node-drag: TBT 0ms
legacy-node-drag: heap used 84.8 MB
legacy-node-drag: DOM nodes -257
legacy-node-drag: event listeners 6
minimap-idle: avg frame time 17ms
minimap-idle: p95 frame time 17ms
minimap-idle: layout duration 0ms
minimap-idle: style recalc duration 6ms
minimap-idle: layout count 0
minimap-idle: style recalc count 7
minimap-idle: task duration 491ms
minimap-idle: script duration 34ms
minimap-idle: TBT 0ms
minimap-idle: heap used 80.4 MB
minimap-idle: DOM nodes -246
minimap-idle: event listeners -152
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 11ms
subgraph-dom-widget-clipping: layout count 0
subgraph-dom-widget-clipping: style recalc count 47
subgraph-dom-widget-clipping: task duration 399ms
subgraph-dom-widget-clipping: script duration 148ms
subgraph-dom-widget-clipping: TBT 0ms
subgraph-dom-widget-clipping: heap used 79.2 MB
subgraph-dom-widget-clipping: DOM nodes 20
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 9ms
subgraph-idle: layout count 0
subgraph-idle: style recalc count 11
subgraph-idle: task duration 348ms
subgraph-idle: script duration 7ms
subgraph-idle: TBT 0ms
subgraph-idle: heap used 74.2 MB
subgraph-idle: DOM nodes -275
subgraph-idle: event listeners -198
subgraph-mouse-sweep: avg frame time 17ms
subgraph-mouse-sweep: p95 frame time 17ms
subgraph-mouse-sweep: layout duration 0ms
subgraph-mouse-sweep: style recalc duration 16ms
subgraph-mouse-sweep: layout count 0
subgraph-mouse-sweep: style recalc count 46
subgraph-mouse-sweep: task duration 696ms
subgraph-mouse-sweep: script duration 109ms
subgraph-mouse-sweep: TBT 0ms
subgraph-mouse-sweep: heap used 64.0 MB
subgraph-mouse-sweep: DOM nodes -275
subgraph-mouse-sweep: event listeners -209
subgraph-transition-enter: avg frame time 17ms
subgraph-transition-enter: p95 frame time 17ms
subgraph-transition-enter: layout duration 13ms
subgraph-transition-enter: style recalc duration 29ms
subgraph-transition-enter: layout count 5
subgraph-transition-enter: style recalc count 17
subgraph-transition-enter: task duration 887ms
subgraph-transition-enter: script duration 30ms
subgraph-transition-enter: TBT 134ms
subgraph-transition-enter: heap used 82.6 MB
subgraph-transition-enter: DOM nodes 13667
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 39ms
viewport-pan-sweep: layout count 0
viewport-pan-sweep: style recalc count 250
viewport-pan-sweep: task duration 5850ms
viewport-pan-sweep: script duration 2859ms
viewport-pan-sweep: TBT 0ms
viewport-pan-sweep: heap used 75.0 MB
viewport-pan-sweep: DOM nodes -230
viewport-pan-sweep: event listeners -163
vue-large-graph-idle: avg frame time 18ms
vue-large-graph-idle: p95 frame time 17ms
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 16815ms
vue-large-graph-idle: script duration 290ms
vue-large-graph-idle: TBT 0ms
vue-large-graph-idle: heap used 178.1 MB
vue-large-graph-idle: DOM nodes -8065
vue-large-graph-idle: event listeners -14928
vue-large-graph-pan: avg frame time 18ms
vue-large-graph-pan: p95 frame time 17ms
vue-large-graph-pan: layout duration 0ms
vue-large-graph-pan: style recalc duration 17ms
vue-large-graph-pan: layout count 0
vue-large-graph-pan: style recalc count 164
vue-large-graph-pan: task duration 20652ms
vue-large-graph-pan: script duration 913ms
vue-large-graph-pan: TBT 124ms
vue-large-graph-pan: heap used 168.7 MB
vue-large-graph-pan: DOM nodes -8062
vue-large-graph-pan: event listeners -14928
vue-node-resize-workload: avg frame time 18ms
vue-node-resize-workload: p95 frame time 17ms
vue-node-resize-workload: layout duration 23ms
vue-node-resize-workload: style recalc duration 78ms
vue-node-resize-workload: layout count 20
vue-node-resize-workload: style recalc count 20
vue-node-resize-workload: task duration 6007ms
vue-node-resize-workload: script duration 118ms
vue-node-resize-workload: TBT 419ms
vue-node-resize-workload: heap used 171.9 MB
vue-node-resize-workload: DOM nodes -8061
vue-node-resize-workload: event listeners -14928
vue-zoom-out-idle: avg frame time 18ms
vue-zoom-out-idle: p95 frame time 17ms
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 8293ms
vue-zoom-out-idle: script duration 140ms
vue-zoom-out-idle: TBT 0ms
vue-zoom-out-idle: heap used 166.9 MB
vue-zoom-out-idle: DOM nodes 0
vue-zoom-out-idle: event listeners 0
workflow-execution: avg frame time 17ms
workflow-execution: p95 frame time 17ms
workflow-execution: layout duration 1ms
workflow-execution: style recalc duration 17ms
workflow-execution: layout count 2
workflow-execution: style recalc count 11
workflow-execution: task duration 91ms
workflow-execution: script duration 9ms
workflow-execution: TBT 0ms
workflow-execution: heap used 64.8 MB
workflow-execution: DOM nodes 116
workflow-execution: event listeners 49
Raw data
{
  "timestamp": "2026-09-30T01:40:20.166Z",
  "gitSha": "e2068073e59fc3cf55e917a86bb42bd5d66cd057",
  "branch": "backport-18967-to-cloud-1.55",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2001.4130000000137,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 9.602,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 384.093,
      "heapDeltaBytes": 3106384,
      "heapUsedBytes": 70439276,
      "domNodes": -259,
      "jsHeapTotalBytes": 5234688,
      "scriptDurationMs": 10.261,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-idle",
      "durationMs": 2001.9190000000435,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 9.331,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 358.177,
      "heapDeltaBytes": 6189004,
      "heapUsedBytes": 73819780,
      "domNodes": -260,
      "jsHeapTotalBytes": 4710400,
      "scriptDurationMs": 8.765000000000002,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1750.7219999999961,
      "styleRecalcs": 45,
      "styleRecalcDurationMs": 13.966,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 798.9599999999999,
      "heapDeltaBytes": 9732280,
      "heapUsedBytes": 77459804,
      "domNodes": -261,
      "jsHeapTotalBytes": 5758976,
      "scriptDurationMs": 162.25900000000001,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1694.2980000000034,
      "styleRecalcs": 45,
      "styleRecalcDurationMs": 16.775,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 705.587,
      "heapDeltaBytes": -7093072,
      "heapUsedBytes": 60450240,
      "domNodes": -260,
      "jsHeapTotalBytes": 4710400,
      "scriptDurationMs": 163.311,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66999999999998,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1667.7809999999909,
      "styleRecalcs": 29,
      "styleRecalcDurationMs": 13.741,
      "layouts": 6,
      "layoutDurationMs": 1.019,
      "taskDurationMs": 331.959,
      "heapDeltaBytes": 3150496,
      "heapUsedBytes": 70843564,
      "domNodes": 76,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 10.059,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1667.7579999999352,
      "styleRecalcs": 30,
      "styleRecalcDurationMs": 13.568999999999999,
      "layouts": 6,
      "layoutDurationMs": 1.019,
      "taskDurationMs": 331.863,
      "heapDeltaBytes": 3083968,
      "heapUsedBytes": 70864148,
      "domNodes": 78,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 10.079999999999998,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 638.5999999999967,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 7.881999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 441.33399999999995,
      "heapDeltaBytes": 18931168,
      "heapUsedBytes": 86628320,
      "domNodes": 20,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 168.989,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 597.9650000000447,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 8.681000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 415.016,
      "heapDeltaBytes": 18596472,
      "heapUsedBytes": 86616380,
      "domNodes": 18,
      "jsHeapTotalBytes": 4718592,
      "scriptDurationMs": 174.46299999999997,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 1153.6939999999731,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 813.304,
      "heapDeltaBytes": 38482396,
      "heapUsedBytes": 105116268,
      "domNodes": 0,
      "jsHeapTotalBytes": 19034112,
      "scriptDurationMs": 65.74100000000001,
      "eventListeners": 0,
      "totalBlockingTimeMs": 546,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 1246.4399999998932,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 896.9229999999999,
      "heapDeltaBytes": 14279460,
      "heapUsedBytes": 104758136,
      "domNodes": -294,
      "jsHeapTotalBytes": 21909504,
      "scriptDurationMs": 72.671,
      "eventListeners": -195,
      "totalBlockingTimeMs": 598,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 844.2479999999932,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 468.71399999999943,
      "heapDeltaBytes": 14786572,
      "heapUsedBytes": 91609364,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 158.30100000000002,
      "eventListeners": 0,
      "totalBlockingTimeMs": 232,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 845.7710000000134,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 470.62699999999944,
      "heapDeltaBytes": 14829664,
      "heapUsedBytes": 90230060,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 169.304,
      "eventListeners": 0,
      "totalBlockingTimeMs": 230,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 10141.052000000001,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9189.235,
      "heapDeltaBytes": -12214640,
      "heapUsedBytes": 70668380,
      "domNodes": -20,
      "jsHeapTotalBytes": 4718592,
      "scriptDurationMs": 7869.313,
      "eventListeners": 0,
      "totalBlockingTimeMs": 1203,
      "frameDurationMs": 18.886666666666677,
      "p95FrameDurationMs": 49.89999999999782
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 10077.623000000018,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9165.341,
      "heapDeltaBytes": -9165404,
      "heapUsedBytes": 73046068,
      "domNodes": -14,
      "jsHeapTotalBytes": 3932160,
      "scriptDurationMs": 7844.027,
      "eventListeners": 0,
      "totalBlockingTimeMs": 1134,
      "frameDurationMs": 18.886666666666617,
      "p95FrameDurationMs": 50
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 10599.059000000012,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9763.992999999999,
      "heapDeltaBytes": -11174884,
      "heapUsedBytes": 70744164,
      "domNodes": -10,
      "jsHeapTotalBytes": 4718592,
      "scriptDurationMs": 8065.548,
      "eventListeners": 0,
      "totalBlockingTimeMs": 1157,
      "frameDurationMs": 18.890000000000025,
      "p95FrameDurationMs": 50
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 10592.952999999965,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9745.999,
      "heapDeltaBytes": 2541020,
      "heapUsedBytes": 84492464,
      "domNodes": -14,
      "jsHeapTotalBytes": 4718592,
      "scriptDurationMs": 8059.881,
      "eventListeners": 0,
      "totalBlockingTimeMs": 1197,
      "frameDurationMs": 18.886666666666677,
      "p95FrameDurationMs": 49.899999999999636
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2036.7930000000456,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.939000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 565.471,
      "heapDeltaBytes": -3821040,
      "heapUsedBytes": 83292432,
      "domNodes": -240,
      "jsHeapTotalBytes": -1282048,
      "scriptDurationMs": 34.63799999999999,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2041.1450000000286,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 6.457999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 589.0849999999999,
      "heapDeltaBytes": -2703604,
      "heapUsedBytes": 84066060,
      "domNodes": -243,
      "jsHeapTotalBytes": -1282048,
      "scriptDurationMs": 37.784,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2279.5810000000074,
      "styleRecalcs": 66,
      "styleRecalcDurationMs": 10.008999999999997,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1631.659,
      "heapDeltaBytes": 14843192,
      "heapUsedBytes": 79386244,
      "domNodes": 8,
      "jsHeapTotalBytes": 487424,
      "scriptDurationMs": 859.553,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2275.390000000016,
      "styleRecalcs": 68,
      "styleRecalcDurationMs": 13.284,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1693.864,
      "heapDeltaBytes": -8083436,
      "heapUsedBytes": 79800476,
      "domNodes": -250,
      "jsHeapTotalBytes": 516096,
      "scriptDurationMs": 871.5840000000001,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3490.1550000000157,
      "styleRecalcs": 62,
      "styleRecalcDurationMs": 11.129000000000003,
      "layouts": 60,
      "layoutDurationMs": 13.162,
      "taskDurationMs": 1673.351,
      "heapDeltaBytes": 9388560,
      "heapUsedBytes": 75280156,
      "domNodes": -251,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 785.133,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3541.9469999999365,
      "styleRecalcs": 62,
      "styleRecalcDurationMs": 12.549999999999995,
      "layouts": 60,
      "layoutDurationMs": 13.308,
      "taskDurationMs": 1674.354,
      "heapDeltaBytes": 7691256,
      "heapUsedBytes": 74336644,
      "domNodes": 6,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 790.776,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333338,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 3203.8279999999872,
      "styleRecalcs": 45,
      "styleRecalcDurationMs": 11.457999999999997,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1986.9160000000002,
      "heapDeltaBytes": -344052,
      "heapUsedBytes": 91008628,
      "domNodes": -255,
      "jsHeapTotalBytes": -602112,
      "scriptDurationMs": 1006.123,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 3184.033999999997,
      "styleRecalcs": 43,
      "styleRecalcDurationMs": 7.751000000000005,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1967.2800000000002,
      "heapDeltaBytes": -4144120,
      "heapUsedBytes": 86911796,
      "domNodes": -259,
      "jsHeapTotalBytes": -602112,
      "scriptDurationMs": 993.0459999999999,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2034.9779999999669,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 5.583000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 420.95899999999995,
      "heapDeltaBytes": -4396736,
      "heapUsedBytes": 84301772,
      "domNodes": -246,
      "jsHeapTotalBytes": -1019904,
      "scriptDurationMs": 33.38099999999999,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "minimap-idle",
      "durationMs": 2028.389000000061,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 6.850999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 561.1320000000001,
      "heapDeltaBytes": -4321764,
      "heapUsedBytes": 84238496,
      "domNodes": -246,
      "jsHeapTotalBytes": -495616,
      "scriptDurationMs": 33.708,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 580.5220000000304,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 11.398,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 400.2869999999999,
      "heapDeltaBytes": 14024316,
      "heapUsedBytes": 83019256,
      "domNodes": 20,
      "jsHeapTotalBytes": 5242880,
      "scriptDurationMs": 150.371,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 593.1140000000141,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 11.208999999999996,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 398.19900000000007,
      "heapDeltaBytes": 14067796,
      "heapUsedBytes": 83159088,
      "domNodes": 20,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 145.797,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2004.9440000000232,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 8.792,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 343.49699999999996,
      "heapDeltaBytes": 9813612,
      "heapUsedBytes": 79723000,
      "domNodes": -275,
      "jsHeapTotalBytes": 5234688,
      "scriptDurationMs": 7.034999999999999,
      "eventListeners": -198,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-idle",
      "durationMs": 1992.3800000000256,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 9.892,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 353.085,
      "heapDeltaBytes": 6305256,
      "heapUsedBytes": 75985076,
      "domNodes": -275,
      "jsHeapTotalBytes": 5496832,
      "scriptDurationMs": 7.375,
      "eventListeners": -198,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1704.9989999999866,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 14.479,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 736.494,
      "heapDeltaBytes": 1818556,
      "heapUsedBytes": 71802876,
      "domNodes": -275,
      "jsHeapTotalBytes": 5496832,
      "scriptDurationMs": 108.00900000000001,
      "eventListeners": -198,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1709.3029999999771,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 16.983999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 655.3570000000001,
      "heapDeltaBytes": -7800144,
      "heapUsedBytes": 62433708,
      "domNodes": -274,
      "jsHeapTotalBytes": 5234688,
      "scriptDurationMs": 109.2,
      "eventListeners": -220,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 1384.3049999999266,
      "styleRecalcs": 17,
      "styleRecalcDurationMs": 28.532999999999994,
      "layouts": 5,
      "layoutDurationMs": 12.968999999999998,
      "taskDurationMs": 887.1720000000003,
      "heapDeltaBytes": -6357816,
      "heapUsedBytes": 86570244,
      "domNodes": 13667,
      "jsHeapTotalBytes": 11272192,
      "scriptDurationMs": 29.991000000000003,
      "eventListeners": 2383,
      "totalBlockingTimeMs": 134,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8425.839999999993,
      "styleRecalcs": 249,
      "styleRecalcDurationMs": 38.128,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5826.606,
      "heapDeltaBytes": -10282564,
      "heapUsedBytes": 76457812,
      "domNodes": -242,
      "jsHeapTotalBytes": -40960,
      "scriptDurationMs": 2845.7490000000003,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.669999999999952,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8440.881999999987,
      "styleRecalcs": 251,
      "styleRecalcDurationMs": 40.092000000000006,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5874.256000000001,
      "heapDeltaBytes": 289648,
      "heapUsedBytes": 80832068,
      "domNodes": -218,
      "jsHeapTotalBytes": 708608,
      "scriptDurationMs": 2871.728,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333338,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 17536.103000000025,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 16855.821,
      "heapDeltaBytes": -22902424,
      "heapUsedBytes": 191420680,
      "domNodes": -8065,
      "jsHeapTotalBytes": -10285056,
      "scriptDurationMs": 275.275,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 17268.740999999976,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 16773.341,
      "heapDeltaBytes": -33770632,
      "heapUsedBytes": 181992612,
      "domNodes": -8065,
      "jsHeapTotalBytes": -20545536,
      "scriptDurationMs": 305.04200000000003,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.779999999999927,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 20975.497000000018,
      "styleRecalcs": 163,
      "styleRecalcDurationMs": 17.177000000000024,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 20694.844,
      "heapDeltaBytes": -39071336,
      "heapUsedBytes": 183731868,
      "domNodes": -8061,
      "jsHeapTotalBytes": -16486400,
      "scriptDurationMs": 953.026,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 144,
      "frameDurationMs": 17.780000000000047,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 20927.909999999996,
      "styleRecalcs": 164,
      "styleRecalcDurationMs": 16.955,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 20609.496,
      "heapDeltaBytes": -70293300,
      "heapUsedBytes": 170073368,
      "domNodes": -8062,
      "jsHeapTotalBytes": -18243584,
      "scriptDurationMs": 873.043,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 104,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 6207.326999999964,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 77.56099999999999,
      "layouts": 20,
      "layoutDurationMs": 23.056999999999995,
      "taskDurationMs": 6091.357999999999,
      "heapDeltaBytes": -44281336,
      "heapUsedBytes": 176883048,
      "domNodes": -8061,
      "jsHeapTotalBytes": 10473472,
      "scriptDurationMs": 129.21699999999998,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 451,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 5991.408999999976,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 77.88700000000001,
      "layouts": 20,
      "layoutDurationMs": 23.358000000000004,
      "taskDurationMs": 5922.843999999999,
      "heapDeltaBytes": 9103964,
      "heapUsedBytes": 183702232,
      "domNodes": -8061,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 106.56800000000001,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 387,
      "frameDurationMs": 17.776666666666703,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 8451.310999999918,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 8279.448999999999,
      "heapDeltaBytes": -11328432,
      "heapUsedBytes": 178289720,
      "domNodes": 0,
      "jsHeapTotalBytes": -28049408,
      "scriptDurationMs": 148.72299999999998,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.776666666666763,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 8532.256999999958,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 8306.289999999999,
      "heapDeltaBytes": 8801176,
      "heapUsedBytes": 171789504,
      "domNodes": 0,
      "jsHeapTotalBytes": -11010048,
      "scriptDurationMs": 132.116,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.779999999999927,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "workflow-execution",
      "durationMs": 447.084000000018,
      "styleRecalcs": 14,
      "styleRecalcDurationMs": 19.732999999999997,
      "layouts": 2,
      "layoutDurationMs": 0.5020000000000001,
      "taskDurationMs": 107.72300000000001,
      "heapDeltaBytes": 4865668,
      "heapUsedBytes": 67123380,
      "domNodes": 124,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 10.221999999999998,
      "eventListeners": 65,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "workflow-execution",
      "durationMs": 102.95800000005784,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 13.322,
      "layouts": 2,
      "layoutDurationMs": 0.7879999999999998,
      "taskDurationMs": 73.96,
      "heapDeltaBytes": 3067860,
      "heapUsedBytes": 68744992,
      "domNodes": 108,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 7.048999999999998,
      "eventListeners": 33,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    }
  ]
}

🔬 E2E Coverage

Metric Covered Total Pct
Lines 52472 79389 66.1% 🟡
Functions 0 0 — —
Branches 0 0 — —
Top 10 files by uncovered lines
File Coverage Missed
src/LGraphCanvas.ts 67.8% 1153
src/LGraphNode.ts 70.5% 382
src/extensions/core/cameraInfo/CameraInfoViewport.ts 2.5% 344
src/renderer/extensions/layerEditor/composables/useLayerEditorSession.ts 40.1% 332
src/platform/workspace/stores/billingOperationStore.ts 8.1% 330
src/LGraph.ts 79.2% 267
src/platform/workspace/stores/teamWorkspaceStore.ts 38.9% 256
src/core/billing/operationLifecycle.ts 1.2% 252
src/scripts/app.ts 73.2% 252
src/scripts/pnginfo.ts 20.7% 222

@codecov

codecov Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.18182% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/workbench/extensions/agent/AgentPanelRoot.vue 97.05% 1 Missing and 1 partial ⚠️
@@              Coverage Diff              @@
##             cloud/1.55   #19521   +/-   ##
=============================================
  Coverage              ?   84.62%           
=============================================
  Files                 ?     2314           
  Lines                 ?   131666           
  Branches              ?    35158           
=============================================
  Hits                  ?   111419           
  Misses                ?    19887           
  Partials              ?      360           
Flag Coverage Δ
unit 80.54% <98.18%> (?)

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

Files with missing lines Coverage Δ
src/composables/billing/useLegacyBilling.ts 73.26% <100.00%> (ø)
src/platform/telemetry/TelemetryRegistry.ts 42.85% <100.00%> (ø)
...emetry/providers/cloud/PostHogTelemetryProvider.ts 69.44% <100.00%> (ø)
...form/telemetry/providers/host/HostTelemetrySink.ts 45.80% <100.00%> (ø)
src/platform/telemetry/types.ts 96.07% <ø> (ø)
...tform/workspace/composables/useWorkspaceBilling.ts 96.21% <100.00%> (ø)
...h/extensions/agent/components/agent/AgentPanel.vue 96.80% <100.00%> (ø)
...nsions/agent/components/agent/ConversationView.vue 95.28% <100.00%> (ø)
.../extensions/agent/composables/useAgentDockMount.ts 100.00% <100.00%> (ø)
...s/agent/services/agent/agentPaywallPresentation.ts 100.00% <100.00%> (ø)
... and 3 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@christian-byrne
christian-byrne merged commit 26ba3f5 into Comfy-Org:cloud/1.55 Sep 30, 2026
66 checks passed
huntcsg added a commit that referenced this pull request Oct 1, 2026
…18664, #18665, #18401, #18413, #18390, #18974) (#19803)

## Summary

Single consolidated backport into `cloud/1.55` of Hunter's agent
telemetry / paywall attribution cluster. Each PR was cherry-picked
individually, in merge order, with conflicts resolved and typecheck +
the affected suites run before each commit.

| # | PR | Commit |
|---|---|---|
| 1 | [#18665](#18665)
instrument agent panel actions | `f937e5573a` |
| 2 | [#18401](#18401)
`agent_panel_open` on run attribution events (PM-1471) | `437f420c53` |
| 3 | [#18413](#18413)
read `agent_panel_open` fresh (PM-1472) | `f70be945cd` |
| 4 | [#18390](#18390)
attribute agent paywall purchases through checkout telemetry |
`ffbaaaea8d` |
| 5 | [#18974](#18974)
close E1/E3 agent paywall attribution gaps | `c1607791f0` |

### #18664 is not here — it already landed

The request listed six PRs.
[#18664](#18664)
(panel open time: pagehide teardown + visibility flag, G2/G3) **is
already on `cloud/1.55`**, backported as part of
[#19790](#19790)
("Complete 1.54 parity sweep"), which merged while this branch was being
built. Its commit body lists #18664 explicitly, and
`getPageVisibilityMetadata.{ts,test.ts}` are present on the base. This
branch was rebased onto the new `cloud/1.55` and the now-redundant
#18664 cherry-pick dropped. **All six PRs from the request are on
`cloud/1.55` once this merges.**

Applied in merge order rather than the order listed in the request:
#18390 (Sep 25) merged three days before #18974 (Sep 28), which is a
direct follow-up fixing #18390's E1/E3 gaps. Applying #18974 first would
have meant resolving the follow-up against a base missing the thing it
fixes.

### Two backport-specific commits on top

- `29fc07f3d6` **refactor(agent): split `reportWorkflowBound` for the
fallow CRAP gate.** #18665's `reportWorkflowBound` lands at cyclomatic
13 / CRAP 49.5 on this base, which `fallow` gates as a newly introduced
finding (it was the only one of the 9 reported findings actually
attributed to this PR — `complexity_introduced: 1`, the other 25 are
inherited). Extracted the pending-bind parking, the pending-bind take,
and the last-reported lookup into named helpers. Behaviour is unchanged:
the fallback passed to `lastReportedWorkflowFor` is the same expression
the old ternary's else branch computed, and it has no side effects. `npx
fallow audit --changed-since <base>` now returns `verdict: pass`,
`complexity_introduced: 0`.
- The five cherry-picks had their upstream **AI-agent `Co-authored-by:`
trailers stripped** (`Claude Fable 5`, `Amp`), which
`.github/scripts/check-ai-co-authors.sh` rejects. No human co-author
attribution was removed. The script passes locally against this base.

## Conflict resolutions

The recurring cause is that `cloud/1.55` already carries later work
these PRs predate — chiefly the #19521 backport (standing
credits-exhausted paywall), which introduced `AgentPaywallSurface`; the
#19497 backport (`app:agent_error` / TEL-8); and #19790's agent-panel
target handling.

**#18665 — `useAgentSession.ts`.** The incoming patch and `cloud/1.55`
both rewrote the malformed-event / message-done region. `cloud/1.55`'s
version is the superset: it has `trackMalformedStreamEvent` (TEL-8),
`markStoppedTurnReady`, and `handleActiveTab`. Kept that and folded in
#18665's additions — `turnStartedAt` cleanup on `agent_message_done` and
in the malformed path, `forgetActiveTurnStartedAt()`, and the
`onAskResolved` callback. Dropped #18665's `handleMessageDone`, whose
inline stopping→ready transition `markStoppedTurnReady` already
performs.

**#18665 — `AgentPanelRoot.vue`, against #19790.** Two conflicts
introduced by the rebase:
- #18665 relocates `start()` next to its new approval handlers. #19790
had already moved `start()` deliberately, with a comment explaining the
ordering against target startup. Kept #19790's call site and added only
the approval handlers, avoiding a second `start()`.
- `onNewChat` — #19790 replaced `setWorkflowTarget(activeWorkflow)` with
`retainWorkflowTarget()` / `startFollowingVisibleWorkflow()` keyed on
selection tags. Kept #19790's logic; #18665's contribution there is only
threading `source` into `newChat(source)`.

**#18390 / #18974 — `surface` field.** Roughly 20 conflicts across
`types.ts`, `PostHogTelemetryProvider`, `HostTelemetrySink`,
`TelemetryRegistry`, and `AgentPanelRoot` were the same shape:
`cloud/1.55` carries `surface` on `AgentPaywallShownMetadata` /
`AgentPaywallCtaMetadata`, #18390 branched before it existed. Kept
`cloud/1.55` in every case and folded in #18390's actual contribution,
the `{ source: 'agent_paywall' }` argument to `openAccountPrecondition`.

**#18390 — duplicates from a clean auto-merge.** Several files
auto-merged without a conflict but produced duplicate declarations,
because #18390 re-added what #19521 already backported. Removed the
duplicate copy in each: the paywall-impression `watch` in
`AgentPanelRoot.vue`, `claimPaywallImpression` in
`agentConversationStore.ts`, `trackAgentPaywallShown` /
`trackAgentPaywallCtaClicked` in `PostHogTelemetryProvider.ts`, and
duplicate type imports in `TelemetryRegistry.ts` and
`agentPaywallPresentation.ts`. `resolvePaywalls` was kept over the
incoming `setPaywallsResolved`, which has no definition on this branch.

**#18401 — `agentPanelStore.test.ts`.** Both sides appended tests at the
same point; kept both.

## Deliberately dropped

`#18974`'s one-line addition to the **`intent`-stage top-up event** in
`TopUpCreditsDialogContentWorkspace.vue`. `cloud/1.55`'s
`TopupBillingEvent` stage union is `BillingStarted | BillingSucceeded |
BillingFailed` — there is no `intent` stage, and `handlePrimaryAction`
emits no telemetry on the amount→confirm step. #18974 only *added
`payment_intent_source` to* an event that does not exist here, so there
was nothing to attribute. The field itself **is** on the type, and the
other five `payment_intent_source` call sites (`started`, two
synchronous failures, `succeeded`, `reportPurchaseError`) plus the
`adoptPendingOperation` poller hand-off all applied. E3's actual
coverage is intact.

Two test expectations were adjusted to match the branch rather than
upstream:
- `TopUpCreditsDialogContentWorkspace.test.ts` — the four `carries the
opening surface onto every top-up event` rows drop `'intent'` from their
expected stage collections, matching the dropped emit. They still assert
the whole projected `(stage, source)` collection, so the falsifier
#18974 relied on is preserved for every remaining site.
- `AgentPanelRoot.test.ts` — `attributes its CTA to the
credits_exhausted surface` now expects
`openAccountPrecondition('credits', { source: 'agent_paywall' })`. That
test came from #19521 and predates #18390's new argument.

## Tests

On `3b81246105`, rebased onto `b064d929ce`:

- `pnpm typecheck` — exit 0 across all five projects (app, account-core,
billing-web, account-ui, billing-contract).
- `pnpm lint` — **0 errors**, 198 warnings, all pre-existing
`import-x/no-restricted-paths` and `import-x/no-named-as-default-member`
in files this PR does not touch.
- `pnpm format:check` — clean.
- `pnpm vitest run src/workbench/extensions/agent src/platform/telemetry
src/extensions/core/agentPanel.test.ts` — **167 files passed, 2826
passed, 2 expected fail**, 0 failures.
- `pnpm test:unit` (whole suite) passed exit 0 on the pre-rebase tree;
it is re-running against this base, and CI is the authority on the
result.

Browser/Playwright tests were not run locally — those only run in CI,
and no claim is made about them here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent Comfy Agent product, integration, tests or product documentation backport Backporting a PR onto a release candidate cloud/1.55 Backport PRs for cloud 1.55

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants