Repository navigation
[backport cloud/1.58] fix(agent): catalog-mismatch toast says the next message rebuilds the workflow (FE-3493) - #22044
Conversation
… workflow (FE-3493) (#21677) The catalog-mismatch sync toast now says what to do: a node changed, your canvas is untouched, and your next message lets the agent rebuild its copy. Before, it said "incompatible node catalog" with no way forward. Fixes https://linear.app/comfyorg/issue/FE-3493 - Copy in `src/locales/en/main.json`, plus a one-line change to `formatWorkflowSyncErrorDetail` so the host's raw message is not appended for this code (see the note on the frozen directory below) - The existing refused-follower e2e case now runs for `catalog_mismatch` too, and checks the toast copy and that the next message carries the canvas - The formatter no longer appends the host's raw message for `catalog_mismatch`, so the toast does not end by saying retrying will not help <details><summary>Full context for agent readers</summary> **Why the promise is true.** A `catalog_mismatch` `doc_subscribed` refusal is permanent (`PERMANENT_DOC_SUBSCRIBE_REFUSAL_CODES`), so the follower latches `terminal = 'refused'` and the toast fires once. `AgentPanelRoot.targetWorkflowDraft()` only withholds the canvas when the bound canvas may be stale, and a refusal does not mark it stale, so the next prompt posts the draft. On the server, `ensureDoc` treats a `catalog_mismatch` like a stale schema and re-mints from a posted canvas (`reseedCauseOf` / `canReseedStaleSchema` in `services/agent/internal/loop/crdt.go`). That re-mint is shared by hosted and local. On local, Comfy-Org/cloud#14302 (ING-213, merged 2026-10-19) is what makes the subscribe refuse in the first place, so a local build that shows this toast already has the recovery. **Hosted wording.** Hosted subscribe is a state-vector resync without a catalog check, so hosted rarely or never sends this refusal on subscribe. If it does, the same re-mint applies, so the copy still holds. **When the rebuild still fails closed** (server side, unchanged): the prompt targets a workflow the panel is not showing (no canvas posted), the canvas is empty, or `AGENT_STALE_SCHEMA_RESEED=off`. The copy says the next message *sends your canvas so the agent can rebuild*, which is what this frontend guarantees. It does not promise the server outcome. **The raw host message, resolved in this PR (was listed here as a leftover).** `formatWorkflowSyncErrorDetail` used to append the host's raw `message` for every code. For this one the local agent sends `the document was minted under a different widget catalog; retrying will not help` (`catalogMismatchMessage`, `services/agent/local/internal/server/events_doc_frames.go:349`), and the hosted path sends the identical string from `socketDocCode` (`services/agent/server/events_doc_frames.go:637`), so the rendered toast ended by contradicting the new copy. The formatter now returns the localized detail alone for `catalog_mismatch` and still appends the raw message for every other code, which covers both senders where a cloud-side wording change would have needed two edits. Raised by @dante01yoon in review and fixed in `391fb7ad`. **Note on the frozen directory.** That fix edits `src/workbench/extensions/agent/crdt/`, which the informal remote-ops/ECS freeze names. It is copy formatting rather than remote-apply or reconcile work, and the refactor the freeze was protecting landed in #18700, but flagging it so a reviewer can weigh it rather than discover it. **Verification** - `pnpm exec playwright test browser_tests/tests/agent/boundCanvasReadPath.spec.ts --project=cloud`: 4 passed locally (DISTRIBUTION=cloud dev server, own ComfyUI container) - Mutation check: pointing `catalog_mismatch` at the generic detail key fails the new case on the detail assertion; reverted - Mutation check on the formatter: reverting the `catalog_mismatch` arm turns `workflowSyncErrorDetail.test.ts` red and fails the browser case on the rendered toast text; reverted - Toast rendered and inspected: title plus the full new detail, no truncation - `pnpm typecheck:browser`, oxfmt, oxlint green (pre-commit + pre-push) Other locales are regenerated by the i18n workflow, as usual. </details> (cherry picked from commit 740e609)
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords: 2
Please check the settings in the CodeRabbit UI or the
|
📦 Bundle Size
⚡ Performance Report
Scenario timings
Absolute values
Raw data{
"timestamp": "2026-10-27T03:49:19.597Z",
"gitSha": "5a6f932e774f1603e858497975d6cbfb95b74f95",
"branch": "backport-21677-to-cloud-1.58",
"measurements": [
{
"name": "canvas-idle",
"durationMs": 2036.9699999999966,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.0190000000000006,
"layouts": 9,
"layoutDurationMs": 1.8969999999999998,
"taskDurationMs": 468.07300000000004,
"heapDeltaBytes": -2230356,
"heapUsedBytes": 88515144,
"domNodes": -206,
"jsHeapTotalBytes": 3203072,
"scriptDurationMs": 8.629,
"eventListeners": -130,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666393442622947,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-idle",
"durationMs": 2024.8300000000086,
"styleRecalcs": 10,
"styleRecalcDurationMs": 2.4299999999999993,
"layouts": 10,
"layoutDurationMs": 2.454,
"taskDurationMs": 469.89699999999993,
"heapDeltaBytes": -253088,
"heapUsedBytes": 90812104,
"domNodes": -200,
"jsHeapTotalBytes": 1630208,
"scriptDurationMs": 8.443,
"eventListeners": -130,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1726.8499999999847,
"styleRecalcs": 72,
"styleRecalcDurationMs": 10.742,
"layouts": 10,
"layoutDurationMs": 2.265,
"taskDurationMs": 745.669,
"heapDeltaBytes": 1995300,
"heapUsedBytes": 91767992,
"domNodes": -180,
"jsHeapTotalBytes": 3465216,
"scriptDurationMs": 119.566,
"eventListeners": -130,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666346153846153,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1752.4029999999584,
"styleRecalcs": 75,
"styleRecalcDurationMs": 10.844,
"layouts": 10,
"layoutDurationMs": 2.1599999999999997,
"taskDurationMs": 761.1249999999999,
"heapDeltaBytes": -7137620,
"heapUsedBytes": 81391628,
"domNodes": -200,
"jsHeapTotalBytes": -1671168,
"scriptDurationMs": 119.81000000000002,
"eventListeners": -130,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665714285714284,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1724.0130000000136,
"styleRecalcs": 18,
"styleRecalcDurationMs": 4.989000000000001,
"layouts": 12,
"layoutDurationMs": 2.842,
"taskDurationMs": 363.83,
"heapDeltaBytes": 1677852,
"heapUsedBytes": 106457260,
"domNodes": 47,
"jsHeapTotalBytes": 7602176,
"scriptDurationMs": 11.891,
"eventListeners": 37,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667307692307688,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1708.1269999999904,
"styleRecalcs": 18,
"styleRecalcDurationMs": 4.884,
"layouts": 12,
"layoutDurationMs": 3.306,
"taskDurationMs": 335.75,
"heapDeltaBytes": -379324,
"heapUsedBytes": 90304376,
"domNodes": 47,
"jsHeapTotalBytes": 8126464,
"scriptDurationMs": 10.725999999999999,
"eventListeners": 37,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66601941747573,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "dom-widget-clipping",
"durationMs": 544.936000000007,
"styleRecalcs": 15,
"styleRecalcDurationMs": 2.8729999999999998,
"layouts": 10,
"layoutDurationMs": 2.475,
"taskDurationMs": 359.088,
"heapDeltaBytes": 4128300,
"heapUsedBytes": 103384424,
"domNodes": 0,
"jsHeapTotalBytes": 7864320,
"scriptDurationMs": 138.50099999999998,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "dom-widget-clipping",
"durationMs": 588.9470000000188,
"styleRecalcs": 13,
"styleRecalcDurationMs": 2.307,
"layouts": 9,
"layoutDurationMs": 2.036,
"taskDurationMs": 429.324,
"heapDeltaBytes": 146228,
"heapUsedBytes": 89157116,
"domNodes": 0,
"jsHeapTotalBytes": 3407872,
"scriptDurationMs": 132.10399999999998,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.668571428571443,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1105.8199999999943,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 732.0029999999999,
"heapDeltaBytes": 9640312,
"heapUsedBytes": 128496376,
"domNodes": -170,
"jsHeapTotalBytes": 15814656,
"scriptDurationMs": 51.117,
"eventListeners": -168,
"totalBlockingTimeMs": 464,
"frameDurationMs": 32.35294117647057,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1050.4719999999566,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 711.7470000000001,
"heapDeltaBytes": -15862908,
"heapUsedBytes": 102734708,
"domNodes": -230,
"jsHeapTotalBytes": 15794176,
"scriptDurationMs": 49.77899999999999,
"eventListeners": -168,
"totalBlockingTimeMs": 370,
"frameDurationMs": 28.37567567567569,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 785.3690000000029,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 359.1169999999999,
"heapDeltaBytes": -3064756,
"heapUsedBytes": 97912772,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 118.85499999999999,
"eventListeners": 0,
"totalBlockingTimeMs": 161,
"frameDurationMs": 23.038235294117626,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 781.3580000000115,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 389.227,
"heapDeltaBytes": -3713460,
"heapUsedBytes": 97144716,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 113.47100000000002,
"eventListeners": 0,
"totalBlockingTimeMs": 155,
"frameDurationMs": 23.03823529411765,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "extension-clean-combined-draw",
"durationMs": 8353.747999999996,
"styleRecalcs": 1,
"styleRecalcDurationMs": 0.29999999999999993,
"layouts": 1,
"layoutDurationMs": 0.29200000000000015,
"taskDurationMs": 7441.851,
"heapDeltaBytes": 47303676,
"heapUsedBytes": 150929928,
"domNodes": -296,
"jsHeapTotalBytes": 36495360,
"scriptDurationMs": 5750.098999999999,
"eventListeners": -130,
"totalBlockingTimeMs": 146,
"frameDurationMs": 24.365204678362574,
"p95FrameDurationMs": 33.399999999999636
},
{
"name": "extension-clean-combined-draw",
"durationMs": 7387.332000000015,
"styleRecalcs": 1,
"styleRecalcDurationMs": 0.0430000000000005,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 6540.3460000000005,
"heapDeltaBytes": 24952576,
"heapUsedBytes": 128824276,
"domNodes": -296,
"jsHeapTotalBytes": 26796032,
"scriptDurationMs": 5001.902999999999,
"eventListeners": -130,
"totalBlockingTimeMs": 58,
"frameDurationMs": 24.31155115511551,
"p95FrameDurationMs": 33.400000000000546
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 7931.718999999986,
"styleRecalcs": 3,
"styleRecalcDurationMs": 0.7169999999999997,
"layouts": 3,
"layoutDurationMs": 1.199,
"taskDurationMs": 7116.822000000001,
"heapDeltaBytes": -3014200,
"heapUsedBytes": 118333528,
"domNodes": -276,
"jsHeapTotalBytes": 6443008,
"scriptDurationMs": 5594.141,
"eventListeners": -130,
"totalBlockingTimeMs": 43,
"frameDurationMs": 24.185975609756095,
"p95FrameDurationMs": 33.400000000000546
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 7206.957000000046,
"styleRecalcs": 3,
"styleRecalcDurationMs": 0.9580000000000005,
"layouts": 2,
"layoutDurationMs": 0.585,
"taskDurationMs": 6453.6230000000005,
"heapDeltaBytes": 13832492,
"heapUsedBytes": 123216920,
"domNodes": -276,
"jsHeapTotalBytes": 23388160,
"scriptDurationMs": 4964.761,
"eventListeners": -130,
"totalBlockingTimeMs": 82,
"frameDurationMs": 24.406101694915254,
"p95FrameDurationMs": 33.40000000000009
},
{
"name": "large-combo-open",
"durationMs": 185.0689999999986,
"styleRecalcs": 23,
"styleRecalcDurationMs": 13.875000000000002,
"layouts": 13,
"layoutDurationMs": 3.444,
"taskDurationMs": 143.95799999999997,
"heapDeltaBytes": 13333696,
"heapUsedBytes": 118963776,
"domNodes": 917,
"jsHeapTotalBytes": 1572864,
"scriptDurationMs": 7.219000000000001,
"eventListeners": 196,
"totalBlockingTimeMs": 0,
"frameDurationMs": 20.366666666666635,
"p95FrameDurationMs": 50
},
{
"name": "large-combo-open",
"durationMs": 192.23299999998744,
"styleRecalcs": 23,
"styleRecalcDurationMs": 14.827,
"layouts": 12,
"layoutDurationMs": 3.1950000000000003,
"taskDurationMs": 143.29099999999997,
"heapDeltaBytes": 13130708,
"heapUsedBytes": 121218392,
"domNodes": 917,
"jsHeapTotalBytes": 786432,
"scriptDurationMs": 8.543999999999997,
"eventListeners": 196,
"totalBlockingTimeMs": 1,
"frameDurationMs": 22.912499999999966,
"p95FrameDurationMs": 66.59999999999991
},
{
"name": "large-graph-idle",
"durationMs": 2026.1580000000095,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.0620000000000003,
"layouts": 9,
"layoutDurationMs": 1.936,
"taskDurationMs": 530.8860000000001,
"heapDeltaBytes": -285920,
"heapUsedBytes": 110274860,
"domNodes": -296,
"jsHeapTotalBytes": -1515520,
"scriptDurationMs": 31.211999999999996,
"eventListeners": -130,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-idle",
"durationMs": 2043.4799999999882,
"styleRecalcs": 10,
"styleRecalcDurationMs": 2.1309999999999993,
"layouts": 9,
"layoutDurationMs": 1.8529999999999998,
"taskDurationMs": 535.432,
"heapDeltaBytes": 788724,
"heapUsedBytes": 111509140,
"domNodes": -296,
"jsHeapTotalBytes": -1085440,
"scriptDurationMs": 29.261999999999997,
"eventListeners": -130,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66585365853659,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-pan",
"durationMs": 2186.942999999985,
"styleRecalcs": 69,
"styleRecalcDurationMs": 8.555,
"layouts": 8,
"layoutDurationMs": 1.6179999999999999,
"taskDurationMs": 1324.443,
"heapDeltaBytes": -25988136,
"heapUsedBytes": 87867568,
"domNodes": -296,
"jsHeapTotalBytes": -622592,
"scriptDurationMs": 635.5630000000001,
"eventListeners": -128,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66641221374046,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "large-graph-pan",
"durationMs": 2155.4759999999646,
"styleRecalcs": 69,
"styleRecalcDurationMs": 10.677,
"layouts": 8,
"layoutDurationMs": 1.7409999999999999,
"taskDurationMs": 1173.954,
"heapDeltaBytes": 1272540,
"heapUsedBytes": 112849764,
"domNodes": -296,
"jsHeapTotalBytes": -503808,
"scriptDurationMs": 633.561,
"eventListeners": -128,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.796093750000004,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-zoom",
"durationMs": 3338.815000000011,
"styleRecalcs": 72,
"styleRecalcDurationMs": 9.530000000000001,
"layouts": 66,
"layoutDurationMs": 9.850000000000001,
"taskDurationMs": 1491.5919999999999,
"heapDeltaBytes": -8608668,
"heapUsedBytes": 104647608,
"domNodes": -272,
"jsHeapTotalBytes": -860160,
"scriptDurationMs": 642.5000000000001,
"eventListeners": -130,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.749748743718595,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "large-graph-zoom",
"durationMs": 3330.818000000022,
"styleRecalcs": 72,
"styleRecalcDurationMs": 9.511000000000001,
"layouts": 65,
"layoutDurationMs": 9.644,
"taskDurationMs": 1453.1429999999998,
"heapDeltaBytes": -12242284,
"heapUsedBytes": 101360088,
"domNodes": -272,
"jsHeapTotalBytes": 1404928,
"scriptDurationMs": 633.696,
"eventListeners": -130,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.6655,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "legacy-node-drag",
"durationMs": 2246.374000000003,
"styleRecalcs": 48,
"styleRecalcDurationMs": 5.545000000000001,
"layouts": 6,
"layoutDurationMs": 1.4950000000000003,
"taskDurationMs": 1410.532,
"heapDeltaBytes": 12630472,
"heapUsedBytes": 127531224,
"domNodes": 0,
"jsHeapTotalBytes": 6975488,
"scriptDurationMs": 749.6560000000001,
"eventListeners": 182,
"totalBlockingTimeMs": 0,
"frameDurationMs": 17.04545454545455,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "legacy-node-drag",
"durationMs": 2342.6599999999667,
"styleRecalcs": 47,
"styleRecalcDurationMs": 5.735,
"layouts": 8,
"layoutDurationMs": 1.861,
"taskDurationMs": 1526.4420000000002,
"heapDeltaBytes": 16759496,
"heapUsedBytes": 120681440,
"domNodes": 0,
"jsHeapTotalBytes": 3829760,
"scriptDurationMs": 748.128,
"eventListeners": 182,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.78489208633093,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "minimap-idle",
"durationMs": 2037.429999999972,
"styleRecalcs": 7,
"styleRecalcDurationMs": 1.7619999999999996,
"layouts": 6,
"layoutDurationMs": 1.518,
"taskDurationMs": 436.19399999999996,
"heapDeltaBytes": 86724,
"heapUsedBytes": 113523464,
"domNodes": -296,
"jsHeapTotalBytes": -991232,
"scriptDurationMs": 29.319000000000006,
"eventListeners": -130,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2031.2289999999393,
"styleRecalcs": 8,
"styleRecalcDurationMs": 2.0439999999999996,
"layouts": 8,
"layoutDurationMs": 1.9129999999999998,
"taskDurationMs": 565.049,
"heapDeltaBytes": -2790608,
"heapUsedBytes": 102342880,
"domNodes": -276,
"jsHeapTotalBytes": -2981888,
"scriptDurationMs": 33.062,
"eventListeners": -130,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 608.5289999999759,
"styleRecalcs": 48,
"styleRecalcDurationMs": 5.3469999999999995,
"layouts": 10,
"layoutDurationMs": 2.4870000000000005,
"taskDurationMs": 428.626,
"heapDeltaBytes": -719812,
"heapUsedBytes": 92010344,
"domNodes": 0,
"jsHeapTotalBytes": 8126464,
"scriptDurationMs": 124.20800000000001,
"eventListeners": 46,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667567567567573,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 515.7920000000331,
"styleRecalcs": 47,
"styleRecalcDurationMs": 4.781000000000001,
"layouts": 10,
"layoutDurationMs": 2.2680000000000002,
"taskDurationMs": 308.2180000000001,
"heapDeltaBytes": 494356,
"heapUsedBytes": 91590448,
"domNodes": 0,
"jsHeapTotalBytes": 8650752,
"scriptDurationMs": 118.646,
"eventListeners": 46,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.664516129032254,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "subgraph-idle",
"durationMs": 2026.0719999999992,
"styleRecalcs": 10,
"styleRecalcDurationMs": 2.267,
"layouts": 10,
"layoutDurationMs": 2.052,
"taskDurationMs": 454.757,
"heapDeltaBytes": 3487464,
"heapUsedBytes": 94394124,
"domNodes": -218,
"jsHeapTotalBytes": 1630208,
"scriptDurationMs": 7.0329999999999995,
"eventListeners": -176,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "subgraph-idle",
"durationMs": 2024.8409999999808,
"styleRecalcs": 10,
"styleRecalcDurationMs": 2.3289999999999997,
"layouts": 10,
"layoutDurationMs": 2.165,
"taskDurationMs": 479.02,
"heapDeltaBytes": -15206732,
"heapUsedBytes": 91107060,
"domNodes": -198,
"jsHeapTotalBytes": 2523136,
"scriptDurationMs": 6.836000000000002,
"eventListeners": -176,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.6655737704918,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1944.3959999999834,
"styleRecalcs": 85,
"styleRecalcDurationMs": 11.927,
"layouts": 10,
"layoutDurationMs": 1.7770000000000001,
"taskDurationMs": 871.831,
"heapDeltaBytes": 21218684,
"heapUsedBytes": 116238580,
"domNodes": 0,
"jsHeapTotalBytes": 8912896,
"scriptDurationMs": 84.26,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666664,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1677.3890000000051,
"styleRecalcs": 75,
"styleRecalcDurationMs": 11.408000000000001,
"layouts": 9,
"layoutDurationMs": 1.915,
"taskDurationMs": 520.174,
"heapDeltaBytes": -8647108,
"heapUsedBytes": 91985492,
"domNodes": 0,
"jsHeapTotalBytes": 6815744,
"scriptDurationMs": 81.703,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666336633663366,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-transition-enter",
"durationMs": 1334.985999999958,
"styleRecalcs": 19,
"styleRecalcDurationMs": 19.419,
"layouts": 5,
"layoutDurationMs": 11.828000000000001,
"taskDurationMs": 833.312,
"heapDeltaBytes": 35589176,
"heapUsedBytes": 135487608,
"domNodes": 16030,
"jsHeapTotalBytes": 16654336,
"scriptDurationMs": 24.383000000000003,
"eventListeners": 3244,
"totalBlockingTimeMs": 98,
"frameDurationMs": 19.012676056338023,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "viewport-pan-sweep",
"durationMs": 8156.596000000036,
"styleRecalcs": 249,
"styleRecalcDurationMs": 29.025000000000002,
"layouts": 8,
"layoutDurationMs": 1.642,
"taskDurationMs": 4189.856,
"heapDeltaBytes": 3799516,
"heapUsedBytes": 113569272,
"domNodes": -296,
"jsHeapTotalBytes": 20480,
"scriptDurationMs": 2166.451,
"eventListeners": -128,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666053169734152,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "viewport-pan-sweep",
"durationMs": 8243.263999999954,
"styleRecalcs": 251,
"styleRecalcDurationMs": 30.387999999999998,
"layouts": 9,
"layoutDurationMs": 1.941,
"taskDurationMs": 4329.8769999999995,
"heapDeltaBytes": -21917804,
"heapUsedBytes": 91161904,
"domNodes": -276,
"jsHeapTotalBytes": -110592,
"scriptDurationMs": 2212.107,
"eventListeners": -128,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666060606060604,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "vue-large-graph-idle",
"durationMs": 19939.31500000002,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 19181.099,
"heapDeltaBytes": 845352,
"heapUsedBytes": 301767772,
"domNodes": -3344,
"jsHeapTotalBytes": 17289216,
"scriptDurationMs": 310.524,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 35.526334519572956,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "vue-large-graph-idle",
"durationMs": 13836.361000000012,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 13171.410000000002,
"heapDeltaBytes": 1918884,
"heapUsedBytes": 302742372,
"domNodes": -3344,
"jsHeapTotalBytes": 24104960,
"scriptDurationMs": 189.614,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 24.54014209591474,
"p95FrameDurationMs": 33.400000000001455
},
{
"name": "vue-large-graph-pan",
"durationMs": 17082.933000000026,
"styleRecalcs": 123,
"styleRecalcDurationMs": 14.957999999999998,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 16732.296000000002,
"heapDeltaBytes": -32159572,
"heapUsedBytes": 287552700,
"domNodes": -3344,
"jsHeapTotalBytes": 25939968,
"scriptDurationMs": 730.25,
"eventListeners": -651,
"totalBlockingTimeMs": 12,
"frameDurationMs": 32.13935969868173,
"p95FrameDurationMs": 66.69999999999709
},
{
"name": "vue-large-graph-pan",
"durationMs": 16913.292999999954,
"styleRecalcs": 109,
"styleRecalcDurationMs": 13.023000000000007,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 16571.581000000002,
"heapDeltaBytes": -5980440,
"heapUsedBytes": 313522640,
"domNodes": -3344,
"jsHeapTotalBytes": 5947392,
"scriptDurationMs": 700.5310000000001,
"eventListeners": -651,
"totalBlockingTimeMs": 4,
"frameDurationMs": 31.5285447761194,
"p95FrameDurationMs": 66.60000000000218
},
{
"name": "vue-node-resize-workload",
"durationMs": 5114.733999999999,
"styleRecalcs": 20,
"styleRecalcDurationMs": 47.16600000000001,
"layouts": 20,
"layoutDurationMs": 20.529999999999994,
"taskDurationMs": 4942.485,
"heapDeltaBytes": -22046288,
"heapUsedBytes": 279563088,
"domNodes": -3069,
"jsHeapTotalBytes": 28823552,
"scriptDurationMs": 81.615,
"eventListeners": -591,
"totalBlockingTimeMs": 0,
"frameDurationMs": 28.931460674157304,
"p95FrameDurationMs": 50.100000000000364
},
{
"name": "vue-node-resize-workload",
"durationMs": 5213.505000000055,
"styleRecalcs": 20,
"styleRecalcDurationMs": 50.459,
"layouts": 20,
"layoutDurationMs": 20.894999999999996,
"taskDurationMs": 5049.384000000001,
"heapDeltaBytes": -6675648,
"heapUsedBytes": 298375172,
"domNodes": -307,
"jsHeapTotalBytes": 19124224,
"scriptDurationMs": 77.903,
"eventListeners": -7,
"totalBlockingTimeMs": 0,
"frameDurationMs": 29.979310344827585,
"p95FrameDurationMs": 50.100000000000364
},
{
"name": "vue-zoom-out-idle",
"durationMs": 9930.455999999993,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 9544.002,
"heapDeltaBytes": -8752224,
"heapUsedBytes": 294889368,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 132.046,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 35.348398576512444,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "vue-zoom-out-idle",
"durationMs": 9708.886000000006,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 9389.448,
"heapDeltaBytes": 23307632,
"heapUsedBytes": 304330608,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 123.01399999999995,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 34.03333333333333,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "workflow-execution",
"durationMs": 438.8209999999617,
"styleRecalcs": 11,
"styleRecalcDurationMs": 7.18,
"layouts": 11,
"layoutDurationMs": 2.775,
"taskDurationMs": 97.96900000000001,
"heapDeltaBytes": 7100812,
"heapUsedBytes": 97715560,
"domNodes": 98,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 8.666999999999998,
"eventListeners": 1,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.669230769230772,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "workflow-execution",
"durationMs": 464.3519999999626,
"styleRecalcs": 15,
"styleRecalcDurationMs": 9.575999999999999,
"layouts": 12,
"layoutDurationMs": 3.7409999999999997,
"taskDurationMs": 113.76,
"heapDeltaBytes": -13182292,
"heapUsedBytes": 89235880,
"domNodes": 95,
"jsHeapTotalBytes": 4456448,
"scriptDurationMs": 9.195,
"eventListeners": 1,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66785714285715,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 284.73799999994753,
"styleRecalcs": 5,
"styleRecalcDurationMs": 0.62,
"layouts": 76,
"layoutDurationMs": 12.086,
"taskDurationMs": 249.509,
"heapDeltaBytes": 10268428,
"heapUsedBytes": 97964600,
"domNodes": 4,
"jsHeapTotalBytes": 9961472,
"scriptDurationMs": 116.648,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.664705882352926,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 309.4540000000734,
"styleRecalcs": 5,
"styleRecalcDurationMs": 0.5609999999999999,
"layouts": 76,
"layoutDurationMs": 12.267999999999999,
"taskDurationMs": 260.234,
"heapDeltaBytes": 10450108,
"heapUsedBytes": 100883408,
"domNodes": 4,
"jsHeapTotalBytes": 9961472,
"scriptDurationMs": 125.083,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 360.8669999999847,
"styleRecalcs": 5,
"styleRecalcDurationMs": 1.65,
"layouts": 76,
"layoutDurationMs": 11.293,
"taskDurationMs": 320.8589999999999,
"heapDeltaBytes": -878808,
"heapUsedBytes": 115876824,
"domNodes": 4,
"jsHeapTotalBytes": 1048576,
"scriptDurationMs": 122.664,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66363636363634,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 373.9909999999327,
"styleRecalcs": 5,
"styleRecalcDurationMs": 3.112,
"layouts": 76,
"layoutDurationMs": 10.913,
"taskDurationMs": 335.246,
"heapDeltaBytes": -1001480,
"heapUsedBytes": 115830212,
"domNodes": 4,
"jsHeapTotalBytes": 524288,
"scriptDurationMs": 120.106,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66818181818181,
"p95FrameDurationMs": 16.699999999999818
}
]
}🔬 E2E Coverage
🎭 Playwright: ✅ 2975 passed, 0 failed · 2 flaky📊 Browser Reports
🎨 Storybook: ✅ Built — View Storybook🧩 Custom Nodes Ecosystem Matrix: 🟡 Withheld — could not measureExecutes the frontend JS of every registry pack that ships any, against this change, in both renderers. The eight
Findings and check detailsThe matrix runs on same-repository version-bump PRs with relevant changes, main-branch pushes, and manual dispatches. This candidate does not qualify, so every expensive stage was 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: ✅ PassedFallow 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. Findings and check detailsNo new findings in the changed files. Reproduce locally# the base the gate compared against
npx fallow audit --root . --quiet --format json \
--changed-since 0be950f5bb5637513f862aa8d9cb75ed6d001252
Full docs: ADR-DEVEX-LINT-0015 🏛️ Architecture: ✅ PassedFindings and check detailsWarnings (124)
Reproduce locallypnpm architecture:checkFull docs: Frontend domain catalog |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## cloud/1.58 #22044 +/- ##
=============================================
Coverage ? 85.89%
=============================================
Files ? 2591
Lines ? 135100
Branches ? 38808
=============================================
Hits ? 116049
Misses ? 18634
Partials ? 417
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Verdict: Faithful backport of #21677 to cloud/1.58 with the browser helper adapted to the target branch.
I compared this head with merged source 740e609, which is on current main. The locale, formatter, and formatter regression test have identical changed lines. The browser adaptation keeps the refusal helper inside the spec, where cloud/1.58 already defines it, and preserves the target's existing turn-settling helpers instead of importing main's newer panel methods. Both refusal cases retain the source's exact toast assertions and next-message canvas checks. No source behavior or test case is dropped.
With the target's locked dependencies, I ran 183 tests across the formatter, document-lifecycle, and follower suites. Browser typechecking, targeted type-aware lint, and whitespace checks passed. The browser spec passed all four cases with retries disabled on a warm server; its initial run passed both refusal cases but timed out during app setup for an unchanged case while Vite scanned dependencies. The branch's required lint-and-format, test, and e2e-status checks passed. The advisory coverage-packaging job failed because lcov rejected duplicate inner_clicked records in unchanged LGraphCanvas.ts; the coverage merger is also unchanged by this PR. I am not treating that packaging failure as a backport divergence.
Backport of #21677 to
cloud/1.58.Full context for agent readers
Auto-backport failed on conflicts in test files only (
browser_tests/tests/agent/agentPanelMocks.ts,browser_tests/tests/agent/boundCanvasReadPath.spec.ts).src/locales/en/main.json,workflowSyncErrorDetail.tsand its unit test applied cleanly.Tests: Unit test for the toast text, plus the existing refused-follower e2e case now also runs for
catalog_mismatch(the e2e helper lives in the spec on this branch, so it was adapted there;agentPanelMocks.tsis unchanged).vitest run workflowSyncErrorDetail.test.ts: 7 passed locally;pnpm typecheck:browserpassed on the 1.58 branch.Why backport: local agent users on ComfyUI stable run older frontend trains. The local agent fix this copy describes (Comfy-Org/cloud#14302) ships in the local agent package, so without this they see the old dead-end message.