Skip to content

[backport cloud/1.57] fix(agent): move an agent-inserted workflow clear of the nodes it lands on (#21527) - #21627

Merged
christian-byrne merged 1 commit into
cloud/1.57from
backport-21527-to-cloud-1.57
Oct 22, 2026
Merged

christian-byrne merged 1 commit into
cloud/1.57from
backport-21527-to-cloud-1.57

Conversation

@christian-byrne

@christian-byrne christian-byrne commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #21527 to cloud/1.57.

An Agent template inserted into a tab that already has nodes no longer lands on top of them. In a live agent-turn frame, a created batch that intersects an existing node moves beside the existing content by one shared offset, keeping its internal layout. Catch-up, tab-return and human frames are unchanged. Companion core/1.57 carrier: #21628.

Product code is the source change unchanged. The cherry-pick conflicted only on release-line context: a JSDoc next to the new helper, a test-mock refactor around this branch's older fixture shape, and this branch's getWebSocket fixture (main renamed it getAgentSocket in #17469).

Full context for agent readers
  • Source: fix(agent): move an agent-inserted workflow clear of the nodes it lands on #21527, merged as bc0250c (PM-2232). Author and author date preserved; -x provenance kept. No AI co-author trailer.
  • Applicability: cloud/1.57 already carries ADR-CRDT-PLACEMENT-0035 and batchPlacement.ts byte-identical to the source's parent, so it has the offscreen-only placement this fixes. The new black-box spec fails on this branch's product files with the same message as on main.
  • Conflict resolution, context only:
    • layoutFollowerBridge.ts: new isLiveAgentUpdate placed above this branch's existing trySend JSDoc.
    • useAgentCrdtFollower.test.ts: took the source's switch from a factory mock to vi.mock(..., { spy: true }) + mockImplementation (needed so the real isLiveAgentUpdate export survives), without main's live-subscription counters, which this branch's tests do not use.
    • agentDuplicateInsertOpaqueWidgetWrite.spec.ts: kept this branch's inline doc_subscribe wait instead of the new subscribeAgentWorkflow helper; took the source's actor fix and side-by-side assertion.
    • New agentInsertWorkflowOverlapFixture.ts / utils/agentInsertWorkflowOverlap.ts: getAgentSocket → getWebSocket (this branch's agent doc frames ride /ws).
    • The core/1.57 and cloud/1.57 patches are byte-identical.
  • Black-box proof, --project=cloud, own ComfyUI CI container 0.0.27 plus a DISTRIBUTION=cloud VITE_USE_LEGACY_DEFAULT_GRAPH=true dev server:
    • parent (cloud/1.57 product files, new specs kept): agentInsertWorkflowOverlap.spec.ts fails — inserted "Template note" at (-420, 200) overlaps existing "Existing node A" at (0, 180) plus four more overlaps.
    • this head: passes, along with both agentDuplicateInsertOpaqueWidgetWrite cases and agentPastedNodeOrphanedOnRetarget (the human-paste scope guard).
  • Unit: Agent unit suite (src/workbench/extensions/agent) all passed, 1 expected fail. typecheck, typecheck:browser, oxlint, oxfmt clean.
  • Not run: a packaged Desktop build or a hosted Agent turn.
  • Release-train scope: 1.57 only, per this program's current backport grant. core/1.58 / cloud/1.58 also lack fix(agent): move an agent-inserted workflow clear of the nodes it lands on #21527 and are not touched here.

…ds on (#21527)

When the agent inserts a workflow into a tab that already has nodes, the
inserted nodes can land on top of the existing graph
([PM-2232](https://linear.app/comfyorg/issue/PM-2232/workflow-inserted-into-an-existing-tab-lands-on-top-of-the-existing)).
`get_template` commits as one `insert_workflow` op that carries the
template's baked-in coordinates, and neither cloud nor
comfy-multi-player translates them. The follower's placement
(ADR-CRDT-PLACEMENT-0035, from
[PM-1142](https://linear.app/comfyorg/issue/PM-1142)) only moved a batch
that landed far away and offscreen, so a batch landing on the user's
nodes kept its overlapping position. The Z-Image template spans x −420
to 1350, the same region as the default workflow.

Now, in a live frame written by an agent turn, a created batch with any
node that intersects an existing node moves beside the existing content
by the same single offset. The batch's internal layout is unchanged.
Catch-up frames, tab-return applies and human writes are excluded, so a
node a human pasted over another is not moved when the follower
resubscribes (`agentPastedNodeOrphanedOnRetarget.spec.ts` catches that
if the scope is dropped).

Behavior change to an existing pin:
`agentDuplicateInsertOpaqueWidgetWrite.spec.ts` asserted that two
inserts of the same template render pixel-identically on top of each
other. The second copy now lands beside the first. Its op fixture also
used `agent:e2e`, which fails the actor grammar and is dropped by the
follower; it now uses `agent:<thread>:<turn>` as cloud stamps it.

Known limitation, recorded in the ADR: an agent insert that lands while
its tab is inactive is applied on tab return without collision
placement, because the collected changes do not record their writer.

- New black-box case
`browser_tests/tests/agent/agentInsertWorkflowOverlap.spec.ts`: a canvas
with three nodes, then one `insert_workflow` carrying the Z-Image
template's node rects. Fails on `main` (`inserted "Template note" at
(-420, 200) overlaps existing "Existing node A" at (0, 180)`), passes
here; also asserts the template's relative layout is preserved.
- `agentDuplicateInsertOpaqueWidgetWrite.spec.ts` side-by-side assertion
fails on `main`, passes here.
- Unit: `batchPlacement.test.ts` (collision cases, hull-interior
non-collision stays put) and `liveGraphApplier.test.ts` (a live agent
batch moves, a replayed one does not). Both fail on `main`.
- `pnpm exec vitest run src/workbench/extensions/agent`: 177 files, 4027
passed.
- Full `browser_tests/tests/agent` on the `cloud` project locally: 352
of 355 passed. The three failures (two `agentConversationReplay`
screenshot comparisons and `agentReplyDrafts` "keeps its run approval
action live", which already passes under `test.fail`) fail identically
on `main` in the same environment.
- `pnpm typecheck`, `pnpm typecheck:browser`, oxlint, oxfmt clean.

(cherry picked from commit bc0250c)
@coderabbitai

coderabbitai Bot commented Oct 22, 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: 38075edd-26b4-4b0c-aa41-8482998e6fce

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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@christian-byrne christian-byrne added the cursor-review Trigger multi-model Cursor agent review on this PR label Oct 22, 2026
@github-actions
github-actions Bot requested a review from thedatalife October 22, 2026 01:22
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

📦 Bundle Size

⏳ Size data collection in progress…

⚡ Performance Report

❌ 8 scenarios below the ≥52 P5 FPS target. Expand the scenario timings below and profile the affected scenarios before merging.

Scenario timings

canvas-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 83.8 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.0 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 80.7 MB heap
dom-widget-clipping: · 58.4 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 87.0 MB heap
dom-widget-order-dense-n200-w200-i120: · 30.4 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 522ms TBT · 77.5 MB heap
dom-widget-order-sparse-n1000-w20-i120: · 40.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 216ms TBT · 72.3 MB heap
extension-clean-combined-draw: · 31.4 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 1019ms TBT · 77.5 MB heap
extension-rgthree-prototype-draw: · 31.9 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 866ms TBT · 83.8 MB heap
large-combo-open: · 45.6 avg FPS · 15.0 P5 FPS ❌ (target: ≥52) · 1ms TBT · 81.7 MB heap
large-graph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 71.5 MB heap
large-graph-pan: · 59.8 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 72.2 MB heap
large-graph-zoom: · 59.9 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 71.8 MB heap
legacy-node-drag: · 59.3 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 80.3 MB heap
minimap-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 75.2 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 80.5 MB heap
subgraph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.4 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 75.1 MB heap
subgraph-transition-enter: · 51.7 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 158ms TBT · 101.4 MB heap
viewport-pan-sweep: · 59.6 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 80.2 MB heap
vue-large-graph-idle: · 29.6 avg FPS · 15.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 252.1 MB heap
vue-large-graph-pan: · 23.9 avg FPS · 10.9 P5 FPS ❌ (target: ≥52) · 24ms TBT · 269.8 MB heap
vue-node-resize-workload: · 21.6 avg FPS · 10.0 P5 FPS ❌ (target: ≥52) · 5ms TBT · 244.5 MB heap
vue-zoom-out-idle: · 30.2 avg FPS · 15.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 242.4 MB heap
workflow-execution: · 56.5 avg FPS · 40.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 73.8 MB heap
agent-composer-empty-conversation-typing: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 78.9 MB heap
agent-composer-long-conversation-typing: · 59.1 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 109.4 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 3ms
canvas-idle: style recalc duration 3ms
canvas-idle: layout count 10
canvas-idle: style recalc count 10
canvas-idle: task duration 419ms
canvas-idle: script duration 9ms
canvas-idle: TBT 0ms
canvas-idle: heap used 83.8 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 3ms
canvas-mouse-sweep: style recalc duration 15ms
canvas-mouse-sweep: layout count 10
canvas-mouse-sweep: style recalc count 79
canvas-mouse-sweep: task duration 937ms
canvas-mouse-sweep: script duration 158ms
canvas-mouse-sweep: TBT 0ms
canvas-mouse-sweep: heap used 65.0 MB
canvas-mouse-sweep: DOM nodes 0
canvas-mouse-sweep: event listeners 6
canvas-zoom-sweep: avg frame time 17ms
canvas-zoom-sweep: p95 frame time 17ms
canvas-zoom-sweep: layout duration 3ms
canvas-zoom-sweep: style recalc duration 5ms
canvas-zoom-sweep: layout count 11
canvas-zoom-sweep: style recalc count 19
canvas-zoom-sweep: task duration 328ms
canvas-zoom-sweep: script duration 11ms
canvas-zoom-sweep: TBT 0ms
canvas-zoom-sweep: heap used 80.7 MB
canvas-zoom-sweep: DOM nodes 47
canvas-zoom-sweep: event listeners 37
dom-widget-clipping: avg frame time 17ms
dom-widget-clipping: p95 frame time 17ms
dom-widget-clipping: layout duration 3ms
dom-widget-clipping: style recalc duration 3ms
dom-widget-clipping: layout count 9
dom-widget-clipping: style recalc count 14
dom-widget-clipping: task duration 434ms
dom-widget-clipping: script duration 173ms
dom-widget-clipping: TBT 0ms
dom-widget-clipping: heap used 87.0 MB
dom-widget-clipping: DOM nodes 0
dom-widget-clipping: event listeners 0
dom-widget-order-dense-n200-w200-i120: avg frame time 33ms
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 870ms
dom-widget-order-dense-n200-w200-i120: script duration 69ms
dom-widget-order-dense-n200-w200-i120: TBT 522ms
dom-widget-order-dense-n200-w200-i120: heap used 77.5 MB
dom-widget-order-dense-n200-w200-i120: DOM nodes -192
dom-widget-order-dense-n200-w200-i120: event listeners -106
dom-widget-order-sparse-n1000-w20-i120: avg frame time 25ms
dom-widget-order-sparse-n1000-w20-i120: p95 frame time 17ms
dom-widget-order-sparse-n1000-w20-i120: layout duration 0ms
dom-widget-order-sparse-n1000-w20-i120: style recalc duration 0ms
dom-widget-order-sparse-n1000-w20-i120: layout count 0
dom-widget-order-sparse-n1000-w20-i120: style recalc count 0
dom-widget-order-sparse-n1000-w20-i120: task duration 486ms
dom-widget-order-sparse-n1000-w20-i120: script duration 159ms
dom-widget-order-sparse-n1000-w20-i120: TBT 216ms
dom-widget-order-sparse-n1000-w20-i120: heap used 72.3 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 32ms
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 9662ms
extension-clean-combined-draw: script duration 7880ms
extension-clean-combined-draw: TBT 1019ms
extension-clean-combined-draw: heap used 77.5 MB
extension-clean-combined-draw: DOM nodes -258
extension-clean-combined-draw: event listeners -68
extension-rgthree-prototype-draw: avg frame time 31ms
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 9183ms
extension-rgthree-prototype-draw: script duration 7459ms
extension-rgthree-prototype-draw: TBT 866ms
extension-rgthree-prototype-draw: heap used 83.8 MB
extension-rgthree-prototype-draw: DOM nodes -258
extension-rgthree-prototype-draw: event listeners -66
large-combo-open: avg frame time 22ms
large-combo-open: p95 frame time 67ms
large-combo-open: layout duration 3ms
large-combo-open: style recalc duration 14ms
large-combo-open: layout count 11
large-combo-open: style recalc count 23
large-combo-open: task duration 149ms
large-combo-open: script duration 8ms
large-combo-open: TBT 1ms
large-combo-open: heap used 81.7 MB
large-combo-open: DOM nodes 917
large-combo-open: event listeners 196
large-graph-idle: avg frame time 17ms
large-graph-idle: p95 frame time 17ms
large-graph-idle: layout duration 2ms
large-graph-idle: style recalc duration 2ms
large-graph-idle: layout count 9
large-graph-idle: style recalc count 10
large-graph-idle: task duration 533ms
large-graph-idle: script duration 33ms
large-graph-idle: TBT 0ms
large-graph-idle: heap used 71.5 MB
large-graph-idle: DOM nodes -268
large-graph-idle: event listeners -68
large-graph-pan: avg frame time 17ms
large-graph-pan: p95 frame time 17ms
large-graph-pan: layout duration 2ms
large-graph-pan: style recalc duration 6ms
large-graph-pan: layout count 7
large-graph-pan: style recalc count 68
large-graph-pan: task duration 1591ms
large-graph-pan: script duration 819ms
large-graph-pan: TBT 0ms
large-graph-pan: heap used 72.2 MB
large-graph-pan: DOM nodes -258
large-graph-pan: event listeners -66
large-graph-zoom: avg frame time 17ms
large-graph-zoom: p95 frame time 17ms
large-graph-zoom: layout duration 11ms
large-graph-zoom: style recalc duration 7ms
large-graph-zoom: layout count 65
large-graph-zoom: style recalc count 71
large-graph-zoom: task duration 1562ms
large-graph-zoom: script duration 778ms
large-graph-zoom: TBT 0ms
large-graph-zoom: heap used 71.8 MB
large-graph-zoom: DOM nodes -105
large-graph-zoom: event listeners -34
legacy-node-drag: avg frame time 17ms
legacy-node-drag: p95 frame time 17ms
legacy-node-drag: layout duration 1ms
legacy-node-drag: style recalc duration 5ms
legacy-node-drag: layout count 5
legacy-node-drag: style recalc count 45
legacy-node-drag: task duration 1930ms
legacy-node-drag: script duration 956ms
legacy-node-drag: TBT 0ms
legacy-node-drag: heap used 80.3 MB
legacy-node-drag: DOM nodes 0
legacy-node-drag: event listeners 182
minimap-idle: avg frame time 17ms
minimap-idle: p95 frame time 17ms
minimap-idle: layout duration 2ms
minimap-idle: style recalc duration 2ms
minimap-idle: layout count 7
minimap-idle: style recalc count 8
minimap-idle: task duration 529ms
minimap-idle: script duration 33ms
minimap-idle: TBT 0ms
minimap-idle: heap used 75.2 MB
minimap-idle: DOM nodes -258
minimap-idle: event listeners -68
subgraph-dom-widget-clipping: avg frame time 17ms
subgraph-dom-widget-clipping: p95 frame time 17ms
subgraph-dom-widget-clipping: layout duration 3ms
subgraph-dom-widget-clipping: style recalc duration 5ms
subgraph-dom-widget-clipping: layout count 10
subgraph-dom-widget-clipping: style recalc count 47
subgraph-dom-widget-clipping: task duration 426ms
subgraph-dom-widget-clipping: script duration 145ms
subgraph-dom-widget-clipping: TBT 0ms
subgraph-dom-widget-clipping: heap used 80.5 MB
subgraph-dom-widget-clipping: DOM nodes 0
subgraph-dom-widget-clipping: event listeners 46
subgraph-idle: avg frame time 17ms
subgraph-idle: p95 frame time 17ms
subgraph-idle: layout duration 3ms
subgraph-idle: style recalc duration 3ms
subgraph-idle: layout count 10
subgraph-idle: style recalc count 10
subgraph-idle: task duration 513ms
subgraph-idle: script duration 8ms
subgraph-idle: TBT 0ms
subgraph-idle: heap used 65.4 MB
subgraph-idle: DOM nodes -90
subgraph-idle: event listeners -57
subgraph-mouse-sweep: avg frame time 17ms
subgraph-mouse-sweep: p95 frame time 17ms
subgraph-mouse-sweep: layout duration 3ms
subgraph-mouse-sweep: style recalc duration 16ms
subgraph-mouse-sweep: layout count 9
subgraph-mouse-sweep: style recalc count 86
subgraph-mouse-sweep: task duration 892ms
subgraph-mouse-sweep: script duration 112ms
subgraph-mouse-sweep: TBT 0ms
subgraph-mouse-sweep: heap used 75.1 MB
subgraph-mouse-sweep: DOM nodes 0
subgraph-mouse-sweep: event listeners 6
subgraph-transition-enter: avg frame time 19ms
subgraph-transition-enter: p95 frame time 17ms
subgraph-transition-enter: layout duration 16ms
subgraph-transition-enter: style recalc duration 27ms
subgraph-transition-enter: layout count 5
subgraph-transition-enter: style recalc count 19
subgraph-transition-enter: task duration 1006ms
subgraph-transition-enter: script duration 28ms
subgraph-transition-enter: TBT 158ms
subgraph-transition-enter: heap used 101.4 MB
subgraph-transition-enter: DOM nodes 15953
subgraph-transition-enter: event listeners 3244
viewport-pan-sweep: avg frame time 17ms
viewport-pan-sweep: p95 frame time 17ms
viewport-pan-sweep: layout duration 2ms
viewport-pan-sweep: style recalc duration 18ms
viewport-pan-sweep: layout count 7
viewport-pan-sweep: style recalc count 249
viewport-pan-sweep: task duration 5863ms
viewport-pan-sweep: script duration 2711ms
viewport-pan-sweep: TBT 0ms
viewport-pan-sweep: heap used 80.2 MB
viewport-pan-sweep: DOM nodes -258
viewport-pan-sweep: event listeners -66
vue-large-graph-idle: avg frame time 34ms
vue-large-graph-idle: p95 frame time 67ms
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 18705ms
vue-large-graph-idle: script duration 302ms
vue-large-graph-idle: TBT 0ms
vue-large-graph-idle: heap used 252.1 MB
vue-large-graph-idle: DOM nodes -3330
vue-large-graph-idle: event listeners -653
vue-large-graph-pan: avg frame time 42ms
vue-large-graph-pan: p95 frame time 92ms
vue-large-graph-pan: layout duration 0ms
vue-large-graph-pan: style recalc duration 14ms
vue-large-graph-pan: layout count 0
vue-large-graph-pan: style recalc count 176
vue-large-graph-pan: task duration 23050ms
vue-large-graph-pan: script duration 836ms
vue-large-graph-pan: TBT 24ms
vue-large-graph-pan: heap used 269.8 MB
vue-large-graph-pan: DOM nodes -3330
vue-large-graph-pan: event listeners -651
vue-node-resize-workload: avg frame time 46ms
vue-node-resize-workload: p95 frame time 100ms
vue-node-resize-workload: layout duration 23ms
vue-node-resize-workload: style recalc duration 81ms
vue-node-resize-workload: layout count 20
vue-node-resize-workload: style recalc count 20
vue-node-resize-workload: task duration 8144ms
vue-node-resize-workload: script duration 145ms
vue-node-resize-workload: TBT 5ms
vue-node-resize-workload: heap used 244.5 MB
vue-node-resize-workload: DOM nodes -3330
vue-node-resize-workload: event listeners -653
vue-zoom-out-idle: avg frame time 33ms
vue-zoom-out-idle: p95 frame time 67ms
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 9202ms
vue-zoom-out-idle: script duration 137ms
vue-zoom-out-idle: TBT 0ms
vue-zoom-out-idle: heap used 242.4 MB
vue-zoom-out-idle: DOM nodes 0
vue-zoom-out-idle: event listeners 0
workflow-execution: avg frame time 18ms
workflow-execution: p95 frame time 25ms
workflow-execution: layout duration 4ms
workflow-execution: style recalc duration 12ms
workflow-execution: layout count 9
workflow-execution: style recalc count 9
workflow-execution: task duration 101ms
workflow-execution: script duration 10ms
workflow-execution: TBT 0ms
workflow-execution: heap used 73.8 MB
workflow-execution: DOM nodes 119
workflow-execution: event listeners 1
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 15ms
agent-composer-empty-conversation-typing: style recalc duration 1ms
agent-composer-empty-conversation-typing: layout count 76
agent-composer-empty-conversation-typing: style recalc count 5
agent-composer-empty-conversation-typing: task duration 409ms
agent-composer-empty-conversation-typing: script duration 196ms
agent-composer-empty-conversation-typing: TBT 0ms
agent-composer-empty-conversation-typing: heap used 78.9 MB
agent-composer-empty-conversation-typing: DOM nodes 4
agent-composer-empty-conversation-typing: event listeners 292
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 14ms
agent-composer-long-conversation-typing: style recalc duration 2ms
agent-composer-long-conversation-typing: layout count 76
agent-composer-long-conversation-typing: style recalc count 5
agent-composer-long-conversation-typing: task duration 474ms
agent-composer-long-conversation-typing: script duration 194ms
agent-composer-long-conversation-typing: TBT 0ms
agent-composer-long-conversation-typing: heap used 109.4 MB
agent-composer-long-conversation-typing: DOM nodes 4
agent-composer-long-conversation-typing: event listeners 292
Raw data
{
  "timestamp": "2026-10-22T01:35:26.965Z",
  "gitSha": "5e0f83b587b3ba5f877bfe50ad419534c8711441",
  "branch": "backport-21527-to-cloud-1.57",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2016.9309999999996,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 2.648,
      "layouts": 9,
      "layoutDurationMs": 2.371,
      "taskDurationMs": 338.446,
      "heapDeltaBytes": 22084532,
      "heapUsedBytes": 87621084,
      "domNodes": 0,
      "jsHeapTotalBytes": 3670016,
      "scriptDurationMs": 9.544,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665289256198346,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-idle",
      "durationMs": 2030.206000000021,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 2.9759999999999995,
      "layouts": 10,
      "layoutDurationMs": 2.913,
      "taskDurationMs": 499.992,
      "heapDeltaBytes": 22159588,
      "heapUsedBytes": 88078284,
      "domNodes": 0,
      "jsHeapTotalBytes": 3670016,
      "scriptDurationMs": 9.171,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.6655737704918,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1725.65000000003,
      "styleRecalcs": 73,
      "styleRecalcDurationMs": 13.999,
      "layouts": 11,
      "layoutDurationMs": 2.8719999999999994,
      "taskDurationMs": 839.274,
      "heapDeltaBytes": -7313040,
      "heapUsedBytes": 68150600,
      "domNodes": 0,
      "jsHeapTotalBytes": 8126464,
      "scriptDurationMs": 156.81499999999997,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.667307692307688,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1977.6110000000244,
      "styleRecalcs": 84,
      "styleRecalcDurationMs": 15.028,
      "layouts": 9,
      "layoutDurationMs": 2.583,
      "taskDurationMs": 1035.372,
      "heapDeltaBytes": -7276840,
      "heapUsedBytes": 68232560,
      "domNodes": 0,
      "jsHeapTotalBytes": 7602176,
      "scriptDurationMs": 160.061,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66638655462185,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1733.5319999999683,
      "styleRecalcs": 18,
      "styleRecalcDurationMs": 4.99,
      "layouts": 11,
      "layoutDurationMs": 2.852,
      "taskDurationMs": 277.44900000000007,
      "heapDeltaBytes": 18813824,
      "heapUsedBytes": 84296240,
      "domNodes": 47,
      "jsHeapTotalBytes": 4194304,
      "scriptDurationMs": 10.499,
      "eventListeners": 37,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665384615384617,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1704.6639999999798,
      "styleRecalcs": 19,
      "styleRecalcDurationMs": 5.328,
      "layouts": 11,
      "layoutDurationMs": 2.753,
      "taskDurationMs": 378.0129999999999,
      "heapDeltaBytes": 18329936,
      "heapUsedBytes": 85031364,
      "domNodes": 47,
      "jsHeapTotalBytes": 2883584,
      "scriptDurationMs": 11.140999999999998,
      "eventListeners": 37,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 611.2799999999652,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 2.7100000000000004,
      "layouts": 9,
      "layoutDurationMs": 2.493,
      "taskDurationMs": 429.94,
      "heapDeltaBytes": 25619764,
      "heapUsedBytes": 91468488,
      "domNodes": 0,
      "jsHeapTotalBytes": 3932160,
      "scriptDurationMs": 169.66400000000002,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.13055555555555,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 629.045999999903,
      "styleRecalcs": 14,
      "styleRecalcDurationMs": 2.763000000000001,
      "layouts": 9,
      "layoutDurationMs": 2.699,
      "taskDurationMs": 437.3090000000001,
      "heapDeltaBytes": 25168508,
      "heapUsedBytes": 91069496,
      "domNodes": 0,
      "jsHeapTotalBytes": 3670016,
      "scriptDurationMs": 175.703,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.11621621621622,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 1185.5150000000094,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 835.876,
      "heapDeltaBytes": -13269028,
      "heapUsedBytes": 81095036,
      "domNodes": -192,
      "jsHeapTotalBytes": 20455424,
      "scriptDurationMs": 68.89799999999998,
      "eventListeners": -106,
      "totalBlockingTimeMs": 516,
      "frameDurationMs": 32.86666666666666,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 1213.9399999999796,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 904.4039999999999,
      "heapDeltaBytes": -11169500,
      "heapUsedBytes": 81486852,
      "domNodes": -192,
      "jsHeapTotalBytes": 20193280,
      "scriptDurationMs": 69.981,
      "eventListeners": -106,
      "totalBlockingTimeMs": 528,
      "frameDurationMs": 32.881081081081064,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 845.8239999999932,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 492.99500000000006,
      "heapDeltaBytes": -5744832,
      "heapUsedBytes": 75304040,
      "domNodes": 0,
      "jsHeapTotalBytes": 266240,
      "scriptDurationMs": 162.44200000000004,
      "eventListeners": 0,
      "totalBlockingTimeMs": 221,
      "frameDurationMs": 24.9970588235294,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 844.0410000000611,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 478.3740000000001,
      "heapDeltaBytes": -3344976,
      "heapUsedBytes": 76366328,
      "domNodes": 0,
      "jsHeapTotalBytes": 266240,
      "scriptDurationMs": 156.33,
      "eventListeners": 0,
      "totalBlockingTimeMs": 210,
      "frameDurationMs": 24.99705882352943,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 10400.222999999984,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9485.734,
      "heapDeltaBytes": -23075460,
      "heapUsedBytes": 71790436,
      "domNodes": -258,
      "jsHeapTotalBytes": 3272704,
      "scriptDurationMs": 7713.717,
      "eventListeners": -68,
      "totalBlockingTimeMs": 928,
      "frameDurationMs": 32.09753086419753,
      "p95FrameDurationMs": 50.100000000000364
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 10630.485000000022,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9839.1,
      "heapDeltaBytes": -9137756,
      "heapUsedBytes": 90705664,
      "domNodes": -258,
      "jsHeapTotalBytes": 9302016,
      "scriptDurationMs": 8046.28,
      "eventListeners": -68,
      "totalBlockingTimeMs": 1110,
      "frameDurationMs": 31.645238095238092,
      "p95FrameDurationMs": 50.100000000000364
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 9575.891000000012,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 8769.553,
      "heapDeltaBytes": -11766764,
      "heapUsedBytes": 87411928,
      "domNodes": -258,
      "jsHeapTotalBytes": 6942720,
      "scriptDurationMs": 7073.228,
      "eventListeners": -64,
      "totalBlockingTimeMs": 667,
      "frameDurationMs": 31.627062706270628,
      "p95FrameDurationMs": 50.100000000000364
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 10373.144000000026,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9596.264,
      "heapDeltaBytes": -6081308,
      "heapUsedBytes": 88394304,
      "domNodes": -258,
      "jsHeapTotalBytes": 5369856,
      "scriptDurationMs": 7844.576,
      "eventListeners": -67,
      "totalBlockingTimeMs": 1065,
      "frameDurationMs": 31.130030030030035,
      "p95FrameDurationMs": 50.100000000000364
    },
    {
      "name": "large-combo-open",
      "durationMs": 207.78799999999364,
      "styleRecalcs": 23,
      "styleRecalcDurationMs": 14.308,
      "layouts": 11,
      "layoutDurationMs": 2.9619999999999997,
      "taskDurationMs": 149.257,
      "heapDeltaBytes": -8194864,
      "heapUsedBytes": 79138912,
      "domNodes": 917,
      "jsHeapTotalBytes": 3932160,
      "scriptDurationMs": 8.221999999999998,
      "eventListeners": 196,
      "totalBlockingTimeMs": 1,
      "frameDurationMs": 21.66999999999998,
      "p95FrameDurationMs": 66.70000000000073
    },
    {
      "name": "large-combo-open",
      "durationMs": 202.25600000003396,
      "styleRecalcs": 23,
      "styleRecalcDurationMs": 14.667000000000002,
      "layouts": 11,
      "layoutDurationMs": 3.3859999999999997,
      "taskDurationMs": 149.44599999999997,
      "heapDeltaBytes": 13088088,
      "heapUsedBytes": 92157440,
      "domNodes": 917,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 8.63,
      "eventListeners": 196,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 22.211111111111173,
      "p95FrameDurationMs": 66.69999999999982
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2039.9050000000898,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 2.3000000000000007,
      "layouts": 8,
      "layoutDurationMs": 2.3919999999999995,
      "taskDurationMs": 452.9740000000001,
      "heapDeltaBytes": -2719992,
      "heapUsedBytes": 76126688,
      "domNodes": -258,
      "jsHeapTotalBytes": 3534848,
      "scriptDurationMs": 31.051999999999996,
      "eventListeners": -68,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66585365853659,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2040.8729999999196,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 2.503,
      "layouts": 9,
      "layoutDurationMs": 2.4469999999999996,
      "taskDurationMs": 612.184,
      "heapDeltaBytes": -23191496,
      "heapUsedBytes": 73856992,
      "domNodes": -278,
      "jsHeapTotalBytes": 2523136,
      "scriptDurationMs": 35.60499999999999,
      "eventListeners": -68,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665853658536584,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2546.1099999999988,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 5.84,
      "layouts": 7,
      "layoutDurationMs": 2.9,
      "taskDurationMs": 1685.267,
      "heapDeltaBytes": 3311708,
      "heapUsedBytes": 83105128,
      "domNodes": -258,
      "jsHeapTotalBytes": 4808704,
      "scriptDurationMs": 833.152,
      "eventListeners": -66,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66513157894737,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2277.912000000015,
      "styleRecalcs": 67,
      "styleRecalcDurationMs": 5.9430000000000005,
      "layouts": 6,
      "layoutDurationMs": 1.6099999999999999,
      "taskDurationMs": 1497.319,
      "heapDeltaBytes": -11541708,
      "heapUsedBytes": 68274200,
      "domNodes": -258,
      "jsHeapTotalBytes": 3534848,
      "scriptDurationMs": 805.6540000000001,
      "eventListeners": -66,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.788888888888888,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3537.8580000000284,
      "styleRecalcs": 72,
      "styleRecalcDurationMs": 7.5040000000000004,
      "layouts": 65,
      "layoutDurationMs": 10.534999999999998,
      "taskDurationMs": 1554.128,
      "heapDeltaBytes": -13584660,
      "heapUsedBytes": 67943024,
      "domNodes": -234,
      "jsHeapTotalBytes": 5107712,
      "scriptDurationMs": 770.513,
      "eventListeners": -68,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666037735849056,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3524.5629999999437,
      "styleRecalcs": 70,
      "styleRecalcDurationMs": 7.398999999999999,
      "layouts": 64,
      "layoutDurationMs": 10.642,
      "taskDurationMs": 1569.0460000000003,
      "heapDeltaBytes": 925344,
      "heapUsedBytes": 82640916,
      "domNodes": 24,
      "jsHeapTotalBytes": 4456448,
      "scriptDurationMs": 785.999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.74571428571429,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 3007.355999999959,
      "styleRecalcs": 45,
      "styleRecalcDurationMs": 4.679000000000001,
      "layouts": 5,
      "layoutDurationMs": 1.2550000000000001,
      "taskDurationMs": 1923.6449999999998,
      "heapDeltaBytes": 5261044,
      "heapUsedBytes": 83732724,
      "domNodes": 0,
      "jsHeapTotalBytes": 2097152,
      "scriptDurationMs": 955.7359999999999,
      "eventListeners": 182,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.852513966480448,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2962.7409999999372,
      "styleRecalcs": 44,
      "styleRecalcDurationMs": 4.569000000000001,
      "layouts": 5,
      "layoutDurationMs": 1.1740000000000002,
      "taskDurationMs": 1936.9999999999998,
      "heapDeltaBytes": 6988008,
      "heapUsedBytes": 84709736,
      "domNodes": 0,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 955.3810000000001,
      "eventListeners": 182,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.855113636363637,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2024.287999999956,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 1.9850000000000008,
      "layouts": 7,
      "layoutDurationMs": 1.86,
      "taskDurationMs": 607.6020000000001,
      "heapDeltaBytes": -2039316,
      "heapUsedBytes": 79292212,
      "domNodes": -258,
      "jsHeapTotalBytes": 3272704,
      "scriptDurationMs": 31.924999999999994,
      "eventListeners": -68,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665289256198346,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2032.3360000001003,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 1.8800000000000006,
      "layouts": 7,
      "layoutDurationMs": 1.7499999999999998,
      "taskDurationMs": 450.251,
      "heapDeltaBytes": -2161824,
      "heapUsedBytes": 78514504,
      "domNodes": -258,
      "jsHeapTotalBytes": 3010560,
      "scriptDurationMs": 33.90899999999999,
      "eventListeners": -68,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.6655737704918,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 599.448999999936,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 5.031999999999999,
      "layouts": 10,
      "layoutDurationMs": 2.816,
      "taskDurationMs": 435.55,
      "heapDeltaBytes": 3096896,
      "heapUsedBytes": 80153772,
      "domNodes": 0,
      "jsHeapTotalBytes": 12845056,
      "scriptDurationMs": 146.424,
      "eventListeners": 46,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66944444444444,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 599.3059999999559,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 4.754,
      "layouts": 9,
      "layoutDurationMs": 2.613,
      "taskDurationMs": 417.049,
      "heapDeltaBytes": 21136444,
      "heapUsedBytes": 88584600,
      "domNodes": 0,
      "jsHeapTotalBytes": 3670016,
      "scriptDurationMs": 143.192,
      "eventListeners": 46,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666654,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2007.0179999999596,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 2.6920000000000006,
      "layouts": 10,
      "layoutDurationMs": 2.921,
      "taskDurationMs": 488.02500000000003,
      "heapDeltaBytes": -254640,
      "heapUsedBytes": 76634388,
      "domNodes": 0,
      "jsHeapTotalBytes": 7602176,
      "scriptDurationMs": 7.819,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66611570247934,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2036.8589999999358,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 2.548000000000001,
      "layouts": 9,
      "layoutDurationMs": 2.402,
      "taskDurationMs": 537.902,
      "heapDeltaBytes": -6250788,
      "heapUsedBytes": 60621808,
      "domNodes": -180,
      "jsHeapTotalBytes": 3932160,
      "scriptDurationMs": 8.321,
      "eventListeners": -114,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665573770491804,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1960.833999999977,
      "styleRecalcs": 86,
      "styleRecalcDurationMs": 16.485,
      "layouts": 9,
      "layoutDurationMs": 2.6519999999999992,
      "taskDurationMs": 882.9290000000001,
      "heapDeltaBytes": 11356752,
      "heapUsedBytes": 78314012,
      "domNodes": 0,
      "jsHeapTotalBytes": 3932160,
      "scriptDurationMs": 109.758,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66610169491526,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1960.7669999999189,
      "styleRecalcs": 86,
      "styleRecalcDurationMs": 16.16,
      "layouts": 9,
      "layoutDurationMs": 2.534,
      "taskDurationMs": 900.1320000000001,
      "heapDeltaBytes": 11659408,
      "heapUsedBytes": 79149976,
      "domNodes": 0,
      "jsHeapTotalBytes": 4194304,
      "scriptDurationMs": 114.253,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666101694915252,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 1435.434999999984,
      "styleRecalcs": 19,
      "styleRecalcDurationMs": 27.298999999999996,
      "layouts": 5,
      "layoutDurationMs": 16.131999999999998,
      "taskDurationMs": 1005.778,
      "heapDeltaBytes": 7193316,
      "heapUsedBytes": 106288772,
      "domNodes": 15953,
      "jsHeapTotalBytes": 19009536,
      "scriptDurationMs": 27.561999999999998,
      "eventListeners": 3244,
      "totalBlockingTimeMs": 158,
      "frameDurationMs": 19.333333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 9105.584999999905,
      "styleRecalcs": 249,
      "styleRecalcDurationMs": 17.593999999999998,
      "layouts": 7,
      "layoutDurationMs": 2.1420000000000003,
      "taskDurationMs": 5871.895,
      "heapDeltaBytes": -12500484,
      "heapUsedBytes": 84725720,
      "domNodes": -258,
      "jsHeapTotalBytes": 5861376,
      "scriptDurationMs": 2712.4330000000004,
      "eventListeners": -66,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.757904411764706,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 9273.799000000054,
      "styleRecalcs": 249,
      "styleRecalcDurationMs": 18.048,
      "layouts": 7,
      "layoutDurationMs": 2.249,
      "taskDurationMs": 5854.641,
      "heapDeltaBytes": -13448548,
      "heapUsedBytes": 83405052,
      "domNodes": -258,
      "jsHeapTotalBytes": 5074944,
      "scriptDurationMs": 2708.6890000000003,
      "eventListeners": -66,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.786437613019892,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 23008.053000000018,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 22153.002,
      "heapDeltaBytes": -16216540,
      "heapUsedBytes": 260053816,
      "domNodes": -3330,
      "jsHeapTotalBytes": 15716352,
      "scriptDurationMs": 328.671,
      "eventListeners": -653,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 39.68224137931035,
      "p95FrameDurationMs": 83.29999999999927
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 16287.797999999952,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 15256.291999999998,
      "heapDeltaBytes": -7847992,
      "heapUsedBytes": 268574148,
      "domNodes": -3330,
      "jsHeapTotalBytes": 22274048,
      "scriptDurationMs": 275.709,
      "eventListeners": -653,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 27.833504273504275,
      "p95FrameDurationMs": 50
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 19168.461999999978,
      "styleRecalcs": 171,
      "styleRecalcDurationMs": 13.361000000000011,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 18711.904000000002,
      "heapDeltaBytes": -10415104,
      "heapUsedBytes": 293779412,
      "domNodes": -3330,
      "jsHeapTotalBytes": 16961536,
      "scriptDurationMs": 833.422,
      "eventListeners": -651,
      "totalBlockingTimeMs": 24,
      "frameDurationMs": 33.101727115716756,
      "p95FrameDurationMs": 66.70000000000073
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 27850.790999999957,
      "styleRecalcs": 181,
      "styleRecalcDurationMs": 14.999999999999986,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 27387.36,
      "heapDeltaBytes": -18777804,
      "heapUsedBytes": 272075952,
      "domNodes": -3330,
      "jsHeapTotalBytes": 10997760,
      "scriptDurationMs": 839.249,
      "eventListeners": -651,
      "totalBlockingTimeMs": 24,
      "frameDurationMs": 50.7264116575592,
      "p95FrameDurationMs": 116.59999999999854
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 8307.061999999973,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 71.14599999999999,
      "layouts": 20,
      "layoutDurationMs": 21.328999999999986,
      "taskDurationMs": 8115.790000000001,
      "heapDeltaBytes": -37284984,
      "heapUsedBytes": 258158944,
      "domNodes": -3330,
      "jsHeapTotalBytes": 21745664,
      "scriptDurationMs": 130.442,
      "eventListeners": -653,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 46.36648044692738,
      "p95FrameDurationMs": 100
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 8310.193000000027,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 91.04700000000001,
      "layouts": 20,
      "layoutDurationMs": 23.72300000000001,
      "taskDurationMs": 8173.160000000001,
      "heapDeltaBytes": -28156432,
      "heapUsedBytes": 254490288,
      "domNodes": -3330,
      "jsHeapTotalBytes": 17293312,
      "scriptDurationMs": 159.261,
      "eventListeners": -653,
      "totalBlockingTimeMs": 9,
      "frameDurationMs": 46.10888888888889,
      "p95FrameDurationMs": 100
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 7802.557999999976,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 7346.499000000002,
      "heapDeltaBytes": 8744392,
      "heapUsedBytes": 254736372,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 111.73999999999995,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 26.05466666666666,
      "p95FrameDurationMs": 50.099999999998545
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 11383.909000000018,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 11057.345,
      "heapDeltaBytes": 4081476,
      "heapUsedBytes": 253576268,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 161.39700000000002,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 40.22226148409893,
      "p95FrameDurationMs": 83.39999999999782
    },
    {
      "name": "workflow-execution",
      "durationMs": 150.2779999999575,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 13.318000000000001,
      "layouts": 9,
      "layoutDurationMs": 3.921,
      "taskDurationMs": 116.321,
      "heapDeltaBytes": 4768512,
      "heapUsedBytes": 77448620,
      "domNodes": 120,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 13.491,
      "eventListeners": 1,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 18.75,
      "p95FrameDurationMs": 33.30000000000018
    },
    {
      "name": "workflow-execution",
      "durationMs": 118.29800000009527,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 11.064,
      "layouts": 8,
      "layoutDurationMs": 3.4720000000000004,
      "taskDurationMs": 86.516,
      "heapDeltaBytes": 4456528,
      "heapUsedBytes": 77233680,
      "domNodes": 117,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 6.200000000000001,
      "eventListeners": 1,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.67500000000001,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "agent-composer-empty-conversation-typing",
      "durationMs": 450.5219999999781,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 0.945,
      "layouts": 76,
      "layoutDurationMs": 14.033999999999999,
      "taskDurationMs": 395.25,
      "heapDeltaBytes": 10963904,
      "heapUsedBytes": 82730160,
      "domNodes": 4,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 189.718,
      "eventListeners": 292,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "agent-composer-empty-conversation-typing",
      "durationMs": 478.80399999996825,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 1.019,
      "layouts": 76,
      "layoutDurationMs": 15.135,
      "taskDurationMs": 423.25399999999996,
      "heapDeltaBytes": 11395984,
      "heapUsedBytes": 82661016,
      "domNodes": 4,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 201.609,
      "eventListeners": 292,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665517241379316,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "agent-composer-long-conversation-typing",
      "durationMs": 474.6020000000044,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 1.863,
      "layouts": 76,
      "layoutDurationMs": 13.158,
      "taskDurationMs": 442.57099999999997,
      "heapDeltaBytes": -399288,
      "heapUsedBytes": 121450276,
      "domNodes": 4,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 175.43800000000002,
      "eventListeners": 292,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "agent-composer-long-conversation-typing",
      "durationMs": 555.6450000000268,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 1.824,
      "layouts": 76,
      "layoutDurationMs": 14.807,
      "taskDurationMs": 505.982,
      "heapDeltaBytes": -739276,
      "heapUsedBytes": 107946836,
      "domNodes": 4,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 211.784,
      "eventListeners": 292,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.169696969696982,
      "p95FrameDurationMs": 16.700000000000728
    }
  ]
}

🔬 E2E Coverage

Line coverage: 64.5%

Coverage totals
Metric Covered Total Pct
Lines 56154 87040 64.5% 🟡
Functions 0 0 — —
Branches 0 0 — —
Top 10 files by uncovered lines
File Coverage Missed
src/LGraphCanvas.ts 66.6% 1172
src/LGraphNode.ts 70.6% 387
src/platform/workspace/stores/billingOperationStore.ts 7.9% 375
src/renderer/extensions/layerEditor/composables/useLayerEditorSession.ts 40.1% 332
src/core/billing/operationLifecycle.ts 1.3% 303
src/LGraph.ts 78.9% 274
src/platform/workspace/stores/teamWorkspaceStore.ts 47.5% 245
src/core/webSessionIdentity.ts 3.3% 231
src/core/graph/widgets/dynamicGroupWidget.ts 0.4% 224
src/scripts/pnginfo.ts 20.7% 222

🎭 Playwright: ✅ 2283 passed, 0 failed · 1 flaky

📊 Browser Reports
  • chromium: View Report (✅ 2261 / ❌ 0 / ⚠️ 1 / ⏭️ 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)

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 10/22/2026, 01:23:59 AM UTC

Links

🧩 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

🌾 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 9b260204b9a30fb2ecc7665398103d158414825f

Full docs: ADR-DEVEX-LINT-0015

@github-actions github-actions Bot added the risk:high PR risk grade (advisory shadow check; grader-owned) label Oct 22, 2026
@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@              Coverage Diff              @@
##             cloud/1.57   #21627   +/-   ##
=============================================
  Coverage              ?   85.84%           
=============================================
  Files                 ?     2715           
  Lines                 ?   152616           
  Branches              ?    40563           
=============================================
  Hits                  ?   131006           
  Misses                ?    21220           
  Partials              ?      390           
Flag Coverage Δ
e2e 64.68% <ø> (?)
unit 85.15% <100.00%> (?)

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

Files with missing lines Coverage Δ
...bench/extensions/agent/crdt/agentCrdtProjection.ts 98.85% <100.00%> (ø)
.../workbench/extensions/agent/crdt/batchPlacement.ts 100.00% <100.00%> (ø)
...ench/extensions/agent/crdt/layoutFollowerBridge.ts 99.57% <100.00%> (ø)
...orkbench/extensions/agent/crdt/liveGraphApplier.ts 95.39% <100.00%> (ø)
...ench/extensions/agent/crdt/useAgentCrdtFollower.ts 97.79% <100.00%> (ø)
🚀 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 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.

🔍 Cursor Review — Consolidated panel

Triggered by @christian-byrne.

Found 4 finding(s).

Severity Count
🟡 Medium 1
🟢 Low 2
⚪ Nit 1

Panel: 6/6 reviewers contributed findings.

christian-byrne added a commit that referenced this pull request Oct 22, 2026
…r of the nodes it lands on (#21527) (#21628)

Backport of #21527 to `core/1.57`.

An Agent template inserted into a tab that already has nodes no longer
lands on top of them. In a live agent-turn frame, a created batch that
intersects an existing node moves beside the existing content by one
shared offset, keeping its internal layout. Catch-up, tab-return and
human frames are unchanged. Companion `cloud/1.57` carrier: #21627.

Product code is the source change unchanged. The cherry-pick conflicted
only on release-line context: a JSDoc next to the new helper, a
test-mock refactor around this branch's older fixture shape, and this
branch's `getWebSocket` fixture (main renamed it `getAgentSocket` in
#17469).

<details><summary>Full context for agent readers</summary>

- Source: #21527, merged as bc0250c
([PM-2232](https://linear.app/comfyorg/issue/PM-2232/workflow-inserted-into-an-existing-tab-lands-on-top-of-the-existing)).
Author and author date preserved; `-x` provenance kept. No AI co-author
trailer.
- Applicability: `core/1.57` already carries ADR-CRDT-PLACEMENT-0035 and
`batchPlacement.ts` byte-identical to the source's parent, so it has the
offscreen-only placement this fixes. The new black-box spec fails on
this branch's product files with the same message as on `main`.
- Conflict resolution, context only:
- `layoutFollowerBridge.ts`: new `isLiveAgentUpdate` placed above this
branch's existing `trySend` JSDoc.
- `useAgentCrdtFollower.test.ts`: took the source's switch from a
factory mock to `vi.mock(..., { spy: true })` + `mockImplementation`
(needed so the real `isLiveAgentUpdate` export survives), without main's
live-subscription counters, which this branch's tests do not use.
- `agentDuplicateInsertOpaqueWidgetWrite.spec.ts`: kept this branch's
inline `doc_subscribe` wait instead of the new `subscribeAgentWorkflow`
helper; took the source's actor fix and side-by-side assertion.
- New `agentInsertWorkflowOverlapFixture.ts` /
`utils/agentInsertWorkflowOverlap.ts`: `getAgentSocket` → `getWebSocket`
(this branch's agent doc frames ride `/ws`).
  - The `core/1.57` and `cloud/1.57` patches are byte-identical.
- Black-box proof, `--project=cloud`, own ComfyUI CI container 0.0.27
plus a `DISTRIBUTION=cloud VITE_USE_LEGACY_DEFAULT_GRAPH=true` dev
server:
- parent (`core/1.57` product files, new specs kept):
`agentInsertWorkflowOverlap.spec.ts` **fails** — `inserted "Template
note" at (-420, 200) overlaps existing "Existing node A" at (0, 180)`
plus four more overlaps.
- this head: **passes**, along with both
`agentDuplicateInsertOpaqueWidgetWrite` cases and
`agentPastedNodeOrphanedOnRetarget` (the human-paste scope guard).
- Unit: Agent unit suite (`src/workbench/extensions/agent`) all passed,
1 expected fail. `typecheck`, `typecheck:browser`, oxlint, oxfmt clean.
- Not run: a packaged Desktop build or a hosted Agent turn.
- Release-train scope: 1.57 only, per this program's current backport
grant. `core/1.58` / `cloud/1.58` also lack #21527 and are not touched
here.

</details>

@christian-byrne christian-byrne left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Backport review: clean, merging under the release-backport grant.

  • Faithful carry of #21527 (bc0250c6b3) onto cloud/1.57 (9b260204b9). Product hunks identical to main; only test change is getAgentSocket → getWebSocket (this train predates #17469).
  • Black-box proof red on parent, green on carrier; all exact-head checks green.
  • 4 cursor-review findings answered in thread: 3 were already ruled on the source PR, 1 fixture nit is identical on main. No divergence from main.
Full context for agent readers
  • Authority: program/release-backport-authority.md (Agent backports to cloud/1.57 are in the active train set). Author cannot self-approve, so this is a COMMENT review per that grant.
  • Applicability and conflict resolution: https://github.com/christian-byrne/in-app-agent-program/blob/main/reports/jobs/oploop-873a.md
  • Exact head 5804c4ccde428a1178ae4550375f58f530501774, base tip 9b260204b9a30fb2ecc7665398103d158414825f (ancestor of head). 129 checks pass, 30 skipped, 0 failing or pending, including playwright-tests-cloud-sharded 1–4 and e2e-status.
  • Red on parent: agentInsertWorkflowOverlap.spec.ts fails on the target's own product files with inserted "Template note" at (-420, 200) overlaps existing "Existing node A" at (0, 180); green on the carrier, plus both agentDuplicateInsertOpaqueWidgetWrite cases and the agentPastedNodeOrphanedOnRetarget guard.
  • No human objections on the PR.

@christian-byrne
christian-byrne merged commit b2ff651 into cloud/1.57 Oct 22, 2026
175 checks passed
@christian-byrne
christian-byrne deleted the backport-21527-to-cloud-1.57 branch October 22, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Backporting a PR onto a release candidate cursor-review Trigger multi-model Cursor agent review on this PR risk:high PR risk grade (advisory shadow check; grader-owned)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants