Skip to content

[backport cloud/1.56] fix(agent): recover running turn - #21685

Merged
christian-byrne merged 1 commit into
cloud/1.56from
christian-byrne/pm2033-cloud-156
Oct 22, 2026
Merged

christian-byrne merged 1 commit into
cloud/1.56from
christian-byrne/pm2033-cloud-156

Conversation

@christian-byrne

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

Copy link
Copy Markdown
Contributor

Summary

Backports the running-turn conflict recovery from #19901 to cloud/1.56 for PM-2033.

Human owner: @christian-byrne

Changes

  • Re-read the thread after a TURN_IN_PROGRESS response and adopt the active assistant turn.
  • Show the Stop control instead of leaving Send in a dead-end conflict state.
  • Carry the source fixture, unit coverage, and black-box browser regression.
  • Preserve the newer PM-2103 send-failure telemetry tags already on cloud/1.56.

Review Focus

This is a clean cherry-pick of 526ab682653 from #19901. It is Cloud Agent-only, so no core/1.56 carrier is needed.

Testing

  • NODE_OPTIONS=--no-experimental-webstorage pnpm exec vitest run src/workbench/extensions/agent/composables/agent/useAgentSession.test.ts src/workbench/extensions/agent/composables/agent/useAgentSessionEvents.test.ts src/workbench/extensions/agent/composables/agent/useAgentSessionThread.test.ts src/workbench/extensions/agent/composables/agent/useAgentSessionMessages.test.ts
  • PLAYWRIGHT_SETUP_API_URL=http://127.0.0.1:8188 PLAYWRIGHT_TEST_URL=http://127.0.0.1:6247 DISTRIBUTION=cloud pnpm exec playwright test browser_tests/tests/agent/agentSendRefusedByRunningTurn.spec.ts --project=cloud --workers=1
  • pnpm typecheck:app
  • pnpm typecheck:browser
  • Focused oxlint, oxfmt, and ESLint checks on changed TypeScript files.

…1998) (#19901)

## Summary

A `409 TURN_IN_PROGRESS` on send was a dead end; it now re-attaches to
the turn that is holding the thread, so the user gets a Stop control
instead of a raw server string. FE-1998.

## Changes

- **What**: `useAgentSession` reads the 409 conflict body the agent
service has sent since
[cloud#8275](Comfy-Org/cloud#8275) (`type:
"TURN_IN_PROGRESS"`, `active_message_id`, `turn_id`) and re-reads the
thread on it. The re-read adopts the still-running assistant row as the
active turn, which is what puts **Stop** where Send was; when that turn
settles the composer unlocks on its own. The notice copy changes from
the raw server message to `agent.sendTurnInProgress`.
- **Dependencies**: none.

### Why the refusal was terminal

The server's single-active-turn signal is a `status='streaming'`
assistant row, durable in Postgres and deliberately surviving a worker
restart (`services/agent/server/agent_handler.go`, `ThreadActiveTurn` →
`rejectTurnInProgress`). So the thread stays locked until that row goes
terminal, and nothing the user could reach from the panel cleared it: no
stop control, no retry, and no way to tell a working turn from a dead
one.

## Review Focus

**Scope — this is the 409 route that composer gating does not close.** A
turn *this* client can see already renders Stop and never offers Send,
so it cannot reach the guard; #19697/#18152 and #18154 closed the reload
and socket-drop routes. What remains is a turn started from a second
tab, window or device: this client has no local signal, offers Send, and
is refused. That is what the new spec exercises, and it is the only
shape that can reach the refusal path at all now.

**The re-read is bounded, on `reconcileSnapshotTurn`'s reasoning.**
`performSend` awaits it and the composer sits in `sending` until it
returns, so an unbounded await would let a slow workflow restore hold
the one control the user needs. If the bound wins before the transcript
lands, the reattachment is invalidated and the late snapshot is
discarded. If the transcript has already landed and only workflow
restore is still outstanding, the active turn remains adopted and the
send reports that reattachment.

**It goes through `hydrateFromServer`, not a bare `getMessages` +
`hydrate`.** That is the one path which arms the hydration mailbox, so
WS frames for the running turn that land during the GET are replayed
rather than dropped. A second re-attach path would drift from it.

**The discriminator is load-bearing** and has its own negative test: a
409 from another endpoint, or one whose body this client cannot parse,
stays an ordinary send failure and triggers no re-read.

**Fixture fidelity (please look at this).** `agentTurnLockFixture`
answered a refused post with the 409's *message only*, so no spec could
distinguish a client that reads the conflict ids from one that ignores
them — the comment claimed the body was verbatim from `agent_handler.go`
and it was not. It now sends the whole body. The generated `AgentError`
type describes only `error`, because the OpenAPI schema does not cover
this endpoint's conflict body; the fixture types the body as `AgentError
& z.infer<typeof zTurnInProgressError>`, reusing the client's runtime
schema for the conflict fields. *Filed as an upstream hypothesis for the
ingest schema* rather than fixed here.

## Testing

Black-box, red on the parent and green here:

```
browser_tests/tests/agent/agentSendRefusedByRunningTurn.spec.ts
```

On `origin/main` it fails at `expect(turnLock.stopButton).toBeVisible()`
with "element(s) not found" — the dead end itself. It also drives the
escape hatch end to end: Stop unlocks the composer and the retry is
accepted with no second refusal and no page reload, which is this
ticket's stated acceptance criterion.

Unit:

```
useAgentSession.test.ts › re-attaches to the running turn when a send is refused with TURN_IN_PROGRESS
useAgentSession.test.ts › does not let a timed-out re-attachment replace a newer turn
useAgentSession.test.ts › records no failed send when the re-read finds the refused thread deleted
useAgentSession.test.ts › leaves an undiscriminated 409 on an existing thread as a plain failure
useAgentSession.test.ts › applies a pending stop to an active turn adopted after a refused send
useAgentSession.test.ts › clears a pending stop when the send fails before adopting a turn
```

The first is also red on the parent (`expected false to be true` on
`isStreaming`).

Run locally against `origin/main` at `dd630e6c04`:

- `useAgentSession` / `agentConversationStore` / `agentTranscript` /
`agentRestClient` — 413 passed
- the four sibling turn-lock specs that share the fixture
(`agentTurnSurvivesRefresh`, `agentTurnSurvivesSocketDrop`,
`agentTurnSurvivesPanelMinimize`, `agentEscapeStopsClickedTurn`) — 15
passed
- `typecheck:app`, `typecheck:browser`, `oxlint`, `eslint`,
`locale:check`, and the `fallow` pre-push audit gate — clean

## Production context

Measured 2026-10-02 (read-only):
`comfy.agent.turn_rejected{reason:in_progress}` ran at **19.9% of
`agent_turn_started`** over a four-hour window, and **30.0% of threads**
contained at least one ten-minute-plus window in which the next send is
answered 409. That figure is dominated by the reload route this PR does
*not* cover, and should fall sharply once the fix already on
`cloud/1.54`/`cloud/1.55` reaches the production stable arm — re-measure
before citing it as this change's justification.

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Alexander Brown <drjkl@comfy.org>
(cherry picked from commit 526ab68)
@christian-byrne
christian-byrne requested review from a team as code owners October 22, 2026 13:21
@coderabbitai

coderabbitai Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords: 2
  • [release]
  • [backport

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@christian-byrne christian-byrne self-assigned this Oct 22, 2026
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

📦 Bundle Size

⏳ Size data collection in progress…

⚡ Performance Report

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

Scenario timings

canvas-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.7 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 62.7 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.2 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 62.5 MB heap
dom-widget-order-dense-n200-w200-i120: · 37.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 287ms TBT · 88.5 MB heap
dom-widget-order-sparse-n1000-w20-i120: · 46.8 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 108ms TBT · 86.8 MB heap
extension-clean-combined-draw: · 46.0 avg FPS · 29.9 P5 FPS ❌ (target: ≥52) · 26ms TBT · 87.2 MB heap
extension-rgthree-prototype-draw: · 47.8 avg FPS · 29.9 P5 FPS ❌ (target: ≥52) · 2ms TBT · 65.9 MB heap
large-graph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 74.7 MB heap
large-graph-pan: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 88.4 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 84.9 MB heap
legacy-node-drag: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 68.2 MB heap
minimap-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 75.4 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 55.1 MB heap
subgraph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.8 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 61.3 MB heap
subgraph-transition-enter: · 52.5 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 58ms TBT · 85.9 MB heap
viewport-pan-sweep: · 59.9 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 72.2 MB heap
vue-large-graph-idle: · 53.2 avg FPS · 39.8 P5 FPS ❌ (target: ≥52) · 0ms TBT · 173.2 MB heap
vue-large-graph-pan: · 38.1 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 175.2 MB heap
vue-node-resize-workload: · 42.2 avg FPS · 20.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 207.7 MB heap
vue-zoom-out-idle: · 52.7 avg FPS · 30.0 P5 FPS ❌ (target: ≥52) · 0ms TBT · 178.4 MB heap
workflow-execution: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 59.4 MB heap
agent-composer-empty-conversation-typing: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 81.7 MB heap
agent-composer-long-conversation-typing: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 105.1 MB heap

ℹ️ No baseline found — significance unavailable.

Absolute values
Metric Value
canvas-idle: avg frame time 17ms
canvas-idle: p95 frame time 17ms
canvas-idle: layout duration 0ms
canvas-idle: style recalc duration 3ms
canvas-idle: layout count 0
canvas-idle: style recalc count 12
canvas-idle: task duration 240ms
canvas-idle: script duration 5ms
canvas-idle: TBT 0ms
canvas-idle: heap used 65.7 MB
canvas-idle: DOM nodes 0
canvas-idle: event listeners 0
canvas-mouse-sweep: avg frame time 17ms
canvas-mouse-sweep: p95 frame time 17ms
canvas-mouse-sweep: layout duration 4ms
canvas-mouse-sweep: style recalc duration 16ms
canvas-mouse-sweep: layout count 12
canvas-mouse-sweep: style recalc count 73
canvas-mouse-sweep: task duration 493ms
canvas-mouse-sweep: script duration 105ms
canvas-mouse-sweep: TBT 0ms
canvas-mouse-sweep: heap used 62.7 MB
canvas-mouse-sweep: DOM nodes 0
canvas-mouse-sweep: event listeners 0
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 8ms
canvas-zoom-sweep: layout count 6
canvas-zoom-sweep: style recalc count 31
canvas-zoom-sweep: task duration 210ms
canvas-zoom-sweep: script duration 9ms
canvas-zoom-sweep: TBT 0ms
canvas-zoom-sweep: heap used 69.2 MB
canvas-zoom-sweep: DOM nodes 53
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 4ms
dom-widget-clipping: layout count 0
dom-widget-clipping: style recalc count 15
dom-widget-clipping: task duration 295ms
dom-widget-clipping: script duration 104ms
dom-widget-clipping: TBT 0ms
dom-widget-clipping: heap used 62.5 MB
dom-widget-clipping: DOM nodes 0
dom-widget-clipping: event listeners 0
dom-widget-order-dense-n200-w200-i120: avg frame time 27ms
dom-widget-order-dense-n200-w200-i120: p95 frame time 17ms
dom-widget-order-dense-n200-w200-i120: layout duration 0ms
dom-widget-order-dense-n200-w200-i120: style recalc duration 0ms
dom-widget-order-dense-n200-w200-i120: layout count 0
dom-widget-order-dense-n200-w200-i120: style recalc count 0
dom-widget-order-dense-n200-w200-i120: task duration 482ms
dom-widget-order-dense-n200-w200-i120: script duration 34ms
dom-widget-order-dense-n200-w200-i120: TBT 287ms
dom-widget-order-dense-n200-w200-i120: heap used 88.5 MB
dom-widget-order-dense-n200-w200-i120: DOM nodes 0
dom-widget-order-dense-n200-w200-i120: event listeners 0
dom-widget-order-sparse-n1000-w20-i120: avg frame time 21ms
dom-widget-order-sparse-n1000-w20-i120: p95 frame time 17ms
dom-widget-order-sparse-n1000-w20-i120: layout duration 0ms
dom-widget-order-sparse-n1000-w20-i120: style recalc duration 0ms
dom-widget-order-sparse-n1000-w20-i120: layout count 0
dom-widget-order-sparse-n1000-w20-i120: style recalc count 0
dom-widget-order-sparse-n1000-w20-i120: task duration 284ms
dom-widget-order-sparse-n1000-w20-i120: script duration 100ms
dom-widget-order-sparse-n1000-w20-i120: TBT 108ms
dom-widget-order-sparse-n1000-w20-i120: heap used 86.8 MB
dom-widget-order-sparse-n1000-w20-i120: DOM nodes 0
dom-widget-order-sparse-n1000-w20-i120: event listeners 0
extension-clean-combined-draw: avg frame time 22ms
extension-clean-combined-draw: p95 frame time 33ms
extension-clean-combined-draw: layout duration 0ms
extension-clean-combined-draw: style recalc duration 1ms
extension-clean-combined-draw: layout count 0
extension-clean-combined-draw: style recalc count 5
extension-clean-combined-draw: task duration 4910ms
extension-clean-combined-draw: script duration 3929ms
extension-clean-combined-draw: TBT 26ms
extension-clean-combined-draw: heap used 87.2 MB
extension-clean-combined-draw: DOM nodes -142
extension-clean-combined-draw: event listeners -72
extension-rgthree-prototype-draw: avg frame time 21ms
extension-rgthree-prototype-draw: p95 frame time 33ms
extension-rgthree-prototype-draw: layout duration 0ms
extension-rgthree-prototype-draw: style recalc duration 1ms
extension-rgthree-prototype-draw: layout count 0
extension-rgthree-prototype-draw: style recalc count 5
extension-rgthree-prototype-draw: task duration 4561ms
extension-rgthree-prototype-draw: script duration 3620ms
extension-rgthree-prototype-draw: TBT 2ms
extension-rgthree-prototype-draw: heap used 65.9 MB
extension-rgthree-prototype-draw: DOM nodes -143
extension-rgthree-prototype-draw: event listeners -76
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 3ms
large-graph-idle: layout count 0
large-graph-idle: style recalc count 10
large-graph-idle: task duration 281ms
large-graph-idle: script duration 22ms
large-graph-idle: TBT 0ms
large-graph-idle: heap used 74.7 MB
large-graph-idle: DOM nodes 0
large-graph-idle: event listeners 0
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 13ms
large-graph-pan: layout count 0
large-graph-pan: style recalc count 71
large-graph-pan: task duration 1031ms
large-graph-pan: script duration 572ms
large-graph-pan: TBT 0ms
large-graph-pan: heap used 88.4 MB
large-graph-pan: DOM nodes 0
large-graph-pan: event listeners 0
large-graph-zoom: avg frame time 17ms
large-graph-zoom: p95 frame time 17ms
large-graph-zoom: layout duration 15ms
large-graph-zoom: style recalc duration 14ms
large-graph-zoom: layout count 60
large-graph-zoom: style recalc count 74
large-graph-zoom: task duration 1103ms
large-graph-zoom: script duration 549ms
large-graph-zoom: TBT 0ms
large-graph-zoom: heap used 84.9 MB
large-graph-zoom: DOM nodes 24
large-graph-zoom: event listeners 0
legacy-node-drag: avg frame time 17ms
legacy-node-drag: p95 frame time 17ms
legacy-node-drag: layout duration 0ms
legacy-node-drag: style recalc duration 8ms
legacy-node-drag: layout count 0
legacy-node-drag: style recalc count 48
legacy-node-drag: task duration 1226ms
legacy-node-drag: script duration 652ms
legacy-node-drag: TBT 0ms
legacy-node-drag: heap used 68.2 MB
legacy-node-drag: DOM nodes 0
legacy-node-drag: event listeners 180
minimap-idle: avg frame time 17ms
minimap-idle: p95 frame time 17ms
minimap-idle: layout duration 0ms
minimap-idle: style recalc duration 3ms
minimap-idle: layout count 0
minimap-idle: style recalc count 9
minimap-idle: task duration 279ms
minimap-idle: script duration 20ms
minimap-idle: TBT 0ms
minimap-idle: heap used 75.4 MB
minimap-idle: DOM nodes 0
minimap-idle: event listeners 0
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 6ms
subgraph-dom-widget-clipping: layout count 0
subgraph-dom-widget-clipping: style recalc count 49
subgraph-dom-widget-clipping: task duration 274ms
subgraph-dom-widget-clipping: script duration 96ms
subgraph-dom-widget-clipping: TBT 0ms
subgraph-dom-widget-clipping: heap used 55.1 MB
subgraph-dom-widget-clipping: DOM nodes 0
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 3ms
subgraph-idle: layout count 0
subgraph-idle: style recalc count 12
subgraph-idle: task duration 232ms
subgraph-idle: script duration 5ms
subgraph-idle: TBT 0ms
subgraph-idle: heap used 67.8 MB
subgraph-idle: DOM nodes 0
subgraph-idle: event listeners 0
subgraph-mouse-sweep: avg frame time 17ms
subgraph-mouse-sweep: p95 frame time 17ms
subgraph-mouse-sweep: layout duration 5ms
subgraph-mouse-sweep: style recalc duration 16ms
subgraph-mouse-sweep: layout count 16
subgraph-mouse-sweep: style recalc count 75
subgraph-mouse-sweep: task duration 478ms
subgraph-mouse-sweep: script duration 82ms
subgraph-mouse-sweep: TBT 0ms
subgraph-mouse-sweep: heap used 61.3 MB
subgraph-mouse-sweep: DOM nodes 0
subgraph-mouse-sweep: event listeners 0
subgraph-transition-enter: avg frame time 19ms
subgraph-transition-enter: p95 frame time 17ms
subgraph-transition-enter: layout duration 9ms
subgraph-transition-enter: style recalc duration 19ms
subgraph-transition-enter: layout count 5
subgraph-transition-enter: style recalc count 18
subgraph-transition-enter: task duration 566ms
subgraph-transition-enter: script duration 19ms
subgraph-transition-enter: TBT 58ms
subgraph-transition-enter: heap used 85.9 MB
subgraph-transition-enter: DOM nodes 14227
subgraph-transition-enter: event listeners 2463
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 41ms
viewport-pan-sweep: layout count 0
viewport-pan-sweep: style recalc count 251
viewport-pan-sweep: task duration 3686ms
viewport-pan-sweep: script duration 1930ms
viewport-pan-sweep: TBT 0ms
viewport-pan-sweep: heap used 72.2 MB
viewport-pan-sweep: DOM nodes 0
viewport-pan-sweep: event listeners 0
vue-large-graph-idle: avg frame time 19ms
vue-large-graph-idle: p95 frame time 25ms
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 10147ms
vue-large-graph-idle: script duration 142ms
vue-large-graph-idle: TBT 0ms
vue-large-graph-idle: heap used 173.2 MB
vue-large-graph-idle: DOM nodes -3045
vue-large-graph-idle: event listeners -14915
vue-large-graph-pan: avg frame time 26ms
vue-large-graph-pan: p95 frame time 50ms
vue-large-graph-pan: layout duration 0ms
vue-large-graph-pan: style recalc duration 13ms
vue-large-graph-pan: layout count 0
vue-large-graph-pan: style recalc count 66
vue-large-graph-pan: task duration 13777ms
vue-large-graph-pan: script duration 606ms
vue-large-graph-pan: TBT 0ms
vue-large-graph-pan: heap used 175.2 MB
vue-large-graph-pan: DOM nodes -3045
vue-large-graph-pan: event listeners -14915
vue-node-resize-workload: avg frame time 24ms
vue-node-resize-workload: p95 frame time 50ms
vue-node-resize-workload: layout duration 19ms
vue-node-resize-workload: style recalc duration 50ms
vue-node-resize-workload: layout count 20
vue-node-resize-workload: style recalc count 20
vue-node-resize-workload: task duration 3886ms
vue-node-resize-workload: script duration 60ms
vue-node-resize-workload: TBT 0ms
vue-node-resize-workload: heap used 207.7 MB
vue-node-resize-workload: DOM nodes 0
vue-node-resize-workload: event listeners 0
vue-zoom-out-idle: avg frame time 19ms
vue-zoom-out-idle: p95 frame time 33ms
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 5161ms
vue-zoom-out-idle: script duration 76ms
vue-zoom-out-idle: TBT 0ms
vue-zoom-out-idle: heap used 178.4 MB
vue-zoom-out-idle: DOM nodes -3046
vue-zoom-out-idle: event listeners -14915
workflow-execution: avg frame time 17ms
workflow-execution: p95 frame time 17ms
workflow-execution: layout duration 1ms
workflow-execution: style recalc duration 9ms
workflow-execution: layout count 4
workflow-execution: style recalc count 7
workflow-execution: task duration 56ms
workflow-execution: script duration 6ms
workflow-execution: TBT 0ms
workflow-execution: heap used 59.4 MB
workflow-execution: DOM nodes 115
workflow-execution: event listeners 17
agent-composer-empty-conversation-typing: avg frame time 17ms
agent-composer-empty-conversation-typing: p95 frame time 17ms
agent-composer-empty-conversation-typing: layout duration 17ms
agent-composer-empty-conversation-typing: style recalc duration 68ms
agent-composer-empty-conversation-typing: layout count 76
agent-composer-empty-conversation-typing: style recalc count 78
agent-composer-empty-conversation-typing: task duration 332ms
agent-composer-empty-conversation-typing: script duration 106ms
agent-composer-empty-conversation-typing: TBT 0ms
agent-composer-empty-conversation-typing: heap used 81.7 MB
agent-composer-empty-conversation-typing: DOM nodes 76
agent-composer-empty-conversation-typing: event listeners 876
agent-composer-long-conversation-typing: avg frame time 17ms
agent-composer-long-conversation-typing: p95 frame time 17ms
agent-composer-long-conversation-typing: layout duration 23ms
agent-composer-long-conversation-typing: style recalc duration 188ms
agent-composer-long-conversation-typing: layout count 76
agent-composer-long-conversation-typing: style recalc count 78
agent-composer-long-conversation-typing: task duration 667ms
agent-composer-long-conversation-typing: script duration 166ms
agent-composer-long-conversation-typing: TBT 0ms
agent-composer-long-conversation-typing: heap used 105.1 MB
agent-composer-long-conversation-typing: DOM nodes 76
agent-composer-long-conversation-typing: event listeners 876
Raw data
{
  "timestamp": "2026-10-22T13:31:47.158Z",
  "gitSha": "1605103a675d2882174074b7f4c8644a22617c8b",
  "branch": "christian-byrne/pm2033-cloud-156",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2017.9630000000088,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 2.695000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 239.753,
      "heapDeltaBytes": 754472,
      "heapUsedBytes": 67223784,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 5.080999999999995,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666115702479342,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-idle",
      "durationMs": 2005.5169999999976,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 3.4749999999999996,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 240.507,
      "heapDeltaBytes": 1308828,
      "heapUsedBytes": 70471948,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 5.195999999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66611570247934,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1673.7380000000144,
      "styleRecalcs": 71,
      "styleRecalcDurationMs": 15.274,
      "layouts": 12,
      "layoutDurationMs": 4.01,
      "taskDurationMs": 467.44,
      "heapDeltaBytes": -2294444,
      "heapUsedBytes": 66280112,
      "domNodes": 0,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 97.47899999999998,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66534653465347,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1728.4820000000423,
      "styleRecalcs": 74,
      "styleRecalcDurationMs": 16.479,
      "layouts": 12,
      "layoutDurationMs": 4.488,
      "taskDurationMs": 519.389,
      "heapDeltaBytes": -2166028,
      "heapUsedBytes": 65248172,
      "domNodes": 0,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 111.605,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.667307692307688,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1719.3080000000123,
      "styleRecalcs": 30,
      "styleRecalcDurationMs": 7.805999999999998,
      "layouts": 6,
      "layoutDurationMs": 1.1650000000000003,
      "taskDurationMs": 212.73,
      "heapDeltaBytes": 4162800,
      "heapUsedBytes": 72169892,
      "domNodes": 53,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 8.471,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66601941747573,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1705.8949999999982,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 8.534,
      "layouts": 6,
      "layoutDurationMs": 1.2760000000000002,
      "taskDurationMs": 208.03999999999996,
      "heapDeltaBytes": 3820232,
      "heapUsedBytes": 72913312,
      "domNodes": 53,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 8.681999999999995,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665048543689323,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 510.54099999998925,
      "styleRecalcs": 16,
      "styleRecalcDurationMs": 3.941,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 307.00000000000006,
      "heapDeltaBytes": -6675828,
      "heapUsedBytes": 61171360,
      "domNodes": 0,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 106.599,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.667741935483864,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 429.634999999962,
      "styleRecalcs": 14,
      "styleRecalcDurationMs": 3.067,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 283.44599999999997,
      "heapDeltaBytes": 15298712,
      "heapUsedBytes": 69912436,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 102.307,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665384615384603,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 910.4690000000062,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 505.75199999999995,
      "heapDeltaBytes": 10493084,
      "heapUsedBytes": 92512884,
      "domNodes": 0,
      "jsHeapTotalBytes": 1736704,
      "scriptDurationMs": 33.474999999999994,
      "eventListeners": 0,
      "totalBlockingTimeMs": 311,
      "frameDurationMs": 27.775757575757574,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 860.7409999999618,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 457.68699999999995,
      "heapDeltaBytes": 12092092,
      "heapUsedBytes": 93068120,
      "domNodes": 0,
      "jsHeapTotalBytes": 2785280,
      "scriptDurationMs": 34.068999999999996,
      "eventListeners": 0,
      "totalBlockingTimeMs": 262,
      "frameDurationMs": 26.26363636363636,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 703.1970000000172,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 276.8809999999999,
      "heapDeltaBytes": 12127420,
      "heapUsedBytes": 101090680,
      "domNodes": 0,
      "jsHeapTotalBytes": 528384,
      "scriptDurationMs": 101.30299999999998,
      "eventListeners": 0,
      "totalBlockingTimeMs": 95,
      "frameDurationMs": 21.21212121212121,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 721.5190000000007,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 291.7649999999998,
      "heapDeltaBytes": -14729500,
      "heapUsedBytes": 80968580,
      "domNodes": 0,
      "jsHeapTotalBytes": 266240,
      "scriptDurationMs": 99.034,
      "eventListeners": 0,
      "totalBlockingTimeMs": 121,
      "frameDurationMs": 21.567647058823535,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 5625.452999999993,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 1.5069999999999997,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4808.2609999999995,
      "heapDeltaBytes": 14161460,
      "heapUsedBytes": 82850712,
      "domNodes": -142,
      "jsHeapTotalBytes": -10620928,
      "scriptDurationMs": 3821.9979999999996,
      "eventListeners": -70,
      "totalBlockingTimeMs": 32,
      "frameDurationMs": 21.337500000000002,
      "p95FrameDurationMs": 33.399999999999636
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 5764.038999999968,
      "styleRecalcs": 4,
      "styleRecalcDurationMs": 1.2530000000000006,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5012.6720000000005,
      "heapDeltaBytes": 21809060,
      "heapUsedBytes": 100062240,
      "domNodes": -142,
      "jsHeapTotalBytes": -3280896,
      "scriptDurationMs": 4035.584,
      "eventListeners": -74,
      "totalBlockingTimeMs": 19,
      "frameDurationMs": 22.114230769230772,
      "p95FrameDurationMs": 33.40000000000009
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 5291.427999999996,
      "styleRecalcs": 6,
      "styleRecalcDurationMs": 1.7470000000000003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4630.201,
      "heapDeltaBytes": 1405336,
      "heapUsedBytes": 69289832,
      "domNodes": -142,
      "jsHeapTotalBytes": -10358784,
      "scriptDurationMs": 3669.535,
      "eventListeners": -70,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 21.1324,
      "p95FrameDurationMs": 33.399999999999636
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 5176.535999999998,
      "styleRecalcs": 3,
      "styleRecalcDurationMs": 0.8959999999999992,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4491.854,
      "heapDeltaBytes": -9173604,
      "heapUsedBytes": 68878916,
      "domNodes": -143,
      "jsHeapTotalBytes": -8261632,
      "scriptDurationMs": 3571.4359999999997,
      "eventListeners": -82,
      "totalBlockingTimeMs": 4,
      "frameDurationMs": 20.748995983935743,
      "p95FrameDurationMs": 33.399999999999636
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2010.0490000000377,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 2.593999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 267.54299999999995,
      "heapDeltaBytes": 14907116,
      "heapUsedBytes": 88326800,
      "domNodes": 0,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 21.769999999999996,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665289256198346,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2010.6269999999995,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 3.136999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 294.344,
      "heapDeltaBytes": -11235056,
      "heapUsedBytes": 68365616,
      "domNodes": 0,
      "jsHeapTotalBytes": 36864,
      "scriptDurationMs": 22.891999999999996,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666115702479335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2098.2650000000262,
      "styleRecalcs": 70,
      "styleRecalcDurationMs": 12.289,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1012.27,
      "heapDeltaBytes": 10934340,
      "heapUsedBytes": 89716092,
      "domNodes": 0,
      "jsHeapTotalBytes": 1048576,
      "scriptDurationMs": 557.4950000000001,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666400000000003,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2149.5200000000523,
      "styleRecalcs": 71,
      "styleRecalcDurationMs": 13.703999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1050.2720000000002,
      "heapDeltaBytes": 7673776,
      "heapUsedBytes": 95725548,
      "domNodes": 0,
      "jsHeapTotalBytes": 1048576,
      "scriptDurationMs": 586.681,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665625000000002,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3086.6660000000365,
      "styleRecalcs": 74,
      "styleRecalcDurationMs": 14.100999999999999,
      "layouts": 60,
      "layoutDurationMs": 14.604000000000001,
      "taskDurationMs": 1104.558,
      "heapDeltaBytes": 5791928,
      "heapUsedBytes": 96632760,
      "domNodes": 24,
      "jsHeapTotalBytes": 823296,
      "scriptDurationMs": 556.053,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665945945945946,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3110.1360000000113,
      "styleRecalcs": 74,
      "styleRecalcDurationMs": 13.907,
      "layouts": 60,
      "layoutDurationMs": 14.65,
      "taskDurationMs": 1102.3110000000001,
      "heapDeltaBytes": 5954632,
      "heapUsedBytes": 81369204,
      "domNodes": 24,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 542.855,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2138.20400000003,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 7.888000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1224.866,
      "heapDeltaBytes": 3292916,
      "heapUsedBytes": 71558168,
      "domNodes": 0,
      "jsHeapTotalBytes": 1572864,
      "scriptDurationMs": 661.6730000000001,
      "eventListeners": 180,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665625,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2173.0289999999854,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 7.639999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1226.3120000000001,
      "heapDeltaBytes": -16081352,
      "heapUsedBytes": 71385248,
      "domNodes": 0,
      "jsHeapTotalBytes": 1347584,
      "scriptDurationMs": 641.389,
      "eventListeners": 180,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665384615384614,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "minimap-idle",
      "durationMs": 2003.678999999977,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 2.2430000000000003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 264.59,
      "heapDeltaBytes": -9535584,
      "heapUsedBytes": 80112876,
      "domNodes": 0,
      "jsHeapTotalBytes": -225280,
      "scriptDurationMs": 16.602000000000004,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665289256198346,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2004.6590000000037,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 2.7810000000000006,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 292.939,
      "heapDeltaBytes": -10499796,
      "heapUsedBytes": 78117020,
      "domNodes": 0,
      "jsHeapTotalBytes": -225280,
      "scriptDurationMs": 24.345999999999993,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66611570247934,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 433.7600000000066,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 6.519,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 283.37100000000004,
      "heapDeltaBytes": -11543164,
      "heapUsedBytes": 57902264,
      "domNodes": 0,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 98.85900000000001,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665384615384603,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 398.05999999998676,
      "styleRecalcs": 49,
      "styleRecalcDurationMs": 5.9289999999999985,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 264.201,
      "heapDeltaBytes": -11827776,
      "heapUsedBytes": 57636992,
      "domNodes": 0,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 94.045,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2007.9569999999762,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 3.6869999999999994,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 236.08599999999996,
      "heapDeltaBytes": 1529168,
      "heapUsedBytes": 70754036,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 5.396000000000002,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666115702479335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2009.7640000000183,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 2.928,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 228.885,
      "heapDeltaBytes": 1156944,
      "heapUsedBytes": 71461408,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 4.778,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66611570247934,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1680.168999999978,
      "styleRecalcs": 75,
      "styleRecalcDurationMs": 15.978,
      "layouts": 16,
      "layoutDurationMs": 5.329,
      "taskDurationMs": 467.3349999999999,
      "heapDeltaBytes": -5830352,
      "heapUsedBytes": 64942220,
      "domNodes": 0,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 80.48700000000001,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666336633663366,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1679.234000000008,
      "styleRecalcs": 75,
      "styleRecalcDurationMs": 16.113000000000003,
      "layouts": 16,
      "layoutDurationMs": 5.41,
      "taskDurationMs": 488.56699999999995,
      "heapDeltaBytes": -5819940,
      "heapUsedBytes": 63632692,
      "domNodes": 0,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 82.686,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666336633663366,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 800.8839999999964,
      "styleRecalcs": 18,
      "styleRecalcDurationMs": 18.894999999999996,
      "layouts": 5,
      "layoutDurationMs": 8.845999999999998,
      "taskDurationMs": 565.5150000000001,
      "heapDeltaBytes": -664668,
      "heapUsedBytes": 90116536,
      "domNodes": 14227,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 19.189999999999998,
      "eventListeners": 2463,
      "totalBlockingTimeMs": 58,
      "frameDurationMs": 19.049999999999986,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8103.852000000017,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 40.225,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3629.6130000000003,
      "heapDeltaBytes": -19133144,
      "heapUsedBytes": 69069908,
      "domNodes": 0,
      "jsHeapTotalBytes": 823296,
      "scriptDurationMs": 1910.438,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665843621399176,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8237.167999999998,
      "styleRecalcs": 251,
      "styleRecalcDurationMs": 41.214999999999996,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3742.1689999999994,
      "heapDeltaBytes": 9578976,
      "heapUsedBytes": 82414668,
      "domNodes": 0,
      "jsHeapTotalBytes": 749568,
      "scriptDurationMs": 1950.3500000000001,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.699797160243406,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 11569.581000000027,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 10536.701,
      "heapDeltaBytes": -30840812,
      "heapUsedBytes": 182501580,
      "domNodes": -3045,
      "jsHeapTotalBytes": 10833920,
      "scriptDurationMs": 153.74500000000003,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 19.87319587628866,
      "p95FrameDurationMs": 33.399999999999636
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 10534.57800000001,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9756.820000000002,
      "heapDeltaBytes": -46691340,
      "heapUsedBytes": 180658928,
      "domNodes": -3045,
      "jsHeapTotalBytes": 2990080,
      "scriptDurationMs": 130.514,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.702521008403366,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 14189.66499999999,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 12.876999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 13783.419,
      "heapDeltaBytes": -50332476,
      "heapUsedBytes": 174862468,
      "domNodes": -3045,
      "jsHeapTotalBytes": 9752576,
      "scriptDurationMs": 596.081,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 25.877636363636366,
      "p95FrameDurationMs": 50
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 14113.528999999971,
      "styleRecalcs": 67,
      "styleRecalcDurationMs": 12.755000000000017,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 13770.941,
      "heapDeltaBytes": -37352612,
      "heapUsedBytes": 192480016,
      "domNodes": -3045,
      "jsHeapTotalBytes": 5959680,
      "scriptDurationMs": 616.375,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 26.64052532833021,
      "p95FrameDurationMs": 50.100000000000364
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 3944.4090000000074,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 49.596000000000004,
      "layouts": 20,
      "layoutDurationMs": 19.210000000000004,
      "taskDurationMs": 3827.007,
      "heapDeltaBytes": 1170244,
      "heapUsedBytes": 218538344,
      "domNodes": 0,
      "jsHeapTotalBytes": 786432,
      "scriptDurationMs": 59.263,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 23.001169590643272,
      "p95FrameDurationMs": 50
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 4102.155000000039,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 51.237,
      "layouts": 20,
      "layoutDurationMs": 19.247999999999994,
      "taskDurationMs": 3945.483,
      "heapDeltaBytes": 935328,
      "heapUsedBytes": 217140032,
      "domNodes": 0,
      "jsHeapTotalBytes": 1310720,
      "scriptDurationMs": 61.224000000000004,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 24.403571428571436,
      "p95FrameDurationMs": 50
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 5774.547999999982,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5281.238,
      "heapDeltaBytes": -28025552,
      "heapUsedBytes": 186555664,
      "domNodes": -3045,
      "jsHeapTotalBytes": 15347712,
      "scriptDurationMs": 79.648,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 19.547118644067794,
      "p95FrameDurationMs": 33.400000000001455
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 5528.516999999965,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5040.310999999999,
      "heapDeltaBytes": -23646804,
      "heapUsedBytes": 187578464,
      "domNodes": -3046,
      "jsHeapTotalBytes": 16351232,
      "scriptDurationMs": 73.334,
      "eventListeners": -14915,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 18.382392026578067,
      "p95FrameDurationMs": 33.30000000000109
    },
    {
      "name": "workflow-execution",
      "durationMs": 87.79800000002069,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 10.371000000000002,
      "layouts": 4,
      "layoutDurationMs": 1.4559999999999997,
      "taskDurationMs": 60.493,
      "heapDeltaBytes": 3898896,
      "heapUsedBytes": 62516888,
      "domNodes": 115,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 7.69,
      "eventListeners": 17,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "workflow-execution",
      "durationMs": 89.51799999999821,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 8.267999999999999,
      "layouts": 3,
      "layoutDurationMs": 1.253,
      "taskDurationMs": 52.251999999999995,
      "heapDeltaBytes": 3720124,
      "heapUsedBytes": 62010448,
      "domNodes": 114,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 4.316000000000001,
      "eventListeners": 17,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.660000000000036,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "agent-composer-empty-conversation-typing",
      "durationMs": 368.28400000001693,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 68.313,
      "layouts": 76,
      "layoutDurationMs": 16.404,
      "taskDurationMs": 324.081,
      "heapDeltaBytes": 12668492,
      "heapUsedBytes": 85301300,
      "domNodes": 76,
      "jsHeapTotalBytes": 8388608,
      "scriptDurationMs": 100.985,
      "eventListeners": 876,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66818181818181,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "agent-composer-empty-conversation-typing",
      "durationMs": 373.61699999996745,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 67.128,
      "layouts": 76,
      "layoutDurationMs": 17.410999999999998,
      "taskDurationMs": 338.974,
      "heapDeltaBytes": 12895708,
      "heapUsedBytes": 86106856,
      "domNodes": 76,
      "jsHeapTotalBytes": 9699328,
      "scriptDurationMs": 110.501,
      "eventListeners": 876,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66956521739131,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "agent-composer-long-conversation-typing",
      "durationMs": 723.8879999999881,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 185.15400000000002,
      "layouts": 76,
      "layoutDurationMs": 22.200999999999997,
      "taskDurationMs": 687.038,
      "heapDeltaBytes": 3383676,
      "heapUsedBytes": 111481092,
      "domNodes": 76,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 177.024,
      "eventListeners": 876,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.665116279069775,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "agent-composer-long-conversation-typing",
      "durationMs": 675.2170000000888,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 191.387,
      "layouts": 76,
      "layoutDurationMs": 22.808,
      "taskDurationMs": 647.076,
      "heapDeltaBytes": -17631512,
      "heapUsedBytes": 109005428,
      "domNodes": 76,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 154.307,
      "eventListeners": 876,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66585365853659,
      "p95FrameDurationMs": 16.699999999999818
    }
  ]
}

🔬 E2E Coverage

Line coverage: 64.2%

Coverage totals
Metric Covered Total Pct
Lines 54422 84731 64.2% 🟡
Functions 0 0 — —
Branches 0 0 — —
Top 10 files by uncovered lines
File Coverage Missed
src/LGraphCanvas.ts 66.4% 1180
src/LGraphNode.ts 70.6% 387
src/platform/workspace/stores/billingOperationStore.ts 7.7% 374
src/renderer/extensions/layerEditor/composables/useLayerEditorSession.ts 40.1% 332
src/core/billing/operationLifecycle.ts 1.3% 303
src/platform/workspace/stores/teamWorkspaceStore.ts 39.2% 284
src/LGraph.ts 79.0% 272
src/scripts/app.ts 73.0% 255
src/core/webSessionIdentity.ts 3.3% 231
src/scripts/pnginfo.ts 20.7% 222

🎭 Playwright: ✅ 2205 passed, 0 failed

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

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 10/22/2026, 01:23:48 PM UTC

Links

🧩 Custom Nodes Ecosystem Matrix: ✅ Passed

Executes the frontend JS of every registry pack that ships any, against this change, in both renderers. The eight ecosystem-matrix shard checks are a harness self-test; the pack verdict is matrix-verdict.

Stage Result What a failure here means
pin-status success Informational. It never fails the build; it warns when the corpus snapshot is over 30 days old.
corpus success Infrastructure: the pack mirror could not be fetched, validated or cached. Not your diff.
shards success Harness integrity, not pack breakage. A shard only checks that every built spec wrote its row; vitest's own exit code is deliberately ignored because pack code leaks unhandled rejections.
verdicts success The population verdict per renderer. This is the stage that judges packs. Exit 1 is FAIL; exit 2 is withheld — rows were missing, so nothing was measured, which is not the same as your change breaking packs.
detection-proofs success The instrument self-test: the matrix must FAIL on a deliberately poisoned corpus. A failure here means the gate cannot be trusted this run, in either direction.

On a pin-bump PR, a red gate means the ecosystem moved — not that your diff broke something. That is what the bump PR is for. Outside a pin bump or a cold rebuild of the unpinned tail, a red means the diff.

Note the corpus size and the executed count are different numbers, and the verdict is against the executed count: roughly 3,100 of ~5,100 packs ship no extension-shaped JS and are skipped.

Reproduce locally
# build one shard's fixture, then run it
python3 scripts/registry-census/build_matrix.py --shard 1/4
MATRIX_RENDERER=vue MATRIX_VUE=1 \
  npx vitest run --config vitest.matrix.config.mts

Full docs: scripts/registry-census/README.md

🌾 Fallow: ✅ Passed

Fallow audits the diff for duplication, complexity and dead code. It gates on new findings only, so when the audit completes, a red is something this PR introduced or moved — never inherited backlog. A red can also mean the audit itself did not finish; the details below say which happened.

No new findings in the changed files.

Reproduce locally
# the base the gate compared against
npx fallow audit --root . --quiet --format json \
  --changed-since 1029906e8b2e8bf71cefa61080bcf1d8f0066ff8

Full docs: ADR-DEVEX-LINT-0015

@github-actions
github-actions Bot requested a review from thedatalife October 22, 2026 13:22
@github-actions github-actions Bot added the risk:high PR risk grade (advisory shadow check; grader-owned) label Oct 22, 2026
@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@              Coverage Diff              @@
##             cloud/1.56   #21685   +/-   ##
=============================================
  Coverage              ?   84.59%           
=============================================
  Files                 ?     2578           
  Lines                 ?   147294           
  Branches              ?    36781           
=============================================
  Hits                  ?   124605           
  Misses                ?    22302           
  Partials              ?      387           
Flag Coverage Δ
e2e 64.31% <ø> (?)
unit 83.14% <100.00%> (?)

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

Files with missing lines Coverage Δ
...ensions/agent/composables/agent/useAgentSession.ts 98.98% <100.00%> (ø)
...rkbench/extensions/agent/schemas/agentApiSchema.ts 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@christian-byrne christian-byrne left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Backport review (author-side; GitHub refuses self-approval, so this is a COMMENT).

  • Diff matches #19901: git range-diff shows an identical patch; only one hunk's context differs (releaseSendGate() on cloud/1.56). No follow-up fix to this code exists on main.
  • Red on the parent, green here: the new spec fails at stopButton "element(s) not found" with cloud/1.56's useAgentSession.ts, passes at this head.
  • Exact-head CI green and the target-aware merge-ready gate passed at 84d7000c79 on cloud/1.56@1029906e8b.
Full context for agent readers
  • Authority: standing Agent backport review/merge grant for the current cloud/1.56 train (program release-backport authority, Christian 2026-09-16, current-train corrections 2026-10-09/10).
  • Applicability: source 526ab68265 is on cloud/1.57, absent from cloud/1.56; no other cloud/1.56 carrier for #19901 exists. Cloud Agent only, so no core/1.56 carrier.
  • PM-2103 send-failure telemetry on cloud/1.56 is preserved: reportError tags are untouched; only the user-facing notice copy changes on a reattached refusal.
  • Local harness, --project=cloud, backend :8188: agentSendRefusedByRunningTurn red on parent (Stop not visible, 20s), then it plus agentTurnSurvivesRefresh and agentTurnSurvivesSocketDrop 9/9 passed at this head.
  • Hosted: playwright-video-new-tests (cloud) ran this spec, 1 passed; all four cloud shards, lint-and-format, test, e2e-status success. codecov/patch (informational) hung in progress for 40 min; re-running upload-e2e-coverage / package made Codecov post a fresh success (100% of modified lines covered).
  • No human reviews, no review threads, no objections.

@christian-byrne
christian-byrne merged commit a208a07 into cloud/1.56 Oct 22, 2026
204 checks passed
@christian-byrne
christian-byrne deleted the christian-byrne/pm2033-cloud-156 branch October 22, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:high PR risk grade (advisory shadow check; grader-owned)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant