Skip to content

fix(agent-crdt): scope layout mint ops to the bound document's root graph - #18109

Merged
christian-byrne merged 18 commits into
mainfrom
claude/layout-mint-port-root-graph-scope
Sep 22, 2026
Merged

christian-byrne merged 18 commits into
mainfrom
claude/layout-mint-port-root-graph-scope

Conversation

@claude

@claude claude Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Christian Byrne · Slack thread

Summary

Before: While the Agent panel is bound to a workflow, switching to another workflow tab reuses the same in-memory root graph object for the new tab's nodes before the panel's document binding has caught up. Every node LiteGraph attaches during that window queues a layout createNode change, and the mint port did not check which graph a change belonged to, so those changes for the new tab were minted as add_node operations and sent into the previous tab's still-bound document.

After: The layout mint port now compares every root-scoped createNode/deleteNode/clearGraph change against the bound document's own root graph id, sourced from a plain accessor derived from the bound workflow's own serialized activeState.id (not the live canvas graph, and not a memoized computed, so it can never latch a value that goes stale while the same workflow's own graph id rotates in place). A change naming a different graph is dropped and reported once (agent_crdt_op_for_unbound_graph) instead of being minted, so a tab switch can no longer leak one workflow's nodes into another workflow's document.

Mechanism: app.ts reuses one root graph instance across every workflow and reconfigures it (rewriting its stored id) before the panel's isBoundWorkflowActive flag has a chance to flip, so the layout store's queued createNode notifications for the newly-loaded workflow flush on a microtask while the mint port still believes the previous workflow's document is bound.

Changes

  • What:
    • AgentPanelRoot.vue derives boundRootGraphId as a plain function reading the bound workflow's own serialized activeState.id (via boundOrOpenWorkflowFor(boundWorkflowId)), converted with toRootGraphId, and passes the accessor into attachMintPortWiring. Reading it as a plain accessor (not a computed) matters because the workflow's changeTracker is markRaw'd: a computed reading through it has no reactive dependency on activeState.id and would keep serving a stale id after the same bound workflow's own graph id rotates without a rebind (e.g. LGraph.clear()).
    • mintPortWiring.ts forwards the boundRootGraphId accessor (typed RootGraphId | null) through to the layout mint port.
    • layoutMintPort.ts drops a root-scoped createNode/deleteNode/clearGraph whose graphId does not match the bound root graph id, reporting once per action and graph pair per tick via reportError (agent_crdt_op_for_unbound_graph). Its own mint-dedupe bookkeeping is keyed by each operation's own graphId (one id set per root graph, looked up by the value the op itself carries — every real op's graphId comes from the live LGraph, which always has one) rather than by the boundRootGraphId() accessor, so a graph's bucket is reachable only through its own ops: a rebind, a still-in-flight foreign load, or a document whose id has not hydrated yet can never share or evict another graph's bookkeeping. clearGraph only forgets a graph's bucket for an intentional (human-confirmed) clear captured via runIntentionalClear, never for an incidental clear (a tab switch's in-place LGraph.clear()), so a return to a root whose nodes are still in the document does not re-mint them. deleteNode's forget-side bookkeeping only fires for a genuinely same-graph, root-owned delete (ownerGraphId === graphId), so a subgraph-interior delete sharing a node id with a root-level node cannot corrupt the root's own entry.

Review Focus

  • src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts reproduces the exact microtask race against the real layout store (teardown bracket open → configure the new workflow's nodes → teardown bracket close, all synchronous → flush). It failed before this change (an add_node for the other workflow's node was minted) and passes after.
  • layoutMintPort.test.ts covers the dedupe-bookkeeping regressions: a root-scoped delete or clear for a foreign graph is dropped and reported without touching the bound graph's own dedupe entry or an active intentional-clear capture; an incidental (non-intentional) same-graph clear — the shape a tab switch's in-place LGraph.clear() emits before rebinding — also leaves the bound graph's dedupe entry untouched; two unidentified documents (accessor reporting null for both) no longer share a dedupe bucket; a subgraph-interior delete colliding on node id with a root-level node cannot clear the root's own entry; and a rebind to a different root, including an A→B→A round trip that actually delivers B's own create while B is bound, mints/suppresses correctly on each side.
  • For createNode and deleteNode the scope check only applies once a change is already root-scoped (ownerGraphId === graphId); clearGraph has no owner-graph check because it is always root-scoped by construction (layoutStore.clearGraph(rootGraphId) is its only call site) — it is classified directly by its graphId. The existing subgraph-interior handling in reportUnrepresentableInteriorChange is untouched, as is serializeForMint.
  • boundRootGraphId() returning null (no workflow bound, or a workflow bound before its activeState has hydrated) is treated as permissive rather than restrictive, matching every other existing caller's fixtures: failing closed there would turn an ordinary, transient post-bind race into permanently dropped user edits, which is worse than the narrow foreign-load race it would guard against — a race the dedupe bucket's own per-graphId keying (above) already removes the practical risk from, and one still independently covered by the teardown/session brackets.

Verification

  • pnpm vitest run src/workbench/extensions/agent/crdt src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts: 727 passed, 2 pre-existing expected fails (unrelated).
  • pnpm vitest run src/workbench/extensions/agent: 1803 passed, 4 pre-existing expected fails (unrelated).
  • pnpm vitest run src/workbench/extensions/agent/AgentPanelRoot.test.ts: included above.
  • pnpm typecheck, pnpm lint (targeted to changed files plus the full pre-commit hook), pnpm format, pnpm knip: clean.

Related: #18078, #18071


Generated by Claude Code

@coderabbitai

coderabbitai Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

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

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 97489d9b-2daf-4c43-8a29-cded28d56dd4

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

@github-actions

github-actions Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

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

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

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 09/22/2026, 12:55:27 AM UTC

Links

📦 Bundle: 9.96 MB gzip ⚪ 0 B

Details

Summary

  • Raw size: 42.2 MB baseline 42.2 MB — ⚪ 0 B
  • Gzip: 9.96 MB baseline 9.96 MB — ⚪ 0 B
  • Brotli: 7.01 MB baseline 7.01 MB — ⚪ 0 B
  • Bundles: 459 current • 459 baseline

Category Glance
Other ⚪ 0 B (17.8 MB) · Vendor & Third-Party ⚪ 0 B (17.4 MB) · Data & Services ⚪ 0 B (3.88 MB) · Graph Workspace ⚪ 0 B (1.46 MB) · Panels & Settings ⚪ 0 B (639 kB) · Utilities & Hooks ⚪ 0 B (577 kB) · + 5 more

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

Main entry bundles and manifests

Status: 1 unchanged

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

Graph editor runtime, canvas, workflow orchestration

Status: 3 unchanged

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

Top-level views, pages, and routed surfaces

Status: 18 unchanged

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

Configuration panels, inspectors, and settings screens

Status: 28 unchanged

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

Authentication, profile, and account management bundles

Status: 11 unchanged

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

Modals, dialogs, drawers, and in-app editors

Status: 8 unchanged

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

Reusable component library chunks

Status: 16 unchanged

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

Stores, services, APIs, and repositories

Status: 16 unchanged

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

Helpers, composables, and utility bundles

Status: 38 unchanged

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

External libraries and shared vendor chunks

Status: 18 unchanged

Other — 17.8 MB (baseline 17.8 MB) • ⚪ 0 B

Bundles that do not match a named category

Status: 302 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 54.5 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 59.3 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 61.6 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 79.3 MB heap
dom-widget-order-dense-n200-w200-i120: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 354ms TBT · 84.4 MB heap
dom-widget-order-sparse-n1000-w20-i120: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 116ms TBT · 86.3 MB heap
extension-clean-combined-draw: · 58.1 avg FPS · 40.0 P5 FPS ❌ (target: ≥52) · 20ms TBT · 88.0 MB heap
extension-rgthree-prototype-draw: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 78.3 MB heap
large-graph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 79.4 MB heap
large-graph-pan: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 74.2 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 70.7 MB heap
legacy-node-drag: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 74.9 MB heap
minimap-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 80.4 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 73.2 MB heap
subgraph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.3 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.7 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 94ms TBT · 77.6 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 73.1 MB heap
vue-large-graph-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 182.7 MB heap
vue-large-graph-pan: · 59.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 21ms TBT · 183.2 MB heap
vue-node-resize-workload: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 177.5 MB heap
vue-zoom-out-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 166.8 MB heap
workflow-execution: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.4 MB heap

⚠️ 9 regressions detected

Show regressions
Metric Baseline PR (median) Δ Sig
canvas-idle: DOM nodes -263 -119 -55% ⚠️ z=92.7
canvas-idle: event listeners -152 -100 -34% ⚠️ z=10.7
canvas-mouse-sweep: DOM nodes -263 -258 -2% ⚠️ z=2.8
dom-widget-clipping: p95 frame time 17ms 17ms +1% ⚠️ z=2.0
dom-widget-clipping: heap used 76.8 MB 79.3 MB +3% ⚠️ z=3.7
extension-clean-combined-draw: heap used 69.8 MB 88.0 MB +26% ⚠️ z=2.2
minimap-idle: DOM nodes -252 -118 -53% ⚠️ z=3.3
subgraph-mouse-sweep: avg frame time 17ms 17ms +0% ⚠️ z=2.1
vue-large-graph-pan: heap used 172.1 MB 183.2 MB +6% ⚠️ z=2.1
All metrics
Metric Baseline PR (median) Δ Sig
canvas-idle: avg frame time 17ms 17ms +0% z=0.6
canvas-idle: p95 frame time 17ms 17ms +0% z=-1.7
canvas-idle: layout duration 0ms 0ms +0% —
canvas-idle: style recalc duration 8ms 5ms -39% z=-2.9
canvas-idle: layout count 0 0 +0% —
canvas-idle: style recalc count 9 10 +11% z=2.0
canvas-idle: task duration 460ms 319ms -31% z=-2.1
canvas-idle: script duration 9ms 6ms -31% z=-1.8
canvas-idle: TBT 0ms 0ms +0% —
canvas-idle: heap used 71.7 MB 54.5 MB -24% z=-2.9
canvas-idle: DOM nodes -263 -119 -55% ⚠️ z=92.7
canvas-idle: event listeners -152 -100 -34% ⚠️ z=10.7
canvas-mouse-sweep: avg frame time 17ms 17ms +0% z=1.0
canvas-mouse-sweep: p95 frame time 17ms 17ms -0% z=-1.8
canvas-mouse-sweep: layout duration 4ms 3ms -38% z=-5.5
canvas-mouse-sweep: style recalc duration 29ms 16ms -45% z=-3.8
canvas-mouse-sweep: layout count 14 14 +0% —
canvas-mouse-sweep: style recalc count 76 75 -2% z=-0.1
canvas-mouse-sweep: task duration 859ms 527ms -39% z=-2.9
canvas-mouse-sweep: script duration 166ms 93ms -44% z=-2.9
canvas-mouse-sweep: TBT 0ms 0ms +0% —
canvas-mouse-sweep: heap used 59.6 MB 59.3 MB -0% z=-1.8
canvas-mouse-sweep: DOM nodes -263 -258 -2% ⚠️ z=2.8
canvas-mouse-sweep: event listeners -152 -174 +14% z=-1.7
canvas-zoom-sweep: avg frame time 17ms 17ms +0% z=0.7
canvas-zoom-sweep: p95 frame time 17ms 17ms -0% z=0.3
canvas-zoom-sweep: layout duration 1ms 1ms -24% z=-1.6
canvas-zoom-sweep: style recalc duration 17ms 10ms -41% z=-3.2
canvas-zoom-sweep: layout count 6 6 +0% —
canvas-zoom-sweep: style recalc count 31 32 +2% z=1.0
canvas-zoom-sweep: task duration 344ms 203ms -41% z=-2.6
canvas-zoom-sweep: script duration 12ms 7ms -38% z=-2.4
canvas-zoom-sweep: TBT 0ms 0ms +0% —
canvas-zoom-sweep: heap used 61.2 MB 61.6 MB +1% z=-0.2
canvas-zoom-sweep: DOM nodes 75 77 +2% z=1.0
canvas-zoom-sweep: event listeners 15 15 +0% —
dom-widget-clipping: avg frame time 17ms 17ms +0% z=0.6
dom-widget-clipping: p95 frame time 17ms 17ms +1% ⚠️ z=2.0
dom-widget-clipping: layout duration 0ms 0ms +0% —
dom-widget-clipping: style recalc duration 8ms 5ms -34% z=-4.3
dom-widget-clipping: layout count 0 0 +0% —
dom-widget-clipping: style recalc count 11 13 +14% z=3.9
dom-widget-clipping: task duration 451ms 287ms -36% z=-2.9
dom-widget-clipping: script duration 167ms 103ms -39% z=-2.9
dom-widget-clipping: TBT 0ms 0ms +0% —
dom-widget-clipping: heap used 76.8 MB 79.3 MB +3% ⚠️ z=3.7
dom-widget-clipping: DOM nodes 18 21 +14% z=3.5
dom-widget-clipping: event listeners 0 0 +0% —
dom-widget-order-dense-n200-w200-i120: avg frame time 17ms 17ms +0% z=0.7
dom-widget-order-dense-n200-w200-i120: p95 frame time 17ms 17ms -1% z=-1.3
dom-widget-order-dense-n200-w200-i120: layout duration 0ms 0ms +0% —
dom-widget-order-dense-n200-w200-i120: style recalc duration 0ms 0ms +0% —
dom-widget-order-dense-n200-w200-i120: layout count 0 0 +0% —
dom-widget-order-dense-n200-w200-i120: style recalc count 0 0 +0% —
dom-widget-order-dense-n200-w200-i120: task duration 851ms 603ms -29% z=-1.8
dom-widget-order-dense-n200-w200-i120: script duration 70ms 40ms -42% z=-2.1
dom-widget-order-dense-n200-w200-i120: TBT 570ms 354ms -38% z=-1.7
dom-widget-order-dense-n200-w200-i120: heap used 94.8 MB 84.4 MB -11% z=-0.5
dom-widget-order-dense-n200-w200-i120: DOM nodes 0 -148 — z=-0.5
dom-widget-order-dense-n200-w200-i120: event listeners 0 -109 — z=-0.6
dom-widget-order-sparse-n1000-w20-i120: avg frame time 17ms 17ms +0% z=1.9
dom-widget-order-sparse-n1000-w20-i120: p95 frame time 17ms 17ms +0% z=-1.2
dom-widget-order-sparse-n1000-w20-i120: layout duration 0ms 0ms +0% —
dom-widget-order-sparse-n1000-w20-i120: style recalc duration 0ms 0ms +0% —
dom-widget-order-sparse-n1000-w20-i120: layout count 0 0 +0% —
dom-widget-order-sparse-n1000-w20-i120: style recalc count 0 0 +0% —
dom-widget-order-sparse-n1000-w20-i120: task duration 475ms 310ms -35% z=-2.0
dom-widget-order-sparse-n1000-w20-i120: script duration 167ms 96ms -43% z=-2.3
dom-widget-order-sparse-n1000-w20-i120: TBT 232ms 116ms -50% z=-1.9
dom-widget-order-sparse-n1000-w20-i120: heap used 85.7 MB 86.3 MB +1% z=-0.2
dom-widget-order-sparse-n1000-w20-i120: DOM nodes 0 0 +0% —
dom-widget-order-sparse-n1000-w20-i120: event listeners 0 0 +0% —
extension-clean-combined-draw: avg frame time 19ms 17ms -9% z=-1.8
extension-clean-combined-draw: p95 frame time 50ms 25ms -50% z=-1.8
extension-clean-combined-draw: layout duration 0ms 0ms +0% —
extension-clean-combined-draw: style recalc duration 0ms 1ms — variance too high
extension-clean-combined-draw: layout count 0 0 +0% —
extension-clean-combined-draw: style recalc count 0 1 — variance too high
extension-clean-combined-draw: task duration 9309ms 4770ms -49% z=-2.3
extension-clean-combined-draw: script duration 7917ms 3762ms -52% z=-2.2
extension-clean-combined-draw: TBT 1320ms 20ms -99% variance too high
extension-clean-combined-draw: heap used 69.8 MB 88.0 MB +26% ⚠️ z=2.2
extension-clean-combined-draw: DOM nodes -14 -140 +900% z=-5.4
extension-clean-combined-draw: event listeners 0 -92 — z=-5.9
extension-rgthree-prototype-draw: avg frame time 19ms 17ms -12% z=-2.6
extension-rgthree-prototype-draw: p95 frame time 50ms 17ms -67% z=-2.4
extension-rgthree-prototype-draw: layout duration 0ms 0ms +0% —
extension-rgthree-prototype-draw: style recalc duration 0ms 1ms — variance too high
extension-rgthree-prototype-draw: layout count 0 0 +0% —
extension-rgthree-prototype-draw: style recalc count 0 2 — variance too high
extension-rgthree-prototype-draw: task duration 9942ms 4672ms -53% z=-2.4
extension-rgthree-prototype-draw: script duration 8217ms 3718ms -55% z=-2.3
extension-rgthree-prototype-draw: TBT 1465ms 0ms -100% variance too high
extension-rgthree-prototype-draw: heap used 82.4 MB 78.3 MB -5% z=0.4
extension-rgthree-prototype-draw: DOM nodes -10 -142 +1315% z=-2.7
extension-rgthree-prototype-draw: event listeners 0 -87 — z=-3.1
large-graph-idle: avg frame time 17ms 17ms +0% z=-1.2
large-graph-idle: p95 frame time 17ms 17ms +0% z=0.6
large-graph-idle: layout duration 0ms 0ms +0% —
large-graph-idle: style recalc duration 5ms 4ms -31% z=-1.7
large-graph-idle: layout count 0 0 +0% —
large-graph-idle: style recalc count 5 8 +50% z=1.3
large-graph-idle: task duration 568ms 393ms -31% z=-1.9
large-graph-idle: script duration 35ms 22ms -39% z=-3.1
large-graph-idle: TBT 0ms 0ms +0% —
large-graph-idle: heap used 79.6 MB 79.4 MB -0% z=0.0
large-graph-idle: DOM nodes -249 -242 -3% z=0.1
large-graph-idle: event listeners -152 -152 +0% z=0.3
large-graph-pan: avg frame time 17ms 17ms +0% z=-0.5
large-graph-pan: p95 frame time 17ms 17ms -1% z=-0.9
large-graph-pan: layout duration 0ms 0ms +0% —
large-graph-pan: style recalc duration 12ms 11ms -7% z=-0.5
large-graph-pan: layout count 0 0 +0% —
large-graph-pan: style recalc count 66 70 +5% z=2.8
large-graph-pan: task duration 1641ms 1111ms -32% z=-2.3
large-graph-pan: script duration 847ms 534ms -37% z=-2.5
large-graph-pan: TBT 0ms 0ms +0% —
large-graph-pan: heap used 76.5 MB 74.2 MB -3% z=-1.3
large-graph-pan: DOM nodes -252 -231 -8% z=-0.2
large-graph-pan: event listeners -152 -174 +14% z=-1.1
large-graph-zoom: avg frame time 17ms 17ms +0% z=1.9
large-graph-zoom: p95 frame time 17ms 17ms +0% z=0.2
large-graph-zoom: layout duration 13ms 10ms -25% z=-3.9
large-graph-zoom: style recalc duration 11ms 10ms -15% z=-1.5
large-graph-zoom: layout count 60 60 +0% —
large-graph-zoom: style recalc count 61 64 +5% z=2.9
large-graph-zoom: task duration 1702ms 1058ms -38% z=-2.8
large-graph-zoom: script duration 810ms 462ms -43% z=-2.9
large-graph-zoom: TBT 0ms 0ms +0% —
large-graph-zoom: heap used 71.3 MB 70.7 MB -1% z=-0.7
large-graph-zoom: DOM nodes 2 10 +400% z=1.3
large-graph-zoom: event listeners 0 0 +0% z=0.8
legacy-node-drag: avg frame time 17ms 17ms +0% z=0.4
legacy-node-drag: p95 frame time 17ms 17ms -0% z=0.2
legacy-node-drag: layout duration 0ms 0ms +0% —
legacy-node-drag: style recalc duration 5ms 5ms -5% z=-0.9
legacy-node-drag: layout count 0 0 +0% —
legacy-node-drag: style recalc count 40 45 +11% z=1.8
legacy-node-drag: task duration 1937ms 1170ms -40% z=-3.2
legacy-node-drag: script duration 984ms 567ms -42% z=-3.2
legacy-node-drag: TBT 0ms 0ms +0% —
legacy-node-drag: heap used 83.9 MB 74.9 MB -11% z=-1.5
legacy-node-drag: DOM nodes 0 9 — z=0.9
legacy-node-drag: event listeners 180 180 +0% z=0.6
minimap-idle: avg frame time 17ms 17ms +0% z=0.7
minimap-idle: p95 frame time 17ms 17ms +0% z=1.5
minimap-idle: layout duration 0ms 0ms +0% —
minimap-idle: style recalc duration 5ms 3ms -40% z=-1.6
minimap-idle: layout count 0 0 +0% —
minimap-idle: style recalc count 5 6 +20% z=1.1
minimap-idle: task duration 561ms 344ms -39% z=-2.6
minimap-idle: script duration 36ms 22ms -40% z=-3.4
minimap-idle: TBT 0ms 0ms +0% —
minimap-idle: heap used 80.1 MB 80.4 MB +0% z=0.8
minimap-idle: DOM nodes -252 -118 -53% ⚠️ z=3.3
minimap-idle: event listeners -174 -87 -50% z=1.9
subgraph-dom-widget-clipping: avg frame time 17ms 17ms -0% z=-1.0
subgraph-dom-widget-clipping: p95 frame time 17ms 17ms -0% z=0.2
subgraph-dom-widget-clipping: layout duration 0ms 0ms +0% —
subgraph-dom-widget-clipping: style recalc duration 11ms 7ms -38% z=-3.3
subgraph-dom-widget-clipping: layout count 0 0 +0% —
subgraph-dom-widget-clipping: style recalc count 46 47 +2% z=0.2
subgraph-dom-widget-clipping: task duration 401ms 261ms -35% z=-2.6
subgraph-dom-widget-clipping: script duration 143ms 92ms -36% z=-2.7
subgraph-dom-widget-clipping: TBT 0ms 0ms +0% —
subgraph-dom-widget-clipping: heap used 73.0 MB 73.2 MB +0% z=-1.6
subgraph-dom-widget-clipping: DOM nodes 18 20 +11% z=0.3
subgraph-dom-widget-clipping: event listeners 6 6 +0% —
subgraph-idle: avg frame time 17ms 17ms -0% z=-0.7
subgraph-idle: p95 frame time 17ms 17ms -1% z=-2.2
subgraph-idle: layout duration 0ms 0ms +0% —
subgraph-idle: style recalc duration 9ms 5ms -39% z=-2.8
subgraph-idle: layout count 0 0 +0% —
subgraph-idle: style recalc count 10 11 +5% z=1.8
subgraph-idle: task duration 462ms 334ms -28% z=-1.7
subgraph-idle: script duration 8ms 6ms -30% z=-2.1
subgraph-idle: TBT 0ms 0ms +0% —
subgraph-idle: heap used 77.1 MB 67.3 MB -13% z=0.6
subgraph-idle: DOM nodes -275 -273 -1% z=-0.1
subgraph-idle: event listeners -198 -209 +6% z=-0.4
subgraph-mouse-sweep: avg frame time 17ms 17ms +0% ⚠️ z=2.1
subgraph-mouse-sweep: p95 frame time 17ms 17ms -0% z=-0.0
subgraph-mouse-sweep: layout duration 5ms 3ms -43% z=-4.9
subgraph-mouse-sweep: style recalc duration 28ms 16ms -41% z=-5.4
subgraph-mouse-sweep: layout count 18 18 +0% —
subgraph-mouse-sweep: style recalc count 78 77 -1% z=-1.0
subgraph-mouse-sweep: task duration 809ms 521ms -36% z=-2.7
subgraph-mouse-sweep: script duration 113ms 60ms -46% z=-4.0
subgraph-mouse-sweep: TBT 0ms 0ms +0% —
subgraph-mouse-sweep: heap used 72.7 MB 63.7 MB -12% z=-1.3
subgraph-mouse-sweep: DOM nodes -276 -275 -0% z=1.0
subgraph-mouse-sweep: event listeners -198 -220 +11% z=-2.0
subgraph-transition-enter: avg frame time 17ms 17ms +0% z=0.1
subgraph-transition-enter: p95 frame time 17ms 17ms +0% z=1.2
subgraph-transition-enter: layout duration 14ms 8ms -45% z=-2.8
subgraph-transition-enter: style recalc duration 31ms 19ms -36% z=-2.4
subgraph-transition-enter: layout count 5 5 +0% —
subgraph-transition-enter: style recalc count 17 19 +12% z=2.0
subgraph-transition-enter: task duration 974ms 593ms -39% z=-2.0
subgraph-transition-enter: script duration 34ms 19ms -43% z=-2.5
subgraph-transition-enter: TBT 153ms 94ms -39% z=-1.4
subgraph-transition-enter: heap used 77.0 MB 77.6 MB +1% z=-0.9
subgraph-transition-enter: DOM nodes 13667 13667 +0% —
subgraph-transition-enter: event listeners 2383 2383 +0% —
viewport-pan-sweep: avg frame time 17ms 17ms +0% z=-0.5
viewport-pan-sweep: p95 frame time 17ms 17ms +0% z=0.0
viewport-pan-sweep: layout duration 0ms 0ms +0% —
viewport-pan-sweep: style recalc duration 36ms 25ms -32% z=-3.8
viewport-pan-sweep: layout count 0 0 +0% —
viewport-pan-sweep: style recalc count 248 250 +1% z=2.4
viewport-pan-sweep: task duration 5756ms 3552ms -38% z=-2.8
viewport-pan-sweep: script duration 2855ms 1617ms -43% z=-3.0
viewport-pan-sweep: TBT 0ms 0ms +0% variance too high
viewport-pan-sweep: heap used 76.7 MB 73.1 MB -5% z=-0.6
viewport-pan-sweep: DOM nodes -248 -239 -4% z=0.0
viewport-pan-sweep: event listeners -152 -174 +14% z=-1.1
vue-large-graph-idle: avg frame time 18ms 17ms -6% z=-3.3
vue-large-graph-idle: p95 frame time 17ms 17ms +0% z=1.2
vue-large-graph-idle: layout duration 0ms 0ms +0% —
vue-large-graph-idle: style recalc duration 0ms 0ms +0% —
vue-large-graph-idle: layout count 0 0 +0% —
vue-large-graph-idle: style recalc count 0 0 +0% —
vue-large-graph-idle: task duration 16699ms 8217ms -51% z=-4.1
vue-large-graph-idle: script duration 270ms 116ms -57% z=-3.6
vue-large-graph-idle: TBT 0ms 0ms +0% —
vue-large-graph-idle: heap used 173.5 MB 182.7 MB +5% z=1.4
vue-large-graph-idle: DOM nodes -8061 -8062 +0% z=-2.3
vue-large-graph-idle: event listeners -14928 -14928 +0% z=-0.3
vue-large-graph-pan: avg frame time 18ms 17ms -5% z=-3.2
vue-large-graph-pan: p95 frame time 17ms 17ms -0% z=-1.0
vue-large-graph-pan: layout duration 0ms 0ms +0% —
vue-large-graph-pan: style recalc duration 18ms 13ms -30% z=-2.2
vue-large-graph-pan: layout count 0 0 +0% —
vue-large-graph-pan: style recalc count 155 67 -57% z=-2.3
vue-large-graph-pan: task duration 20546ms 12145ms -41% z=-3.1
vue-large-graph-pan: script duration 889ms 609ms -32% z=-2.5
vue-large-graph-pan: TBT 90ms 21ms -77% variance too high
vue-large-graph-pan: heap used 172.1 MB 183.2 MB +6% ⚠️ z=2.1
vue-large-graph-pan: DOM nodes -8061 -8062 +0% z=-0.5
vue-large-graph-pan: event listeners -14928 -14928 +0% z=-0.5
vue-node-resize-workload: avg frame time 18ms 17ms -6% z=-3.0
vue-node-resize-workload: p95 frame time 17ms 17ms -0% z=-0.8
vue-node-resize-workload: layout duration 23ms 20ms -12% z=-2.0
vue-node-resize-workload: style recalc duration 80ms 61ms -23% z=-1.6
vue-node-resize-workload: layout count 20 20 +0% —
vue-node-resize-workload: style recalc count 20 20 +0% —
vue-node-resize-workload: task duration 6127ms 3515ms -43% z=-3.2
vue-node-resize-workload: script duration 106ms 57ms -46% z=-3.5
vue-node-resize-workload: TBT 433ms 0ms -100% z=-2.6
vue-node-resize-workload: heap used 168.1 MB 177.5 MB +6% z=1.6
vue-node-resize-workload: DOM nodes -8061 -8062 +0% z=0.3
vue-node-resize-workload: event listeners -14928 -14928 +0% z=-0.3
vue-zoom-out-idle: avg frame time 17ms 17ms -3% z=-3.4
vue-zoom-out-idle: p95 frame time 17ms 17ms +0% z=0.9
vue-zoom-out-idle: layout duration 0ms 0ms +0% —
vue-zoom-out-idle: style recalc duration 0ms 0ms +0% —
vue-zoom-out-idle: layout count 0 0 +0% —
vue-zoom-out-idle: style recalc count 0 0 +0% —
vue-zoom-out-idle: task duration 8237ms 4848ms -41% z=-3.4
vue-zoom-out-idle: script duration 127ms 67ms -47% z=-3.4
vue-zoom-out-idle: TBT 0ms 0ms +0% —
vue-zoom-out-idle: heap used 169.7 MB 166.8 MB -2% z=-1.3
vue-zoom-out-idle: DOM nodes 0 0 +0% z=0.5
vue-zoom-out-idle: event listeners 0 0 +0% z=0.4
workflow-execution: avg frame time 17ms 17ms -0% z=-0.5
workflow-execution: p95 frame time 17ms 17ms +0% z=0.5
workflow-execution: layout duration 1ms 1ms -54% z=-2.7
workflow-execution: style recalc duration 24ms 12ms -49% z=-1.8
workflow-execution: layout count 3 2 -33% z=-2.4
workflow-execution: style recalc count 18 10 -44% z=-0.6
workflow-execution: task duration 121ms 70ms -42% z=-1.4
workflow-execution: script duration 14ms 7ms -47% z=-1.1
workflow-execution: TBT 0ms 0ms +0% —
workflow-execution: heap used 63.7 MB 64.4 MB +1% z=1.3
workflow-execution: DOM nodes 144 111 -23% z=-1.6
workflow-execution: event listeners 81 49 -40% z=-0.3
Historical variance (last 15 runs)
Metric μ σ CV
canvas-idle: avg frame time 17ms 0ms 0.0%
canvas-idle: p95 frame time 17ms 0ms 0.2%
canvas-idle: layout duration 0ms 0ms 0.0%
canvas-idle: style recalc duration 8ms 1ms 13.2%
canvas-idle: layout count 0 0 0.0%
canvas-idle: style recalc count 9 1 6.5%
canvas-idle: task duration 445ms 61ms 13.8%
canvas-idle: script duration 10ms 2ms 19.2%
canvas-idle: TBT 0ms 0ms 0.0%
canvas-idle: heap used 65.9 MB 3.9 MB 5.9%
canvas-idle: DOM nodes -262 2 0.0%
canvas-idle: event listeners -161 6 0.0%
canvas-mouse-sweep: avg frame time 17ms 0ms 0.0%
canvas-mouse-sweep: p95 frame time 17ms 0ms 0.1%
canvas-mouse-sweep: layout duration 4ms 0ms 7.0%
canvas-mouse-sweep: style recalc duration 28ms 3ms 10.8%
canvas-mouse-sweep: layout count 14 0 0.0%
canvas-mouse-sweep: style recalc count 75 1 1.5%
canvas-mouse-sweep: task duration 805ms 95ms 11.7%
canvas-mouse-sweep: script duration 156ms 21ms 13.8%
canvas-mouse-sweep: TBT 0ms 0ms 0.0%
canvas-mouse-sweep: heap used 66.3 MB 3.9 MB 5.9%
canvas-mouse-sweep: DOM nodes -262 2 0.0%
canvas-mouse-sweep: event listeners -160 8 0.0%
canvas-zoom-sweep: avg frame time 17ms 0ms 0.0%
canvas-zoom-sweep: p95 frame time 17ms 0ms 0.1%
canvas-zoom-sweep: layout duration 1ms 0ms 7.3%
canvas-zoom-sweep: style recalc duration 16ms 2ms 11.9%
canvas-zoom-sweep: layout count 6 0 0.0%
canvas-zoom-sweep: style recalc count 31 1 1.9%
canvas-zoom-sweep: task duration 333ms 49ms 14.8%
canvas-zoom-sweep: script duration 12ms 2ms 16.5%
canvas-zoom-sweep: TBT 0ms 0ms 0.0%
canvas-zoom-sweep: heap used 61.9 MB 1.6 MB 2.7%
canvas-zoom-sweep: DOM nodes 76 1 1.3%
canvas-zoom-sweep: event listeners 15 0 0.0%
dom-widget-clipping: avg frame time 17ms 0ms 0.0%
dom-widget-clipping: p95 frame time 17ms 0ms 0.2%
dom-widget-clipping: layout duration 0ms 0ms 0.0%
dom-widget-clipping: style recalc duration 8ms 1ms 8.1%
dom-widget-clipping: layout count 0 0 0.0%
dom-widget-clipping: style recalc count 11 0 4.0%
dom-widget-clipping: task duration 430ms 49ms 11.4%
dom-widget-clipping: script duration 160ms 20ms 12.3%
dom-widget-clipping: TBT 0ms 0ms 0.0%
dom-widget-clipping: heap used 76.9 MB 662.5 KB 0.8%
dom-widget-clipping: DOM nodes 18 1 4.7%
dom-widget-clipping: event listeners 0 0 0.0%
dom-widget-order-dense-n200-w200-i120: avg frame time 17ms 0ms 0.0%
dom-widget-order-dense-n200-w200-i120: p95 frame time 17ms 0ms 0.2%
dom-widget-order-dense-n200-w200-i120: layout duration 0ms 0ms 0.0%
dom-widget-order-dense-n200-w200-i120: style recalc duration 0ms 0ms 0.0%
dom-widget-order-dense-n200-w200-i120: layout count 0 0 0.0%
dom-widget-order-dense-n200-w200-i120: style recalc count 0 0 0.0%
dom-widget-order-dense-n200-w200-i120: task duration 821ms 123ms 15.0%
dom-widget-order-dense-n200-w200-i120: script duration 65ms 12ms 18.4%
dom-widget-order-dense-n200-w200-i120: TBT 528ms 100ms 18.9%
dom-widget-order-dense-n200-w200-i120: heap used 88.5 MB 8.5 MB 9.6%
dom-widget-order-dense-n200-w200-i120: DOM nodes -106 79 0.0%
dom-widget-order-dense-n200-w200-i120: event listeners -76 58 0.0%
dom-widget-order-sparse-n1000-w20-i120: avg frame time 17ms 0ms 0.0%
dom-widget-order-sparse-n1000-w20-i120: p95 frame time 17ms 0ms 0.2%
dom-widget-order-sparse-n1000-w20-i120: layout duration 0ms 0ms 0.0%
dom-widget-order-sparse-n1000-w20-i120: style recalc duration 0ms 0ms 0.0%
dom-widget-order-sparse-n1000-w20-i120: layout count 0 0 0.0%
dom-widget-order-sparse-n1000-w20-i120: style recalc count 0 0 0.0%
dom-widget-order-sparse-n1000-w20-i120: task duration 448ms 69ms 15.3%
dom-widget-order-sparse-n1000-w20-i120: script duration 154ms 25ms 16.5%
dom-widget-order-sparse-n1000-w20-i120: TBT 209ms 48ms 22.9%
dom-widget-order-sparse-n1000-w20-i120: heap used 86.4 MB 354.3 KB 0.4%
dom-widget-order-sparse-n1000-w20-i120: DOM nodes 0 0 0.0%
dom-widget-order-sparse-n1000-w20-i120: event listeners 0 0 0.0%
extension-clean-combined-draw: avg frame time 19ms 1ms 4.9%
extension-clean-combined-draw: p95 frame time 44ms 11ms 24.4%
extension-clean-combined-draw: layout duration 0ms 0ms 0.0%
extension-clean-combined-draw: style recalc duration 0ms 0ms 310.8%
extension-clean-combined-draw: layout count 0 0 0.0%
extension-clean-combined-draw: style recalc count 0 0 324.6%
extension-clean-combined-draw: task duration 8710ms 1731ms 19.9%
extension-clean-combined-draw: script duration 7209ms 1557ms 21.6%
extension-clean-combined-draw: TBT 926ms 590ms 63.7%
extension-clean-combined-draw: heap used 77.8 MB 4.7 MB 6.0%
extension-clean-combined-draw: DOM nodes -20 22 0.0%
extension-clean-combined-draw: event listeners -4 15 0.0%
extension-rgthree-prototype-draw: avg frame time 19ms 1ms 4.3%
extension-rgthree-prototype-draw: p95 frame time 44ms 11ms 26.2%
extension-rgthree-prototype-draw: layout duration 0ms 0ms 0.0%
extension-rgthree-prototype-draw: style recalc duration 0ms 0ms 230.2%
extension-rgthree-prototype-draw: layout count 0 0 0.0%
extension-rgthree-prototype-draw: style recalc count 0 0 254.2%
extension-rgthree-prototype-draw: task duration 8950ms 1777ms 19.9%
extension-rgthree-prototype-draw: script duration 7342ms 1592ms 21.7%
extension-rgthree-prototype-draw: TBT 960ms 622ms 64.8%
extension-rgthree-prototype-draw: heap used 76.7 MB 4.1 MB 5.3%
extension-rgthree-prototype-draw: DOM nodes -34 39 0.0%
extension-rgthree-prototype-draw: event listeners -12 24 0.0%
large-graph-idle: avg frame time 17ms 0ms 0.0%
large-graph-idle: p95 frame time 17ms 0ms 0.2%
large-graph-idle: layout duration 0ms 0ms 0.0%
large-graph-idle: style recalc duration 5ms 1ms 19.0%
large-graph-idle: layout count 0 0 0.0%
large-graph-idle: style recalc count 6 1 25.2%
large-graph-idle: task duration 550ms 81ms 14.7%
large-graph-idle: script duration 34ms 4ms 12.0%
large-graph-idle: TBT 0ms 0ms 0.0%
large-graph-idle: heap used 79.4 MB 371.1 KB 0.5%
large-graph-idle: DOM nodes -243 21 0.0%
large-graph-idle: event listeners -157 16 0.0%
large-graph-pan: avg frame time 17ms 0ms 0.0%
large-graph-pan: p95 frame time 17ms 0ms 0.2%
large-graph-pan: layout duration 0ms 0ms 0.0%
large-graph-pan: style recalc duration 12ms 2ms 13.0%
large-graph-pan: layout count 0 0 0.0%
large-graph-pan: style recalc count 66 1 1.8%
large-graph-pan: task duration 1560ms 195ms 12.5%
large-graph-pan: script duration 812ms 113ms 13.9%
large-graph-pan: TBT 0ms 0ms 0.0%
large-graph-pan: heap used 77.2 MB 2.4 MB 3.1%
large-graph-pan: DOM nodes -222 54 0.0%
large-graph-pan: event listeners -127 44 0.0%
large-graph-zoom: avg frame time 17ms 0ms 0.0%
large-graph-zoom: p95 frame time 17ms 0ms 0.2%
large-graph-zoom: layout duration 13ms 1ms 6.8%
large-graph-zoom: style recalc duration 11ms 1ms 10.1%
large-graph-zoom: layout count 60 0 0.0%
large-graph-zoom: style recalc count 61 1 1.5%
large-graph-zoom: task duration 1622ms 204ms 12.6%
large-graph-zoom: script duration 757ms 101ms 13.4%
large-graph-zoom: TBT 0ms 0ms 0.0%
large-graph-zoom: heap used 71.0 MB 441.4 KB 0.6%
large-graph-zoom: DOM nodes -72 65 0.0%
large-graph-zoom: event listeners -23 29 0.0%
legacy-node-drag: avg frame time 17ms 0ms 0.0%
legacy-node-drag: p95 frame time 17ms 0ms 0.2%
legacy-node-drag: layout duration 0ms 0ms 0.0%
legacy-node-drag: style recalc duration 6ms 1ms 22.1%
legacy-node-drag: layout count 0 0 0.0%
legacy-node-drag: style recalc count 41 2 4.3%
legacy-node-drag: task duration 1844ms 214ms 11.6%
legacy-node-drag: script duration 951ms 119ms 12.5%
legacy-node-drag: TBT 0ms 0ms 0.0%
legacy-node-drag: heap used 81.5 MB 4.3 MB 5.3%
legacy-node-drag: DOM nodes -72 89 0.0%
legacy-node-drag: event listeners 153 43 28.2%
minimap-idle: avg frame time 17ms 0ms 0.0%
minimap-idle: p95 frame time 17ms 0ms 0.2%
minimap-idle: layout duration 0ms 0ms 0.0%
minimap-idle: style recalc duration 4ms 1ms 14.8%
minimap-idle: layout count 0 0 0.0%
minimap-idle: style recalc count 5 1 23.5%
minimap-idle: task duration 537ms 75ms 14.0%
minimap-idle: script duration 34ms 4ms 11.1%
minimap-idle: TBT 0ms 0ms 0.0%
minimap-idle: heap used 80.0 MB 510.7 KB 0.6%
minimap-idle: DOM nodes -235 35 0.0%
minimap-idle: event listeners -136 27 0.0%
subgraph-dom-widget-clipping: avg frame time 17ms 0ms 0.0%
subgraph-dom-widget-clipping: p95 frame time 17ms 0ms 0.2%
subgraph-dom-widget-clipping: layout duration 0ms 0ms 0.0%
subgraph-dom-widget-clipping: style recalc duration 11ms 1ms 10.8%
subgraph-dom-widget-clipping: layout count 0 0 0.0%
subgraph-dom-widget-clipping: style recalc count 47 0 1.0%
subgraph-dom-widget-clipping: task duration 385ms 47ms 12.3%
subgraph-dom-widget-clipping: script duration 137ms 17ms 12.4%
subgraph-dom-widget-clipping: TBT 0ms 0ms 0.0%
subgraph-dom-widget-clipping: heap used 74.7 MB 979.9 KB 1.3%
subgraph-dom-widget-clipping: DOM nodes 20 1 4.7%
subgraph-dom-widget-clipping: event listeners 6 0 0.0%
subgraph-idle: avg frame time 17ms 0ms 0.0%
subgraph-idle: p95 frame time 17ms 0ms 0.2%
subgraph-idle: layout duration 0ms 0ms 0.0%
subgraph-idle: style recalc duration 8ms 1ms 12.3%
subgraph-idle: layout count 0 0 0.0%
subgraph-idle: style recalc count 10 0 3.8%
subgraph-idle: task duration 441ms 64ms 14.4%
subgraph-idle: script duration 9ms 1ms 16.2%
subgraph-idle: TBT 0ms 0ms 0.0%
subgraph-idle: heap used 64.9 MB 3.8 MB 5.9%
subgraph-idle: DOM nodes -270 26 0.0%
subgraph-idle: event listeners -201 19 0.0%
subgraph-mouse-sweep: avg frame time 17ms 0ms 0.0%
subgraph-mouse-sweep: p95 frame time 17ms 0ms 0.2%
subgraph-mouse-sweep: layout duration 5ms 0ms 8.6%
subgraph-mouse-sweep: style recalc duration 27ms 2ms 7.5%
subgraph-mouse-sweep: layout count 18 0 0.0%
subgraph-mouse-sweep: style recalc count 77 0 0.5%
subgraph-mouse-sweep: task duration 760ms 87ms 11.4%
subgraph-mouse-sweep: script duration 107ms 12ms 11.0%
subgraph-mouse-sweep: TBT 0ms 0ms 0.0%
subgraph-mouse-sweep: heap used 68.4 MB 3.8 MB 5.5%
subgraph-mouse-sweep: DOM nodes -276 1 0.0%
subgraph-mouse-sweep: event listeners -207 6 0.0%
subgraph-transition-enter: avg frame time 17ms 0ms 0.0%
subgraph-transition-enter: p95 frame time 17ms 0ms 0.3%
subgraph-transition-enter: layout duration 12ms 2ms 13.8%
subgraph-transition-enter: style recalc duration 28ms 3ms 12.3%
subgraph-transition-enter: layout count 5 0 0.0%
subgraph-transition-enter: style recalc count 17 1 5.6%
subgraph-transition-enter: task duration 858ms 134ms 15.7%
subgraph-transition-enter: script duration 30ms 4ms 14.1%
subgraph-transition-enter: TBT 132ms 27ms 20.7%
subgraph-transition-enter: heap used 87.3 MB 10.7 MB 12.3%
subgraph-transition-enter: DOM nodes 13667 0 0.0%
subgraph-transition-enter: event listeners 2383 0 0.0%
viewport-pan-sweep: avg frame time 17ms 0ms 0.0%
viewport-pan-sweep: p95 frame time 17ms 0ms 0.2%
viewport-pan-sweep: layout duration 0ms 0ms 0.0%
viewport-pan-sweep: style recalc duration 38ms 3ms 9.1%
viewport-pan-sweep: layout count 0 0 0.0%
viewport-pan-sweep: style recalc count 248 1 0.4%
viewport-pan-sweep: task duration 5581ms 720ms 12.9%
viewport-pan-sweep: script duration 2700ms 360ms 13.3%
viewport-pan-sweep: TBT 0ms 0ms 387.3%
viewport-pan-sweep: heap used 74.8 MB 3.1 MB 4.2%
viewport-pan-sweep: DOM nodes -240 22 0.0%
viewport-pan-sweep: event listeners -157 15 0.0%
vue-large-graph-idle: avg frame time 18ms 0ms 1.7%
vue-large-graph-idle: p95 frame time 17ms 0ms 0.1%
vue-large-graph-idle: layout duration 0ms 0ms 0.0%
vue-large-graph-idle: style recalc duration 0ms 0ms 0.0%
vue-large-graph-idle: layout count 0 0 0.0%
vue-large-graph-idle: style recalc count 0 0 0.0%
vue-large-graph-idle: task duration 15569ms 1809ms 11.6%
vue-large-graph-idle: script duration 257ms 40ms 15.4%
vue-large-graph-idle: TBT 0ms 0ms 0.0%
vue-large-graph-idle: heap used 174.6 MB 5.8 MB 3.3%
vue-large-graph-idle: DOM nodes -8061 0 0.0%
vue-large-graph-idle: event listeners -14596 1285 0.0%
vue-large-graph-pan: avg frame time 18ms 0ms 1.3%
vue-large-graph-pan: p95 frame time 17ms 0ms 0.2%
vue-large-graph-pan: layout duration 0ms 0ms 0.0%
vue-large-graph-pan: style recalc duration 17ms 2ms 12.4%
vue-large-graph-pan: layout count 0 0 0.0%
vue-large-graph-pan: style recalc count 138 31 22.2%
vue-large-graph-pan: task duration 19281ms 2337ms 12.1%
vue-large-graph-pan: script duration 855ms 99ms 11.6%
vue-large-graph-pan: TBT 77ms 42ms 54.4%
vue-large-graph-pan: heap used 171.0 MB 5.8 MB 3.4%
vue-large-graph-pan: DOM nodes -7524 1113 0.0%
vue-large-graph-pan: event listeners -13933 2060 0.0%
vue-node-resize-workload: avg frame time 18ms 0ms 2.0%
vue-node-resize-workload: p95 frame time 17ms 0ms 0.2%
vue-node-resize-workload: layout duration 25ms 2ms 8.4%
vue-node-resize-workload: style recalc duration 76ms 9ms 12.0%
vue-node-resize-workload: layout count 20 0 0.0%
vue-node-resize-workload: style recalc count 20 0 0.0%
vue-node-resize-workload: task duration 5755ms 703ms 12.2%
vue-node-resize-workload: script duration 107ms 14ms 13.3%
vue-node-resize-workload: TBT 352ms 136ms 38.5%
vue-node-resize-workload: heap used 172.8 MB 2.9 MB 1.7%
vue-node-resize-workload: DOM nodes -8063 4 0.0%
vue-node-resize-workload: event listeners -14596 1285 0.0%
vue-zoom-out-idle: avg frame time 18ms 0ms 1.7%
vue-zoom-out-idle: p95 frame time 17ms 0ms 0.2%
vue-zoom-out-idle: layout duration 0ms 0ms 0.0%
vue-zoom-out-idle: style recalc duration 0ms 0ms 0.0%
vue-zoom-out-idle: layout count 0 0 0.0%
vue-zoom-out-idle: style recalc count 0 0 0.0%
vue-zoom-out-idle: task duration 7890ms 901ms 11.4%
vue-zoom-out-idle: script duration 127ms 18ms 14.0%
vue-zoom-out-idle: TBT 0ms 0ms 0.0%
vue-zoom-out-idle: heap used 173.5 MB 5.0 MB 2.9%
vue-zoom-out-idle: DOM nodes -0 0 0.0%
vue-zoom-out-idle: event listeners -0 0 0.0%
workflow-execution: avg frame time 17ms 0ms 0.0%
workflow-execution: p95 frame time 17ms 0ms 0.2%
workflow-execution: layout duration 2ms 0ms 21.7%
workflow-execution: style recalc duration 20ms 4ms 21.0%
workflow-execution: layout count 3 1 17.6%
workflow-execution: style recalc count 13 4 35.5%
workflow-execution: task duration 101ms 22ms 22.2%
workflow-execution: script duration 10ms 3ms 25.3%
workflow-execution: TBT 0ms 0ms 0.0%
workflow-execution: heap used 63.0 MB 1.0 MB 1.7%
workflow-execution: DOM nodes 130 12 9.4%
workflow-execution: event listeners 55 22 39.6%
Trend (last 15 commits on main)
Metric Trend Dir Latest
canvas-idle: avg frame time █▃▃▆▃▃▃▃▃▃▃██▁▆ ➡️ 17ms
canvas-idle: p95 frame time ▆▃▃█▆▁▆▃▆▆▁▃▃▆▃ ➡️ 17ms
canvas-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: style recalc duration ▇▆▇▁▅▃▆█▃▄▃▆▆▃▅ ➡️ 8ms
canvas-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
canvas-idle: style recalc count ▅▂▃▇▅▂▅▃▃▁▂▂▇█▃ ➡️ 9
canvas-idle: task duration ▆▇█▁▇▄▆▇▆▅▆█▅▃▆ ➡️ 455ms
canvas-idle: script duration ▅▅▆▁▄▂▂▅▂▄▂▆█▂▃ ➡️ 9ms
canvas-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: heap used ▃▅▄▅▆█▁▅▂▇▆▄▆▅▆ ➡️ 67.5 MB
canvas-idle: DOM nodes ▃▁▃█▂▃▂▃▃▁▂▂▄▅▂ ➡️ -263
canvas-idle: event listeners ▃▆▃▆▆█▃▆▁█▆▆▆▆▆ ➡️ -159
canvas-mouse-sweep: avg frame time ▄▆▆▄▄▃▄▆▄█▃▁▄▄▄ ➡️ 17ms
canvas-mouse-sweep: p95 frame time ███▅██▄▁▅█▁▄▅█▅ ➡️ 17ms
canvas-mouse-sweep: layout duration ▇▄▄▂▄▃▄▅▅▃▂▆█▁▄ ➡️ 4ms
canvas-mouse-sweep: style recalc duration ▇▇▆▁▇▄▄▆▅▅▅█▆▁▇ ➡️ 29ms
canvas-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 14
canvas-mouse-sweep: style recalc count ▄▅▃▁█▁▂▄▄▃▄▅▁▁▅ ➡️ 76
canvas-mouse-sweep: task duration ▇█▇▁█▆▇█▆▇▇█▅▃▇ ➡️ 863ms
canvas-mouse-sweep: script duration ▇██▁█▇▇█▆▇▇█▄▂█ ➡️ 169ms
canvas-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-mouse-sweep: heap used ▄▁▆▁▁█▆█▅▇▃▃▇▄▃ ➡️ 63.6 MB
canvas-mouse-sweep: DOM nodes ▃▃▃█▃▅▃▁▃▃▃▃▅▇▄ ➡️ -262
canvas-mouse-sweep: event listeners ▄▄▆▂▁██▆█▆▆█▆▆█ ➡️ -152
canvas-zoom-sweep: avg frame time ▆▃▃▆▆▆▃█▆▃▃▃▆▃▁ ➡️ 17ms
canvas-zoom-sweep: p95 frame time ▄▄██▁██▄▄█▄▁▄▄█ ➡️ 17ms
canvas-zoom-sweep: layout duration ▅▄▅▂▅▄▄▄▅▃▄▄▆▁█ ➡️ 1ms
canvas-zoom-sweep: style recalc duration ▇▇▇▁▇▇▆█▅▆▆█▆▃▇ ➡️ 17ms
canvas-zoom-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
canvas-zoom-sweep: style recalc count ▃▃▅▂▁▆▃▅▆▂█▇▇▂▅ ➡️ 31
canvas-zoom-sweep: task duration ▆▇█▁▇▆▅█▆▆▆█▅▄▆ ➡️ 346ms
canvas-zoom-sweep: script duration ▆▆█▁▆▄▃▆▄▄▃▆█▃▅ ➡️ 13ms
canvas-zoom-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-zoom-sweep: heap used ▁▁▁▂▁▁▁▁▁▁▁▄█▄▃ ➡️ 62.9 MB
canvas-zoom-sweep: DOM nodes ▃▃▁▆▁▄▃▃▃▂▇▆█▄▃ ➡️ 75
canvas-zoom-sweep: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 15
dom-widget-clipping: avg frame time ▄▃▆█▃██▁█▃▃▃▅▄▄ ➡️ 17ms
dom-widget-clipping: p95 frame time ▃▆▃▃▃█▆▃▁▃▆▁▆▆▃ ➡️ 17ms
dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: style recalc duration ▄█▄▂▅▅▅▅▅▅▂▆▅▁▅ ➡️ 8ms
dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-clipping: style recalc count ▄▄▁█▄▄▄▄▇▄▂▅▇▇▄ ➡️ 11
dom-widget-clipping: task duration █▇█▁█▇▇█▇█▇▇▅▃▇ ➡️ 448ms
dom-widget-clipping: script duration ▇█▇▁█▇██▆█▇█▄▄▇ ➡️ 168ms
dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: heap used ▂▇▂▁▂▂▂▂█▂▂▂▂▂▂ ➡️ 76.8 MB
dom-widget-clipping: DOM nodes ▄▄▁█▄▄▄▄▇▄▂▅▆▆▄ ➡️ 17
dom-widget-clipping: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-dense-n200-w200-i120: avg frame time ▃▆▃▃▁█▆▃▁▁█▃▆▁▆ ➡️ 17ms
dom-widget-order-dense-n200-w200-i120: p95 frame time ▃▃▁▃█▁▃█▆▃▃▁▃▃▆ ➡️ 17ms
dom-widget-order-dense-n200-w200-i120: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-order-dense-n200-w200-i120: style recalc duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-order-dense-n200-w200-i120: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-dense-n200-w200-i120: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-dense-n200-w200-i120: task duration ▆██▁█▆▆█▆█▆▇▄▄▇ ➡️ 852ms
dom-widget-order-dense-n200-w200-i120: script duration ▆██▁▇▇▇█▅█▇█▂▃▇ ➡️ 70ms
dom-widget-order-dense-n200-w200-i120: TBT ▆▇█▁▇▆▆█▆▇▇█▃▄▇ ➡️ 577ms
dom-widget-order-dense-n200-w200-i120: heap used █▃▅▆▁▆█▇▆▅█▇▄▃▇ ➡️ 94.4 MB
dom-widget-order-dense-n200-w200-i120: DOM nodes █▃▆▆▁▆█▆▆▆▆▆▆▃█ 📉 0
dom-widget-order-dense-n200-w200-i120: event listeners █▃▆▆▁▆█▆▆▆▆▆▆▃█ 📉 0
dom-widget-order-sparse-n1000-w20-i120: avg frame time ██▃▃▆▃▆▆▃▁█▆▁▆▃ ➡️ 17ms
dom-widget-order-sparse-n1000-w20-i120: p95 frame time ▆▃▃▁▆▆▁▃▁▃█▃▃▁▃ ➡️ 17ms
dom-widget-order-sparse-n1000-w20-i120: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-order-sparse-n1000-w20-i120: style recalc duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-order-sparse-n1000-w20-i120: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-sparse-n1000-w20-i120: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-sparse-n1000-w20-i120: task duration ▇▇█▁█▇▇█▇▇▇█▄▄▇ ➡️ 478ms
dom-widget-order-sparse-n1000-w20-i120: script duration ▆██▁▇▇▇█▆▇▇▇▄▃▇ ➡️ 167ms
dom-widget-order-sparse-n1000-w20-i120: TBT ▇██▁█▇▇█▇▇▇█▂▄█ ➡️ 233ms
dom-widget-order-sparse-n1000-w20-i120: heap used ▃▆█▁█▆▁▅▄▆▇██▄▁ ➡️ 85.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 ▆▆▆▁▆▇▆▆▄▇▆█▃▃▆ ➡️ 19ms
extension-clean-combined-draw: p95 frame time ▇██▁████▄███▃▄█ ➡️ 50ms
extension-clean-combined-draw: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
extension-clean-combined-draw: style recalc duration ▁▁▁█▁▁▁▁▁▁▁▁▃▁▁ 📉 0ms
extension-clean-combined-draw: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
extension-clean-combined-draw: style recalc count ▁▁▁█▁▁▁▁▁▁▁▁▂▁▁ 📉 0
extension-clean-combined-draw: task duration ▅▇█▁▇▇▇▇▅▇▇█▂▃▇ ➡️ 9385ms
extension-clean-combined-draw: script duration ▅▇█▁▇▇▇▇▅█▇█▂▃▇ ➡️ 7996ms
extension-clean-combined-draw: TBT ▃▇█▁▆▆▆▇▂█▇█▁▁▆ 📉 1236ms
extension-clean-combined-draw: heap used ▃▄▅▅▁█▂▁▆▂▅▆▅▇▁ ➡️ 72.0 MB
extension-clean-combined-draw: DOM nodes ████████████▁██ 📈 -15
extension-clean-combined-draw: event listeners ████████████▁██ ➡️ 0
extension-rgthree-prototype-draw: avg frame time ▆▇▆▁▇█▇▆▅▇▇▇▃▅▇ ➡️ 19ms
extension-rgthree-prototype-draw: p95 frame time ▅▇▇▁▇▇▇▇▅▇█▇▂▄▇ ➡️ 50ms
extension-rgthree-prototype-draw: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
extension-rgthree-prototype-draw: style recalc duration ▁▁▁█▁▁▁▁▁▁▁▁▄▅▁ 📉 0ms
extension-rgthree-prototype-draw: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
extension-rgthree-prototype-draw: style recalc count ▁▁▁█▁▁▁▁▁▁▁▁▂▄▁ 📉 0
extension-rgthree-prototype-draw: task duration ▆█▇▁▇▇▆█▅█▇█▂▃▇ ➡️ 10015ms
extension-rgthree-prototype-draw: script duration ▆█▇▁▇▇▆█▅█▇█▂▃▇ ➡️ 8307ms
extension-rgthree-prototype-draw: TBT ▃▇▆▁▆▅▅▇▂█▇█▁▁▇ ➡️ 1436ms
extension-rgthree-prototype-draw: heap used ▆▄▁█▃▄▅▄▄▃▄▇▆▄█ ➡️ 83.3 MB
extension-rgthree-prototype-draw: DOM nodes ▇█▇█▇█▇▁█▁█▇▁▁█ 📈 -10
extension-rgthree-prototype-draw: event listeners ███████▁████▁▁█ ➡️ 0
large-graph-idle: avg frame time ▃▁▆▃▆▆▃▃█▆▆▆▆▆▁ ➡️ 17ms
large-graph-idle: p95 frame time ▃▆▃▃▃▃▁▃█▃▁▃▁▆▁ ➡️ 17ms
large-graph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: style recalc duration ▁█▅▆▄▅▆▇▅▇▆▆▇▅▇ 📈 6ms
large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-idle: style recalc count ▁▅▄█▄▅▆▃▅▄▅▃▇▇▄ ➡️ 5
large-graph-idle: task duration ██▇▁▇▅▅█▆█▅█▄▄▆ ➡️ 557ms
large-graph-idle: script duration █▇▆▁▇▆▆▆▅▆▅█▅▃▆ ➡️ 35ms
large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: heap used █▁▃▄▄▃▃▅▅▄▅▅▃▃▅ ➡️ 79.5 MB
large-graph-idle: DOM nodes █▁▁▂▁▁▂▁▁▁▁▁▂▂▁ ➡️ -249
large-graph-idle: event listeners █▁▃▁▃▁▁▂▃▂▂▂▁▁▂ ➡️ -159
large-graph-pan: avg frame time ▃▆▁▆▃▃▃▁▃▁█▆▁▃▁ ➡️ 17ms
large-graph-pan: p95 frame time ▃▆█▃▃▁▁▁▁▁▁▃▃▃▆ ➡️ 17ms
large-graph-pan: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: style recalc duration ▅▅▃▄▁▃▄▄▄▂▁▄█▄▄ ➡️ 12ms
large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-pan: style recalc count ▄▃▃▄▁▄▅▃▅▂▂▂█▇▅ ➡️ 67
large-graph-pan: task duration █▇▇▁▇▇▆█▆▇▇█▄▃▇ ➡️ 1657ms
large-graph-pan: script duration ▇█▇▁▇▇▇█▆█▇▇▃▃▇ ➡️ 854ms
large-graph-pan: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: heap used ▁▅▅▅▆▂▅▇▅█▅▆▇▂▃ ➡️ 75.2 MB
large-graph-pan: DOM nodes ▁▁▁█▁▁▁▁▁▄▄▁▂▅▁ ➡️ -252
large-graph-pan: event listeners ▂▂▅██▁▂▁▂█▅▄▁▅▂ ➡️ -152
large-graph-zoom: avg frame time ▅▆▅▃▁▅█▃▆▆█▆▆▅▄ ➡️ 17ms
large-graph-zoom: p95 frame time ▁▃▃██▃▃▃▃▃▆▃▁█▁ ➡️ 17ms
large-graph-zoom: layout duration █▄▄▄▃▂▂▃▆▄▃▄█▁▄ ➡️ 13ms
large-graph-zoom: style recalc duration ▅▃▁▄▂▂▃▂▃▂▁▂█▃▃ ➡️ 11ms
large-graph-zoom: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 60
large-graph-zoom: style recalc count ▂▃▁█▄▄▄▃▃▃▃▂▇▇▄ ➡️ 61
large-graph-zoom: task duration ███▁▇▇▇▇▇█▇█▄▄▇ ➡️ 1708ms
large-graph-zoom: script duration █▇█▁▇▇▇▇▇█▇█▃▄▇ ➡️ 803ms
large-graph-zoom: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-zoom: heap used ▁▂▆▂▂▃▃▃▃▂▂█▁▁▃ ➡️ 71.2 MB
large-graph-zoom: DOM nodes ▁▄█▅▄▄▁▁▄██▄▅██ 📉 3
large-graph-zoom: event listeners █▁█▁▁█▁████▂▁██ 📉 0
legacy-node-drag: avg frame time ▆▆█▆█▁█▃▃▃▃▃▁▆▆ ➡️ 17ms
legacy-node-drag: p95 frame time ▆▆▃▃█▆▃▃▁▁▁▃▃▆█ ➡️ 17ms
legacy-node-drag: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
legacy-node-drag: style recalc duration ▃▂▂█▁▃▁▂▄▂▄▄▆▃▂ ➡️ 5ms
legacy-node-drag: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
legacy-node-drag: style recalc count ▁▁▁█▁▃▁▁▃▁▃▃▄▄▁ ➡️ 40
legacy-node-drag: task duration █▇█▁▇▇▆▇▇█▆█▄▃▇ ➡️ 1933ms
legacy-node-drag: script duration ███▁█▇▇▇████▃▃▇ ➡️ 990ms
legacy-node-drag: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
legacy-node-drag: heap used █▄▇▁▃▆▅▇▇▇▇▇▄▃▇ ➡️ 84.8 MB
legacy-node-drag: DOM nodes ▅██▁█▃██▅▃▃▃███ 📈 0
legacy-node-drag: event listeners ███▁█▅██▄█▅▁███ ➡️ 180
minimap-idle: avg frame time ▃▆▃▅▆▆█▆▆▃▅▆▅▆▁ ➡️ 17ms
minimap-idle: p95 frame time ▆▃▁▃▆▆▆██▃▁▆▆▁▆ ➡️ 17ms
minimap-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: style recalc duration ▅▁▅▆▅▃▁▆▄▄▃▃▅▄█ ➡️ 6ms
minimap-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
minimap-idle: style recalc count ▂▁▃█▃▃▂▃▄▃▃▂▅▆▄ ➡️ 5
minimap-idle: task duration ███▁▇▅▄█▆▇▆▆▄▄▆ ➡️ 558ms
minimap-idle: script duration ▆█▆▁▅▅▄▆▆▇▅▆▄▃▆ ➡️ 36ms
minimap-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: heap used ▄▄▇▁▄▇▇█▆▇▇██▂▆ ➡️ 80.1 MB
minimap-idle: DOM nodes █▇▁▂▁▁▁▁▁▁▁▁█▂▁ ➡️ -252
minimap-idle: event listeners ▇▇▂▂▇▃▂▃▂▃█▇█▇▁ ➡️ -174
subgraph-dom-widget-clipping: avg frame time ▆▃▃▆▃▃▁▆▃▁▃▆▃▃█ ➡️ 17ms
subgraph-dom-widget-clipping: p95 frame time ▃▃▁██▃▆▃▃▁▃▃▆▃▆ ➡️ 17ms
subgraph-dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: style recalc duration ▅▄▅▂▄▄▄▄▆▄▄▅█▁▅ ➡️ 11ms
subgraph-dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-dom-widget-clipping: style recalc count ▅▁▇█▅▅▅▄█▂▄▄▇▄▂ ➡️ 46
subgraph-dom-widget-clipping: task duration ▇██▁▇▆▇▇▇█▇▇▄▃▇ ➡️ 410ms
subgraph-dom-widget-clipping: script duration ███▁▇▇▇▇██▇█▃▄▇ ➡️ 145ms
subgraph-dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: heap used ▃▁▂▄▂▄▁▇█▂▆▆▆▆▅ ➡️ 75.2 MB
subgraph-dom-widget-clipping: DOM nodes ▅▁▇▇▅▅▅▄█▂▄▄▇▄▂ ➡️ 19
subgraph-dom-widget-clipping: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
subgraph-idle: avg frame time ▃▅▃▆▁█▃▆▃▃▁▁▃▃▃ ➡️ 17ms
subgraph-idle: p95 frame time █▆█▆▃▆▃▁▆▆▆▆▃▃▆ ➡️ 17ms
subgraph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: style recalc duration ▆█▇▁▆▆▇▆▅▇▄█▆▁█ ➡️ 9ms
subgraph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-idle: style recalc count ▃▃▃▆▁▆▃▃▅▅▁▃█▃▃ ➡️ 10
subgraph-idle: task duration ██▇▁█▅▆▇▆▇▇█▅▄▇ ➡️ 466ms
subgraph-idle: script duration ▇██▁▇▃▃▆▄▆▄▇█▃▅ ➡️ 8ms
subgraph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: heap used ▅▅▂▄▆▄▂▃▅▂▅▅▄▁█ ➡️ 72.9 MB
subgraph-idle: DOM nodes ▁▁▁█▁▁▁▁▁▁▁▁▁▁▁ ➡️ -276
subgraph-idle: event listeners ▂▂▂█▃▂▂▂▃▃▂▃▂▁▃ ➡️ -198
subgraph-mouse-sweep: avg frame time ▆▆▁▃▁▁█▁▃▃▆▆█▆▃ ➡️ 17ms
subgraph-mouse-sweep: p95 frame time █▃▃▆▁▆█▆▁▃▁▃▆▆█ ➡️ 17ms
subgraph-mouse-sweep: layout duration █▄▅▆▆▃▃▃▅▄▄▅▇▁▄ ➡️ 5ms
subgraph-mouse-sweep: style recalc duration █▆▇▄▆▄▅▆▅▆▅▇▆▁▆ ➡️ 28ms
subgraph-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 18
subgraph-mouse-sweep: style recalc count ▃▅▁█▁▃▅▆▁▃▅▃▁▁▅ ➡️ 78
subgraph-mouse-sweep: task duration ███▁▇▆▆▆▆▇▆█▄▃▇ ➡️ 802ms
subgraph-mouse-sweep: script duration ▇▇█▁▇▆▅▆▅▇▆█▄▁▇ ➡️ 113ms
subgraph-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-mouse-sweep: heap used ▄▇█▇▁▆▅▆█▄▁▇▁▇▆ ➡️ 69.9 MB
subgraph-mouse-sweep: DOM nodes ▃▃▁█▂▄▄▄▃▂▄▂▄▄▄ ➡️ -276
subgraph-mouse-sweep: event listeners ▃▆▆▆▆▆▃▆▆█▁█▁▆▆ ➡️ -205
subgraph-transition-enter: avg frame time ▅▅▅█▅▁▅▅▅▅▁█▅▁▅ ➡️ 17ms
subgraph-transition-enter: p95 frame time ▁▁█▁▁▁▁▁█▁███▁█ ➡️ 17ms
subgraph-transition-enter: layout duration ▆▇█▁█▇▇▇▆▇▇█▃▂█ ➡️ 14ms
subgraph-transition-enter: style recalc duration ▇▆▇▁█▇▇█▆▇▇█▄▃█ ➡️ 31ms
subgraph-transition-enter: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 5
subgraph-transition-enter: style recalc count ▃▁▃▃▆▁▁▆▁▆▁▃█▆▃ ➡️ 17
subgraph-transition-enter: task duration █▃█▁█▆▆█▆▆▄█▅▄█ ➡️ 974ms
subgraph-transition-enter: script duration ▆▅█▁▇▆▆▇▆▇▄▇▅▂█ ➡️ 34ms
subgraph-transition-enter: TBT ▆▇▇▁▇▆▆▇▅▇▇█▄▃▇ ➡️ 153ms
subgraph-transition-enter: heap used ▁▇▇▅▇▁▁▁█▂▇▁▁▇▁ ➡️ 77.0 MB
subgraph-transition-enter: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 13667
subgraph-transition-enter: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 2383
viewport-pan-sweep: avg frame time ▅▅▃▅█▆▅▅▅▆▅▁▆▆▁ ➡️ 17ms
viewport-pan-sweep: p95 frame time ▁▃█▁▃▃▆▆▆▆▆▃▆█▁ ➡️ 17ms
viewport-pan-sweep: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
viewport-pan-sweep: style recalc duration ▇▄▃▅▂▂▁▁▄▃▂▃█▂▃ ➡️ 36ms
viewport-pan-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
viewport-pan-sweep: style recalc count ▃▃▃▇▄▅▃▁▄▅▅▁██▆ ➡️ 248
viewport-pan-sweep: task duration ███▁▇▇▇▇▆█▇█▄▄▇ ➡️ 5749ms
viewport-pan-sweep: script duration ▇█▇▁▇▆▆▇▆█▇▇▃▃▇ ➡️ 2891ms
viewport-pan-sweep: TBT ▁█▁▁▁▁▁▁▁▁▁▁▁▁▁ 📉 0ms
viewport-pan-sweep: heap used ▃▆▆▄▇▁▅█▆▅▆▆▆▃▇ ➡️ 77.2 MB
viewport-pan-sweep: DOM nodes ▂▁▁▂▁▁▁█▁▁▁▁▃▃▁ ➡️ -248
viewport-pan-sweep: event listeners ▃▃▃▂▃▃▁█▃▃▂▃▃▁▃ ➡️ -152
vue-large-graph-idle: avg frame time ▇▇▅▁▇▇█▇▇█▇▇▁▂▇ ➡️ 18ms
vue-large-graph-idle: p95 frame time ▄█▄██▁█▄▄▄█▁▁▄▄ ➡️ 17ms
vue-large-graph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-large-graph-idle: style recalc duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-large-graph-idle: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-large-graph-idle: task duration █▆▆▁▅▇▇▇▇▅▇▇▃▄▇ ➡️ 16747ms
vue-large-graph-idle: script duration █▆▇▁▆▇▇██▆▆▇▄▃▇ ➡️ 272ms
vue-large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-large-graph-idle: heap used ▇█▆▂█▆▁▆▅▇█▇▄▆▆ ➡️ 176.2 MB
vue-large-graph-idle: DOM nodes ███▁█████████▅█ ➡️ -8061
vue-large-graph-idle: event listeners ▁▁▁▁▁▁▁▁▁▁▁▁█▁▁ ➡️ -14928
vue-large-graph-pan: avg frame time ▆█▃▁▆▄▆█▄█▆▆▃▃▆ ➡️ 18ms
vue-large-graph-pan: p95 frame time █▆██▆█▁▆█▃████▆ ➡️ 17ms
vue-large-graph-pan: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-large-graph-pan: style recalc duration ██▄▁▅▄▄▆▆▇▄▇▄▂▅ ➡️ 18ms
vue-large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-large-graph-pan: style recalc count ▆▇▄▁▇██▇▇██▇▂▅▇ ➡️ 157
vue-large-graph-pan: task duration ▇█▅▁▇▇▇▇██▇█▃▄█ ➡️ 20707ms
vue-large-graph-pan: script duration ▇▇▆▁▇▆▆▇██▇▇▃▃▇ ➡️ 887ms
vue-large-graph-pan: TBT █▆▇▁▆▄▄▃▆▅▃▅▂▁▆ 📉 107ms
vue-large-graph-pan: heap used ▂▅▅█▅█▁▄▃▂▄▆▅▆▆ ➡️ 175.6 MB
vue-large-graph-pan: DOM nodes ▁▁▁▁█▁▁█▁▁▁█▁▁▁ ➡️ -8061
vue-large-graph-pan: event listeners ▁▁▁▁█▁▁█▁▁▁█▁▁▁ ➡️ -14928
vue-node-resize-workload: avg frame time ▇▆▆▁▆▆█▆██▅▆▃▄▆ ➡️ 18ms
vue-node-resize-workload: p95 frame time ▄█▄▁▄▁▁▄█▁█████ ➡️ 17ms
vue-node-resize-workload: layout duration ▇▅█▁▄▄▂▅▇▆█▆█▂▄ ➡️ 23ms
vue-node-resize-workload: style recalc duration ▅▇▇▁▆▇▆▇▇▇█▇▃▂▇ ➡️ 80ms
vue-node-resize-workload: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 20
vue-node-resize-workload: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 20
vue-node-resize-workload: task duration █▇▇▁▇▇▇▅▇▆▅▇▃▄▇ ➡️ 6160ms
vue-node-resize-workload: script duration ██▇▁█▆▆▅▆▆▇▆▂▂▆ ➡️ 108ms
vue-node-resize-workload: TBT █▇▇▁▆▇▆▅▆▅▆▇▂▄▇ 📉 434ms
vue-node-resize-workload: heap used ▆▇▆▃▅▆▆█▆▁▅▇▄▅▄ ➡️ 170.5 MB
vue-node-resize-workload: DOM nodes ███▇██▂█▂▇▆█▁██ ➡️ -8061
vue-node-resize-workload: event listeners ▁▁▁▁▁▁▁▁▁▁▁▁▁█▁ ➡️ -14928
vue-zoom-out-idle: avg frame time ▇▄▇▁▆▄▇▇▄▅▄█▃▃▃ ➡️ 17ms
vue-zoom-out-idle: p95 frame time ▆▆▆████▆▆█▆█▁▆▆ ➡️ 17ms
vue-zoom-out-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-zoom-out-idle: style recalc duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-zoom-out-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-zoom-out-idle: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-zoom-out-idle: task duration █▇▇▁▇▅▇▇▇▆▆▇▃▄▅ ➡️ 7651ms
vue-zoom-out-idle: script duration █▇█▁▆▅▇▇▇▆█▇▅▄▆ ➡️ 121ms
vue-zoom-out-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-zoom-out-idle: heap used █▂▅▅▂▅▃▄▅▄▅▅▅▁▄ ➡️ 172.8 MB
vue-zoom-out-idle: DOM nodes ██▅▁███▅████▅██ 📉 0
vue-zoom-out-idle: event listeners ██▁████████▁███ ➡️ 0
workflow-execution: avg frame time █▄▁▂▅▂▅▄▂▅▄▄▂▅▇ ➡️ 17ms
workflow-execution: p95 frame time █▃▆▃▁▁▁▁▆▆▆▁▃▁▃ ➡️ 17ms
workflow-execution: layout duration ▆█▆▁▅█▅▇▁▂▃▃▆▃▃ 📉 1ms
workflow-execution: style recalc duration ▅▇▇▁▄▇▅█▅▅▃▅▅▄▇ ➡️ 23ms
workflow-execution: layout count ▅▅▄▁▄█▇█▁▂▁▄█▇▂ ➡️ 3
workflow-execution: style recalc count ▃█▇▁▄█▄█▄▃▂▃▄▄▇ 📉 17
workflow-execution: task duration ▅██▁▅█▅█▅▆▃▅▅▃▇ ➡️ 119ms
workflow-execution: script duration ▅█▇▁▅█▆▇▄▇▃▅▅▃█ ➡️ 13ms
workflow-execution: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
workflow-execution: heap used ▂▆▅▁▃▆▃█▄▂▁▃▇▃█ ➡️ 64.7 MB
workflow-execution: DOM nodes ▄██▂▅█▃█▄▁▄▁▅▄▆ ➡️ 136
workflow-execution: event listeners ▄██▂▃█▃█▆▅▁▅▆▄▇ ➡️ 76
Raw data
{
  "timestamp": "2026-09-22T00:55:27.265Z",
  "gitSha": "35b923178847a78c7b021baa75dc60cc9686fc42",
  "branch": "claude/layout-mint-port-root-graph-scope",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 1994.0050000000156,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 4.8420000000000005,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 323.581,
      "heapDeltaBytes": -2365304,
      "heapUsedBytes": 59891968,
      "domNodes": -257,
      "jsHeapTotalBytes": 4710400,
      "scriptDurationMs": 5.951000000000001,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-idle",
      "durationMs": 2004.3329999999742,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 4.881,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 313.744,
      "heapDeltaBytes": -7963328,
      "heapUsedBytes": 54301980,
      "domNodes": 20,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 6.505999999999999,
      "eventListeners": -26,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1695.5409999999915,
      "styleRecalcs": 74,
      "styleRecalcDurationMs": 15.617,
      "layouts": 14,
      "layoutDurationMs": 2.3899999999999997,
      "taskDurationMs": 550.0020000000001,
      "heapDeltaBytes": 2194292,
      "heapUsedBytes": 64389820,
      "domNodes": -259,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 92.971,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1680.1860000000488,
      "styleRecalcs": 75,
      "styleRecalcDurationMs": 16.729,
      "layouts": 14,
      "layoutDurationMs": 2.898,
      "taskDurationMs": 503.68199999999996,
      "heapDeltaBytes": -1912856,
      "heapUsedBytes": 60014580,
      "domNodes": -257,
      "jsHeapTotalBytes": 4710400,
      "scriptDurationMs": 93.61,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1705.515000000048,
      "styleRecalcs": 32,
      "styleRecalcDurationMs": 9.645999999999999,
      "layouts": 6,
      "layoutDurationMs": 0.8310000000000001,
      "taskDurationMs": 216.90599999999998,
      "heapDeltaBytes": 2316292,
      "heapUsedBytes": 64642556,
      "domNodes": 78,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 6.567000000000002,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1712.0199999999386,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 9.985000000000001,
      "layouts": 6,
      "layoutDurationMs": 1.2679999999999998,
      "taskDurationMs": 189.70999999999998,
      "heapDeltaBytes": 2157284,
      "heapUsedBytes": 64447108,
      "domNodes": 75,
      "jsHeapTotalBytes": 4718592,
      "scriptDurationMs": 8.403999999999998,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 463.26699999997345,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 5.1259999999999994,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 283.04799999999994,
      "heapDeltaBytes": 17823936,
      "heapUsedBytes": 80110692,
      "domNodes": 21,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 101.44,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 449.53099999997903,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 4.957999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 291.403,
      "heapDeltaBytes": 18931956,
      "heapUsedBytes": 86284788,
      "domNodes": 20,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 103.72799999999998,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 961.5160000000174,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 575.1740000000001,
      "heapDeltaBytes": 34980208,
      "heapUsedBytes": 104155000,
      "domNodes": 0,
      "jsHeapTotalBytes": 19296256,
      "scriptDurationMs": 42.910000000000004,
      "eventListeners": 0,
      "totalBlockingTimeMs": 357,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 987.922000000026,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 631.291,
      "heapDeltaBytes": -13099520,
      "heapUsedBytes": 72911596,
      "domNodes": -295,
      "jsHeapTotalBytes": 20316160,
      "scriptDurationMs": 38.00099999999999,
      "eventListeners": -217,
      "totalBlockingTimeMs": 351,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 729.2159999999512,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 306.03300000000024,
      "heapDeltaBytes": 14209736,
      "heapUsedBytes": 91292060,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 92.47700000000003,
      "eventListeners": 0,
      "totalBlockingTimeMs": 119,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 715.9830000000511,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 313.34299999999973,
      "heapDeltaBytes": 14113928,
      "heapUsedBytes": 89740832,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 100.014,
      "eventListeners": 0,
      "totalBlockingTimeMs": 113,
      "frameDurationMs": 16.66999999999998,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 5694.606000000022,
      "styleRecalcs": 2,
      "styleRecalcDurationMs": 1.0199999999999982,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4762.714,
      "heapDeltaBytes": 12285008,
      "heapUsedBytes": 89776252,
      "domNodes": -264,
      "jsHeapTotalBytes": 4448256,
      "scriptDurationMs": 3678.9100000000003,
      "eventListeners": -184,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 5486.896999999999,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4777.341,
      "heapDeltaBytes": 12574332,
      "heapUsedBytes": 94820772,
      "domNodes": -16,
      "jsHeapTotalBytes": 6291456,
      "scriptDurationMs": 3845.625,
      "eventListeners": 0,
      "totalBlockingTimeMs": 39,
      "frameDurationMs": 17.779999999999987,
      "p95FrameDurationMs": 33.30000000000109
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 5335.057000000006,
      "styleRecalcs": 3,
      "styleRecalcDurationMs": 1.5969999999999978,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4613.579,
      "heapDeltaBytes": 17063260,
      "heapUsedBytes": 94513688,
      "domNodes": -267,
      "jsHeapTotalBytes": -8192,
      "scriptDurationMs": 3681.51,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 5419.463999999948,
      "styleRecalcs": 1,
      "styleRecalcDurationMs": 0.4040000000000016,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4729.881,
      "heapDeltaBytes": -12424876,
      "heapUsedBytes": 69613884,
      "domNodes": -16,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 3754.264,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2005.1980000000071,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 3.2279999999999984,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 374.239,
      "heapDeltaBytes": 19824332,
      "heapUsedBytes": 83487476,
      "domNodes": -242,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 17.846,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2017.3369999999977,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 4.0939999999999985,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 411.729,
      "heapDeltaBytes": 1424124,
      "heapUsedBytes": 83020288,
      "domNodes": -241,
      "jsHeapTotalBytes": -1019904,
      "scriptDurationMs": 25.462,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2128.812000000039,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 8.557,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1126.5,
      "heapDeltaBytes": -975948,
      "heapUsedBytes": 79873180,
      "domNodes": -247,
      "jsHeapTotalBytes": 741376,
      "scriptDurationMs": 538.791,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2132.3320000000194,
      "styleRecalcs": 70,
      "styleRecalcDurationMs": 13.374999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1096.315,
      "heapDeltaBytes": -6021132,
      "heapUsedBytes": 75721776,
      "domNodes": -215,
      "jsHeapTotalBytes": 1564672,
      "scriptDurationMs": 529.304,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3054.9700000000257,
      "styleRecalcs": 64,
      "styleRecalcDurationMs": 7.997000000000001,
      "layouts": 60,
      "layoutDurationMs": 8.39,
      "taskDurationMs": 994.297,
      "heapDeltaBytes": 7719924,
      "heapUsedBytes": 73607332,
      "domNodes": 10,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 431.26300000000003,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3053.0639999999494,
      "styleRecalcs": 64,
      "styleRecalcDurationMs": 11.060000000000002,
      "layouts": 60,
      "layoutDurationMs": 11.412,
      "taskDurationMs": 1121.695,
      "heapDeltaBytes": 9096928,
      "heapUsedBytes": 74681368,
      "domNodes": 10,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 493.404,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2156.6029999999614,
      "styleRecalcs": 45,
      "styleRecalcDurationMs": 4.587999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1127.128,
      "heapDeltaBytes": 8208404,
      "heapUsedBytes": 74020256,
      "domNodes": 10,
      "jsHeapTotalBytes": 749568,
      "scriptDurationMs": 544.53,
      "eventListeners": 180,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2118.7210000000505,
      "styleRecalcs": 44,
      "styleRecalcDurationMs": 5.37,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1211.888,
      "heapDeltaBytes": 17163968,
      "heapUsedBytes": 83154116,
      "domNodes": 8,
      "jsHeapTotalBytes": 417792,
      "scriptDurationMs": 590.3040000000001,
      "eventListeners": 180,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "minimap-idle",
      "durationMs": 1998.6549999999852,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 2.2839999999999994,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 274.98300000000006,
      "heapDeltaBytes": 21083244,
      "heapUsedBytes": 85962616,
      "domNodes": 10,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 19.068,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "minimap-idle",
      "durationMs": 2024.220000000014,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 4.147999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 412.154,
      "heapDeltaBytes": -6312848,
      "heapUsedBytes": 82577268,
      "domNodes": -246,
      "jsHeapTotalBytes": 28672,
      "scriptDurationMs": 24.172000000000008,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 379.83400000001666,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 6.465999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 232.604,
      "heapDeltaBytes": 12730964,
      "heapUsedBytes": 76599532,
      "domNodes": 20,
      "jsHeapTotalBytes": 6029312,
      "scriptDurationMs": 86.698,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.663333333333338,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 475.9239999999636,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 7.369000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 289.68300000000005,
      "heapDeltaBytes": 13306840,
      "heapUsedBytes": 76849040,
      "domNodes": 20,
      "jsHeapTotalBytes": 5242880,
      "scriptDurationMs": 96.923,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-idle",
      "durationMs": 1992.9270000000088,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 5.025,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 318.377,
      "heapDeltaBytes": 278184,
      "heapUsedBytes": 63938764,
      "domNodes": -273,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 5.316000000000002,
      "eventListeners": -220,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 1988.980999999967,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 5.830000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 350.266,
      "heapDeltaBytes": 13503828,
      "heapUsedBytes": 77108020,
      "domNodes": -272,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 6.104,
      "eventListeners": -198,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1694.6320000000128,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 15.959000000000001,
      "layouts": 18,
      "layoutDurationMs": 3.016,
      "taskDurationMs": 507.5799999999999,
      "heapDeltaBytes": 935516,
      "heapUsedBytes": 64794904,
      "domNodes": -275,
      "jsHeapTotalBytes": 6021120,
      "scriptDurationMs": 59.21600000000001,
      "eventListeners": -220,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1678.2670000000053,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 16.849000000000004,
      "layouts": 18,
      "layoutDurationMs": 3.062,
      "taskDurationMs": 535.2889999999999,
      "heapDeltaBytes": 4965892,
      "heapUsedBytes": 68717584,
      "domNodes": -275,
      "jsHeapTotalBytes": 6021120,
      "scriptDurationMs": 61.69,
      "eventListeners": -220,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66999999999998,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 833.0519999999524,
      "styleRecalcs": 19,
      "styleRecalcDurationMs": 19.404999999999998,
      "layouts": 5,
      "layoutDurationMs": 7.549,
      "taskDurationMs": 593.036,
      "heapDeltaBytes": -6296132,
      "heapUsedBytes": 81421292,
      "domNodes": 13667,
      "jsHeapTotalBytes": 11010048,
      "scriptDurationMs": 19.233,
      "eventListeners": 2383,
      "totalBlockingTimeMs": 94,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8114.575999999999,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 19.711,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3371.6630000000005,
      "heapDeltaBytes": -3879536,
      "heapUsedBytes": 76298440,
      "domNodes": -240,
      "jsHeapTotalBytes": -307200,
      "scriptDurationMs": 1543.2119999999998,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8124.926999999957,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 29.502,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3732.9900000000002,
      "heapDeltaBytes": -4023044,
      "heapUsedBytes": 76920468,
      "domNodes": -238,
      "jsHeapTotalBytes": 253952,
      "scriptDurationMs": 1691.279,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 7637.004999999988,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 6849.130000000001,
      "heapDeltaBytes": -24963712,
      "heapUsedBytes": 191766852,
      "domNodes": -8062,
      "jsHeapTotalBytes": -12361728,
      "scriptDurationMs": 94.53999999999999,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 10502.123999999982,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9583.895999999999,
      "heapDeltaBytes": -23828296,
      "heapUsedBytes": 191467276,
      "domNodes": -8061,
      "jsHeapTotalBytes": -11874304,
      "scriptDurationMs": 137.687,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 12197.584000000006,
      "styleRecalcs": 66,
      "styleRecalcDurationMs": 12.036999999999992,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 11355.136,
      "heapDeltaBytes": -24222344,
      "heapUsedBytes": 199725668,
      "domNodes": -8062,
      "jsHeapTotalBytes": -8921088,
      "scriptDurationMs": 550.653,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 13637.02999999998,
      "styleRecalcs": 67,
      "styleRecalcDurationMs": 13.257999999999992,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 12935.831,
      "heapDeltaBytes": -46607764,
      "heapUsedBytes": 184417912,
      "domNodes": -8062,
      "jsHeapTotalBytes": -13758464,
      "scriptDurationMs": 667.3340000000001,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 42,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 3536.276999999984,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 69.14599999999999,
      "layouts": 20,
      "layoutDurationMs": 20.112000000000005,
      "taskDurationMs": 3408.525,
      "heapDeltaBytes": -21628224,
      "heapUsedBytes": 189513080,
      "domNodes": -8062,
      "jsHeapTotalBytes": 10625024,
      "scriptDurationMs": 55.824,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 3757.3809999998957,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 52.901,
      "layouts": 20,
      "layoutDurationMs": 20.876999999999992,
      "taskDurationMs": 3621.339000000001,
      "heapDeltaBytes": -41014388,
      "heapUsedBytes": 182691700,
      "domNodes": -8062,
      "jsHeapTotalBytes": 13692928,
      "scriptDurationMs": 58.409000000000006,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 5342.089000000044,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4827.133,
      "heapDeltaBytes": -16433836,
      "heapUsedBytes": 170449512,
      "domNodes": 0,
      "jsHeapTotalBytes": -13107200,
      "scriptDurationMs": 64.45399999999995,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 5202.179000000001,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4868.228,
      "heapDeltaBytes": -6133000,
      "heapUsedBytes": 179299916,
      "domNodes": 0,
      "jsHeapTotalBytes": -12058624,
      "scriptDurationMs": 69.988,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "workflow-execution",
      "durationMs": 213.66299999999683,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 9.834,
      "layouts": 2,
      "layoutDurationMs": 0.758,
      "taskDurationMs": 61.922000000000004,
      "heapDeltaBytes": 3228784,
      "heapUsedBytes": 65100272,
      "domNodes": 101,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 7.508000000000001,
      "eventListeners": 33,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "workflow-execution",
      "durationMs": 429.08599999998387,
      "styleRecalcs": 15,
      "styleRecalcDurationMs": 15.082999999999998,
      "layouts": 2,
      "layoutDurationMs": 0.5879999999999999,
      "taskDurationMs": 77.339,
      "heapDeltaBytes": 4785904,
      "heapUsedBytes": 69967264,
      "domNodes": 121,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 7.252999999999999,
      "eventListeners": 65,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    }
  ]
}

🔬 E2E Coverage

Metric Covered Total Pct
Lines 51990 78471 66.3% 🟡
Functions 0 0 — —
Branches 0 0 — —
Top 10 files by uncovered lines
File Coverage Missed
src/LGraphCanvas.ts 67.9% 1152
src/LGraphNode.ts 70.4% 382
src/extensions/core/cameraInfo/CameraInfoViewport.ts 2.5% 344
src/renderer/extensions/layerEditor/composables/useLayerEditorSession.ts 40.1% 332
src/platform/workspace/stores/billingOperationStore.ts 7.9% 316
src/LGraph.ts 79.3% 261
src/scripts/app.ts 72.3% 257
src/platform/workspace/stores/teamWorkspaceStore.ts 38.9% 256
src/core/billing/operationLifecycle.ts 0.9% 232
src/scripts/pnginfo.ts 20.8% 221

🌾 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 7165160316e5f3794adaf807ceda706d177fccab

Full docs: ADR-DEVEX-LINT-0015

🧩 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

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

codecov Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Files with missing lines Patch % Lines
src/workbench/extensions/agent/AgentPanelRoot.vue 80.00% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main   #18109      +/-   ##
==========================================
+ Coverage   82.96%   84.24%   +1.27%     
==========================================
  Files        2956     2278     -678     
  Lines      145632   129312   -16320     
  Branches    37526    33655    -3871     
==========================================
- Hits       120822   108935   -11887     
+ Misses      23540    20081    -3459     
+ Partials     1270      296     -974     
Flag Coverage Δ
billing-web-unit ?
e2e 66.25% <ø> (+0.24%) ⬆️
unit 79.77% <98.57%> (+0.45%) ⬆️
website-unit ?

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

Files with missing lines Coverage Δ
.../workbench/extensions/agent/crdt/layoutMintPort.ts 100.00% <100.00%> (ø)
.../workbench/extensions/agent/crdt/mintPortWiring.ts 93.49% <ø> (+0.16%) ⬆️
src/workbench/extensions/agent/AgentPanelRoot.vue 91.62% <80.00%> (-0.19%) ⬇️

... and 824 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@claude
claude Bot force-pushed the claude/layout-mint-port-root-graph-scope branch from d67902c to de7fa88 Compare September 19, 2026 18:31
@claude claude Bot unassigned DrJKL Sep 20, 2026
@claude
claude Bot requested a review from christian-byrne September 20, 2026 10:32
@christian-byrne
christian-byrne marked this pull request as ready for review September 20, 2026 11:09
@christian-byrne
christian-byrne requested a review from a team September 20, 2026 11:09
@github-actions github-actions Bot added risk:medium PR risk grade (advisory shadow check; grader-owned) and removed risk:high PR risk grade (advisory shadow check; grader-owned) labels Sep 20, 2026

@DrJKL DrJKL 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.

Verdict: non-blocking changes requested.

I found no correctness blocker. The root-graph check fixes the reproduced tab-switch leak: the new real-store regression test fails against merge base 88860fadc4 by minting workflow B's add_node into workflow A, and passes at de7fa88e92.

I left five inline comments. The most useful simplification is to keep the new graph-scope filter but derive its identity from the bound workflow's existing activeState.id, rather than maintaining a second latched copy in component state.

Architecture and FE-2504

I consider the graph-id check targeted protection worth keeping at the mint boundary. The component latch is temporary safety machinery and has a simpler owner today. FE-2504 describes the broader deletion path: semantic remote apply and command-origin mint intent would eventually remove this store-observer compensation. That backlog architecture is relevant context, but this PR does not need to implement it.

PR #18078 also edits mintPortWiring.ts, but only around serializeForMint and valueWidgetsOnly. It does not overlap this PR's graph-scope policy, so I found no shared semantic issue beyond ordinary integration conflict risk.

Existing automated feedback
  • Codecov reports one uncovered changed line in AgentPanelRoot.vue. My component-test comment gives that gap a behavioral falsifier: a write-once latch passes the current tests because they never exercise a second false-to-true binding transition.
  • CodeRabbit explicitly skipped review because the author is a bot, so it supplied no finding to confirm or contest.
  • The CI metrics comment reports no actionable failure. All 104 live check runs for this head are complete: 87 succeeded and 17 were skipped.
Checked and cleared
  • I rejected a possible bound-but-null corruption path. In production, AgentPanelRoot mounts only under GraphCanvas's comfyAppReady, which is published after comfyApp.setup() creates the root graph. The permissive null behavior is therefore the explicit untracked case, not a reachable bound-document startup state.
  • I did not require a same-tick create-plus-delete telemetry test. The published contract is rate-limited reporting per graph pair, both paths use the same error type, and per-action call count is an implementation detail.
  • Fallow flagged four consumers of unchanged exports in mintPortWiring.ts. The diff does not alter those exports or their contracts, so that item does not reproduce. Fallow independently confirmed the new layer suppression covered by an inline comment.
Coverage and checks

I reviewed all nine files at standard depth through correctness, maintainability, idiomaticity, tests, and documentation lanes. I traced bound-document root identity, root/subgraph transitions, repeated binding edges, the reused LGraph id rewrite, teardown and queued delivery, and local versus AgentRemote provenance.

Local checks at de7fa88e92:

  • focused Vitest: 6 files, 312 tests passed
  • base regression: failed as expected with one foreign add_node
  • pnpm typecheck: passed
  • changed-file ESLint: passed
  • pnpm oxlint:main: passed with unrelated existing warnings
  • pnpm format:check: passed
  • pnpm knip: passed
  • pnpm exec fallow review --base origin/main --brief: completed; one layer suppression finding, already commented, plus baseline/configuration noise

The live main head advanced to 3a851363c4 during review, but the PR merge base remains 88860fadc4; the nine-file merge-base diff is unchanged.

// active, so a load already in flight when it flips (a workflow tab switch)
// cannot relatch onto the graph the switch is loading. `immediate: true`
// captures it before `attachMintPortWiring` below observes any layout change.
const boundRootGraphId = ref<string | null>(null)

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.

[P2] I think this latch creates a second source of truth for the bound document's root identity. This component already resolves that identity as boundOrOpenWorkflowFor(workflowId)?.activeState?.id for graph mutations, and beforeLoadNewGraph persists the outgoing workflow's activeState before the shared renderer graph is rewritten. Deriving boundRootGraphId from the bound workflow would preserve the tab-switch protection while deleting this ref/watch and its bound/null, unbound/stale, and rebound states.

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.

Done in 938fd56: boundRootGraphId is now a computed derived from boundOrOpenWorkflowFor(boundWorkflowId.value)?.activeState?.id ?? null, and the ref/watch (and its latched/stale states) are gone.


Generated by Claude Code

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.

Tracked as FE-2690. The PR merged with this thread unresolved, so the finding is carried in Linear rather than lost here. Filed automatically; close the ticket if the finding is no longer true at main.

// eslint-disable-next-line import-x/no-restricted-paths
import { ACTOR_CONFIG } from '@/renderer/core/layout/constants'
// eslint-disable-next-line import-x/no-restricted-paths
import { layoutStore } from '@/renderer/core/layout/store/layoutStore'

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.

[P2] This new workbench test suppresses the enforced workbench-to-renderer dependency rule. The existing real-store integration suite in src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts explicitly lives on the renderer side for this reason and already composes the real layout store with this wiring. Please move this regression case there instead of adding two restricted-import exceptions.

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.

Moved the regression case into src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts (real LGraph/LGraphNode driving the real layout store and wiring) and deleted mintPortWiring.tabSwitchScope.test.ts since nothing else was left in it; no restricted-import exceptions are needed there. Confirmed locally that the moved test still fails against the pre-fix layoutMintPort.ts/mintPortWiring.ts (an add_node for the new workflow's node was minted), and passes again with the fix restored.


Generated by Claude Code

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.

Tracked as FE-2690. The PR merged with this thread unresolved, so the finding is carried in Linear rather than lost here. Filed automatically; close the ticket if the finding is no longer true at main.

const mintPortWiringDeps = vi.hoisted(() => ({
current: null as MintPortWiringDeps | null
}))
vi.mock<unknown>(import('./crdt/mintPortWiring'), () => ({

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.

[P3] This is a new mock, but vi.mock<unknown> opts it out of the module-factory contract. Our Vitest guidance reserves that form for legacy partial factories and requires new mocks to remain typed. Please use a typed factory, retaining the actual module exports and overriding attachMintPortWiring, so future export or signature changes stay compiler-visible.

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.

Tried the importOriginal factory suggested here, but this repo's own no-import-actual oxlint rule (tools/oxlint-plugins/vitestCleanup.ts) rejects any mock factory that takes an importOriginal parameter. Used a focused full mock instead: dropped the <unknown> annotation and the parameter, so vi.mock(import('./crdt/mintPortWiring'), () => ({ attachMintPortWiring: ... })) type-checks its return against Partial<typeof import(...)>, keeping attachMintPortWiring's signature compiler-visible.


Generated by Claude Code

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.

Tracked as FE-2690. The PR merged with this thread unresolved, so the finding is carried in Linear rather than lost here. Filed automatically; close the ticket if the finding is no longer true at main.

expect(app.loadGraphData).not.toHaveBeenCalled()
})

it("latches the bound workflow's root graph id once its tab becomes active", async () => {

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.

[P2] These tests cover one initial activation and the never-bound state, but not the transition this watcher must support repeatedly. A write-once implementation would pass both tests and reject valid mints after binding another workflow. Please drive A active, then inactive, then B active through the mounted component and assert that the captured accessor reports B's root id.

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.

Added a test that drives workflow A active, then inactive (a different tab on screen while A stays bound), then switches the bound workflow to B via a real agent_active_tab event through the mounted component, and asserts boundRootGraphId() reports B's root id (with an intermediate assertion that it still correctly reports A's id while A is merely inactive).


Generated by Claude Code

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.

Tracked as FE-2690. The PR merged with this thread unresolved, so the finding is carried in Linear rather than lost here. Filed automatically; close the ticket if the finding is no longer true at main.

/** A semantic doc is bound for the active workflow. */
isDocBound(): boolean
/**
* The bound document's root graph id, or null when untracked or unbound.

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.

[P3] This contract says null means unbound, but the production watcher intentionally retains the last latched id when the binding becomes false. The same statement appears on MintPortWiringDeps. Please describe the actual lifetime, such as null until a bound graph has been latched, so callers do not implement clearing behavior from a false contract.

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.

Verified: after the fix in #1, the accessor returns null only when no workflow is bound, and otherwise the bound workflow's own stored root graph id whether or not its tab is currently active (it reads activeState.id, not the live canvas graph). Rewrote both doc comments (layoutMintPort.ts and MintPortWiringDeps in mintPortWiring.ts) to say that instead of "latched"/"untracked or unbound".


Generated by Claude Code

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.

Tracked as FE-2690. The PR merged with this thread unresolved, so the finding is carried in Linear rather than lost here. Filed automatically; close the ticket if the finding is no longer true at main.

boundRootGraphId was a ref latched by a watch on isBoundWorkflowActive,
a second source of truth alongside the workflow resolver. Derive it
instead from boundOrOpenWorkflowFor(boundWorkflowId)?.activeState?.id,
the same accessor the component already uses to scope layout writes,
and drop the ref/watch and its bound/null, unbound/stale, rebound
states. beforeLoadNewGraph persists the outgoing workflow's
activeState before the shared renderer graph is rewritten, so this
stays correct through a tab switch without latching.

Updates the boundRootGraphId doc comments on LayoutMintPortDeps and
MintPortWiringDeps to describe the derived value's actual contract.
…int-port mock

AgentPanelRoot.test.ts covered one initial activation and never-bound
only, which a write-once latch would also pass. Drive workflow A
active, then inactive, then B active through the mounted component and
assert boundRootGraphId() reports B's root id, not A's.

Replace the vi.mock<unknown> factory for ./crdt/mintPortWiring with a
focused full mock that drops the unknown annotation and the
importOriginal parameter (flagged by this repo's no-import-actual
oxlint rule), so its Partial<module> return type stays compiler-checked
against attachMintPortWiring's real signature.

layoutStoreMintDelivery.test.ts already composes the real layout store
with the real mint-port wiring, so the tab-switch root-scope regression
that lived in mintPortWiring.tabSwitchScope.test.ts (with two
restricted-import exceptions to reach into the renderer layer from a
workbench test) moves there instead, where it needs no exception.
Nothing else was left in that file, so it was removed in the prior
commit.
@claude
claude Bot requested a review from DrJKL September 20, 2026 11:46
@github-actions github-actions Bot added risk:high PR risk grade (advisory shadow check; grader-owned) and removed risk:medium PR risk grade (advisory shadow check; grader-owned) labels Sep 20, 2026
…nt wiring test

Merging main pulled in liveWidgetProjection.test.ts, added on main after
this branch diverged, whose withMintWiring helper predates the
boundRootGraphId field this PR's earlier commit added to
MintPortWiringDeps. Supply it from the same fixed-id graph the helper
already threads through, matching the existing pattern in
agentNodeMaterializer.test.ts.

@DrJKL DrJKL 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.

Verdict: ready to approve

I found no remaining blocker or non-blocking defect at c59221f3e9. All five findings from my first review are addressed:

  • mint scope now derives from the bound workflow's stored activeState.id, rather than a second live-canvas latch;
  • the real-layout-store regression lives in the renderer-owned suite without a layer suppression;
  • the mint-wiring mock is typed;
  • the component test covers A remaining bound while inactive and the later A-to-B rebinding transition; and
  • the dependency docs now describe the derived identity and null lifetime accurately.

I traced the full nine-file merge-base diff again. Foreign-workflow root layout operations are rejected at the mint boundary, valid operations for the bound root continue to mint, subgraph-interior handling remains separate, and agent-remote provenance is still gated before minting. The real-store regression fails with one foreign add_node when I temporarily remove the new graph-scope gate and passes with this head.

FE-2504 remains the longer-term deletion path for store-observer compensation; it does not supersede this targeted safety check. The shared mintPortWiring.ts overlap with #18078 remains ordinary integration risk, not a semantic conflict found here.

Local checks: 6 focused Vitest files / 346 tests passed; targeted red/green proof passed; pnpm typecheck, changed-file ESLint, pnpm oxlint:main, pnpm format:check, and pnpm knip passed. Oxlint reported five unrelated existing warnings. All 100 live checks are complete: 85 succeeded and 15 were skipped.

…rt-root-graph-scope

# Conflicts:
#	src/workbench/extensions/agent/crdt/layoutMintPort.ts

@DrJKL DrJKL 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.

Verdict: changes requested

The merge conflict resolution introduced one blocking cross-workflow state bug:

  • P1 — a foreign workflow's delete clears duplicate suppression for the bound document. In layoutMintPort.ts, mintedNodeIds.delete() runs before the new root-graph mismatch check. I reproduced create(A, 1) → delete(B, 1) → replay create(A, 1): the replay emits a second add_node even though document A never lost node 1. This revives the ID-collision behavior that the newly merged main code prevents. Scope the bookkeeping mutation to the bound root while preserving cleanup for same-root remote and teardown deletes.

I left the reproduced defect and one type-safety issue inline.

PR body corrections
  • P3: The summary and Changes section still say AgentPanelRoot latches app.rootGraph.id. The implementation now derives the bound workflow's serialized activeState.id; that source and reactive lifetime are central to the fix.
  • P3: Review Focus points to deleted mintPortWiring.tabSwitchScope.test.ts. The real-store regression now lives in src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts.
Prior findings

All five findings from the first review remain fixed after the merge: the duplicate latch is gone, the real-store test stays renderer-owned, the mock remains typed, the A→inactive→B transition remains covered, and source docblocks still describe the derived identity accurately.

Checked and cleared
  • Fallow reports layoutMintPort.onChange at cyclomatic 18 / CRAP 88. The local change-scoped audit analyzed all nine files and classifies it as introduced:false; the new reporting policy is already isolated in a helper, so extracting switch arms would move rather than remove complexity.
  • Codecov still reports one uncovered AgentPanelRoot line. The behavior is covered across null, initially bound, inactive-but-still-bound, and rebound identities, and this merge changed no component behavior.
  • The six PR commits are unchanged by git range-diff; the new defect is specifically the resolution of layoutMintPort.ts against main's mintedNodeIds bookkeeping.
Coverage and checks

Standard-depth correctness, maintainability, idiomaticity, tests, and documentation lanes reviewed all nine files. Focused Vitest passed 6 files / 351 tests. The conflict-specific regression fails on this head with a duplicate add_node; a temporary graph-scoped bookkeeping fix made both relevant suites pass (2 files / 48 tests), then I restored the exact head. pnpm typecheck, changed-file ESLint, pnpm oxlint:main, pnpm format:check, and pnpm knip passed. Oxlint emitted five unrelated existing warnings. The local Fallow audit completed with configuration/baseline noise and the cleared complexity item above.

No Playwright spec or fixture is in the nine-file PR diff, so there was nothing to list locally; I used CI evidence. All 100 checks for this head are complete: 85 succeeded and 15 were skipped.

The original tab-switch regression remains red without this PR's scope gate and green with it. FE-2504 remains the future deletion path for observer compensation, not a substitute for fixing this merge interaction.

mintedNodeIds.delete(String(operation.nodeId))
if (!gate(change, inTeardown)) return
if (reportUnrepresentableInteriorChange(operation, 'delete')) return
if (reportOpForUnboundGraph(operation, 'delete')) return

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.

[P1] Keep foreign deletes from mutating the bound document’s dedupe state. mintedNodeIds.delete() runs before this mismatch check. I reproduced: mint node 1 for bound graph A, deliver a root-scoped delete for graph B with the same ID, then replay A’s create. This line rejects B’s wire op, but B has already removed A’s ID from the set, so the replay emits a second add_node. Scope the bookkeeping update by bound root before clearing the ID, while retaining cleanup for same-root remote and teardown deletes; add that three-event regression.

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.

Fixed in 1070716: mintedNodeIds.delete() in the deleteNode case now runs only when the delete's graphId matches the bound root graph, so a foreign-graph delete can no longer clear the bound graph's dedupe entry. Added the three-event regression test (create A → delete B → replay create A → exactly one add_node, and B's op is still reported/dropped) plus a same-root-delete-still-clears case; both confirmed red against the pre-fix code and green after.


Generated by Claude Code

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.

Tracked as FE-2690. The PR merged with this thread unresolved, so the finding is carried in Linear rather than lost here. Filed automatically; close the ticket if the finding is no longer true at main.

* already in flight when the binding flips cannot mint the new graph's
* nodes into the old document.
*/
boundRootGraphId(): string | null

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.

[P3] Keep the root-graph role in the type. This new semantic boundary accepts any string even though RootGraphId already distinguishes root IDs from owning/subgraph IDs. Please return RootGraphId | null from both dependency interfaces and convert the serialized workflow ID with toRootGraphId at the composition boundary. That lets the compiler reject wiring the wrong graph-ID role into the safety check.

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.

Fixed in 1070716: boundRootGraphId() on both LayoutMintPortDeps and MintPortWiringDeps now returns RootGraphId | null, and AgentPanelRoot.vue's boundRootGraphId computed converts the bound workflow's serialized activeState.id with toRootGraphId at the composition boundary. Updated the mocks/fixtures in the affected test files to construct the branded id the same way.


Generated by Claude Code

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.

Tracked as FE-2690. The PR merged with this thread unresolved, so the finding is carried in Linear rather than lost here. Filed automatically; close the ticket if the finding is no longer true at main.

A root-scoped deleteNode for a graph other than the bound one (a workflow
load still in flight sharing a node id with the bound document) was
clearing the layout mint port's own add_node dedupe entry for that id
before the root-graph mismatch check ran. A replayed create for the
bound graph then emitted a second add_node. Scope the mintedNodeIds
mutation to same-root deletes only, keeping cleanup for same-root
remote deletes and teardown/reset intact.

Also tighten boundRootGraphId() on both mint dependency interfaces to
return RootGraphId instead of a bare string, converting the serialized
workflow id with toRootGraphId at the AgentPanelRoot composition
boundary.
@christian-byrne christian-byrne added the cloud/1.54 Backport PRs for cloud 1.54 label Sep 22, 2026
@christian-byrne
christian-byrne added this pull request to the merge queue Sep 22, 2026
Merged via the queue into main with commit f664247 Sep 22, 2026
136 of 138 checks passed
@christian-byrne
christian-byrne deleted the claude/layout-mint-port-root-graph-scope branch September 22, 2026 04:10
@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to core/1.54 failed

Reason: Merge conflicts detected during cherry-pick of f664247

The auto-backport could not be completed automatically. Please backport
manually onto branch backport-18109-to-core-1.54 (from origin/core/1.54) and
open a PR to core/1.54.

This may be a stacking conflict rather than a real one. #18339, #18334, #17872 are still open against core/1.54. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the needs-backport label to re-run this workflow.

📄 Conflicting files
src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts
src/workbench/extensions/agent/AgentPanelRoot.vue
src/workbench/extensions/agent/crdt/layoutMintPort.test.ts
src/workbench/extensions/agent/crdt/layoutMintPort.ts
🤖 Prompt for AI Agents
Backport PR #18109 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/18109) to core/1.54.
Cherry-pick merge commit f664247339869597a78c165b164c4220246b15fa onto new branch
backport-18109-to-core-1.54 from origin/core/1.54.
Resolve conflicts in: src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts src/workbench/extensions/agent/AgentPanelRoot.vue src/workbench/extensions/agent/crdt/layoutMintPort.test.ts src/workbench/extensions/agent/crdt/layoutMintPort.ts .

> **This may be a stacking conflict rather than a real one.** #18339, #18334, #17872 are still open against `core/1.54`. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the `needs-backport` label to re-run this workflow.

For test snapshots (browser_tests/**/*-snapshots/), accept PR version if
changed in original PR, else keep target. For package.json versions, keep
target branch. For pnpm-lock.yaml, regenerate with pnpm install.
Ask user for non-obvious conflicts.
Create PR titled "[backport core/1.54] <original title>" with label "backport".
See .github/workflows/pr-backport.yaml for workflow details.

cc @claude[bot]

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to cloud/1.54 failed

Reason: Merge conflicts detected during cherry-pick of f664247

The auto-backport could not be completed automatically. Please backport
manually onto branch backport-18109-to-cloud-1.54 (from origin/cloud/1.54) and
open a PR to cloud/1.54.

This may be a stacking conflict rather than a real one. #18340, #18333, #18330 are still open against cloud/1.54. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the needs-backport label to re-run this workflow.

📄 Conflicting files
src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts
src/workbench/extensions/agent/AgentPanelRoot.vue
src/workbench/extensions/agent/crdt/layoutMintPort.test.ts
src/workbench/extensions/agent/crdt/layoutMintPort.ts
🤖 Prompt for AI Agents
Backport PR #18109 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/18109) to cloud/1.54.
Cherry-pick merge commit f664247339869597a78c165b164c4220246b15fa onto new branch
backport-18109-to-cloud-1.54 from origin/cloud/1.54.
Resolve conflicts in: src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts src/workbench/extensions/agent/AgentPanelRoot.vue src/workbench/extensions/agent/crdt/layoutMintPort.test.ts src/workbench/extensions/agent/crdt/layoutMintPort.ts .

> **This may be a stacking conflict rather than a real one.** #18340, #18333, #18330 are still open against `cloud/1.54`. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the `needs-backport` label to re-run this workflow.

For test snapshots (browser_tests/**/*-snapshots/), accept PR version if
changed in original PR, else keep target. For package.json versions, keep
target branch. For pnpm-lock.yaml, regenerate with pnpm install.
Ask user for non-obvious conflicts.
Create PR titled "[backport cloud/1.54] <original title>" with label "backport".
See .github/workflows/pr-backport.yaml for workflow details.

cc @claude[bot]

christian-byrne pushed a commit that referenced this pull request Sep 22, 2026
…und document's root graph (#18356)

<!-- ccr-slack-attribution -->
_Requested by **Christian Byrne** · [Slack
thread](https://comfy-organization.slack.com/archives/C0BGH348Z0C/p1789709550015299?thread_ts=1789709550.015299&cid=C0BGH348Z0C)_

Backport of #18109 to `core/1.54`.

## Summary

**Before:** While the Agent panel is bound to a workflow, switching to
another workflow tab reuses the same in-memory root graph object for the
new tab's nodes before the panel's document binding has caught up. Every
node LiteGraph attaches during that window queued a layout `createNode`
change, and the mint port did not check which graph a change belonged
to, so those changes for the new tab were minted as `add_node`
operations and sent into the previous tab's still-bound document.

**After:** The layout mint port now compares every root-scoped
`createNode`/`deleteNode`/`clearGraph` change against the bound
document's own root graph id. A change naming a different graph is
dropped and reported once instead of being minted, so a tab switch can
no longer leak one workflow's nodes into another workflow's document.

## Changes

- **What**: Cherry-picked the squash-merge commit
`f664247339869597a78c165b164c4220246b15fa` (#18109) onto a new branch
from `origin/core/1.54`. The automated backport failed with conflicts in
`src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts`,
`src/workbench/extensions/agent/AgentPanelRoot.vue`,
`src/workbench/extensions/agent/crdt/layoutMintPort.test.ts`, and
`src/workbench/extensions/agent/crdt/layoutMintPort.ts`. In every
conflicting hunk the target branch's side was empty (the PR's code is
purely additive on top of code `core/1.54` already had unchanged), so
each hunk was resolved by taking the incoming PR content as-is; no logic
was rewritten by hand.

## Review Focus

- The cherry-pick failed typecheck for two missing dependencies not yet
on `core/1.54`: the `withoutGhostFlag` helper (added to
`layoutMintPort.ts` earlier by #18191, needed by this PR's new code) and
a `toRootGraphId` import in `AgentPanelRoot.test.ts` (used by this PR's
new tests, already imported on `main` from an earlier, separately
un-backported change). Both were added back verbatim from `main` so the
cherry-picked code compiles; no other logic was changed.
- Verification: `pnpm vitest run src/workbench/extensions/agent/crdt
src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts
src/workbench/extensions/agent/AgentPanelRoot.test.ts` — 904 passed, 3
failed, 1 expected fail; the 3 failures (`AgentPanelRoot.test.ts`
"Media-card" attach/upload cases) were confirmed pre-existing and
unrelated by running the same tests against unmodified
`origin/core/1.54`, where they fail identically. `pnpm eslint` and `pnpm
format:check` (oxfmt) on all changed files: clean.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01NQVcfKhCKjLstqo3mJS7fc

Co-authored-by: Claude <noreply@anthropic.com>
christian-byrne pushed a commit that referenced this pull request Sep 22, 2026
…ound document's root graph (#18360)

<!-- ccr-slack-attribution -->
_Requested by **Christian Byrne** · [Slack
thread](https://comfy-organization.slack.com/archives/C0BGH348Z0C/p1789709550015299?thread_ts=1789709550.015299&cid=C0BGH348Z0C)_

Backport of #18109 to `cloud/1.54`.

## Summary

**Before:** While the Agent panel is bound to a workflow, switching to
another workflow tab reuses the same in-memory root graph object for the
new tab's nodes before the panel's document binding has caught up. Every
node LiteGraph attaches during that window queued a layout `createNode`
change, and the mint port did not check which graph a change belonged
to, so those changes for the new tab were minted as `add_node`
operations and sent into the previous tab's still-bound document.

**After:** The layout mint port now compares every root-scoped
`createNode`/`deleteNode`/`clearGraph` change against the bound
document's own root graph id. A change naming a different graph is
dropped and reported once instead of being minted, so a tab switch can
no longer leak one workflow's nodes into another workflow's document.

## Changes

- **What**: Cherry-picked the squash-merge commit
`f664247339869597a78c165b164c4220246b15fa` (#18109) onto a new branch
from `origin/cloud/1.54`. The automated backport failed with conflicts
in `src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts`,
`src/workbench/extensions/agent/AgentPanelRoot.vue`,
`src/workbench/extensions/agent/crdt/layoutMintPort.test.ts`, and
`src/workbench/extensions/agent/crdt/layoutMintPort.ts` — the same shape
of conflicts as the `core/1.54` backport (#18356). In every conflicting
hunk the target branch's side was empty (the PR's code is purely
additive on top of code `cloud/1.54` already had unchanged), so each
hunk was resolved by taking the incoming PR content as-is; no logic was
rewritten by hand.

## Review Focus

- The cherry-pick failed typecheck for two missing dependencies not yet
on `cloud/1.54`: the `withoutGhostFlag` helper (added to
`layoutMintPort.ts` earlier by #18191, needed by this PR's new code) and
a `toRootGraphId` import in `AgentPanelRoot.test.ts` (used by this PR's
new tests, already imported on `main` from an earlier, separately
un-backported change). Both were added back verbatim from `main` so the
cherry-picked code compiles; no other logic was changed.
- Verification: `pnpm vitest run src/workbench/extensions/agent/crdt
src/renderer/core/layout/store/layoutStoreMintDelivery.test.ts
src/workbench/extensions/agent/AgentPanelRoot.test.ts` — 938 passed, 3
failed, 1 expected fail; the 3 failures (`AgentPanelRoot.test.ts`
"Media-card" attach/upload cases) were confirmed pre-existing and
unrelated (also reproduced against unmodified `origin/core/1.54`, same
failures, same cause). `pnpm eslint` and `pnpm format:check` (oxfmt) on
all changed files: clean.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01NQVcfKhCKjLstqo3mJS7fc

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
claude Bot pushed a commit that referenced this pull request Sep 22, 2026
Merging main into this branch pulled in #18109's boundRootGraphId
addition to MintPortWiringDeps, but this test's attachMintPortWiring
mock predates that and never got the field, breaking pnpm typecheck
(TS2345: Property 'boundRootGraphId' is missing).

Add it following the same pattern already used in mintPortWiring.test.ts.
@claude

claude Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor Author

A real production data point for this guard: a cloud-frontend-staging Sentry alert (2026-09-22) hit exactly the reportOpForUnboundGraph() failure mode here — a createNode targeting graph 84826d7d-1b25-4cfb-9d59-2747a4b09a19 while 27ca8666-fa2b-4ef9-99bc-e005182fadc6 was the bound document's root graph.

Since this fix is already merged and #18326 supersedes/hardens it (renaming the guard to activation-based isForActivatedDocument()), I added the regression test with these real UUIDs there instead: commit 8abb84baf on #18326, in layoutMintPort.test.ts.


Generated by Claude Code

claude Bot pushed a commit that referenced this pull request Sep 23, 2026
…ased targeting

#18109 landed on main after this branch forked, adding boundRootGraphId()
targeting plus a mintedNodeIdsByRoot dedupe to stop a replayed createNode
(litegraph undo/redo, or a create op replaying across two tabs bound to the
same root graph) from minting a second add_node for a node the doc already
has. This branch's rewrite replaced boundRootGraphId() with the activation
coordinator's isForActivatedDocument()/activeRootGraphId(), which subsumes
#18109's targeting check, but carried none of its dedupe forward.

Port the dedupe into attachLayoutMintPort, keyed by the operation's own
graphId (guaranteed to be the activated document's by the time a create or
delete reaches the bucket, since isForActivatedDocument already filtered):
- createNode skips a replay for an id this port already relayed, and
  records newly-minted ids in that graph's bucket
- deleteNode evicts the id from its own-graph bucket whenever a root-owned
  delete fires, independent of gating, so a later replay can re-mint
- an intentional (human-confirmed) clear forgets the whole bucket; an
  incidental clearGraph (tab-switch reconfiguring the shared canvas graph in
  place) leaves it alone
@comfy-pr-bot comfy-pr-bot added the released:cloud PR has been released to cloud label Sep 23, 2026
@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to core/1.54 failed

Reason: Merge conflicts detected during cherry-pick of f664247

The auto-backport could not be completed automatically. Please backport
manually onto branch backport-18109-to-core-1.54 (from origin/core/1.54) and
open a PR to core/1.54.

This may be a stacking conflict rather than a real one. #18571, #18564, #18536, #18369, #18334, #17872 are still open against core/1.54. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the needs-backport label to re-run this workflow.

📄 Conflicting files
src/workbench/extensions/agent/AgentPanelRoot.test.ts
src/workbench/extensions/agent/AgentPanelRoot.vue
🤖 Prompt for AI Agents
Backport PR #18109 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/18109) to core/1.54.
Cherry-pick merge commit f664247339869597a78c165b164c4220246b15fa onto new branch
backport-18109-to-core-1.54 from origin/core/1.54.
Resolve conflicts in: src/workbench/extensions/agent/AgentPanelRoot.test.ts src/workbench/extensions/agent/AgentPanelRoot.vue .

> **This may be a stacking conflict rather than a real one.** #18571, #18564, #18536, #18369, #18334, #17872 are still open against `core/1.54`. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the `needs-backport` label to re-run this workflow.

For test snapshots (browser_tests/**/*-snapshots/), accept PR version if
changed in original PR, else keep target. For package.json versions, keep
target branch. For pnpm-lock.yaml, regenerate with pnpm install.
Ask user for non-obvious conflicts.
Create PR titled "[backport core/1.54] <original title>" with label "backport".
See .github/workflows/pr-backport.yaml for workflow details.

cc @claude[bot]

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to cloud/1.54 failed

Reason: Merge conflicts detected during cherry-pick of f664247

The auto-backport could not be completed automatically. Please backport
manually onto branch backport-18109-to-cloud-1.54 (from origin/cloud/1.54) and
open a PR to cloud/1.54.

This may be a stacking conflict rather than a real one. #18572, #18565, #18550, #18479, #18370, #18367, #18351 are still open against cloud/1.54. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the needs-backport label to re-run this workflow.

📄 Conflicting files
src/workbench/extensions/agent/AgentPanelRoot.test.ts
src/workbench/extensions/agent/AgentPanelRoot.vue
🤖 Prompt for AI Agents
Backport PR #18109 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/18109) to cloud/1.54.
Cherry-pick merge commit f664247339869597a78c165b164c4220246b15fa onto new branch
backport-18109-to-cloud-1.54 from origin/cloud/1.54.
Resolve conflicts in: src/workbench/extensions/agent/AgentPanelRoot.test.ts src/workbench/extensions/agent/AgentPanelRoot.vue .

> **This may be a stacking conflict rather than a real one.** #18572, #18565, #18550, #18479, #18370, #18367, #18351 are still open against `cloud/1.54`. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the `needs-backport` label to re-run this workflow.

For test snapshots (browser_tests/**/*-snapshots/), accept PR version if
changed in original PR, else keep target. For package.json versions, keep
target branch. For pnpm-lock.yaml, regenerate with pnpm install.
Ask user for non-obvious conflicts.
Create PR titled "[backport cloud/1.54] <original title>" with label "backport".
See .github/workflows/pr-backport.yaml for workflow details.

cc @claude[bot]

@DrJKL DrJKL added agent Comfy Agent product, integration, tests or product documentation agent-crdt Agent document synchronization, graph projection or CRDT operations agent-test-unit Touches Agent-related unit/component tests or their support agent-ui Agent panel, composer, transcript or other user-interface components labels Sep 24, 2026
@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to core/1.54 failed

Reason: Merge conflicts detected during cherry-pick of f664247

The auto-backport could not be completed automatically. Please backport
manually onto branch backport-18109-to-core-1.54 (from origin/core/1.54) and
open a PR to core/1.54.

This may be a stacking conflict rather than a real one. #18655, #18369, #18334, #17872 are still open against core/1.54. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the needs-backport label to re-run this workflow.

📄 Conflicting files
src/workbench/extensions/agent/AgentPanelRoot.test.ts
src/workbench/extensions/agent/AgentPanelRoot.vue
🤖 Prompt for AI Agents
Backport PR #18109 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/18109) to core/1.54.
Cherry-pick merge commit f664247339869597a78c165b164c4220246b15fa onto new branch
backport-18109-to-core-1.54 from origin/core/1.54.
Resolve conflicts in: src/workbench/extensions/agent/AgentPanelRoot.test.ts src/workbench/extensions/agent/AgentPanelRoot.vue .

> **This may be a stacking conflict rather than a real one.** #18655, #18369, #18334, #17872 are still open against `core/1.54`. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the `needs-backport` label to re-run this workflow.

For test snapshots (browser_tests/**/*-snapshots/), accept PR version if
changed in original PR, else keep target. For package.json versions, keep
target branch. For pnpm-lock.yaml, regenerate with pnpm install.
Ask user for non-obvious conflicts.
Create PR titled "[backport core/1.54] <original title>" with label "backport".
See .github/workflows/pr-backport.yaml for workflow details.

cc @claude[bot]

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to cloud/1.54 failed

Reason: Merge conflicts detected during cherry-pick of f664247

The auto-backport could not be completed automatically. Please backport
manually onto branch backport-18109-to-cloud-1.54 (from origin/cloud/1.54) and
open a PR to cloud/1.54.

This may be a stacking conflict rather than a real one. #18656, #18644, #18479, #18370 are still open against cloud/1.54. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the needs-backport label to re-run this workflow.

📄 Conflicting files
src/workbench/extensions/agent/AgentPanelRoot.test.ts
🤖 Prompt for AI Agents
Backport PR #18109 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/18109) to cloud/1.54.
Cherry-pick merge commit f664247339869597a78c165b164c4220246b15fa onto new branch
backport-18109-to-cloud-1.54 from origin/cloud/1.54.
Resolve conflicts in: src/workbench/extensions/agent/AgentPanelRoot.test.ts .

> **This may be a stacking conflict rather than a real one.** #18656, #18644, #18479, #18370 are still open against `cloud/1.54`. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the `needs-backport` label to re-run this workflow.

For test snapshots (browser_tests/**/*-snapshots/), accept PR version if
changed in original PR, else keep target. For package.json versions, keep
target branch. For pnpm-lock.yaml, regenerate with pnpm install.
Ask user for non-obvious conflicts.
Create PR titled "[backport cloud/1.54] <original title>" with label "backport".
See .github/workflows/pr-backport.yaml for workflow details.

cc @claude[bot]

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to core/1.54 failed

Reason: Merge conflicts detected during cherry-pick of f664247

The auto-backport could not be completed automatically. Please backport
manually onto branch backport-18109-to-core-1.54 (from origin/core/1.54) and
open a PR to core/1.54.

This may be a stacking conflict rather than a real one. #18660, #18655, #18369, #18334, #17872 are still open against core/1.54. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the needs-backport label to re-run this workflow.

📄 Conflicting files
src/workbench/extensions/agent/AgentPanelRoot.test.ts
src/workbench/extensions/agent/AgentPanelRoot.vue
🤖 Prompt for AI Agents
Backport PR #18109 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/18109) to core/1.54.
Cherry-pick merge commit f664247339869597a78c165b164c4220246b15fa onto new branch
backport-18109-to-core-1.54 from origin/core/1.54.
Resolve conflicts in: src/workbench/extensions/agent/AgentPanelRoot.test.ts src/workbench/extensions/agent/AgentPanelRoot.vue .

> **This may be a stacking conflict rather than a real one.** #18660, #18655, #18369, #18334, #17872 are still open against `core/1.54`. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the `needs-backport` label to re-run this workflow.

For test snapshots (browser_tests/**/*-snapshots/), accept PR version if
changed in original PR, else keep target. For package.json versions, keep
target branch. For pnpm-lock.yaml, regenerate with pnpm install.
Ask user for non-obvious conflicts.
Create PR titled "[backport core/1.54] <original title>" with label "backport".
See .github/workflows/pr-backport.yaml for workflow details.

cc @claude[bot]

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to cloud/1.54 failed

Reason: Merge conflicts detected during cherry-pick of f664247

The auto-backport could not be completed automatically. Please backport
manually onto branch backport-18109-to-cloud-1.54 (from origin/cloud/1.54) and
open a PR to cloud/1.54.

This may be a stacking conflict rather than a real one. #18656, #18644, #18479, #18370 are still open against cloud/1.54. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the needs-backport label to re-run this workflow.

📄 Conflicting files
src/workbench/extensions/agent/AgentPanelRoot.test.ts
🤖 Prompt for AI Agents
Backport PR #18109 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/18109) to cloud/1.54.
Cherry-pick merge commit f664247339869597a78c165b164c4220246b15fa onto new branch
backport-18109-to-cloud-1.54 from origin/cloud/1.54.
Resolve conflicts in: src/workbench/extensions/agent/AgentPanelRoot.test.ts .

> **This may be a stacking conflict rather than a real one.** #18656, #18644, #18479, #18370 are still open against `cloud/1.54`. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the `needs-backport` label to re-run this workflow.

For test snapshots (browser_tests/**/*-snapshots/), accept PR version if
changed in original PR, else keep target. For package.json versions, keep
target branch. For pnpm-lock.yaml, regenerate with pnpm install.
Ask user for non-obvious conflicts.
Create PR titled "[backport cloud/1.54] <original title>" with label "backport".
See .github/workflows/pr-backport.yaml for workflow details.

cc @claude[bot]

christian-byrne added a commit that referenced this pull request Oct 2, 2026
Addresses the review on #19868. Three pre-merge blockers and the P2s behind
them.

The binding latched its rootGraphId at publish time and nothing could move it,
but the live root graph id rotates in place outside any graph load: Clear
Workflow calls app.clean(), whose LGraph.clear() mints a fresh uuid with no
loadGraphData. docOpMinter.isMintableRootScope then refused every later
add_node, connect, remove and set_node_field on the bound tab as
agent_crdt_op_for_unbound_graph, with nothing on screen to say the user's edits
had stopped reaching the agent document. Reading activeState.id (the #18109
design) self-healed after a clear; the latch does not. The binding now tracks
the live id, and rebindActiveRootGraph follows an in-place rotation without
emitting a document transition (ADR-0026 D3).

The lifecycle boundary moves into workflowService.beforeLoadNewGraph and
afterLoadNewGraph. All three graph-load entrypoints already call that pair, so
loadApiJson and the A1111 import are covered by construction instead of leaving
the previous document bound while the canvas holds an imported graph, and
afterLoadNewGraph publishes the workflow it actually selected. The same-document
inference lives beside activateLoadedWorkflow and reuses its rule, so a
same-path load of different content retracts before the graph is cleared.

beforeLoadNewGraph returns a per-load token that afterLoadNewGraph and
invalidate hand back, so a load finishing after a newer one started can neither
publish nor retract on its behalf: ChangeTracker.undo and paste call
loadGraphData outside the workflow-load queue. The failure paths invalidate
through that token, and only once the graph has actually been cleared or
replaced.

isActive and activeRootGraphId compared with binding?.uid === uid, which reads
as true when both sides are undefined, so a workflow with no session uid
reported itself active against no binding at all. That fail-open is why only
five of AgentPanelRoot's 378 tests failed instead of most of them: no mock
workflow minted an instanceId. Both now compare against a non-null binding, and
createMockLoadedWorkflow mints a uid like the real class.

Dropped the subscribe/emit pair: nothing in production subscribed, and ADR-0026
D3 wants typed events, late-registration catch-up and serialized transitions
from that bus, so its shape would change when the first consumer arrives. That
retires the missing rootGraphId event, the no-op duplicate disposer, $reset
silencing the channel, and the reentrancy-unguarded emit. activeBinding is no
longer exposed, so no caller can skip a transition.

AgentPanelRoot.test.ts publishes the binding where a completed load does rather
than through activeState.id. Two assertions moved to the contract this PR
replaces: a bound workflow in a background tab now reports no root graph, and
the #18109 rotation guard drives the rotation the way app.clean() does, with
the app.clean() half pinned in app.test.ts.

Scope: an ADR amendment records this as a precursor to Phase 1 of
ADR-GRAPH-DOCUMENT-0026, not Phase 1 — the uid is ComfyWorkflow.instanceId,
which survives unload(), so close/reopen does not mint a new uid as D1
requires, and there is no lifecycle bus, no Close from the death paths, no
ingress stamping, no key helper and no store migrations.

Black-box: browser_tests/tests/agent/agentClearWorkflowKeepsMinting.spec.ts.
The user clears the workflow, adds a node by hand, and the node must reach the
agent document. Red without the rebind (hostNodeIds() stays empty), green with
it, and it asserts the root graph id actually rotated so it cannot pass for the
wrong reason.
christian-byrne added a commit that referenced this pull request Oct 2, 2026
Addresses the review on #19868. Three pre-merge blockers and the P2s behind
them.

The binding latched its rootGraphId at publish time and nothing could move it,
but the live root graph id rotates in place outside any graph load: Clear
Workflow calls app.clean(), whose LGraph.clear() mints a fresh uuid with no
loadGraphData. docOpMinter.isMintableRootScope then refused every later
add_node, connect, remove and set_node_field on the bound tab as
agent_crdt_op_for_unbound_graph, with nothing on screen to say the user's edits
had stopped reaching the agent document. Reading activeState.id (the #18109
design) self-healed after a clear; the latch does not. The binding now tracks
the live id, and rebindActiveRootGraph follows an in-place rotation without
emitting a document transition (ADR-0026 D3).

The lifecycle boundary moves into workflowService.beforeLoadNewGraph and
afterLoadNewGraph. All three graph-load entrypoints already call that pair, so
loadApiJson and the A1111 import are covered by construction instead of leaving
the previous document bound while the canvas holds an imported graph, and
afterLoadNewGraph publishes the workflow it actually selected. The same-document
inference lives beside activateLoadedWorkflow and reuses its rule, so a
same-path load of different content retracts before the graph is cleared.

beforeLoadNewGraph returns a per-load token that afterLoadNewGraph and
invalidate hand back, so a load finishing after a newer one started can neither
publish nor retract on its behalf: ChangeTracker.undo and paste call
loadGraphData outside the workflow-load queue. The failure paths invalidate
through that token, and only once the graph has actually been cleared or
replaced.

isActive and activeRootGraphId compared with binding?.uid === uid, which reads
as true when both sides are undefined, so a workflow with no session uid
reported itself active against no binding at all. That fail-open is why only
five of AgentPanelRoot's 378 tests failed instead of most of them: no mock
workflow minted an instanceId. Both now compare against a non-null binding, and
createMockLoadedWorkflow mints a uid like the real class.

Dropped the subscribe/emit pair: nothing in production subscribed, and ADR-0026
D3 wants typed events, late-registration catch-up and serialized transitions
from that bus, so its shape would change when the first consumer arrives. That
retires the missing rootGraphId event, the no-op duplicate disposer, $reset
silencing the channel, and the reentrancy-unguarded emit. activeBinding is no
longer exposed, so no caller can skip a transition.

AgentPanelRoot.test.ts publishes the binding where a completed load does rather
than through activeState.id. Two assertions moved to the contract this PR
replaces: a bound workflow in a background tab now reports no root graph, and
the #18109 rotation guard drives the rotation the way app.clean() does, with
the app.clean() half pinned in app.test.ts.

Scope: an ADR amendment records this as a precursor to Phase 1 of
ADR-GRAPH-DOCUMENT-0026, not Phase 1 — the uid is ComfyWorkflow.instanceId,
which survives unload(), so close/reopen does not mint a new uid as D1
requires, and there is no lifecycle bus, no Close from the death paths, no
ingress stamping, no key helper and no store migrations.

Black-box: browser_tests/tests/agent/agentClearWorkflowKeepsMinting.spec.ts.
The user clears the workflow, adds a node by hand, and the node must reach the
agent document. Red without the rebind (hostNodeIds() stays empty), green with
it, and it asserts the root graph id actually rotated so it cannot pass for the
wrong reason.
christian-byrne added a commit that referenced this pull request Oct 11, 2026
Addresses the review on #19868. Three pre-merge blockers and the P2s behind
them.

The binding latched its rootGraphId at publish time and nothing could move it,
but the live root graph id rotates in place outside any graph load: Clear
Workflow calls app.clean(), whose LGraph.clear() mints a fresh uuid with no
loadGraphData. docOpMinter.isMintableRootScope then refused every later
add_node, connect, remove and set_node_field on the bound tab as
agent_crdt_op_for_unbound_graph, with nothing on screen to say the user's edits
had stopped reaching the agent document. Reading activeState.id (the #18109
design) self-healed after a clear; the latch does not. The binding now tracks
the live id, and rebindActiveRootGraph follows an in-place rotation without
emitting a document transition (ADR-0026 D3).

The lifecycle boundary moves into workflowService.beforeLoadNewGraph and
afterLoadNewGraph. All three graph-load entrypoints already call that pair, so
loadApiJson and the A1111 import are covered by construction instead of leaving
the previous document bound while the canvas holds an imported graph, and
afterLoadNewGraph publishes the workflow it actually selected. The same-document
inference lives beside activateLoadedWorkflow and reuses its rule, so a
same-path load of different content retracts before the graph is cleared.

beforeLoadNewGraph returns a per-load token that afterLoadNewGraph and
invalidate hand back, so a load finishing after a newer one started can neither
publish nor retract on its behalf: ChangeTracker.undo and paste call
loadGraphData outside the workflow-load queue. The failure paths invalidate
through that token, and only once the graph has actually been cleared or
replaced.

isActive and activeRootGraphId compared with binding?.uid === uid, which reads
as true when both sides are undefined, so a workflow with no session uid
reported itself active against no binding at all. That fail-open is why only
five of AgentPanelRoot's 378 tests failed instead of most of them: no mock
workflow minted an instanceId. Both now compare against a non-null binding, and
createMockLoadedWorkflow mints a uid like the real class.

Dropped the subscribe/emit pair: nothing in production subscribed, and ADR-0026
D3 wants typed events, late-registration catch-up and serialized transitions
from that bus, so its shape would change when the first consumer arrives. That
retires the missing rootGraphId event, the no-op duplicate disposer, $reset
silencing the channel, and the reentrancy-unguarded emit. activeBinding is no
longer exposed, so no caller can skip a transition.

AgentPanelRoot.test.ts publishes the binding where a completed load does rather
than through activeState.id. Two assertions moved to the contract this PR
replaces: a bound workflow in a background tab now reports no root graph, and
the #18109 rotation guard drives the rotation the way app.clean() does, with
the app.clean() half pinned in app.test.ts.

Scope: an ADR amendment records this as a precursor to Phase 1 of
ADR-GRAPH-DOCUMENT-0026, not Phase 1 — the uid is ComfyWorkflow.instanceId,
which survives unload(), so close/reopen does not mint a new uid as D1
requires, and there is no lifecycle bus, no Close from the death paths, no
ingress stamping, no key helper and no store migrations.

Black-box: browser_tests/tests/agent/agentClearWorkflowKeepsMinting.spec.ts.
The user clears the workflow, adds a node by hand, and the node must reach the
agent document. Red without the rebind (hostNodeIds() stays empty), green with
it, and it asserts the root graph id actually rotated so it cannot pass for the
wrong reason.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent Comfy Agent product, integration, tests or product documentation agent-crdt Agent document synchronization, graph projection or CRDT operations agent-test-unit Touches Agent-related unit/component tests or their support agent-ui Agent panel, composer, transcript or other user-interface components cloud/1.54 Backport PRs for cloud 1.54 core/1.54 Backport PRs for core 1.54 cursor-review Trigger multi-model Cursor agent review on this PR needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch released:cloud PR has been released to cloud risk:high PR risk grade (advisory shadow check; grader-owned)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants