Skip to content

fix(agent): gate persisted workflow tab bindings on document identity - #18077

Merged
christian-byrne merged 7 commits into
mainfrom
test/pm-1255-stale-workflow-tab-binding
Sep 20, 2026
Merged

christian-byrne merged 7 commits into
mainfrom
test/pm-1255-stale-workflow-tab-binding

Conversation

@claude

@claude claude Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Christian Byrne · Slack thread

Before: Every new unsaved tab opens at the same default path, and the agent panel remembers which tab belongs to which agent workflow by that path. When a bound tab was closed without the app's own cleanup (the browser tab was simply closed), its record stayed behind. On the next visit the still-open chat thread named that workflow, the panel matched it to the brand-new tab by path, the next message was sent as that workflow, and the agent's document was pulled onto the fresh canvas over the default graph.

After: A remembered binding only attaches to a tab that carries the same workflow document id it was bound with. A fresh tab has a new id, so it is refused and keeps its default canvas and its own identity; a reload or a browser-restart restore of the same draft keeps its id, so the sidebar stays attached as before.

This change makes the agent workflow tab binding store prove ownership by document identity instead of by tab path alone.

How: Records move to a new storage key (Comfy.Agent.WorkflowTabBindings.v2) as { tabPath, graphId, confirmedAt }, migrated once from the legacy map, which is left in place so a rollback keeps reading the shape it wrote. The store's watcher adopts a tab only when the ids match; the exported lookups hide a record while an unproven tab occupies its path, without deleting it, so a live binding in another browser tab is never damaged. A 30-day confirmedAt TTL prunes dead records at store creation. A draft refused for a record cannot become its owner by being saved in place at that path. Alternatives (page-load nonce, tab identity, re-keying on the graph id) and the consequences, including the one-time upgrade cost for open unsaved drafts, are in ADR docs/adr/AGENT-BINDING-0035-document-identity-gates-persisted-workflow-tab-bindings.md.

Testing

  • Red then green in two commits: d44406a (tests and ADR only; the new store, component and E2E tests fail against the old store) then f7b06a2 (the fix, all green).
  • eccfc83 repairs the E2E spec: a fresh tab boots with the default graph, not an empty canvas, so the spec now captures the boot node titles and asserts they are unchanged after the turn, that the outgoing turn carries the newly saved workflow id, and that the stale ack is rejected visibly.
  • 77915be splits the store watcher into two named helpers (same behavior) to clear the fallow complexity gate, and adds tests for the two parse fallbacks (non-JSON legacy key, non-JSON originalContent) that Codecov flagged.
  • pnpm vitest run src/workbench/extensions/agent/AgentPanelRoot.test.ts src/workbench/extensions/agent/stores/agent/agentWorkflowTabBindingStore.test.ts: 239 passed; store file at 100% line coverage.
  • pnpm typecheck, pnpm typecheck:browser, pnpm knip, pnpm adr:check, eslint and oxfmt --check on every touched file, and pnpm fallow audit --changed-since origin/main (verdict pass, no introduced findings): clean on the pushed head.
  • Not run locally: browser_tests/tests/agent/agentStaleWorkflowTabBinding.spec.ts needs the app server, which this environment does not have. It is type-checked and linted; CI's cloud Playwright project (and the new-tests video job) is the only place it runs.

@claude
claude Bot requested a review from a team September 19, 2026 02:21
@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: 0b5e9172-c526-48e5-9b36-530763f7c818

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: ✅ 2064 passed, 0 failed · 2 flaky

📊 Browser Reports
  • chromium: View Report (✅ 2043 / ❌ 0 / ⚠️ 2 / ⏭️ 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)
  • New-test walkthrough (chromium, recorded video): View Report

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 09/20/2026, 05:35:16 PM UTC

Links

📦 Bundle: 9.95 MB gzip ⚪ 0 B

Details

Summary

  • Raw size: 42.2 MB baseline 42.2 MB — ⚪ 0 B
  • Gzip: 9.95 MB baseline 9.95 MB — ⚪ 0 B
  • Brotli: 7 MB baseline 7 MB — ⚪ 0 B
  • Bundles: 458 current • 458 baseline

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

App Entry Points — 3.81 kB (baseline 3.81 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 — 638 kB (baseline 638 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 — 124 kB (baseline 124 kB) • ⚪ 0 B

Reusable component library chunks

Status: 16 unchanged

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

Stores, services, APIs, and repositories

Status: 16 unchanged

Utilities & Hooks — 566 kB (baseline 566 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: 301 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 58.5 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 66.0 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.2 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 76.3 MB heap
large-graph-idle: · 60.0 avg FPS · 59.5 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 · 76.3 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 71.0 MB heap
legacy-node-drag: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 75.3 MB heap
minimap-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 70.9 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 77.1 MB heap
subgraph-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.0 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 59.8 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 91ms TBT · 98.4 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.3 MB heap
vue-large-graph-idle: · 59.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 168.6 MB heap
vue-large-graph-pan: · 59.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 27ms TBT · 180.8 MB heap
vue-node-resize-workload: · 58.1 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 20ms TBT · 188.5 MB heap
vue-zoom-out-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 166.9 MB heap
workflow-execution: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.4 MB heap

⚠️ 11 regressions detected

Show regressions
Metric Baseline PR (median) Δ Sig
canvas-idle: DOM nodes -264 -121 -54% ⚠️ z=5.7
canvas-idle: event listeners -152 -76 -50% ⚠️ z=13.9
canvas-mouse-sweep: p95 frame time 17ms 17ms +1% ⚠️ z=2.9
canvas-zoom-sweep: avg frame time 17ms 17ms +0% ⚠️ z=2.4
canvas-zoom-sweep: heap used 61.4 MB 64.2 MB +4% ⚠️ z=4.2
large-graph-idle: p95 frame time 17ms 17ms +1% ⚠️ z=2.2
large-graph-idle: DOM nodes -249 -243 -3% ⚠️ z=2.1
subgraph-dom-widget-clipping: heap used 73.8 MB 77.1 MB +4% ⚠️ z=4.5
vue-node-resize-workload: heap used 167.5 MB 188.5 MB +13% ⚠️ z=4.9
workflow-execution: avg frame time 17ms 17ms +0% ⚠️ z=2.2
workflow-execution: p95 frame time 17ms 17ms +1% ⚠️ z=2.0
All metrics
Metric Baseline PR (median) Δ Sig
canvas-idle: avg frame time 17ms 17ms -0% z=-1.0
canvas-idle: p95 frame time 17ms 17ms -1% z=-1.4
canvas-idle: layout duration 0ms 0ms +0% —
canvas-idle: style recalc duration 8ms 6ms -30% z=-1.9
canvas-idle: layout count 0 0 +0% —
canvas-idle: style recalc count 8 10 +19% z=0.9
canvas-idle: task duration 445ms 290ms -35% z=-2.6
canvas-idle: script duration 8ms 8ms +5% z=-0.5
canvas-idle: TBT 0ms 0ms +0% —
canvas-idle: heap used 69.2 MB 58.5 MB -15% z=-2.1
canvas-idle: DOM nodes -264 -121 -54% ⚠️ z=5.7
canvas-idle: event listeners -152 -76 -50% ⚠️ z=13.9
canvas-mouse-sweep: avg frame time 17ms 17ms +0% z=0.5
canvas-mouse-sweep: p95 frame time 17ms 17ms +1% ⚠️ z=2.9
canvas-mouse-sweep: layout duration 4ms 4ms -6% z=-0.7
canvas-mouse-sweep: style recalc duration 28ms 21ms -24% z=-1.4
canvas-mouse-sweep: layout count 14 14 +0% —
canvas-mouse-sweep: style recalc count 77 75 -3% z=-0.4
canvas-mouse-sweep: task duration 826ms 664ms -20% z=-1.3
canvas-mouse-sweep: script duration 160ms 113ms -29% z=-1.5
canvas-mouse-sweep: TBT 0ms 0ms +0% —
canvas-mouse-sweep: heap used 60.4 MB 66.0 MB +9% z=-1.2
canvas-mouse-sweep: DOM nodes -262 -260 -1% z=2.0
canvas-mouse-sweep: event listeners -174 -174 +0% z=-2.8
canvas-zoom-sweep: avg frame time 17ms 17ms +0% ⚠️ z=2.4
canvas-zoom-sweep: p95 frame time 17ms 17ms +0% z=0.6
canvas-zoom-sweep: layout duration 1ms 1ms +9% z=0.0
canvas-zoom-sweep: style recalc duration 16ms 12ms -27% z=-1.8
canvas-zoom-sweep: layout count 6 6 +0% —
canvas-zoom-sweep: style recalc count 31 31 +0% z=0.1
canvas-zoom-sweep: task duration 322ms 247ms -23% z=-1.9
canvas-zoom-sweep: script duration 11ms 10ms -5% z=-1.0
canvas-zoom-sweep: TBT 0ms 0ms +0% —
canvas-zoom-sweep: heap used 61.4 MB 64.2 MB +4% ⚠️ z=4.2
canvas-zoom-sweep: DOM nodes 75 78 +3% z=3.4
canvas-zoom-sweep: event listeners 15 15 +0% —
dom-widget-clipping: avg frame time 17ms 17ms -0% z=0.2
dom-widget-clipping: p95 frame time 17ms 17ms +0% z=0.1
dom-widget-clipping: layout duration 0ms 0ms +0% —
dom-widget-clipping: style recalc duration 7ms 5ms -29% z=-2.0
dom-widget-clipping: layout count 0 0 +0% —
dom-widget-clipping: style recalc count 10 10 +0% z=-1.6
dom-widget-clipping: task duration 440ms 331ms -25% z=-1.6
dom-widget-clipping: script duration 165ms 119ms -28% z=-1.6
dom-widget-clipping: TBT 0ms 0ms +0% —
dom-widget-clipping: heap used 76.6 MB 76.3 MB -0% z=-0.7
dom-widget-clipping: DOM nodes 16 16 +0% z=-1.6
dom-widget-clipping: event listeners 0 0 +0% —
large-graph-idle: avg frame time 17ms 17ms +0% z=0.9
large-graph-idle: p95 frame time 17ms 17ms +1% ⚠️ z=2.2
large-graph-idle: layout duration 0ms 0ms +0% —
large-graph-idle: style recalc duration 4ms 5ms +7% z=-1.0
large-graph-idle: layout count 0 0 +0% —
large-graph-idle: style recalc count 5 8 +50% z=1.0
large-graph-idle: task duration 541ms 383ms -29% z=-2.6
large-graph-idle: script duration 32ms 30ms -6% z=-0.6
large-graph-idle: TBT 0ms 0ms +0% —
large-graph-idle: heap used 79.6 MB 79.4 MB -0% z=0.7
large-graph-idle: DOM nodes -249 -243 -3% ⚠️ z=2.1
large-graph-idle: event listeners -152 -163 +7% z=0.0
large-graph-pan: avg frame time 17ms 17ms +0% z=0.7
large-graph-pan: p95 frame time 17ms 17ms -1% z=-1.6
large-graph-pan: layout duration 0ms 0ms +0% —
large-graph-pan: style recalc duration 9ms 13ms +34% z=0.8
large-graph-pan: layout count 0 0 +0% —
large-graph-pan: style recalc count 64 69 +7% z=1.7
large-graph-pan: task duration 1624ms 1206ms -26% z=-1.8
large-graph-pan: script duration 859ms 586ms -32% z=-1.8
large-graph-pan: TBT 0ms 0ms +0% —
large-graph-pan: heap used 80.6 MB 76.3 MB -5% z=-0.2
large-graph-pan: DOM nodes 2 -231 -11650% z=-0.5
large-graph-pan: event listeners 0 -163 — z=-1.2
large-graph-zoom: avg frame time 17ms 17ms +0% z=-0.4
large-graph-zoom: p95 frame time 17ms 17ms -1% z=-2.7
large-graph-zoom: layout duration 13ms 15ms +17% z=1.2
large-graph-zoom: style recalc duration 9ms 15ms +55% z=1.6
large-graph-zoom: layout count 60 60 +0% —
large-graph-zoom: style recalc count 60 64 +7% z=2.2
large-graph-zoom: task duration 1654ms 1330ms -20% z=-1.6
large-graph-zoom: script duration 803ms 570ms -29% z=-1.7
large-graph-zoom: TBT 0ms 0ms +0% —
large-graph-zoom: heap used 71.0 MB 71.0 MB -0% z=-0.1
large-graph-zoom: DOM nodes -260 -249 -4% z=-2.0
large-graph-zoom: event listeners 0 -87 — z=-1.1
legacy-node-drag: avg frame time 17ms 17ms +0% z=0.9
legacy-node-drag: p95 frame time 17ms 17ms +0% z=0.3
legacy-node-drag: layout duration 0ms 0ms +0% —
legacy-node-drag: style recalc duration 5ms 7ms +31% z=0.6
legacy-node-drag: layout count 0 0 +0% —
legacy-node-drag: style recalc count 41 43 +4% z=0.5
legacy-node-drag: task duration 1845ms 1374ms -26% z=-1.8
legacy-node-drag: script duration 964ms 699ms -27% z=-1.6
legacy-node-drag: TBT 0ms 0ms +0% variance too high
legacy-node-drag: heap used 79.0 MB 75.3 MB -5% z=-0.9
legacy-node-drag: DOM nodes 0 -123 — z=-0.9
legacy-node-drag: event listeners 180 180 +0% z=0.8
minimap-idle: avg frame time 17ms 17ms -0% z=-0.4
minimap-idle: p95 frame time 17ms 17ms -0% z=0.4
minimap-idle: layout duration 0ms 0ms +0% —
minimap-idle: style recalc duration 6ms 5ms -24% z=-0.3
minimap-idle: layout count 0 0 +0% —
minimap-idle: style recalc count 6 8 +33% z=2.2
minimap-idle: task duration 584ms 401ms -31% z=-2.1
minimap-idle: script duration 34ms 28ms -17% z=-1.6
minimap-idle: TBT 0ms 0ms +0% —
minimap-idle: heap used 77.7 MB 70.9 MB -9% z=-9.5
minimap-idle: DOM nodes -252 -258 +2% z=-0.5
minimap-idle: event listeners -174 -163 -6% z=-0.5
subgraph-dom-widget-clipping: avg frame time 17ms 17ms -0% z=-4.1
subgraph-dom-widget-clipping: p95 frame time 17ms 17ms -0% z=-1.8
subgraph-dom-widget-clipping: layout duration 0ms 0ms +0% —
subgraph-dom-widget-clipping: style recalc duration 10ms 8ms -24% z=-1.8
subgraph-dom-widget-clipping: layout count 0 0 +0% —
subgraph-dom-widget-clipping: style recalc count 47 48 +1% z=1.0
subgraph-dom-widget-clipping: task duration 398ms 292ms -27% z=-1.7
subgraph-dom-widget-clipping: script duration 141ms 97ms -31% z=-1.9
subgraph-dom-widget-clipping: TBT 0ms 0ms +0% —
subgraph-dom-widget-clipping: heap used 73.8 MB 77.1 MB +4% ⚠️ z=4.5
subgraph-dom-widget-clipping: DOM nodes 20 21 +3% z=0.6
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=1.7
subgraph-idle: layout duration 0ms 0ms +0% —
subgraph-idle: style recalc duration 8ms 6ms -21% z=-1.5
subgraph-idle: layout count 0 0 +0% —
subgraph-idle: style recalc count 9 11 +17% z=1.8
subgraph-idle: task duration 439ms 342ms -22% z=-1.9
subgraph-idle: script duration 7ms 7ms -2% z=-0.9
subgraph-idle: TBT 0ms 0ms +0% —
subgraph-idle: heap used 73.4 MB 64.0 MB -13% z=-0.2
subgraph-idle: DOM nodes -277 -275 -1% z=2.3
subgraph-idle: event listeners -198 -198 +0% z=1.8
subgraph-mouse-sweep: avg frame time 17ms 17ms +0% z=0.4
subgraph-mouse-sweep: p95 frame time 17ms 17ms +0% z=-1.8
subgraph-mouse-sweep: layout duration 5ms 5ms +3% z=-0.2
subgraph-mouse-sweep: style recalc duration 26ms 20ms -24% z=-1.9
subgraph-mouse-sweep: layout count 18 18 +0% —
subgraph-mouse-sweep: style recalc count 78 75 -4% z=-7.6
subgraph-mouse-sweep: task duration 786ms 615ms -22% z=-1.5
subgraph-mouse-sweep: script duration 107ms 80ms -26% z=-1.6
subgraph-mouse-sweep: TBT 0ms 0ms +0% —
subgraph-mouse-sweep: heap used 61.5 MB 59.8 MB -3% z=-1.9
subgraph-mouse-sweep: DOM nodes -276 -276 -0% z=0.4
subgraph-mouse-sweep: event listeners -220 -225 +2% z=-2.8
subgraph-transition-enter: avg frame time 17ms 17ms +0% z=-0.4
subgraph-transition-enter: p95 frame time 17ms 17ms -1% z=-1.2
subgraph-transition-enter: layout duration 13ms 8ms -38% z=-1.7
subgraph-transition-enter: style recalc duration 28ms 20ms -29% z=-1.7
subgraph-transition-enter: layout count 5 5 +0% —
subgraph-transition-enter: style recalc count 17 19 +12% z=1.8
subgraph-transition-enter: task duration 905ms 509ms -44% z=-2.8
subgraph-transition-enter: script duration 30ms 19ms -36% z=-2.2
subgraph-transition-enter: TBT 139ms 91ms -35% z=-1.7
subgraph-transition-enter: heap used 98.1 MB 98.4 MB +0% z=1.7
subgraph-transition-enter: DOM nodes 13587 13587 +0% —
subgraph-transition-enter: event listeners 2383 2383 +0% —
viewport-pan-sweep: avg frame time 17ms 17ms +0% z=1.5
viewport-pan-sweep: p95 frame time 17ms 17ms -0% z=0.1
viewport-pan-sweep: layout duration 0ms 0ms +0% —
viewport-pan-sweep: style recalc duration 34ms 37ms +8% z=0.2
viewport-pan-sweep: layout count 0 0 +0% —
viewport-pan-sweep: style recalc count 248 249 +0% z=0.8
viewport-pan-sweep: task duration 5717ms 3993ms -30% z=-2.2
viewport-pan-sweep: script duration 2774ms 1929ms -30% z=-1.9
viewport-pan-sweep: TBT 0ms 0ms +0% —
viewport-pan-sweep: heap used 73.3 MB 69.3 MB -5% z=-1.6
viewport-pan-sweep: DOM nodes -246 -242 -2% z=0.2
viewport-pan-sweep: event listeners -174 -174 +0% z=-1.3
vue-large-graph-idle: avg frame time 18ms 17ms -5% z=-1.5
vue-large-graph-idle: p95 frame time 17ms 17ms -0% z=-1.5
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 16534ms 11215ms -32% z=-1.6
vue-large-graph-idle: script duration 264ms 173ms -34% z=-1.6
vue-large-graph-idle: TBT 0ms 0ms +0% —
vue-large-graph-idle: heap used 175.0 MB 168.6 MB -4% z=-0.3
vue-large-graph-idle: DOM nodes -8061 -8062 +0% z=-4.3
vue-large-graph-idle: event listeners -14928 -14928 +0% z=-0.3
vue-large-graph-pan: avg frame time 17ms 17ms -2% z=-2.0
vue-large-graph-pan: p95 frame time 17ms 17ms -0% z=-1.1
vue-large-graph-pan: layout duration 0ms 0ms +0% —
vue-large-graph-pan: style recalc duration 16ms 15ms -6% z=-0.9
vue-large-graph-pan: layout count 0 0 +0% —
vue-large-graph-pan: style recalc count 155 70 -55% z=-1.8
vue-large-graph-pan: task duration 19969ms 13897ms -30% z=-1.7
vue-large-graph-pan: script duration 840ms 705ms -16% z=-1.4
vue-large-graph-pan: TBT 39ms 27ms -32% variance too high
vue-large-graph-pan: heap used 178.0 MB 180.8 MB +2% z=1.7
vue-large-graph-pan: DOM nodes -8061 -8062 +0% z=-0.5
vue-large-graph-pan: event listeners -14928 -14928 +0% —
vue-node-resize-workload: avg frame time 18ms 17ms -3% z=-0.9
vue-node-resize-workload: p95 frame time 17ms 17ms +0% z=0.8
vue-node-resize-workload: layout duration 23ms 23ms +2% z=-0.3
vue-node-resize-workload: style recalc duration 82ms 55ms -32% z=-1.8
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 6040ms 4269ms -29% z=-1.5
vue-node-resize-workload: script duration 102ms 74ms -28% z=-1.7
vue-node-resize-workload: TBT 441ms 20ms -96% z=-1.9
vue-node-resize-workload: heap used 167.5 MB 188.5 MB +13% ⚠️ z=4.9
vue-node-resize-workload: DOM nodes -8061 -8064 +0% z=-3.5
vue-node-resize-workload: event listeners -14928 -14928 +0% z=-0.3
vue-zoom-out-idle: avg frame time 18ms 17ms -6% z=-2.0
vue-zoom-out-idle: p95 frame time 17ms 17ms +0% z=-0.5
vue-zoom-out-idle: layout duration 0ms 0ms +0% —
vue-zoom-out-idle: style recalc duration 0ms 0ms — —
vue-zoom-out-idle: layout count 0 0 +0% —
vue-zoom-out-idle: style recalc count 0 1 — —
vue-zoom-out-idle: task duration 8175ms 5048ms -38% z=-2.3
vue-zoom-out-idle: script duration 123ms 78ms -36% z=-2.5
vue-zoom-out-idle: TBT 0ms 0ms +0% —
vue-zoom-out-idle: heap used 180.2 MB 166.9 MB -7% z=-1.0
vue-zoom-out-idle: DOM nodes 0 0 +0% z=0.3
vue-zoom-out-idle: event listeners 0 0 +0% —
workflow-execution: avg frame time 17ms 17ms +0% ⚠️ z=2.2
workflow-execution: p95 frame time 17ms 17ms +1% ⚠️ z=2.0
workflow-execution: layout duration 2ms 1ms -41% z=-1.8
workflow-execution: style recalc duration 17ms 15ms -7% z=-0.9
workflow-execution: layout count 3 3 +0% z=-0.9
workflow-execution: style recalc count 9 13 +44% z=0.2
workflow-execution: task duration 92ms 94ms +3% z=-0.2
workflow-execution: script duration 8ms 8ms +2% z=-0.7
workflow-execution: TBT 0ms 0ms +0% —
workflow-execution: heap used 61.9 MB 63.4 MB +2% z=0.8
workflow-execution: DOM nodes 131 122 -7% z=-0.9
workflow-execution: event listeners 17 81 +376% z=1.7
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 14.1%
canvas-idle: layout count 0 0 0.0%
canvas-idle: style recalc count 9 1 7.0%
canvas-idle: task duration 419ms 51ms 12.1%
canvas-idle: script duration 9ms 1ms 15.9%
canvas-idle: TBT 0ms 0ms 0.0%
canvas-idle: heap used 66.1 MB 3.5 MB 5.3%
canvas-idle: DOM nodes -257 24 0.0%
canvas-idle: event listeners -157 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 10.9%
canvas-mouse-sweep: style recalc duration 27ms 4ms 16.3%
canvas-mouse-sweep: layout count 14 0 0.0%
canvas-mouse-sweep: style recalc count 75 2 2.3%
canvas-mouse-sweep: task duration 804ms 105ms 13.1%
canvas-mouse-sweep: script duration 151ms 25ms 16.7%
canvas-mouse-sweep: TBT 0ms 0ms 0.0%
canvas-mouse-sweep: heap used 70.7 MB 4.0 MB 5.6%
canvas-mouse-sweep: DOM nodes -262 1 0.0%
canvas-mouse-sweep: event listeners -158 6 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.2%
canvas-zoom-sweep: style recalc duration 15ms 2ms 13.4%
canvas-zoom-sweep: layout count 6 0 0.0%
canvas-zoom-sweep: style recalc count 31 1 1.9%
canvas-zoom-sweep: task duration 315ms 36ms 11.4%
canvas-zoom-sweep: script duration 12ms 1ms 12.0%
canvas-zoom-sweep: TBT 0ms 0ms 0.0%
canvas-zoom-sweep: heap used 61.5 MB 648.2 KB 1.0%
canvas-zoom-sweep: DOM nodes 75 1 0.8%
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 7ms 1ms 15.4%
dom-widget-clipping: layout count 0 0 0.0%
dom-widget-clipping: style recalc count 11 1 5.8%
dom-widget-clipping: task duration 417ms 53ms 12.6%
dom-widget-clipping: script duration 155ms 22ms 14.4%
dom-widget-clipping: TBT 0ms 0ms 0.0%
dom-widget-clipping: heap used 76.9 MB 856.6 KB 1.1%
dom-widget-clipping: DOM nodes 18 1 7.1%
dom-widget-clipping: event listeners 0 0 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 6ms 1ms 18.9%
large-graph-idle: layout count 0 0 0.0%
large-graph-idle: style recalc count 6 1 19.4%
large-graph-idle: task duration 541ms 61ms 11.3%
large-graph-idle: script duration 33ms 4ms 11.5%
large-graph-idle: TBT 0ms 0ms 0.0%
large-graph-idle: heap used 78.7 MB 989.9 KB 1.2%
large-graph-idle: DOM nodes -248 3 0.0%
large-graph-idle: event listeners -163 7 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 11ms 2ms 17.1%
large-graph-pan: layout count 0 0 0.0%
large-graph-pan: style recalc count 66 2 2.4%
large-graph-pan: task duration 1537ms 182ms 11.8%
large-graph-pan: script duration 784ms 112ms 14.3%
large-graph-pan: TBT 0ms 0ms 0.0%
large-graph-pan: heap used 76.8 MB 2.8 MB 3.6%
large-graph-pan: DOM nodes -204 53 0.0%
large-graph-pan: event listeners -104 51 0.0%
large-graph-zoom: avg frame time 17ms 0ms 0.0%
large-graph-zoom: p95 frame time 17ms 0ms 0.1%
large-graph-zoom: layout duration 13ms 1ms 10.4%
large-graph-zoom: style recalc duration 11ms 2ms 16.9%
large-graph-zoom: layout count 60 0 0.0%
large-graph-zoom: style recalc count 62 1 1.9%
large-graph-zoom: task duration 1599ms 167ms 10.5%
large-graph-zoom: script duration 734ms 98ms 13.4%
large-graph-zoom: TBT 0ms 0ms 0.0%
large-graph-zoom: heap used 71.1 MB 1.0 MB 1.4%
large-graph-zoom: DOM nodes -89 81 0.0%
large-graph-zoom: event listeners -35 48 0.0%
legacy-node-drag: avg frame time 17ms 0ms 0.0%
legacy-node-drag: p95 frame time 17ms 0ms 0.1%
legacy-node-drag: layout duration 0ms 0ms 0.0%
legacy-node-drag: style recalc duration 6ms 1ms 23.6%
legacy-node-drag: layout count 0 0 0.0%
legacy-node-drag: style recalc count 42 2 4.1%
legacy-node-drag: task duration 1773ms 216ms 12.2%
legacy-node-drag: script duration 910ms 133ms 14.6%
legacy-node-drag: TBT 0ms 0ms 387.3%
legacy-node-drag: heap used 79.9 MB 5.3 MB 6.7%
legacy-node-drag: DOM nodes -71 61 0.0%
legacy-node-drag: event listeners 145 43 29.4%
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 5ms 1ms 22.3%
minimap-idle: layout count 0 0 0.0%
minimap-idle: style recalc count 6 1 19.9%
minimap-idle: task duration 538ms 65ms 12.1%
minimap-idle: script duration 34ms 4ms 10.4%
minimap-idle: TBT 0ms 0ms 0.0%
minimap-idle: heap used 79.1 MB 886.8 KB 1.1%
minimap-idle: DOM nodes -246 21 0.0%
minimap-idle: event listeners -153 20 0.0%
subgraph-dom-widget-clipping: avg frame time 17ms 0ms 0.0%
subgraph-dom-widget-clipping: p95 frame time 17ms 0ms 0.1%
subgraph-dom-widget-clipping: layout duration 0ms 0ms 0.0%
subgraph-dom-widget-clipping: style recalc duration 10ms 1ms 12.1%
subgraph-dom-widget-clipping: layout count 0 0 0.0%
subgraph-dom-widget-clipping: style recalc count 47 1 1.3%
subgraph-dom-widget-clipping: task duration 367ms 43ms 11.8%
subgraph-dom-widget-clipping: script duration 132ms 18ms 13.9%
subgraph-dom-widget-clipping: TBT 0ms 0ms 0.0%
subgraph-dom-widget-clipping: heap used 73.9 MB 708.2 KB 0.9%
subgraph-dom-widget-clipping: DOM nodes 20 1 6.2%
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 11.9%
subgraph-idle: layout count 0 0 0.0%
subgraph-idle: style recalc count 10 0 4.9%
subgraph-idle: task duration 432ms 48ms 11.2%
subgraph-idle: script duration 9ms 2ms 19.6%
subgraph-idle: TBT 0ms 0ms 0.0%
subgraph-idle: heap used 64.8 MB 4.7 MB 7.3%
subgraph-idle: DOM nodes -276 1 0.0%
subgraph-idle: event listeners -210 7 0.0%
subgraph-mouse-sweep: avg frame time 17ms 0ms 0.0%
subgraph-mouse-sweep: p95 frame time 17ms 0ms 0.1%
subgraph-mouse-sweep: layout duration 5ms 1ms 11.7%
subgraph-mouse-sweep: style recalc duration 26ms 3ms 12.0%
subgraph-mouse-sweep: layout count 18 0 0.0%
subgraph-mouse-sweep: style recalc count 77 0 0.5%
subgraph-mouse-sweep: task duration 740ms 81ms 10.9%
subgraph-mouse-sweep: script duration 101ms 14ms 13.5%
subgraph-mouse-sweep: TBT 0ms 0ms 0.0%
subgraph-mouse-sweep: heap used 67.5 MB 4.0 MB 6.0%
subgraph-mouse-sweep: DOM nodes -276 1 0.0%
subgraph-mouse-sweep: event listeners -206 7 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 19.6%
subgraph-transition-enter: style recalc duration 27ms 4ms 14.8%
subgraph-transition-enter: layout count 5 0 0.0%
subgraph-transition-enter: style recalc count 17 1 6.2%
subgraph-transition-enter: task duration 847ms 122ms 14.5%
subgraph-transition-enter: script duration 29ms 5ms 15.5%
subgraph-transition-enter: TBT 131ms 23ms 17.5%
subgraph-transition-enter: heap used 83.2 MB 9.1 MB 10.9%
subgraph-transition-enter: DOM nodes 13587 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 36ms 5ms 14.5%
viewport-pan-sweep: layout count 0 0 0.0%
viewport-pan-sweep: style recalc count 248 1 0.4%
viewport-pan-sweep: task duration 5412ms 652ms 12.0%
viewport-pan-sweep: script duration 2590ms 356ms 13.8%
viewport-pan-sweep: TBT 0ms 0ms 0.0%
viewport-pan-sweep: heap used 74.4 MB 3.2 MB 4.3%
viewport-pan-sweep: DOM nodes -244 7 0.0%
viewport-pan-sweep: event listeners -165 7 0.0%
vue-large-graph-idle: avg frame time 18ms 0ms 2.3%
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 14881ms 2224ms 14.9%
vue-large-graph-idle: script duration 239ms 40ms 16.7%
vue-large-graph-idle: TBT 0ms 0ms 0.0%
vue-large-graph-idle: heap used 170.3 MB 5.0 MB 3.0%
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.7%
vue-large-graph-pan: p95 frame time 17ms 0ms 0.1%
vue-large-graph-pan: layout duration 0ms 0ms 0.0%
vue-large-graph-pan: style recalc duration 17ms 2ms 10.8%
vue-large-graph-pan: layout count 0 0 0.0%
vue-large-graph-pan: style recalc count 129 34 26.1%
vue-large-graph-pan: task duration 18241ms 2618ms 14.4%
vue-large-graph-pan: script duration 834ms 92ms 11.0%
vue-large-graph-pan: TBT 57ms 47ms 81.6%
vue-large-graph-pan: heap used 172.4 MB 5.0 MB 2.9%
vue-large-graph-pan: DOM nodes -8061 1 0.0%
vue-large-graph-pan: event listeners -14928 0 0.0%
vue-node-resize-workload: avg frame time 18ms 0ms 2.3%
vue-node-resize-workload: p95 frame time 17ms 0ms 0.2%
vue-node-resize-workload: layout duration 24ms 2ms 7.4%
vue-node-resize-workload: style recalc duration 74ms 10ms 13.7%
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 5469ms 806ms 14.7%
vue-node-resize-workload: script duration 101ms 16ms 16.0%
vue-node-resize-workload: TBT 317ms 155ms 48.8%
vue-node-resize-workload: heap used 174.6 MB 2.9 MB 1.6%
vue-node-resize-workload: DOM nodes -8061 1 0.0%
vue-node-resize-workload: event listeners -14928 0 0.0%
vue-zoom-out-idle: avg frame time 17ms 0ms 2.2%
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 7464ms 1047ms 14.0%
vue-zoom-out-idle: script duration 119ms 17ms 13.9%
vue-zoom-out-idle: TBT 0ms 0ms 0.0%
vue-zoom-out-idle: heap used 172.6 MB 6.0 MB 3.5%
vue-zoom-out-idle: DOM nodes -111 430 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 22.4%
workflow-execution: style recalc duration 19ms 3ms 18.6%
workflow-execution: layout count 3 1 16.1%
workflow-execution: style recalc count 12 4 28.3%
workflow-execution: task duration 98ms 16ms 16.6%
workflow-execution: script duration 10ms 2ms 20.8%
workflow-execution: TBT 0ms 0ms 0.0%
workflow-execution: heap used 62.9 MB 601.9 KB 0.9%
workflow-execution: DOM nodes 131 9 7.0%
workflow-execution: event listeners 52 17 31.8%
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 ▃▃▆▅▁▃▃▇█▅▅▂█▆▁ ➡️ 8
canvas-idle: task duration ▄▅▃███▃▄▁▇▃▄▃▇▇ ➡️ 466ms
canvas-idle: script duration ▄▃▂▇▄▆▄▃▂█▅▁▁▃▂ ➡️ 8ms
canvas-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: heap used ▅▅▇▁▅█▃▃▆▅▆▆▅██ ➡️ 71.0 MB
canvas-idle: DOM nodes ▁▁▁█▁▁▁▁▁▁▁▁▁▁▁ ➡️ -264
canvas-idle: event listeners ██▄▁▄█▁▁▆██▄▄██ ➡️ -152
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 ▁▄▆█▃▄▅▁▁▅▁▄▁▆▆ ➡️ 77
canvas-mouse-sweep: task duration ▄▆▆█▅▆▅▃▁▇▃▆▁▇▅ ➡️ 832ms
canvas-mouse-sweep: script duration ▄▇▇█▅▇▇▃▁▇▂▇▁▇▆ 📉 161ms
canvas-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-mouse-sweep: heap used ▅▅▆▆█▁▄▄▄█▃▅▇▇▂ ➡️ 65.1 MB
canvas-mouse-sweep: DOM nodes ▃▃▃▃▁▃▆▅█▁▅▃▆▅▄ ➡️ -262
canvas-mouse-sweep: event listeners █▄▄██▄▁▄▄█▁▄██▁ ➡️ -167
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 ▄▇▅▇▆█▆▄▁█▄▆▁█▆ ➡️ 16ms
canvas-zoom-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
canvas-zoom-sweep: style recalc count ▂▆▆▆▃▇▂▆▁▆▂█▃▃▅ ➡️ 31
canvas-zoom-sweep: task duration ▄▅▅█▆▆▇▄▁█▄▅▁▇▅ ➡️ 305ms
canvas-zoom-sweep: script duration ▇▆▄▇▆▇▆▇▃██▃▁▆▅ ➡️ 11ms
canvas-zoom-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-zoom-sweep: heap used ▂▂▂▁▂▂▂█▂▁▂▂▂▂█ ➡️ 63.0 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 ▄▆▆▅▃▅▅▄▁█▄▆▁▇▄ ➡️ 7ms
dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-clipping: style recalc count ▅▇▆▁▂▁▂▅▆▆▆▆█▇▂ ➡️ 10
dom-widget-clipping: task duration ▄▅▆█▆█▆▃▁▆▄▅▁▆▆ 📉 442ms
dom-widget-clipping: script duration ▃▇▆█▆█▆▃▁▇▃▆▁▇▆ 📉 165ms
dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: heap used ▃█▂▃▁▃▁▁▂██▂▂▂▂ ➡️ 76.5 MB
dom-widget-clipping: DOM nodes ▅▇▆▁▂▁▂▅▅▆▆▆█▇▂ ➡️ 17
dom-widget-clipping: 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 ▅▁█▄▆▄▆▃▅▄▆▃▄▂▂ 📉 5ms
large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-idle: style recalc count ▇▁▄▃▆▃▄▅▇▃▇▄█▂▂ ➡️ 5
large-graph-idle: task duration ▇▆▅██▇▇▄▁▇▃▅▃▄▅ 📉 536ms
large-graph-idle: script duration ▆▅▄█▇▆▆▅▃▇▃▂▁▅▅ 📉 32ms
large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: heap used ▅▇▅▅▆█▇▇▆▇▇█▁██ ➡️ 79.6 MB
large-graph-idle: DOM nodes ▆▂▃▁▅▄▅▇▇▂█▆▆▄▃ ➡️ -250
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 ▄▂▂▄▇▂▄▇▅▃█▂▁▅▂ ➡️ 9ms
large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-pan: style recalc count ▅▁▂▂▄▁▃█▆▂▆▂▇▃▁ ➡️ 64
large-graph-pan: task duration ▃▆▆█▆▆▇▃▁█▃▅▂▆▆ ➡️ 1630ms
large-graph-pan: script duration ▃▇▆█▆▇▇▃▁█▂▆▂▇▇ ➡️ 853ms
large-graph-pan: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: heap used ▅▇▂▆▅▇▆▃▅█▂▅▁▇▇ ➡️ 79.4 MB
large-graph-pan: DOM nodes ▅▁▄▅▁▅▁▂▂▅▂▅▁▁█ ➡️ -82
large-graph-pan: event listeners ▆▆▆▄▄█▄▁▁▄▁▄▃▂▆ 📈 -58
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 ▄▇▆█▇█▇▄▂█▄▆▁▇▇ ➡️ 1662ms
large-graph-zoom: script duration ▄▇▇█▇██▄▂█▃▇▁▇▇ 📉 795ms
large-graph-zoom: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-zoom: heap used ▂▃▄▃▃▃▃█▁▂▃▃▂▅▃ ➡️ 70.9 MB
large-graph-zoom: DOM nodes █▆▆▃▆▅█▆▄█▁█▃█▃ 📈 -174
large-graph-zoom: event listeners █████▅█▅▁█▁█▁█▅ 📈 -58
legacy-node-drag: avg frame time ▁▁▆█▁▆▃▁█▃▃▃▁▃▃ ➡️ 17ms
legacy-node-drag: p95 frame time ▄██▄▁▁▅▄█▅███▅▄ ➡️ 17ms
legacy-node-drag: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
legacy-node-drag: style recalc duration ▃▃▁▂▂▂▁▆▅▂█▂▂▂▃ 📈 6ms
legacy-node-drag: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
legacy-node-drag: style recalc count ▃▃▂▁▁▁▁▆█▁▆▂█▂▃ ➡️ 42
legacy-node-drag: task duration ▃▆▆█▇▆▆▃▁▇▄▆▁▆▆ ➡️ 1848ms
legacy-node-drag: script duration ▃▇▆█▇▇▇▄▁▇▃▆▁▇▆ 📉 960ms
legacy-node-drag: TBT ▁▁▁▁▁▁▁▁▁▁▁█▁▁▁ 📈 0ms
legacy-node-drag: heap used ▄█▇██▇▄▂▁▄▄▇▂▇▅ ➡️ 79.2 MB
legacy-node-drag: DOM nodes ▄▄███▄▄▁▅█▁█▁▄▅ 📈 -76
legacy-node-drag: event listeners █▅█████▅▅█▁█▁▅▅ 📉 122
minimap-idle: avg frame time ▄▁▄▃▃▁██▅▃▅▅▆▄█ ➡️ 17ms
minimap-idle: p95 frame time ▃▃▆▆▃▃▆▃█▁▁▃▁▁▆ ➡️ 17ms
minimap-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: style recalc duration ▇▅▃▁█▂▃▃▄▄▃▂▂▃█ ➡️ 7ms
minimap-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
minimap-idle: style recalc count ▇▅▄▁▆▂▄▅█▂▇▄▇▃▅ ➡️ 6
minimap-idle: task duration ▆▇▅██▇▇▅▁█▃▅▂▆▇ 📉 584ms
minimap-idle: script duration ▅▅▃██▅▆▄▂▇▄▄▁▄▅ ➡️ 35ms
minimap-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: heap used ▁▆█▇▆█▅▄▄▃▆▅▆▅▁ ➡️ 77.5 MB
minimap-idle: DOM nodes ▁▁▁▁▁▁▁▁▂█▂▁▂▁▁ ➡️ -254
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 ▆▃▅▅▁▄▅█▄▅▅▄▅▃▅ ➡️ 47
subgraph-dom-widget-clipping: task duration ▄▆▅█▇▇▇▃▁▇▃▇▂█▇ ➡️ 396ms
subgraph-dom-widget-clipping: script duration ▄▇▇████▄▁█▃▇▂█▇ 📉 142ms
subgraph-dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: heap used █▂▃▁▂▂▂▁▂▂▃▂▃▁▂ ➡️ 74.0 MB
subgraph-dom-widget-clipping: DOM nodes ▆▃▅▅▁▄▅█▄▅▅▄▅▃▅ ➡️ 20
subgraph-dom-widget-clipping: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
subgraph-idle: avg frame time ▆▃▃▆▃▁▃▃▃█▆▃█▃▃ ➡️ 17ms
subgraph-idle: p95 frame time ▃▃▆█▆▃▃▆▆▁▃▃▆█▁ ➡️ 17ms
subgraph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: style recalc duration ▅▆▆█▄▇▇▄▁█▅▄▁█▆ ➡️ 8ms
subgraph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-idle: style recalc count ▄▁▄▁▅▂▂▅▇▂█▄▅▄▂ ➡️ 9
subgraph-idle: task duration ▇▆▂█▆▇▇▂▁█▃▃▂▇▅ ➡️ 441ms
subgraph-idle: script duration █▄▂█▃▄▅▃▃█▇▁▁▄▂ ➡️ 7ms
subgraph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: heap used ▆▅██▃▅▅▁▇▂▆▃▂▃▇ ➡️ 69.9 MB
subgraph-idle: DOM nodes ▆▃▃▄▅▃▄▆▆▁█▆▆▄▄ ➡️ -277
subgraph-idle: event listeners ▃▃▆▆▆▃▆▃▆▁▆█▁▁▆ ➡️ -205
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 ▅▆▆██▇█▅▂█▅▅▁█▆ ➡️ 26ms
subgraph-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 18
subgraph-mouse-sweep: style recalc count ▁▃▅▅▅▅▃█▃▅▁▁▆▁▅ ➡️ 78
subgraph-mouse-sweep: task duration ▄▆▄█▆▇▆▃▂█▄▆▁█▆ ➡️ 779ms
subgraph-mouse-sweep: script duration ▅▇▆█▆▇▇▅▃█▅▆▁█▇ ➡️ 107ms
subgraph-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-mouse-sweep: heap used ▃▁▆▅▂▇█▆▅▅▆▄▂▃▄ ➡️ 66.3 MB
subgraph-mouse-sweep: DOM nodes ▄▃█▁▂▄▂▇▅▂▂▂▅▂▃ ➡️ -276
subgraph-mouse-sweep: event listeners ▃█▆▆▆██▆▆█▆▃▁▃▃ ➡️ -213
subgraph-transition-enter: avg frame time ▅▅█▅▅██▅▅▅▅▅█▁▅ ➡️ 17ms
subgraph-transition-enter: p95 frame time ▁███▁▁█▁█▁███▁█ ➡️ 17ms
subgraph-transition-enter: layout duration ▃▇▇█▅█▇▃▁█▁▆▁▇▆ 📉 13ms
subgraph-transition-enter: style recalc duration ▃▆▆█▅▇▇▃▁▇▁▆▁▆▆ 📉 28ms
subgraph-transition-enter: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 5
subgraph-transition-enter: style recalc count ▆▁▃▅▅▅▃▆▅▆▆▆█▃▅ ➡️ 17
subgraph-transition-enter: task duration ▅▆▅█▆▇▇▃▁▄▂▅▂▆▆ 📉 905ms
subgraph-transition-enter: script duration ▄▆▆█▆▆▇▃▂▇▃▅▁▇▅ 📉 30ms
subgraph-transition-enter: TBT ▂▆▆█▅▇▇▁▁▇▂▅▃▆▆ ➡️ 139ms
subgraph-transition-enter: heap used ▁▂▁▇█▁▃▁▁▁▁█▁▁█ ➡️ 98.1 MB
subgraph-transition-enter: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 13587
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 ▄▇▆▇▇▇▇▄▁█▃▇▁▆▇ ➡️ 5748ms
viewport-pan-sweep: script duration ▄▇▇█▇██▄▁█▃█▁▇▇ ➡️ 2766ms
viewport-pan-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
viewport-pan-sweep: heap used ▃▃▇▅▃▆▆▆█▄▁▆▃▄▄ ➡️ 74.0 MB
viewport-pan-sweep: DOM nodes ▂▁▁▄▁▁▁▂▃▃█▄▆▂▄ ➡️ -239
viewport-pan-sweep: event listeners ▁▃▁▆▆▆▆▃▁▃▁▃▆█▃ ➡️ -167
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 ▄▇▅▆▇█▇▆▂█▂▆▁█▇ 📉 16489ms
vue-large-graph-idle: script duration ▄▇▆▇▇█▇▅▁█▃▆▁▇▇ 📉 263ms
vue-large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-large-graph-idle: heap used ▂▁▂▄▄▂▆▅█▁▄▅▅▄▅ ➡️ 172.4 MB
vue-large-graph-idle: DOM nodes ▅███████▁█▅█▅██ ➡️ -8061
vue-large-graph-idle: event listeners ▁▁▁▁▁▁▁▁▁▁▁▁█▁▁ ➡️ -14928
vue-large-graph-pan: avg frame time ▃▇▇▇▆▇▆▆▁█▃▆▃▆▄ ➡️ 17ms
vue-large-graph-pan: p95 frame time ▅▄▅▅▄███▁███▁▄▅ ➡️ 17ms
vue-large-graph-pan: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-large-graph-pan: style recalc duration ▅▅▄▅▆█▆▅▃▇▆▅▁▅▃ ➡️ 15ms
vue-large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-large-graph-pan: style recalc count ▅▇█▆▆█▇▅▁▇▁█▁▆▆ 📉 132
vue-large-graph-pan: task duration ▅▇▇▆▇█▇▅▂▇▃▇▁▆▆ 📉 18475ms
vue-large-graph-pan: script duration ▃▇▆▆▇██▂▂▇▃▆▁▆▆ ➡️ 853ms
vue-large-graph-pan: TBT ▂▃▂▄█▄▆▂▁▃▂▂▂▄▃ 📉 46ms
vue-large-graph-pan: heap used ▅▃█▅▄█▃██▆▃▃▅▁▅ ➡️ 173.7 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 ▂▆▇▇▅▇▇▂▁▇▁▆▂▇█ ➡️ 86ms
vue-node-resize-workload: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 20
vue-node-resize-workload: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 20
vue-node-resize-workload: task duration ▅▇▆███▆▅▁▆▂▆▁█▇ 📉 6001ms
vue-node-resize-workload: script duration ▆▇▇▇█▇▇▅▁▇▃▇▁█▆ 📉 102ms
vue-node-resize-workload: TBT ▅▇▆███▅▅▁▆▁▆▁██ 📉 468ms
vue-node-resize-workload: heap used ▆▆▆▃▅▄▅▆█▆▆▅█▁▁ ➡️ 169.1 MB
vue-node-resize-workload: DOM nodes ▇▇█▇▇▃▇▆▅▇▇▇▅▇▁ ➡️ -8063
vue-node-resize-workload: event listeners ▁▁▁▁▁▁▁▁▁▁▁▁▁█▁ ➡️ -14928
vue-zoom-out-idle: avg frame time ▄▆▆▅██▇▄▂▇▄▄▁▇▆ ➡️ 18ms
vue-zoom-out-idle: p95 frame time ▆█▆██▆▆▃▁██▆▁█▃ ➡️ 17ms
vue-zoom-out-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-zoom-out-idle: style recalc duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-zoom-out-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-zoom-out-idle: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-zoom-out-idle: task duration ▅▅▇▆██▇▅▁█▂▅▁█▆ 📉 7532ms
vue-zoom-out-idle: script duration ▅▇▆▆██▇▃▁▇▂▄▁▇▅ 📉 116ms
vue-zoom-out-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-zoom-out-idle: heap used ▇▄▆▅█▂▂▄▁▂▄▆▃▃▆ ➡️ 178.4 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 ▃█▄█▆▄▆▃▁█▄▆▃▆▄ ➡️ 2ms
workflow-execution: style recalc duration ▁█▄█▄▃▆▂▁▇▅▆▃▅▄ ➡️ 18ms
workflow-execution: layout count ▁▇▃█▃▃▄▂▂▆▄▄▄▃▁ ➡️ 3
workflow-execution: style recalc count ▁▇▄█▂▂▅▂▃▃▅▄▇▄▃ ➡️ 11
workflow-execution: task duration ▁▇▅█▄▄▆▂▂▅▅▅▄▅▄ ➡️ 92ms
workflow-execution: script duration ▁▆▅█▅▄▅▂▂▅▄▃▃▅▂ 📉 8ms
workflow-execution: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
workflow-execution: heap used ▁▆▅█▃▃▅▃▅▄█▆▇▇▃ ➡️ 62.4 MB
workflow-execution: DOM nodes ▂▇▅█▄▃▆▂▁▅▄▅▆▃▅ ➡️ 133
workflow-execution: event listeners ▁▅▅█▄▄▅▃▅▃▇▃▇▄▃ ➡️ 38
Raw data
{
  "timestamp": "2026-09-20T17:45:00.821Z",
  "gitSha": "d42707160f8a1a32470eea3d7cd3d657840de436",
  "branch": "test/pm-1255-stale-workflow-tab-binding",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2005.3379999999947,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 5.805999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 233.03799999999998,
      "heapDeltaBytes": -1708072,
      "heapUsedBytes": 61041652,
      "domNodes": 20,
      "jsHeapTotalBytes": 4456448,
      "scriptDurationMs": 8.338999999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-idle",
      "durationMs": 2008.950999999911,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 5.417000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 346.997,
      "heapDeltaBytes": -388808,
      "heapUsedBytes": 61709324,
      "domNodes": -262,
      "jsHeapTotalBytes": 4186112,
      "scriptDurationMs": 8.352,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1810.623000000021,
      "styleRecalcs": 76,
      "styleRecalcDurationMs": 23.27,
      "layouts": 14,
      "layoutDurationMs": 4.17,
      "taskDurationMs": 714.7260000000001,
      "heapDeltaBytes": 3354892,
      "heapUsedBytes": 65504288,
      "domNodes": -260,
      "jsHeapTotalBytes": 5758976,
      "scriptDurationMs": 120.80700000000002,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1695.2559999999721,
      "styleRecalcs": 73,
      "styleRecalcDurationMs": 19.497,
      "layouts": 14,
      "layoutDurationMs": 3.581,
      "taskDurationMs": 613.178,
      "heapDeltaBytes": 10679412,
      "heapUsedBytes": 72832496,
      "domNodes": -260,
      "jsHeapTotalBytes": 5234688,
      "scriptDurationMs": 106.05799999999999,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1720.882999999958,
      "styleRecalcs": 32,
      "styleRecalcDurationMs": 11.505,
      "layouts": 6,
      "layoutDurationMs": 1.278,
      "taskDurationMs": 244.978,
      "heapDeltaBytes": 2158600,
      "heapUsedBytes": 64437708,
      "domNodes": 78,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 10.381,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1708.943999999974,
      "styleRecalcs": 30,
      "styleRecalcDurationMs": 11.601,
      "layouts": 6,
      "layoutDurationMs": 1.08,
      "taskDurationMs": 249.847,
      "heapDeltaBytes": 2839404,
      "heapUsedBytes": 70127760,
      "domNodes": 77,
      "jsHeapTotalBytes": 5242880,
      "scriptDurationMs": 10.078999999999999,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 563.4860000000117,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 4.812999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 337.01399999999995,
      "heapDeltaBytes": 17857524,
      "heapUsedBytes": 80042044,
      "domNodes": 14,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 121.589,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 515.9780000000183,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 5.5840000000000005,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 325.584,
      "heapDeltaBytes": 17759004,
      "heapUsedBytes": 80054864,
      "domNodes": 18,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 116.57,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2013.165000000015,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 4.3770000000000024,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 345.549,
      "heapDeltaBytes": 1677488,
      "heapUsedBytes": 83042220,
      "domNodes": -243,
      "jsHeapTotalBytes": -1544192,
      "scriptDurationMs": 31.792999999999996,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2020.4160000000684,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 5.051,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 420.269,
      "heapDeltaBytes": 1941536,
      "heapUsedBytes": 83432248,
      "domNodes": -242,
      "jsHeapTotalBytes": -233472,
      "scriptDurationMs": 28.816999999999997,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2091.7720000000486,
      "styleRecalcs": 67,
      "styleRecalcDurationMs": 12.584999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1220.2450000000003,
      "heapDeltaBytes": 16162660,
      "heapUsedBytes": 80100572,
      "domNodes": -246,
      "jsHeapTotalBytes": 1798144,
      "scriptDurationMs": 594.866,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2154.5149999999467,
      "styleRecalcs": 70,
      "styleRecalcDurationMs": 12.507,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1192.5249999999999,
      "heapDeltaBytes": -673192,
      "heapUsedBytes": 79919348,
      "domNodes": -216,
      "jsHeapTotalBytes": 1265664,
      "scriptDurationMs": 577.6629999999999,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3157.9189999999926,
      "styleRecalcs": 64,
      "styleRecalcDurationMs": 14.595000000000004,
      "layouts": 60,
      "layoutDurationMs": 14.94,
      "taskDurationMs": 1319.3139999999999,
      "heapDeltaBytes": 10074920,
      "heapUsedBytes": 75079524,
      "domNodes": -248,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 570.468,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3163.4950000000117,
      "styleRecalcs": 64,
      "styleRecalcDurationMs": 14.63,
      "layouts": 60,
      "layoutDurationMs": 14.395999999999999,
      "taskDurationMs": 1339.931,
      "heapDeltaBytes": -7018484,
      "heapUsedBytes": 73883420,
      "domNodes": -250,
      "jsHeapTotalBytes": -1056768,
      "scriptDurationMs": 569.409,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2174.254000000019,
      "styleRecalcs": 44,
      "styleRecalcDurationMs": 8.27,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1354.1129999999998,
      "heapDeltaBytes": 18414448,
      "heapUsedBytes": 84149380,
      "domNodes": -248,
      "jsHeapTotalBytes": 942080,
      "scriptDurationMs": 712.138,
      "eventListeners": 180,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2319.5899999999483,
      "styleRecalcs": 41,
      "styleRecalcDurationMs": 6.075,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1394.1970000000001,
      "heapDeltaBytes": 8158332,
      "heapUsedBytes": 73825388,
      "domNodes": 2,
      "jsHeapTotalBytes": 225280,
      "scriptDurationMs": 686.6560000000001,
      "eventListeners": 180,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "minimap-idle",
      "durationMs": 2037.4269999999797,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 4.915000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 445.75399999999996,
      "heapDeltaBytes": -9917600,
      "heapUsedBytes": 79108436,
      "domNodes": -254,
      "jsHeapTotalBytes": -757760,
      "scriptDurationMs": 29.470999999999997,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2002.8479999999718,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 4.545000000000003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 356.797,
      "heapDeltaBytes": -11203540,
      "heapUsedBytes": 69511412,
      "domNodes": -261,
      "jsHeapTotalBytes": 253952,
      "scriptDurationMs": 27.092,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 425.1770000000761,
      "styleRecalcs": 49,
      "styleRecalcDurationMs": 8.4,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 282.58700000000005,
      "heapDeltaBytes": 14115196,
      "heapUsedBytes": 83689768,
      "domNodes": 23,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 92.497,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.663333333333338,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 463.1520000000364,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 7.4,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 301.285,
      "heapDeltaBytes": 14391832,
      "heapUsedBytes": 77913240,
      "domNodes": 18,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 102.063,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2004.1960000000358,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 6.705000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 350.28900000000004,
      "heapDeltaBytes": 15920296,
      "heapUsedBytes": 79560956,
      "domNodes": -273,
      "jsHeapTotalBytes": 4710400,
      "scriptDurationMs": 7.254999999999997,
      "eventListeners": -198,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-idle",
      "durationMs": 1990.4779999999391,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 5.942000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 333.189,
      "heapDeltaBytes": -8648760,
      "heapUsedBytes": 54647980,
      "domNodes": -276,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 6.850999999999999,
      "eventListeners": -198,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1675.803999999971,
      "styleRecalcs": 72,
      "styleRecalcDurationMs": 19.86,
      "layouts": 18,
      "layoutDurationMs": 4.913,
      "taskDurationMs": 625.1089999999999,
      "heapDeltaBytes": -3084072,
      "heapUsedBytes": 60741996,
      "domNodes": -273,
      "jsHeapTotalBytes": 5234688,
      "scriptDurationMs": 82.76599999999999,
      "eventListeners": -220,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1694.5839999999635,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 20.317,
      "layouts": 18,
      "layoutDurationMs": 4.710000000000001,
      "taskDurationMs": 605.2059999999999,
      "heapDeltaBytes": 1047984,
      "heapUsedBytes": 64743612,
      "domNodes": -278,
      "jsHeapTotalBytes": 6021120,
      "scriptDurationMs": 77.042,
      "eventListeners": -230,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 798.7060000000383,
      "styleRecalcs": 19,
      "styleRecalcDurationMs": 20.116999999999997,
      "layouts": 5,
      "layoutDurationMs": 7.861,
      "taskDurationMs": 509.09400000000005,
      "heapDeltaBytes": 19956496,
      "heapUsedBytes": 103210592,
      "domNodes": 13587,
      "jsHeapTotalBytes": 11272192,
      "scriptDurationMs": 19.309,
      "eventListeners": 2383,
      "totalBlockingTimeMs": 91,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8123.4980000000405,
      "styleRecalcs": 249,
      "styleRecalcDurationMs": 35.126999999999995,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3770.595,
      "heapDeltaBytes": -12084036,
      "heapUsedBytes": 69469552,
      "domNodes": -241,
      "jsHeapTotalBytes": 4485120,
      "scriptDurationMs": 1912.8,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8126.735000000053,
      "styleRecalcs": 249,
      "styleRecalcDurationMs": 39.342999999999996,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4215.363,
      "heapDeltaBytes": -5573696,
      "heapUsedBytes": 75938628,
      "domNodes": -243,
      "jsHeapTotalBytes": 516096,
      "scriptDurationMs": 1944.671,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 12025.41000000008,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 11262.101,
      "heapDeltaBytes": -52841984,
      "heapUsedBytes": 178162932,
      "domNodes": -8062,
      "jsHeapTotalBytes": -10805248,
      "scriptDurationMs": 188.482,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 11981.411000000095,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 11167.377000000002,
      "heapDeltaBytes": -35415112,
      "heapUsedBytes": 175341792,
      "domNodes": -8062,
      "jsHeapTotalBytes": -12521472,
      "scriptDurationMs": 157.64800000000002,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 14719.792999999981,
      "styleRecalcs": 72,
      "styleRecalcDurationMs": 16.011000000000024,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 14253.855000000001,
      "heapDeltaBytes": -19638884,
      "heapUsedBytes": 190153744,
      "domNodes": -8062,
      "jsHeapTotalBytes": -11644928,
      "scriptDurationMs": 699.901,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 5,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 14003.239000000009,
      "styleRecalcs": 67,
      "styleRecalcDurationMs": 14.172999999999991,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 13540.799,
      "heapDeltaBytes": -42057316,
      "heapUsedBytes": 189106300,
      "domNodes": -8062,
      "jsHeapTotalBytes": -17428480,
      "scriptDurationMs": 710.4929999999999,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 48,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 4400.36699999996,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 55.22100000000002,
      "layouts": 20,
      "layoutDurationMs": 23.81699999999999,
      "taskDurationMs": 4292.615,
      "heapDeltaBytes": -43862512,
      "heapUsedBytes": 192738288,
      "domNodes": -8061,
      "jsHeapTotalBytes": 11993088,
      "scriptDurationMs": 75.43799999999999,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 17,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 4341.4000000000215,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 55.26500000000001,
      "layouts": 20,
      "layoutDurationMs": 23.18200000000001,
      "taskDurationMs": 4245.44,
      "heapDeltaBytes": -13785008,
      "heapUsedBytes": 202637516,
      "domNodes": -8066,
      "jsHeapTotalBytes": 13828096,
      "scriptDurationMs": 71.954,
      "eventListeners": -14928,
      "totalBlockingTimeMs": 22,
      "frameDurationMs": 17.223333333333297,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 6073.141999999962,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5633.187999999999,
      "heapDeltaBytes": -21659836,
      "heapUsedBytes": 168543112,
      "domNodes": 0,
      "jsHeapTotalBytes": -20971520,
      "scriptDurationMs": 83.69399999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 4770.727999999963,
      "styleRecalcs": 1,
      "styleRecalcDurationMs": 0.13699999999999823,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4463.328,
      "heapDeltaBytes": -715972,
      "heapUsedBytes": 181562204,
      "domNodes": 0,
      "jsHeapTotalBytes": -15204352,
      "scriptDurationMs": 72.961,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "workflow-execution",
      "durationMs": 431.0450000000401,
      "styleRecalcs": 14,
      "styleRecalcDurationMs": 15.799000000000001,
      "layouts": 3,
      "layoutDurationMs": 0.9129999999999999,
      "taskDurationMs": 95.04899999999999,
      "heapDeltaBytes": 4977628,
      "heapUsedBytes": 66321316,
      "domNodes": 123,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 7.9700000000000015,
      "eventListeners": 81,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "workflow-execution",
      "durationMs": 443.80799999999,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 15.077,
      "layouts": 3,
      "layoutDurationMs": 1.007,
      "taskDurationMs": 93.71999999999998,
      "heapDeltaBytes": 4871224,
      "heapUsedBytes": 66596648,
      "domNodes": 121,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 8.793,
      "eventListeners": 81,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999727
    }
  ]
}

🔬 E2E Coverage

Metric Covered Total Pct
Lines 51694 78329 66.0% 🟡
Functions 0 0 — —
Branches 0 0 — —
Top 10 files by uncovered lines
File Coverage Missed
src/LGraphCanvas.ts 67.8% 1155
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 21.4% 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 cab72b46b739dfa009812ecac7cfd7b5032e5eaa

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
@claude
claude Bot force-pushed the test/pm-1255-stale-workflow-tab-binding branch from d04a997 to c7bf240 Compare September 19, 2026 02:26
…255/PM-986)

Every new/unsaved workflow tab defaults to the same path, and
agentWorkflowTabBindingStore caches workflowId -> tabPath in plain,
unscoped localStorage with no TTL and no per-page-load nonce. A tab
closed without the SPA's own unbind() running leaves that binding
behind, so a brand-new tab reopening the default path silently
inherits it and the CRDT follower pulls the old workflow's real
content into the new tab.

Adds three failing/red repros pinning the exact gap (a fresh
store/module instantiation racing a pre-seeded stale localStorage
entry, not the in-app close path the existing tests already cover):

- agentWorkflowTabBindingStore.test.ts: store-level, asserts
  matchesWorkflow/tabPathFor reject the stale binding.
- AgentPanelRoot.test.ts: component-level, asserts the real CRDT
  follower does not send a doc_subscribe for the abandoned workflow.
- browser_tests/tests/agent/agentStaleWorkflowTabBinding.spec.ts:
  Playwright E2E through a routed /ws and a seeded HostDoc, asserting
  the canvas stays empty and attaching a screenshot as visual proof.

All three use test.fails()/test.fail() so CI records them as known,
tracked failures. No fix included; this is tests only.
@claude
claude Bot force-pushed the test/pm-1255-stale-workflow-tab-binding branch from c7bf240 to a829da6 Compare September 19, 2026 02:43
@claude

claude Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor Author

Fixed a test-authoring bug CI's playwright-video-new-tests job caught: test.fail() only guarded the final assertion, but an earlier precondition (canvas empty before the synthetic tab push) was already failing against the live backend, since the leak actually fires on the WS status frame during boot, before any explicit tab-switch. That's a nice concrete confirmation the repro is real and even more direct than we thought.

Moved test.fail() to the top of the test body, dropped the now-invalid precondition, and added a comment on the timing. Amended into the same commit: a829da6.

@github-actions

github-actions Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Playwright videos for new tests

Download the recorded videos and HTML report

Recorded projects: cloud

Recorded test titles:

  • all tests in browser_tests/tests/agent/agentStaleWorkflowTabBinding.spec.ts

@codecov

codecov Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Files with missing lines Patch % Lines
...agent/stores/agent/agentWorkflowTabBindingStore.ts 98.03% 2 Missing ⚠️
@@            Coverage Diff             @@
##             main   #18077      +/-   ##
==========================================
+ Coverage   82.78%   83.95%   +1.16%     
==========================================
  Files        2939     2260     -679     
  Lines      144683   128703   -15980     
  Branches    37233    35080    -2153     
==========================================
- Hits       119773   108048   -11725     
+ Misses      23636    20365    -3271     
+ Partials     1274      290     -984     
Flag Coverage Δ
billing-web-unit ?
e2e 65.99% <ø> (+0.15%) ⬆️
unit 79.33% <98.03%> (+0.18%) ⬆️
website-unit ?

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

Files with missing lines Coverage Δ
...agent/stores/agent/agentWorkflowTabBindingStore.ts 98.31% <98.03%> (-1.69%) ⬇️

... and 833 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 commented Sep 19, 2026

Copy link
Copy Markdown
Contributor Author

Triviality verdict: not trivial. Plan below, no fix pushed.

I read agentCrdtDocLifecycle.ts in full, agentWorkflowTabBindingStore.ts in full, useWorkflowPersistenceV2.ts (the tab-restore-on-boot flow), useWorkflowTabState.ts, and the relevant slice of workflowStore.ts (createTemporary/getUnconflictedPath), plus api.ts's clientId handling. Here is why a mechanical port of the sibling fix does not hold up.

Why the FEC-5 pattern does not transplant cleanly

FEC-5's nonce is minted once per module evaluation (const pageSessionNonce = createUuidv4() at module scope in agentCrdtDocLifecycle.ts), and the file says outright: "A full page reload deliberately does NOT rebind... it mints a new nonce, refuses the pre-reload record." That is correct for the CRDT doc-id cache, because nothing legitimate depends on that cache surviving a reload; a fresh turn ack repopulates it.

agentWorkflowTabBindingStore.ts does not have that luxury. Two already-green tests encode a real, load-bearing feature:

  • agentWorkflowTabBindingStore.test.ts, "T-18 / PM-664 / FE-1290 keeps sidebar context bound to the active workflow across reload" (binds, disposes the store, recreates it, and asserts the binding is still there).
  • The same file's "reconnects a restored draft when bindings initialize before/after tab restoration" test, which models useWorkflowPersistenceV2.restoreWorkflowTabsState (src/platform/workflow/persistence/composables/useWorkflowPersistenceV2.ts:362-417) recreating a previously-open draft tab from localStorage-backed draft/tab-state on browser boot, and expects the agent sidebar to reattach to it.

A per-page-load nonce would refuse both of these on every genuine reload, since the nonce is, by construction, different after every reload. That regresses a shipped feature (the sidebar/chat staying attached to its workflow across a refresh or browser restart), not a hypothetical one.

The actual disambiguation problem

The bug and the legitimate case are structurally identical from the store's point of view: both are "a workflow appears at a previously-bound path, with no known in-memory instance." The only thing separating "same draft, legitimately restored" from "unrelated new tab, coincidental collision" is that every anonymous new tab deterministically gets the exact same default path once the old one is gone (createTemporary() / getUnconflictedPath(ComfyWorkflow.basePath + (path ?? 'Unsaved Workflow.json')), workflowStore.ts:295-297, checked only against currently-loaded workflows). Path-string equality plus an in-memory boundInstances map (which itself resets on every reload, so it can't help here) is not enough signal to tell the two cases apart. A nonce doesn't add that signal either; it only adds a same-page-load check, which is exactly the check the legitimate case needs to fail.

A primitive that might actually fit, already in this codebase

api.ts already solves a closely related problem for useWorkflowTabState.ts's per-tab session pointers: clientId is minted on websocket connect, then mirrored into both sessionStorage and window.name, with the comment "use window name so it isn't reused when duplicating tabs" (src/scripts/api.ts:979). window.name survives a same-tab reload but is not copied when a tab is duplicated, which is the opposite failure mode from sessionStorage. initialClientId is read back from sessionStorage at boot (api.ts:496), so the identity does survive a reload of the same tab. That is the primitive this store's fix would likely need to key on instead of a page-load nonce, but wiring it in (plus a TTL) is a real design task, not a copy-paste.

Recommended approach

  1. Scope each persisted binding by the tab's clientId/window.name-derived identity in addition to path, so a binding only auto-resolves for the tab that actually produced it (or one that's a legitimate reload of it), not an unrelated tab that happens to share the default filename.
  2. Add a TTL that slides on confirmed use, so a truly abandoned binding eventually lapses regardless of identity matching (defense in depth, same spirit as FEC-5's TTL, different scope key).
  3. Keep the existing boundInstances/matchesWorkflow object-identity check for the same-session case; it already does the right thing there.

Open questions that need a human call before implementing

  • Does the websocket handshake actually resume the same clientId on every reload (api.ts:802's existingSession path), or can it mint a new one on some reconnect paths? That determines whether identity-scoping is reliable enough on its own or still needs the TTL as the primary defense.
  • useWorkflowPersistenceV2.restoreWorkflowTabsState can restore multiple draft tabs in one boot. If two independent restored drafts both defaulted to Unsaved Workflow.json at different points in their history, does clientId scoping alone disambiguate them, or does the binding need to carry more than path (e.g., a content-derived id)?
  • What TTL is right here? FEC-5's 5 minutes fits an in-page CRDT remount; this cache's legitimate use case (surviving a browser restart) is open-ended by comparison.

Alternatives considered

  • Narrower scope, no new primitive: only drop cross-restart persistence for the default/unsaved path specifically (require a fresh agent turn to reattach, same as the CRDT doc-id cache), and leave named/saved workflow paths on the current scheme, since a real saved path essentially can't collide. Smaller diff, slightly worse UX for unsaved-draft reattachment after a real restart.
  • Identity over path: key bindings on a content-derived workflow id (the same id machinery already used in workflowStore.ts:311-319 via ensureWorkflowId) instead of the mutable path string, so path reuse stops being able to collide at all. Removes the ambiguity at the root but is a larger refactor since every call site currently thinks in terms of tabPath.

No source files were changed; the three it.fails/test.fail() repros stay as committed. Happy to implement whichever direction gets picked.

…point

A browser tab closed without the SPA's cleanup leaves its workflow binding
at the shared default path. On the next boot the surviving thread hydrates,
names that workflow, and the panel resolves it to the brand-new tab that
merely reuses the path: the next turn posts as that workflow and the CRDT
follower pulls its content onto the empty canvas.

Store tests pin the fix's contract (document identity as proof, a separate
v2 storage key migrated once from the legacy map, non-destructive refusal,
a confirmedAt TTL). The component and E2E repros now exercise the real
chain (thread pointer -> hydrate -> onWorkflowRestored -> bind) instead of
an agent_active_tab push. All new tests are red against the current store
by design; the fix follows.

The ADR AGENT-BINDING-0035 records the decision, the rollback story and the
upgrade blast radius.
A binding record is still keyed by tab path, but a tab may only claim it
when its workflow JSON id matches the id captured at bind time. Every fresh
draft mints a new id and every restore preserves the persisted one, so a
same-tab reload and a browser-restart restore keep the sidebar bound while a
brand-new tab that merely reuses the default path is refused. Refusal is
non-destructive: the record is neither adopted nor deleted while the
unproven occupant is open, and only the proven owner releases it on close.

Records move to Comfy.Agent.WorkflowTabBindings.v2 with a one-shot
migration from the legacy map, which is left in place so a rollback build
keeps reading the shape it wrote. Migrated records carry no id and can only
be claimed by saved workflows. A confirmedAt stamp, refreshed by bind() and
by a proven adoption, prunes records older than 30 days at store creation.
A draft refused for a record cannot become its owner by being saved in
place at the record's path, and saved tabs compare ids too when both are
known.

The watcher reads records ungated; only tabPathFor and workflowIdFor apply
the occupant gate, since the navigation consumers resolve them to a tab
without consulting matchesWorkflow. The ADR AGENT-BINDING-0035 records the
decision.
@claude claude Bot changed the title test(agent): pin down stale-workflow-binding leak on fresh tabs (PM-1255/PM-986) fix(agent): gate persisted workflow tab bindings on document identity Sep 19, 2026
@claude

claude Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor Author

Fix landed on top of the repros, red then green.

Design. Bindings stay keyed by tab path, but the workflow JSON id captured at bind() is the proof of ownership: every fresh draft mints a new id and every reload/restore preserves the persisted one, so the same-tab reload and browser-restart cases keep the sidebar bound while a brand-new tab at a reused path is refused. Records live under a new key (Comfy.Agent.WorkflowTabBindings.v2) with a one-shot migration that leaves the legacy map untouched, so a rollback keeps working. Refusal is non-destructive: a record whose path is held by an unproven tab is hidden from tabPathFor/workflowIdFor but neither adopted nor deleted; only the proven owner releases it on close. A 30-day confirmedAt TTL prunes dead records. Full reasoning in docs/adr/AGENT-BINDING-0035-document-identity-gates-persisted-workflow-tab-bindings.md.

What the design review changed before implementation. (1) New storage key instead of widening the old one: under the old key a rollback build would have returned the new record objects as paths and broken ack adoption. (2) The component and E2E repros were rewritten around the real entry point. The earlier note above that the leak fires on the boot WS status frame was wrong; the follower only subscribes once the thread hydrates, onWorkflowRestored resolves the stale record to the fresh tab by path and binds it, and the next turn then posts as that workflow. The repros now seed the thread pointer plus a transcript naming the stale workflow and drive exactly that chain. (3) The watcher reads records ungated; only the exported lookups apply the occupant gate. (4) Found while going green: re-targeting the fresh draft saves it in place at the record's path, and "saved workflows adopt by path" would have handed it the stale id again, so a tab refused as a draft stays refused for that record, and saved tabs compare ids when both are known.

Commits. d44406a tests and ADR (red: 10 store tests, the component repro and the E2E spec fail against the old store). f7b06a2 the store fix (green). 5d53ada merge of main. a1f7cc0 follows main's rename of the agent entry button in the spec.

Not run locally. The Playwright spec needs the app server, which this environment does not have; it is type-checked and linted, and the cloud project in CI runs it. Everything else (agent vitest suite, typecheck, typecheck:browser, lint, knip, adr:check, formatting) is clean on the merged head.


Generated by Claude Code

@christian-byrne

christian-byrne commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Source fix merged. Both release backports tested and opened. Original-session acceptance remains open.

Full context for agent readers

Binding PR18077 merged at 18:31:34 UTC from the reviewed, tested Claude head as the source commit. This supersedes the earlier queued status; no competing refactor was pushed.

Opened Core 1.54 backport at tested Core head and Cloud 1.54 backport at tested Cloud head. Both preserve the production fix byte-for-byte, adapt release test isolation/imports and use an equivalent stale-document seed instead of an unavailable main-only loader. Each passes 239 focused tests, source/browser types, lint, formatting, knip and the black-box stale-binding browser case. Screenshots were inspected. Restoring the old store on the Cloud carrier fails the outgoing workflow-ID assertion; restoring the fix passes. Earlier missing-button attempts used the wrong serving process, not a proven feature-gate regression.

Normal auto-merge is enabled on both release PRs; hosted checks and non-author review remain required. The completion lane holds their PR reservations and retains original-session acceptance, both release merges and the proposed retention decision. No incident closure, architecture ratification or deployment. Program receipt.

Glossary: binding associates an Agent workflow with an editor tab; backport applies a merged fix to a release branch.

The open-tab watcher released closed tabs and adopted open ones in a
single callback whose branching tripped the new-code complexity gate.
Each half now lives in its own function with the same behavior.

Also covers the two parse fallbacks: a legacy key that does not hold
JSON yields no bindings, and a saved tab whose stored content is not
JSON can still claim its record.

@christian-byrne christian-byrne left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The document-identity check prevents a fresh draft at a reused path from inheriting an abandoned Agent workflow. Restored drafts still reconnect. Original-session and release acceptance remain tracked separately.

Full context for agent readers

Reviewed the exact published head, including persisted-record validation, lookup gating, verified-owner cleanup, saving a refused draft in place, reload ordering, and the caller paths that restore or adopt a target. No blocking correctness finding in this change.

The unchanged head has 239 passing store/component tests and a passing Cloud browser regression. The controlled pre-fix-store run sent the abandoned workflow ID; the fixed store sends the fresh target and preserves the starting canvas. The local exact-base Fallow audit has no introduced findings. Hosted checks are terminal: 85 successful check runs, 16 skipped, and the successful CodeRabbit status. No unresolved review threads or human changes-requested reviews were present.

Main has advanced through disjoint website, asset-query and opt-in conversation-host fixture changes. None overlaps this patch or the panel mock used by its browser case. Normal merge-queue integration checks remain required; no administrative bypass or redundant branch refresh.

This review does not ratify the proposed binding architecture decision or settle the thirty-day retention product choice. The original-session check, retention decision and core/1.54 plus cloud/1.54 qualification stay with the stale-binding incident and completion lane. It does not establish full incident closure.

Glossary: binding associates an Agent workflow with a canvas tab; exact head is the reviewed commit; Fallow is the static-analysis gate.

@christian-byrne
christian-byrne added this pull request to the merge queue Sep 20, 2026
Merged via the queue into main with commit be3d753 Sep 20, 2026
103 checks passed
@christian-byrne
christian-byrne deleted the test/pm-1255-stale-workflow-tab-binding branch September 20, 2026 18:31
christian-byrne added a commit that referenced this pull request Sep 20, 2026
…#18077)

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

**Before:** Every new unsaved tab opens at the same default path, and
the agent panel remembers which tab belongs to which agent workflow by
that path. When a bound tab was closed without the app's own cleanup
(the browser tab was simply closed), its record stayed behind. On the
next visit the still-open chat thread named that workflow, the panel
matched it to the brand-new tab by path, the next message was sent as
that workflow, and the agent's document was pulled onto the fresh canvas
over the default graph.

**After:** A remembered binding only attaches to a tab that carries the
same workflow document id it was bound with. A fresh tab has a new id,
so it is refused and keeps its default canvas and its own identity; a
reload or a browser-restart restore of the same draft keeps its id, so
the sidebar stays attached as before.

This change makes the agent workflow tab binding store prove ownership
by document identity instead of by tab path alone.

**How:** Records move to a new storage key
(`Comfy.Agent.WorkflowTabBindings.v2`) as `{ tabPath, graphId,
confirmedAt }`, migrated once from the legacy map, which is left in
place so a rollback keeps reading the shape it wrote. The store's
watcher adopts a tab only when the ids match; the exported lookups hide
a record while an unproven tab occupies its path, without deleting it,
so a live binding in another browser tab is never damaged. A 30-day
`confirmedAt` TTL prunes dead records at store creation. A draft refused
for a record cannot become its owner by being saved in place at that
path. Alternatives (page-load nonce, tab identity, re-keying on the
graph id) and the consequences, including the one-time upgrade cost for
open unsaved drafts, are in ADR
`docs/adr/AGENT-BINDING-0035-document-identity-gates-persisted-workflow-tab-bindings.md`.

- Red then green in two commits: `d44406a` (tests and ADR only; the new
store, component and E2E tests fail against the old store) then
`f7b06a2` (the fix, all green).
- `eccfc83` repairs the E2E spec: a fresh tab boots with the default
graph, not an empty canvas, so the spec now captures the boot node
titles and asserts they are unchanged after the turn, that the outgoing
turn carries the newly saved workflow id, and that the stale ack is
rejected visibly.
- `77915be` splits the store watcher into two named helpers (same
behavior) to clear the fallow complexity gate, and adds tests for the
two parse fallbacks (non-JSON legacy key, non-JSON `originalContent`)
that Codecov flagged.
- `pnpm vitest run src/workbench/extensions/agent/AgentPanelRoot.test.ts
src/workbench/extensions/agent/stores/agent/agentWorkflowTabBindingStore.test.ts`:
239 passed; store file at 100% line coverage.
- `pnpm typecheck`, `pnpm typecheck:browser`, `pnpm knip`, `pnpm
adr:check`, eslint and `oxfmt --check` on every touched file, and `pnpm
fallow audit --changed-since origin/main` (verdict pass, no introduced
findings): clean on the pushed head.
- Not run locally:
`browser_tests/tests/agent/agentStaleWorkflowTabBinding.spec.ts` needs
the app server, which this environment does not have. It is type-checked
and linted; CI's cloud Playwright project (and the new-tests video job)
is the only place it runs.

---------

Co-authored-by: bymyself <cbyrne@comfy.org>
(cherry picked from commit be3d753)
christian-byrne added a commit that referenced this pull request Sep 20, 2026
## Summary

Backport the merged [persisted-tab binding
fix](#18077) so a
fresh canvas cannot inherit an abandoned chat's workflow identity.

## Changes

- Production store is identical to the merged source; release-specific
test setup and browser imports are preserved.
- Browser coverage uses an equivalent stale MarkdownNote document
because the main-only recorded-conversation loader is absent on the
release branch.

## Review Focus

Document identity, saved-in-place refusal, restoration ordering and
cross-tab ownership. The thirty-day retention ADR remains Proposed.
[Original incident](https://linear.app/comfyorg/issue/PM-1255) stays
open through original-session and release acceptance.

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

Source: [merged
commit](be3d753).
This is a manual backport because the test setup and ADR index do not
apply unchanged; no unrelated main commits are imported.

Target-native validation: 239 store/component tests, source and browser
typechecks, lint, formatting and knip pass. The black-box browser
regression passes on a verified Cloud-distribution server against the
qualified local backend. It checks the newly saved outgoing workflow
identity, rejected stale acknowledgement, unchanged fresh canvas and
active tab. Screenshots were inspected.

Sensitivity control on the Cloud release: restoring only the old
production store makes the outgoing workflow identity assertion fail
with the abandoned workflow ID. The two release carriers use the same
production fix and equivalent browser assertions. Earlier browser
attempts used an occupied/wrong-checkout port and are not evidence of a
product regression. No tests were skipped or weakened.

This PR does not deploy the release or close the broader incident.
Glossary: backport applies a merged fix to a release branch; binding
associates an Agent workflow with an editor tab.
</details>
christian-byrne added a commit that referenced this pull request Sep 20, 2026
## Summary

Backport the merged [persisted-tab binding
fix](#18077) so a
fresh canvas cannot inherit an abandoned chat's workflow identity.

## Changes

- Production store is identical to the merged source; release-specific
test setup and browser imports are preserved.
- Browser coverage uses an equivalent stale MarkdownNote document
because the main-only recorded-conversation loader is absent on the
release branch.

## Review Focus

Document identity, saved-in-place refusal, restoration ordering and
cross-tab ownership. The thirty-day retention ADR remains Proposed.
[Original incident](https://linear.app/comfyorg/issue/PM-1255) stays
open through original-session and release acceptance.

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

Source: [merged
commit](be3d753).
This is a manual backport because the test setup and ADR index do not
apply unchanged; no unrelated main commits are imported.

Target-native validation: 239 store/component tests, source and browser
typechecks, lint, formatting and knip pass. The black-box browser
regression passes on a verified Cloud-distribution server against the
qualified local backend. It checks the newly saved outgoing workflow
identity, rejected stale acknowledgement, unchanged fresh canvas and
active tab. Screenshots were inspected.

Sensitivity control on the Cloud release: restoring only the old
production store makes the outgoing workflow identity assertion fail
with the abandoned workflow ID. The two release carriers use the same
production fix and equivalent browser assertions. Earlier browser
attempts used an occupied/wrong-checkout port and are not evidence of a
product regression. No tests were skipped or weakened.

This PR does not deploy the release or close the broader incident.
Glossary: backport applies a merged fix to a release branch; binding
associates an Agent workflow with an editor tab.
</details>

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
pull Bot pushed a commit to Mu-L/ComfyUI_frontend that referenced this pull request Sep 21, 2026
…option, op coalescing) + contract e2e (Comfy-Org#18064)

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

**Before:** Clearing a saved workflow's canvas, deleting the chat and
starting a new one left the agent reasoning about the removed nodes: an
N-node delete went out as N serialized single-op batches and most of
them were dropped when the chat unbound. The e2e for this flow was an
expected-failure repro asserting the wrong contract (a fresh
`workflow_id`). The second door to the same symptom, a blank scratch tab
opened after a reload adopting a persisted binding for the shared
default path, landed separately in
Comfy-Org#18077 (document
identity gates persisted tab bindings); this PR is rebased onto it and
no longer carries a gate of its own for that door.

**After:** Operations minted in one tick are coalesced into one batch,
so a clear made while bound is one round trip; a `doc_reset` settles
pending human batches `undeliverable` at once. The e2e is a plain
`@cloud` contract test: the first turn of the new chat posts to a new
thread with the same `workflow_id` and an empty draft, every cleared
node id reaches the host document as a `delete_node`, and after the ack
and re-subscribe the canvas stays empty.

Keeps a new agent chat from inheriting a stale canvas through the
clear-while-bound door and pins the client side of the contract the
backend change relies on.

**How.**
`docs/adr/CRDT-AUTHORITY-0035-human-canvas-authority-and-draft-reconciliation.md`
records the decisions: the human-authored `draft` is the reconciliation
primitive (conditional on the backend change that makes a posted human
canvas authoritative, merged to the agent release branch and awaiting
promotion to main), a new chat keeps the same `workflow_id`, ops are
best-effort with same-tick coalescing (`crdt/opCoalescer.ts`, wired in
`useAgentCrdtFollower`), `opSender.abortAll()` on `doc_reset`, and the
blank-tab door is closed by the document-identity gate of ADR
AGENT-BINDING-0035
(Comfy-Org#18077) rather than
by a second gate here. The fake host's apply mode (`humanOpsHost:
'apply'`, from Comfy-Org#18078)
applies human ops through the real library and answers `doc_ops_result`
plus the `doc_update` echo; the contract spec opts into it, and this PR
adds only the relay's `ok:false` answer for a `doc_ops` batch aimed at a
workflow the host does not serve. Coalescing only narrows the
clear-while-bound ordering; edits made while unbound reach the document
only through the next turn's draft.

**Commits, red to green.** `test:` reworked spec + failing unit tests
(red: one op reaches the never-answering host; `abortAll` missing; eight
batches instead of one; no settle on `doc_reset`) → `fix:` coalescer,
`abortAll` + reset abort (units green; spec still red at the
host-document outcome because all eight ops arrive but the fake host
does not apply them) → `docs:` ADR → `test:` spec opts into the fake
host's apply mode, host answers foreign-workflow `doc_ops` (spec green;
`agentConversationReplay`, `agentTabSwitchCatchUp`, `load3dAgentUpdate`
stay green) → `test:` flush the coalescer before asserting in the R-73
cross-workflow tests → `refactor:` drop the unused coalescer
`pending()`.

**Verified locally** on the rebased head: eslint, oxfmt check, `tsc
--noEmit`, `vue-tsc` for `browser_tests`, knip, `fallow audit
--changed-since origin/main` pass (0 introduced), `adr:check`, Vitest
for `src/workbench/extensions/agent` and
`src/platform/workflow/persistence` (128 files, 1976 passed, 5 expected
fail). Playwright `cloud` project on an earlier head of this branch: the
new spec, `agentConversationReplay` (all recordings),
`agentTabSwitchCatchUp`, `load3dAgentUpdate`, 19 passed; not re-run
after the rebase. The one local failure there was the pre-existing
`@screenshot` replay case, identical 25279-pixel diff on the base commit
(local Chromium revision drift, Linux CI owns the baseline).

**Still open.** Backend promotion to main (until then the saved-target
door still fails in production). Follow-ups: withhold `draft` while a
bound follower is disconnected or in a gap; surface `undeliverable`
human ops to the user (`detach()` drops the queue with no event today);
the target-keyed follower of GRAPH-DOCUMENT-0024; a server-side thread
delete so the client tombstone can go; two browser tabs on one document
are out of scope.

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

https://claude.ai/code/session_01LZ1S2w986aWaX4XTw2ynmo

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Christian Byrne <cbyrne@comfy.org>
MaanilVerma pushed a commit to MaanilVerma/ComfyUI_frontend that referenced this pull request Sep 21, 2026
…18280)

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

## Summary

**Before:** once the agent service refuses a turn's `workflow_id` with
`403 {"error":"workflow not found or access denied"}`, the tab that
produced that id is broken permanently. Every later message from that
tab posts the same dead id and fails the same way, and reloading the
page does not help. The only escape is opening a brand new workflow tab.
This is what a user hit after completing the subscribe flow: credits
landed, the prompt never ran, and re-sending in the same tab kept
failing with "Message failed to send: workflow not found or access
denied".

**After:** that refusal releases the tab's workflow binding and the
session's bound workflow instead of keeping them. The failed send still
reports the failure, and the next send from the same tab resolves the
tab again rather than re-posting an id the server has already rejected.
No new tab needed.

## Changes

- **What**: `useAgentSession`'s send-failure path now recognises the
workflow-scoped 403 and calls `bindingStore.unbind()` for the tab the
turn was posted from, clearing `boundWorkflowId` and the page-lifetime
remembered workflow when they name the same id. A
`zDisownedWorkflowError` schema sits next to `zAgentAdmissionError` and
matches that one body.

## Review Focus

The mechanism, and the limits of what is proven here.

The tab → workflow binding lives in `localStorage`, and the thread
carries its own server-side workflow pointer, so the bad state is doubly
persistent: `onWorkflowRestored()` re-affirms the binding from the
thread's pointer on every boot, which is why a refresh does not clear
it. Nothing in the client ever treated a server refusal as evidence that
the binding is dead. That is the divergence this fixes, and it is the
reason a recoverable one-off becomes a permanently broken tab. It is the
same family as Comfy-Org#18077 (fresh tab inherits a stale binding) and Comfy-Org#18196
(new chat inherits a stale target), one layer further out.

What this does **not** prove is *why* the workflow becomes unservable
around the subscribe round trip. The backend collapses two cases into
one message (the row is gone, or it belongs to another workspace),
deliberately, so the response cannot tell them apart. Confirming which
one it is needs a live repro with a network capture plus the server-side
log line for the rejected `workflow_id`; until then this is a fix for
the persistence of the failure, not for its trigger. Worth noting the
thread itself passes its own workspace check in the same handler, so
whatever happens, it separates the thread from its workflow rather than
moving both.

Discrimination is by response body, because a 403 refusing the thread or
the message has the same shape with a different subject; the regression
test pins both directions so a thread-scoped refusal cannot start eating
workflow bindings.

## Testing

- `pnpm vitest run
src/workbench/extensions/agent/composables/agent/useAgentSession.test.ts`
— the new `(k2)` table-driven case was committed red first (binding
survived the workflow-scoped 403) and goes green with the fix; the
thread-scoped row passed in both states.
- `pnpm vitest run src/workbench/extensions/agent` — 121 files, 1868
passed.
- `pnpm typecheck` clean, `pnpm lint` 0 errors (warnings all
pre-existing), `pnpm knip` clean, `pnpm format` applied.

Not exercised against a live checkout round trip; no browser test added,
since the behaviour under test is a client-side reaction to one HTTP
response and the composable is the lowest level that proves it.

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

https://claude.ai/code/session_01GNFfTjWvYLP9CZ1udGpjdA

---
_Generated by [Claude
Code](https://claude.ai/code/session_01GNFfTjWvYLP9CZ1udGpjdA)_

---------

Co-authored-by: Claude <noreply@anthropic.com>
@DrJKL DrJKL added agent Comfy Agent product, integration, tests or product documentation agent-docs Agent product architecture, contracts or documentation agent-session Agent sessions, history, turn lifecycle or workflow binding agent-test-playwright Touches Agent-related Playwright tests, fixtures or configuration 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
pull Bot pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Sep 24, 2026
…g#18221)

<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
**Summary**

Comfy-Org#18077's document-identity restore finishes after history Edit
(`onSelectHistory` resets the composer state immediately, then
`restoreTarget` → `setWorkflowTarget` → `setNodeScope`). `setNodeScope`
used to bump `promptEpoch` even when there were no node chips, resetting
the editor's ProseMirror state; Select All + type then replaced the
prompt with ` again`. Scope changes without node references no longer
reset editor history, and ArrowLeft/ArrowRight collapse a non-empty
selection so chips survive Send → history → Edit. In-session tab binds
from Comfy-Org#18077 stay gated the same way.

**Verification**

```bash
DISTRIBUTION=cloud pnpm exec playwright test --project=cloud \
  browser_tests/tests/agent/agentInlinePrompt.spec.ts --grep "preserves inline workflow references"
```

Expected: chips survive Send, history, and Edit (not wiped to ` again`).

This Playwright scenario predates this PR and already covers the full
Send → history → Edit integration path. This PR extends the component
regression coverage for both ArrowLeft and ArrowRight rather than
duplicating the E2E test.

```bash
pnpm exec vitest run \
  src/workbench/extensions/agent/stores/agent/agentComposerStore.test.ts \
  src/workbench/extensions/agent/stores/agent/agentWorkflowTabBindingStore.test.ts \
  src/workbench/extensions/agent/components/agent/Composer.test.ts
```

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-081de356-67e6-5393-bc9d-c5ffe92edcaa?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-081de356-67e6-5393-bc9d-c5ffe92edcaa&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Amp <amp@ampcode.com>
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-docs Agent product architecture, contracts or documentation agent-session Agent sessions, history, turn lifecycle or workflow binding agent-test-playwright Touches Agent-related Playwright tests, fixtures or configuration agent-test-unit Touches Agent-related unit/component tests or their support agent-ui Agent panel, composer, transcript or other user-interface components risk:high PR risk grade (advisory shadow check; grader-owned)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants