Skip to content

[backport cloud/1.57] fix(agent): wait for startup tab restore before calling a draft target unavailable (PM-2332) - #22280

Merged
comfy-pr-bot merged 2 commits into
cloud/1.57from
backport-22048-to-cloud-1.57
Oct 29, 2026
Merged

comfy-pr-bot merged 2 commits into
cloud/1.57from
backport-22048-to-cloud-1.57

Conversation

@christian-byrne

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

Copy link
Copy Markdown
Contributor

Backport of #22048 to cloud/1.57.

Manual: the automatic cherry-pick conflicted only on test setup context. AgentPanelRoot.test.ts has a different root beforeEach on this branch, so only the markTabsRestored() line was added. No logic changes from #22048.

Second commit: on this branch restoreTarget resolves to a boolean rather than main's { ready, committedWorkflowId }, so the four new PM-2332 tests assert true instead of the object. Same behaviour checked.

…t unavailable (PM-2332) (#22048)

*PR Created by the Glary-Bot Agent*

---

Fixes [PM-2332](https://linear.app/comfyorg/issue/PM-2332). If you
refresh while the Agent's target is still an **unsaved** draft, the chat
can show "The target workflow is no longer available". The draft hasn't
been deleted when this happens.

On reload, `resolveRestorationTarget` (`useAgentWorkflowSelection.ts`)
decides whether the chat's target still exists:

- The cloud listing hides version-less drafts (`latest_version_id IS
NULL`, see cloud `common/workflow/repository.go`), so an unsaved Agent
draft is always missing from it.
- #19873 counts a complete listing that omits the id as proof of
deletion **when no local tab owns the id**. It only calls `GET
/api/workflows/{id}` when a local tab does own it. That endpoint returns
200 with `latest_version: 0` for drafts.
- After a refresh, the only local owner an unsaved draft has is the tab
that startup recreates from the local draft store. That happens in
`restoreWorkflowTabsState`, called by GraphCanvas after `app.setup()`
and `initializeWorkflow()`.
- The Agent panel mounts once the app is ready (and from LinearView). It
starts hydrating the thread at the same time as the rest of GraphCanvas
startup, and nothing orders the two.

If the chat restores before startup recreates the draft tab, it sees no
owner and marks the target `unavailable`. That state never recovers,
even once the tab shows up a moment later. Saved workflows aren't
affected, because the listing includes them.

- `workflowStore` gets `tabsRestored` and `markTabsRestored()`.
`restoreWorkflowTabsState` sets the flag in a `finally`, so it's set
however restore ends: success, persistence disabled, load failure, or
identity mismatch. GraphCanvas's `finally` also sets it if
`initializeWorkflow()` rejects.
- `resolveRestorationTarget`: when nothing local owns the id **and**
startup hasn't restored tabs yet, it waits for `tabsRestored` plus one
tick (`startupTabsRestored`), which lets the binding store adopt the
recreated tab. This applies whatever the listing returned (complete,
incomplete, or failed), so an incomplete or failed listing no longer
opens a null target before the draft tab is back.
- The wait is capped at `STARTUP_TAB_RESTORE_TIMEOUT_MS` (15s) so a
startup that hangs can't leave the chat restoring forever.
- After the wait (and on the fast path) it re-checks `isCurrent()` and
looks up the owner again. If the draft tab came back, the existing `GET
/api/workflows/{id}` lifecycle check runs. If no tab came back, or the
cap was hit, it is treated as `deleted`, the same as on `main`.

The wait only runs while startup is still restoring tabs and the target
has no local tab. Restores later in the session never wait.

- **New:** `PM-2332 waits for a page reload to restore the unsaved draft
tab before calling the chat target unavailable`.
- Setup: binds a draft for real, then simulates the reload: disposes the
binding store so it re-reads persisted bindings, closes the pre-reload
tab, and starts restoration before startup recreates the draft tab.
- Against `main`'s selection logic it fails: `targetUnavailable` is
`true` before the tab is restored. With this change it passes.
- **New:** `still calls the target unavailable once a reload restores no
tab for it`. Restoration waits, tab restore settles without the draft,
and the result is still `deleted`. It also fails against `main`'s
selection logic.
- **New:** `calls the target unavailable when startup never finishes
restoring tabs`. The flag is never set; with fake timers the target is
still undecided at 14s and is marked unavailable at 15s. Without the
cap, this test times out.
- **New:** `waits for the reloaded draft tab even when the listing is
incomplete`. Also asserts nothing is synced or warned before the tab
comes back. Fails without the change.
- `useWorkflowPersistenceV2.test.ts` now asserts the flag is set after a
successful restore and after a metadata failure.
- The existing harnesses (`setup()` in the selection test, and the root
`beforeEach` in `AgentPanelRoot.test.ts`) model a page that has finished
startup, so they call `markTabsRestored()`.

- Agent composables, `AgentPanelRoot`, workflow persistence and workflow
management suites: 1451 passed.
- Pre-commit (oxfmt, oxlint, eslint, `typecheck:app`) and pre-push
(depcruise, knip, `fallow audit`) hooks pass.
- `agentSubgraphDefinitions.test.ts > scans deeply nested definition
ids…` (a stack overflow in `lib0` `deepFreeze`) also fails on clean
`main`. It is unrelated.
- **Browser check:** a local cloud-mode Playwright run (mocked cloud
host) where the Agent opens an unsaved draft tab via `agent_active_tab`,
followed by a reload. The chat comes back onto the same draft tab with
no unavailable notice (screenshot below). I also ran the unsaved-tab
(minted draft) flow, with and without a second unsaved tab open.
- In that local harness, startup restore finished about 0.5s before the
panel hydrated, so `main` also passed there. The race needs startup to
be slower than the panel's network round trips. That's why the
regression guard is the unit test, not an e2e spec.

- After a reload, the unavailable notice for a **truly deleted** target
now appears only once startup tab restore finishes, a few hundred ms
later. If startup hangs, it appears after the 15s cap.
- Not covered here:
- If the listing request fails **and** no draft tab comes back, a draft
target still gets the "couldn't open" warning.
- If startup fails before restoring tabs, or hits the 15s cap, a missing
draft is still reported unavailable (same as `main`).
- If the local draft is gone (evicted, localStorage quota exceeded, tab
closed), the target is still reported unavailable. The server still has
the draft (`GET` → 200) and its CRDT document, so a follow-up could
rebuild the tab from the server instead. All three are tracked in
[FRONT-3665](https://linear.app/comfyorg/issue/FRONT-3665).

![After reload: chat restored onto the unsaved 'Agent draft' tab, no
'target workflow is no longer available'
notice](https://pub-1fd11710d4c8405b948c9edc4287a3f2.r2.dev/sessions/ac75176fab1dbe6d4b839cb463ad17df26623523e8a1fec7c0c962938a589ee3/pr-images/1793072335569-4b66c095-4026-4a86-99f7-3583b4295b57.png)

---------

Co-authored-by: Glary-Bot <glary-bot@users.noreply.github.com>
(cherry picked from commit dbbd7bb)
@christian-byrne christian-byrne added the backport Backporting a PR onto a release candidate label Oct 29, 2026
@christian-byrne christian-byrne self-assigned this Oct 29, 2026
@christian-byrne
christian-byrne requested review from a team as code owners October 29, 2026 18:46
@coderabbitai

coderabbitai Bot commented Oct 29, 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

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.

@github-actions

github-actions Bot commented Oct 29, 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 · 77.3 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 77.9 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 81.1 MB heap
dom-widget-clipping: · 59.3 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 80.9 MB heap
dom-widget-order-dense-n200-w200-i120: · 29.6 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 570ms TBT · 77.0 MB heap
dom-widget-order-sparse-n1000-w20-i120: · 40.6 avg FPS · 39.9 P5 FPS ❌ (target: ≥52) · 209ms TBT · 72.8 MB heap
extension-clean-combined-draw: · 31.2 avg FPS · 17.1 P5 FPS ❌ (target: ≥52) · 1067ms TBT · 90.8 MB heap
extension-rgthree-prototype-draw: · 30.6 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 985ms TBT · 70.6 MB heap
large-combo-open: · 46.7 avg FPS · 15.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 75.8 MB heap
large-graph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 70.1 MB heap
large-graph-pan: · 59.6 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.8 MB heap
large-graph-zoom: · 59.7 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 74.3 MB heap
legacy-node-drag: · 59.3 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 85.6 MB heap
minimap-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 73.1 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 74.6 MB heap
subgraph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 79.3 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.8 MB heap
subgraph-transition-enter: · 50.3 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 163ms TBT · 104.0 MB heap
viewport-pan-sweep: · 59.9 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.7 MB heap
vue-large-graph-idle: · 31.4 avg FPS · 15.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 255.2 MB heap
vue-large-graph-pan: · 23.5 avg FPS · 12.0 P5 FPS ❌ (target: ≥52) · 14ms TBT · 274.1 MB heap
vue-node-resize-workload: · 21.4 avg FPS · 10.9 P5 FPS ❌ (target: ≥52) · 0ms TBT · 263.8 MB heap
vue-zoom-out-idle: · 26.3 avg FPS · 12.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 257.0 MB heap
workflow-execution: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 66.4 MB heap
agent-composer-empty-conversation-typing: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 82.3 MB heap
agent-composer-long-conversation-typing: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 111.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 2ms
canvas-idle: layout count 9
canvas-idle: style recalc count 10
canvas-idle: task duration 429ms
canvas-idle: script duration 8ms
canvas-idle: TBT 0ms
canvas-idle: heap used 77.3 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 2ms
canvas-mouse-sweep: style recalc duration 14ms
canvas-mouse-sweep: layout count 10
canvas-mouse-sweep: style recalc count 79
canvas-mouse-sweep: task duration 847ms
canvas-mouse-sweep: script duration 155ms
canvas-mouse-sweep: TBT 0ms
canvas-mouse-sweep: heap used 77.9 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 12
canvas-zoom-sweep: style recalc count 18
canvas-zoom-sweep: task duration 375ms
canvas-zoom-sweep: script duration 10ms
canvas-zoom-sweep: TBT 0ms
canvas-zoom-sweep: heap used 81.1 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 10
dom-widget-clipping: style recalc count 14
dom-widget-clipping: task duration 519ms
dom-widget-clipping: script duration 174ms
dom-widget-clipping: TBT 0ms
dom-widget-clipping: heap used 80.9 MB
dom-widget-clipping: DOM nodes 0
dom-widget-clipping: event listeners 0
dom-widget-order-dense-n200-w200-i120: avg frame time 34ms
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 943ms
dom-widget-order-dense-n200-w200-i120: script duration 73ms
dom-widget-order-dense-n200-w200-i120: TBT 570ms
dom-widget-order-dense-n200-w200-i120: heap used 77.0 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 25ms
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 477ms
dom-widget-order-sparse-n1000-w20-i120: script duration 160ms
dom-widget-order-sparse-n1000-w20-i120: TBT 209ms
dom-widget-order-sparse-n1000-w20-i120: heap used 72.8 MB
dom-widget-order-sparse-n1000-w20-i120: DOM nodes 0
dom-widget-order-sparse-n1000-w20-i120: event listeners 0
extension-clean-combined-draw: avg frame time 32ms
extension-clean-combined-draw: p95 frame time 58ms
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 9439ms
extension-clean-combined-draw: script duration 7676ms
extension-clean-combined-draw: TBT 1067ms
extension-clean-combined-draw: heap used 90.8 MB
extension-clean-combined-draw: DOM nodes -268
extension-clean-combined-draw: event listeners -68
extension-rgthree-prototype-draw: avg frame time 33ms
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 8860ms
extension-rgthree-prototype-draw: script duration 7538ms
extension-rgthree-prototype-draw: TBT 985ms
extension-rgthree-prototype-draw: heap used 70.6 MB
extension-rgthree-prototype-draw: DOM nodes -258
extension-rgthree-prototype-draw: event listeners -68
large-combo-open: avg frame time 21ms
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 24
large-combo-open: task duration 165ms
large-combo-open: script duration 8ms
large-combo-open: TBT 0ms
large-combo-open: heap used 75.8 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 8
large-graph-idle: style recalc count 9
large-graph-idle: task duration 526ms
large-graph-idle: script duration 28ms
large-graph-idle: TBT 0ms
large-graph-idle: heap used 70.1 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 69
large-graph-pan: task duration 1594ms
large-graph-pan: script duration 820ms
large-graph-pan: TBT 0ms
large-graph-pan: heap used 65.8 MB
large-graph-pan: DOM nodes -268
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 10ms
large-graph-zoom: style recalc duration 7ms
large-graph-zoom: layout count 64
large-graph-zoom: style recalc count 70
large-graph-zoom: task duration 1703ms
large-graph-zoom: script duration 769ms
large-graph-zoom: TBT 0ms
large-graph-zoom: heap used 74.3 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 1822ms
legacy-node-drag: script duration 943ms
legacy-node-drag: TBT 0ms
legacy-node-drag: heap used 85.6 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 7
minimap-idle: task duration 527ms
minimap-idle: script duration 26ms
minimap-idle: TBT 0ms
minimap-idle: heap used 73.1 MB
minimap-idle: DOM nodes -278
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 11
subgraph-dom-widget-clipping: style recalc count 48
subgraph-dom-widget-clipping: task duration 430ms
subgraph-dom-widget-clipping: script duration 145ms
subgraph-dom-widget-clipping: TBT 0ms
subgraph-dom-widget-clipping: heap used 74.6 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 2ms
subgraph-idle: layout count 10
subgraph-idle: style recalc count 10
subgraph-idle: task duration 499ms
subgraph-idle: script duration 7ms
subgraph-idle: TBT 0ms
subgraph-idle: heap used 79.3 MB
subgraph-idle: DOM nodes 0
subgraph-idle: event listeners 0
subgraph-mouse-sweep: avg frame time 17ms
subgraph-mouse-sweep: p95 frame time 17ms
subgraph-mouse-sweep: layout duration 2ms
subgraph-mouse-sweep: style recalc duration 14ms
subgraph-mouse-sweep: layout count 9
subgraph-mouse-sweep: style recalc count 81
subgraph-mouse-sweep: task duration 875ms
subgraph-mouse-sweep: script duration 105ms
subgraph-mouse-sweep: TBT 0ms
subgraph-mouse-sweep: heap used 64.8 MB
subgraph-mouse-sweep: DOM nodes 0
subgraph-mouse-sweep: event listeners 6
subgraph-transition-enter: avg frame time 20ms
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 1015ms
subgraph-transition-enter: script duration 29ms
subgraph-transition-enter: TBT 163ms
subgraph-transition-enter: heap used 104.0 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 17ms
viewport-pan-sweep: layout count 7
viewport-pan-sweep: style recalc count 249
viewport-pan-sweep: task duration 4906ms
viewport-pan-sweep: script duration 2634ms
viewport-pan-sweep: TBT 0ms
viewport-pan-sweep: heap used 65.7 MB
viewport-pan-sweep: DOM nodes -278
viewport-pan-sweep: event listeners -66
vue-large-graph-idle: avg frame time 32ms
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 17841ms
vue-large-graph-idle: script duration 255ms
vue-large-graph-idle: TBT 0ms
vue-large-graph-idle: heap used 255.2 MB
vue-large-graph-idle: DOM nodes -3330
vue-large-graph-idle: event listeners -653
vue-large-graph-pan: avg frame time 43ms
vue-large-graph-pan: p95 frame time 83ms
vue-large-graph-pan: layout duration 0ms
vue-large-graph-pan: style recalc duration 13ms
vue-large-graph-pan: layout count 0
vue-large-graph-pan: style recalc count 173
vue-large-graph-pan: task duration 22993ms
vue-large-graph-pan: script duration 855ms
vue-large-graph-pan: TBT 14ms
vue-large-graph-pan: heap used 274.1 MB
vue-large-graph-pan: DOM nodes -3330
vue-large-graph-pan: event listeners -651
vue-node-resize-workload: avg frame time 47ms
vue-node-resize-workload: p95 frame time 92ms
vue-node-resize-workload: layout duration 27ms
vue-node-resize-workload: style recalc duration 84ms
vue-node-resize-workload: layout count 20
vue-node-resize-workload: style recalc count 20
vue-node-resize-workload: task duration 7894ms
vue-node-resize-workload: script duration 127ms
vue-node-resize-workload: TBT 0ms
vue-node-resize-workload: heap used 263.8 MB
vue-node-resize-workload: DOM nodes -3330
vue-node-resize-workload: event listeners -653
vue-zoom-out-idle: avg frame time 38ms
vue-zoom-out-idle: p95 frame time 83ms
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 10690ms
vue-zoom-out-idle: script duration 144ms
vue-zoom-out-idle: TBT 0ms
vue-zoom-out-idle: heap used 257.0 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 4ms
workflow-execution: style recalc duration 13ms
workflow-execution: layout count 11
workflow-execution: style recalc count 12
workflow-execution: task duration 114ms
workflow-execution: script duration 11ms
workflow-execution: TBT 0ms
workflow-execution: heap used 66.4 MB
workflow-execution: DOM nodes 109
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 14ms
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 373ms
agent-composer-empty-conversation-typing: script duration 179ms
agent-composer-empty-conversation-typing: TBT 0ms
agent-composer-empty-conversation-typing: heap used 82.3 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 458ms
agent-composer-long-conversation-typing: script duration 188ms
agent-composer-long-conversation-typing: TBT 0ms
agent-composer-long-conversation-typing: heap used 111.4 MB
agent-composer-long-conversation-typing: DOM nodes 4
agent-composer-long-conversation-typing: event listeners 292
Raw data
{
  "timestamp": "2026-10-29T19:13:03.809Z",
  "gitSha": "b92e92c9b44ce77be648f5c76f7ce048370d8ce5",
  "branch": "backport-22048-to-cloud-1.57",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2017.6700000000096,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 2.112,
      "layouts": 9,
      "layoutDurationMs": 2.457,
      "taskDurationMs": 343.352,
      "heapDeltaBytes": 22091596,
      "heapUsedBytes": 87588204,
      "domNodes": 0,
      "jsHeapTotalBytes": 3407872,
      "scriptDurationMs": 7.727000000000001,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666115702479335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-idle",
      "durationMs": 2018.0380000000468,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 2.3929999999999993,
      "layouts": 9,
      "layoutDurationMs": 2.9139999999999997,
      "taskDurationMs": 514.3639999999999,
      "heapDeltaBytes": -898428,
      "heapUsedBytes": 74604288,
      "domNodes": 0,
      "jsHeapTotalBytes": 7340032,
      "scriptDurationMs": 8.427999999999997,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666115702479342,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1757.8890000000342,
      "styleRecalcs": 75,
      "styleRecalcDurationMs": 13.281,
      "layouts": 9,
      "layoutDurationMs": 2.1879999999999997,
      "taskDurationMs": 813.35,
      "heapDeltaBytes": 15172904,
      "heapUsedBytes": 81922280,
      "domNodes": 0,
      "jsHeapTotalBytes": 3407872,
      "scriptDurationMs": 152.534,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66666666666666,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1975.618000000054,
      "styleRecalcs": 82,
      "styleRecalcDurationMs": 14.577000000000002,
      "layouts": 10,
      "layoutDurationMs": 2.7900000000000005,
      "taskDurationMs": 880.574,
      "heapDeltaBytes": 15554792,
      "heapUsedBytes": 81516564,
      "domNodes": 0,
      "jsHeapTotalBytes": 3932160,
      "scriptDurationMs": 158.175,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66638655462185,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1724.442999999951,
      "styleRecalcs": 18,
      "styleRecalcDurationMs": 4.941,
      "layouts": 12,
      "layoutDurationMs": 2.9910000000000005,
      "taskDurationMs": 372.03600000000006,
      "heapDeltaBytes": 18316036,
      "heapUsedBytes": 84987816,
      "domNodes": 47,
      "jsHeapTotalBytes": 2883584,
      "scriptDurationMs": 9.759999999999998,
      "eventListeners": 37,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666346153846156,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1735.4559999999992,
      "styleRecalcs": 18,
      "styleRecalcDurationMs": 4.693,
      "layouts": 11,
      "layoutDurationMs": 2.3449999999999998,
      "taskDurationMs": 377.591,
      "heapDeltaBytes": 18627504,
      "heapUsedBytes": 85075176,
      "domNodes": 47,
      "jsHeapTotalBytes": 3407872,
      "scriptDurationMs": 9.662,
      "eventListeners": 37,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666346153846156,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 696.3130000000319,
      "styleRecalcs": 14,
      "styleRecalcDurationMs": 2.6620000000000004,
      "layouts": 10,
      "layoutDurationMs": 2.8070000000000004,
      "taskDurationMs": 498.606,
      "heapDeltaBytes": 26019908,
      "heapUsedBytes": 92253236,
      "domNodes": 0,
      "jsHeapTotalBytes": 4194304,
      "scriptDurationMs": 168.68800000000002,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66585365853658,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 755.2459999999428,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 2.856,
      "layouts": 9,
      "layoutDurationMs": 2.5790000000000006,
      "taskDurationMs": 538.405,
      "heapDeltaBytes": 2776568,
      "heapUsedBytes": 77420228,
      "domNodes": 0,
      "jsHeapTotalBytes": 7340032,
      "scriptDurationMs": 180.043,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.045454545454547,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 1298.9619999999604,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 998.5600000000001,
      "heapDeltaBytes": -12837416,
      "heapUsedBytes": 80332416,
      "domNodes": -192,
      "jsHeapTotalBytes": 22028288,
      "scriptDurationMs": 76.80599999999998,
      "eventListeners": -106,
      "totalBlockingTimeMs": 622,
      "frameDurationMs": 35.132432432432424,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 1198.1889999999566,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 887.4630000000001,
      "heapDeltaBytes": -13197976,
      "heapUsedBytes": 81084600,
      "domNodes": -192,
      "jsHeapTotalBytes": 21241856,
      "scriptDurationMs": 68.87899999999999,
      "eventListeners": -106,
      "totalBlockingTimeMs": 517,
      "frameDurationMs": 32.42972972972972,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 842.5060000000144,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 476.59899999999976,
      "heapDeltaBytes": -3166728,
      "heapUsedBytes": 76548428,
      "domNodes": 0,
      "jsHeapTotalBytes": 266240,
      "scriptDurationMs": 159.89099999999996,
      "eventListeners": 0,
      "totalBlockingTimeMs": 210,
      "frameDurationMs": 24.99705882352943,
      "p95FrameDurationMs": 33.30000000000018
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 843.1030000000419,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 477.4799999999999,
      "heapDeltaBytes": -4765172,
      "heapUsedBytes": 76131948,
      "domNodes": 0,
      "jsHeapTotalBytes": 266240,
      "scriptDurationMs": 160.372,
      "eventListeners": 0,
      "totalBlockingTimeMs": 208,
      "frameDurationMs": 24.285714285714285,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 11273.257000000001,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 10442.619,
      "heapDeltaBytes": -3231992,
      "heapUsedBytes": 84791348,
      "domNodes": -278,
      "jsHeapTotalBytes": 3796992,
      "scriptDurationMs": 8521.307999999999,
      "eventListeners": -68,
      "totalBlockingTimeMs": 1444,
      "frameDurationMs": 32.56156069364162,
      "p95FrameDurationMs": 66.60000000000036
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 9260.145999999964,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 8435.524,
      "heapDeltaBytes": 6179892,
      "heapUsedBytes": 105701792,
      "domNodes": -258,
      "jsHeapTotalBytes": 5632000,
      "scriptDurationMs": 6829.885,
      "eventListeners": -68,
      "totalBlockingTimeMs": 689,
      "frameDurationMs": 31.642905405405404,
      "p95FrameDurationMs": 50.100000000000364
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 9187.545999999998,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 8432.503999999999,
      "heapDeltaBytes": -28880944,
      "heapUsedBytes": 70917108,
      "domNodes": -258,
      "jsHeapTotalBytes": 4583424,
      "scriptDurationMs": 7109.129,
      "eventListeners": -68,
      "totalBlockingTimeMs": 762,
      "frameDurationMs": 33.151624548736464,
      "p95FrameDurationMs": 50.100000000000364
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 10024.874000000069,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9287.657000000001,
      "heapDeltaBytes": -23426724,
      "heapUsedBytes": 77236728,
      "domNodes": -258,
      "jsHeapTotalBytes": 14544896,
      "scriptDurationMs": 7966.342,
      "eventListeners": -68,
      "totalBlockingTimeMs": 1208,
      "frameDurationMs": 32.310967741935485,
      "p95FrameDurationMs": 50.100000000000364
    },
    {
      "name": "large-combo-open",
      "durationMs": 217.05300000002126,
      "styleRecalcs": 24,
      "styleRecalcDurationMs": 14.216000000000001,
      "layouts": 11,
      "layoutDurationMs": 3.177,
      "taskDurationMs": 166.822,
      "heapDeltaBytes": -8151316,
      "heapUsedBytes": 79153888,
      "domNodes": 917,
      "jsHeapTotalBytes": 3670016,
      "scriptDurationMs": 8.671,
      "eventListeners": 196,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 21.209090909090925,
      "p95FrameDurationMs": 66.60000000000036
    },
    {
      "name": "large-combo-open",
      "durationMs": 213.09800000005907,
      "styleRecalcs": 24,
      "styleRecalcDurationMs": 13.453999999999997,
      "layouts": 11,
      "layoutDurationMs": 3.055,
      "taskDurationMs": 162.62800000000001,
      "heapDeltaBytes": -8081368,
      "heapUsedBytes": 79802072,
      "domNodes": 917,
      "jsHeapTotalBytes": 3670016,
      "scriptDurationMs": 8.086,
      "eventListeners": 196,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 21.660000000000036,
      "p95FrameDurationMs": 66.5
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2040.8140000000117,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 2.0999999999999996,
      "layouts": 8,
      "layoutDurationMs": 2.2549999999999994,
      "taskDurationMs": 615.528,
      "heapDeltaBytes": -25709716,
      "heapUsedBytes": 72798516,
      "domNodes": -258,
      "jsHeapTotalBytes": 4882432,
      "scriptDurationMs": 28.03,
      "eventListeners": -68,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665853658536584,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2025.0180000000455,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 1.909,
      "layouts": 8,
      "layoutDurationMs": 2.0959999999999996,
      "taskDurationMs": 437.4509999999999,
      "heapDeltaBytes": -4776688,
      "heapUsedBytes": 74260828,
      "domNodes": -278,
      "jsHeapTotalBytes": 4059136,
      "scriptDurationMs": 28.534999999999997,
      "eventListeners": -68,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66639344262295,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2194.5330000000354,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 5.489,
      "layouts": 8,
      "layoutDurationMs": 1.78,
      "taskDurationMs": 1402.9029999999998,
      "heapDeltaBytes": -10037736,
      "heapUsedBytes": 70360560,
      "domNodes": -278,
      "jsHeapTotalBytes": 3534848,
      "scriptDurationMs": 786.8230000000001,
      "eventListeners": -66,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66641221374046,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2714.351000000079,
      "styleRecalcs": 68,
      "styleRecalcDurationMs": 6.392,
      "layouts": 6,
      "layoutDurationMs": 1.542,
      "taskDurationMs": 1784.7040000000002,
      "heapDeltaBytes": -12807356,
      "heapUsedBytes": 67648100,
      "domNodes": -258,
      "jsHeapTotalBytes": 3796992,
      "scriptDurationMs": 852.819,
      "eventListeners": -66,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.872670807453417,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3520.4800000000205,
      "styleRecalcs": 70,
      "styleRecalcDurationMs": 6.584,
      "layouts": 64,
      "layoutDurationMs": 9.826999999999998,
      "taskDurationMs": 1636.469,
      "heapDeltaBytes": 1053480,
      "heapUsedBytes": 83222720,
      "domNodes": 24,
      "jsHeapTotalBytes": 3932160,
      "scriptDurationMs": 751.667,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.74571428571429,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3667.728000000011,
      "styleRecalcs": 70,
      "styleRecalcDurationMs": 6.8709999999999996,
      "layouts": 64,
      "layoutDurationMs": 9.999,
      "taskDurationMs": 1769.2120000000002,
      "heapDeltaBytes": -9295452,
      "heapUsedBytes": 72631592,
      "domNodes": -234,
      "jsHeapTotalBytes": 4583424,
      "scriptDurationMs": 785.664,
      "eventListeners": -67,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.74200913242009,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2900.152999999989,
      "styleRecalcs": 45,
      "styleRecalcDurationMs": 4.439000000000001,
      "layouts": 5,
      "layoutDurationMs": 1.2630000000000003,
      "taskDurationMs": 1896.9049999999997,
      "heapDeltaBytes": 2253944,
      "heapUsedBytes": 85363228,
      "domNodes": 0,
      "jsHeapTotalBytes": 7864320,
      "scriptDurationMs": 934.053,
      "eventListeners": 182,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.76184971098266,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2773.005000000012,
      "styleRecalcs": 44,
      "styleRecalcDurationMs": 4.7749999999999995,
      "layouts": 5,
      "layoutDurationMs": 1.6199999999999999,
      "taskDurationMs": 1747.0690000000002,
      "heapDeltaBytes": 10662220,
      "heapUsedBytes": 94136568,
      "domNodes": 0,
      "jsHeapTotalBytes": 4612096,
      "scriptDurationMs": 952.552,
      "eventListeners": 182,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.97239263803681,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2041.7439999999942,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 1.626,
      "layouts": 7,
      "layoutDurationMs": 1.779,
      "taskDurationMs": 612.6830000000001,
      "heapDeltaBytes": -23355056,
      "heapUsedBytes": 75281252,
      "domNodes": -278,
      "jsHeapTotalBytes": 2785280,
      "scriptDurationMs": 26.655000000000005,
      "eventListeners": -68,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66585365853659,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2028.479999999945,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 1.7400000000000002,
      "layouts": 7,
      "layoutDurationMs": 1.9779999999999998,
      "taskDurationMs": 440.5310000000001,
      "heapDeltaBytes": -3132500,
      "heapUsedBytes": 78116372,
      "domNodes": -278,
      "jsHeapTotalBytes": 3272704,
      "scriptDurationMs": 26.269000000000002,
      "eventListeners": -68,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66639344262295,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 598.4680000000253,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 4.527000000000001,
      "layouts": 10,
      "layoutDurationMs": 2.8539999999999996,
      "taskDurationMs": 430.7519999999999,
      "heapDeltaBytes": 3361028,
      "heapUsedBytes": 80075356,
      "domNodes": 0,
      "jsHeapTotalBytes": 11796480,
      "scriptDurationMs": 144.559,
      "eventListeners": 46,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 582.0360000000164,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 4.78,
      "layouts": 11,
      "layoutDurationMs": 3.07,
      "taskDurationMs": 429.866,
      "heapDeltaBytes": -1100772,
      "heapUsedBytes": 76433624,
      "domNodes": 0,
      "jsHeapTotalBytes": 8650752,
      "scriptDurationMs": 145.11599999999999,
      "eventListeners": 46,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.668571428571433,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2007.88,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 2.3169999999999997,
      "layouts": 9,
      "layoutDurationMs": 2.4010000000000002,
      "taskDurationMs": 492.30400000000003,
      "heapDeltaBytes": 22375620,
      "heapUsedBytes": 89778324,
      "domNodes": 0,
      "jsHeapTotalBytes": 3670016,
      "scriptDurationMs": 6.816000000000001,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666942148760334,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2008.1460000000106,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 2.568999999999999,
      "layouts": 10,
      "layoutDurationMs": 2.943,
      "taskDurationMs": 506.157,
      "heapDeltaBytes": -605832,
      "heapUsedBytes": 76516432,
      "domNodes": 0,
      "jsHeapTotalBytes": 7602176,
      "scriptDurationMs": 7.437000000000001,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66611570247934,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1693.8429999999585,
      "styleRecalcs": 76,
      "styleRecalcDurationMs": 13.546000000000001,
      "layouts": 9,
      "layoutDurationMs": 2.3560000000000003,
      "taskDurationMs": 757.659,
      "heapDeltaBytes": -7178432,
      "heapUsedBytes": 70193392,
      "domNodes": 0,
      "jsHeapTotalBytes": 12058624,
      "scriptDurationMs": 100.768,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1959.1519999999036,
      "styleRecalcs": 86,
      "styleRecalcDurationMs": 15.189000000000002,
      "layouts": 9,
      "layoutDurationMs": 2.1310000000000002,
      "taskDurationMs": 991.5390000000001,
      "heapDeltaBytes": -11390556,
      "heapUsedBytes": 65673984,
      "domNodes": 0,
      "jsHeapTotalBytes": 8126464,
      "scriptDurationMs": 108.479,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66610169491526,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 1435.1090000000113,
      "styleRecalcs": 19,
      "styleRecalcDurationMs": 26.978,
      "layouts": 5,
      "layoutDurationMs": 16.475,
      "taskDurationMs": 1015.463,
      "heapDeltaBytes": 9489808,
      "heapUsedBytes": 109084604,
      "domNodes": 15953,
      "jsHeapTotalBytes": 16654336,
      "scriptDurationMs": 28.916000000000004,
      "eventListeners": 3244,
      "totalBlockingTimeMs": 163,
      "frameDurationMs": 19.861643835616444,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8237.018999999975,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 16.945999999999998,
      "layouts": 8,
      "layoutDurationMs": 2.183,
      "taskDurationMs": 4815.64,
      "heapDeltaBytes": -11690072,
      "heapUsedBytes": 67630288,
      "domNodes": -278,
      "jsHeapTotalBytes": 3272704,
      "scriptDurationMs": 2570.465,
      "eventListeners": -66,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66599190283401,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8458.072000000015,
      "styleRecalcs": 248,
      "styleRecalcDurationMs": 17.258000000000003,
      "layouts": 6,
      "layoutDurationMs": 1.824,
      "taskDurationMs": 4996.697,
      "heapDeltaBytes": -9174704,
      "heapUsedBytes": 70068672,
      "domNodes": -278,
      "jsHeapTotalBytes": 4059136,
      "scriptDurationMs": 2697.988,
      "eventListeners": -66,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.732079207920794,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 21947.070999999993,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 21250.653,
      "heapDeltaBytes": -40567688,
      "heapUsedBytes": 255224032,
      "domNodes": -3330,
      "jsHeapTotalBytes": 10211328,
      "scriptDurationMs": 296.80899999999997,
      "eventListeners": -653,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 38.01126516464471,
      "p95FrameDurationMs": 83.30000000000109
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 15074.50300000005,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 14432.067,
      "heapDeltaBytes": -1586652,
      "heapUsedBytes": 279933636,
      "domNodes": -3330,
      "jsHeapTotalBytes": 17813504,
      "scriptDurationMs": 213.918,
      "eventListeners": -653,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 25.622448979591837,
      "p95FrameDurationMs": 50
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 27669.969000000037,
      "styleRecalcs": 181,
      "styleRecalcDurationMs": 13.909000000000004,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 27335.49,
      "heapDeltaBytes": 10613904,
      "heapUsedBytes": 286990252,
      "domNodes": -3330,
      "jsHeapTotalBytes": 11714560,
      "scriptDurationMs": 897.3100000000001,
      "eventListeners": -651,
      "totalBlockingTimeMs": 28,
      "frameDurationMs": 50.76256880733945,
      "p95FrameDurationMs": 100.10000000000218
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 19082.07600000003,
      "styleRecalcs": 164,
      "styleRecalcDurationMs": 11.935,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 18650.202999999998,
      "heapDeltaBytes": -7699524,
      "heapUsedBytes": 287852588,
      "domNodes": -3330,
      "jsHeapTotalBytes": 11190272,
      "scriptDurationMs": 812.5939999999999,
      "eventListeners": -651,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 34.289407540394976,
      "p95FrameDurationMs": 66.70000000000073
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 8134.270000000015,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 89.482,
      "layouts": 20,
      "layoutDurationMs": 27.118000000000002,
      "taskDurationMs": 7986.748,
      "heapDeltaBytes": 3088532,
      "heapUsedBytes": 279366664,
      "domNodes": -3330,
      "jsHeapTotalBytes": 18075648,
      "scriptDurationMs": 121.216,
      "eventListeners": -653,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 45.43575418994414,
      "p95FrameDurationMs": 100
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 7889.184,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 78.56200000000003,
      "layouts": 20,
      "layoutDurationMs": 26.913999999999994,
      "taskDurationMs": 7801.875000000001,
      "heapDeltaBytes": -17179696,
      "heapUsedBytes": 273824952,
      "domNodes": -3330,
      "jsHeapTotalBytes": 17027072,
      "scriptDurationMs": 132.81799999999998,
      "eventListeners": -653,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 48.16890243902439,
      "p95FrameDurationMs": 83.40000000000146
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 11288.24099999997,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 10757.096,
      "heapDeltaBytes": -8854044,
      "heapUsedBytes": 265125104,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 144.62399999999997,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 38.50819112627987,
      "p95FrameDurationMs": 83.29999999999927
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 11176.144999999906,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 10623.901,
      "heapDeltaBytes": 15002560,
      "heapUsedBytes": 273860744,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 143.77800000000002,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 37.65252525252525,
      "p95FrameDurationMs": 83.30000000000291
    },
    {
      "name": "workflow-execution",
      "durationMs": 458.7500000000091,
      "styleRecalcs": 14,
      "styleRecalcDurationMs": 13.448000000000002,
      "layouts": 12,
      "layoutDurationMs": 4.598000000000001,
      "taskDurationMs": 124.92299999999999,
      "heapDeltaBytes": -8017704,
      "heapUsedBytes": 71027320,
      "domNodes": 98,
      "jsHeapTotalBytes": 10223616,
      "scriptDurationMs": 14.058000000000002,
      "eventListeners": 1,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66428571428573,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "workflow-execution",
      "durationMs": 133.63199999992048,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 11.932000000000002,
      "layouts": 9,
      "layoutDurationMs": 3.4959999999999996,
      "taskDurationMs": 102.568,
      "heapDeltaBytes": -15552160,
      "heapUsedBytes": 68120040,
      "domNodes": 120,
      "jsHeapTotalBytes": 4456448,
      "scriptDurationMs": 7.895000000000001,
      "eventListeners": 1,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.677777777777766,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "agent-composer-empty-conversation-typing",
      "durationMs": 476.63999999997486,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 1.262,
      "layouts": 76,
      "layoutDurationMs": 14.485,
      "taskDurationMs": 421.813,
      "heapDeltaBytes": -21501308,
      "heapUsedBytes": 71516844,
      "domNodes": 4,
      "jsHeapTotalBytes": 12320768,
      "scriptDurationMs": 204.779,
      "eventListeners": 292,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.664285714285693,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "agent-composer-empty-conversation-typing",
      "durationMs": 364.783999999986,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 1.2429999999999999,
      "layouts": 76,
      "layoutDurationMs": 13.520000000000001,
      "taskDurationMs": 325.03099999999995,
      "heapDeltaBytes": 10183308,
      "heapUsedBytes": 101109960,
      "domNodes": 4,
      "jsHeapTotalBytes": 9961472,
      "scriptDurationMs": 152.653,
      "eventListeners": 292,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.669565217391288,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "agent-composer-long-conversation-typing",
      "durationMs": 474.88399999997455,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 1.7910000000000001,
      "layouts": 76,
      "layoutDurationMs": 13.619,
      "taskDurationMs": 437.819,
      "heapDeltaBytes": -403624,
      "heapUsedBytes": 118339504,
      "domNodes": 4,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 177.292,
      "eventListeners": 292,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665517241379316,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "agent-composer-long-conversation-typing",
      "durationMs": 513.9179999999897,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 1.878,
      "layouts": 76,
      "layoutDurationMs": 14.122,
      "taskDurationMs": 477.796,
      "heapDeltaBytes": 12296,
      "heapUsedBytes": 115334084,
      "domNodes": 4,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 198.06199999999998,
      "eventListeners": 292,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66874999999999,
      "p95FrameDurationMs": 16.700000000000728
    }
  ]
}

🎭 Playwright: ✅ 2286 passed, 0 failed

📊 Browser Reports
  • chromium: View Report (✅ 2264 / ❌ 0 / ⚠️ 0 / ⏭️ 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/29/2026, 07:01:49 PM 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 a5029907fcc0fefb74c215642f65b30da870efed

Full docs: ADR-DEVEX-LINT-0015

@datadog-official

This comment has been minimized.

@github-actions github-actions Bot added the risk:xhigh PR risk grade (advisory shadow check; grader-owned) label Oct 29, 2026
… tests

On this release branch restoreTarget resolves to a boolean, not the
{ ready, committedWorkflowId } object it returns on main, so the
backported assertions failed typecheck.

@dante01yoon dante01yoon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Backport of #22048 — approving.

@codecov

codecov Bot commented Oct 29, 2026

Copy link
Copy Markdown

Codecov Report

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

Files with missing lines Patch % Lines
...ent/composables/agent/useAgentWorkflowSelection.ts 92.85% 1 Missing ⚠️
@@              Coverage Diff              @@
##             cloud/1.57   #22280   +/-   ##
=============================================
  Coverage              ?   85.23%           
=============================================
  Files                 ?     2526           
  Lines                 ?   133336           
  Branches              ?    40846           
=============================================
  Hits                  ?   113649           
  Misses                ?    19271           
  Partials              ?      416           
Flag Coverage Δ
unit 85.23% <95.65%> (?)

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

Files with missing lines Coverage Δ
src/components/graph/GraphCanvas.vue 65.93% <100.00%> (ø)
...atform/workflow/management/stores/workflowStore.ts 89.72% <100.00%> (ø)
...ersistence/composables/useWorkflowPersistenceV2.ts 89.37% <100.00%> (ø)
...ent/composables/agent/useAgentWorkflowSelection.ts 94.11% <92.85%> (ø)
🚀 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.

@comfy-pr-bot
comfy-pr-bot merged commit ecc40cc into cloud/1.57 Oct 29, 2026
124 checks passed
@comfy-pr-bot
comfy-pr-bot deleted the backport-22048-to-cloud-1.57 branch October 29, 2026 19:17
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 risk:xhigh PR risk grade (advisory shadow check; grader-owned)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants