Repository navigation
[backport cloud/1.57] FE-2434 feat(workspace): a deployment switcher under the workspace selector - #21048
Conversation
…lector (#19965) ## Summary A member of a workspace on Comfy Cloud can choose which of the workspace's developer-platform deployments this browser runs on, from a switcher under the workspace selector, and a workspace owner can set the workspace default. A link of the form `<cloud>/?workspace=<workspace id>&deployment=<deployment id>` opens the Cloud editor already running on that deployment, for the Developer Platform's **Open in ComfyUI** button and shared links. Ref [FE-2434](https://linear.app/comfyorg/issue/FE-2434), [BE-20294](https://linear.app/comfyorg/issue/BE-20294) (parent [BE-17141](https://linear.app/comfyorg/issue/BE-17141)), [BE-19175](https://linear.app/comfyorg/issue/BE-19175). Folds in #20832. Folds in #21009. Backend: cloud#9390 (pick), cloud#9645 (listing), cloud#10901 (workspace default). **Why**: studios on the Developer Platform (Contender's agencies first) want the Cloud editor with their own custom nodes and models. Today a Cloud workspace only runs on Comfy's own node set; the backend can already run a picked browser's jobs on a workspace deployment (cloud#9390, #9578, run on staging), and this is the control that makes the pick. ## Changes - **What**: - `DeploymentSwitcher.vue` (with `DeploymentSwitcherList`, `DeploymentSwitcherRow`, `DeploymentSwitcherOwnerFooter` and `useDeploymentLabels`) under the workspace selector in the user popover. It shows "Running on: Comfy Cloud", or the picked deployment's name, and lists the workspace's deployments, each row titled by the deployment's name, with its Build name and the Release it runs now, its id and its status in the caption. A deployment the server returns without a name is titled by its Build name and Release version, and by its short id only when those are absent too. Picking one, or going back to Comfy Cloud, reloads the editor, because the pick changes what the editor is served at boot (the node catalog and the packs' JavaScript). - A pick names a deployment, not a Release: a deployment keeps its URL while its owner updates it to new Releases (stable deployments), so a pick follows those updates. - Workspace default: when this browser has no pick of its own it follows the default ("Workspace default"); a browser that picked can return to it ("Use the workspace default"); an owner sets or clears the default from the footer. The page reloads only when the change alters what this browser runs on. - `workspaceApi`: GET `/api/workspaces/{id}/deployments`, PUT/DELETE `/api/workspaces/{id}/deployment` (DELETE with `?follow=workspace`), PUT/DELETE `/api/workspaces/{id}/default-deployment`; the shared automock gains the five methods. - `deploymentPickStore` and `deploymentPickState` hold the listing and the pick state; the pick itself is an HttpOnly cookie the editor never reads. - The switcher renders nothing until the listing answers, and nothing when the account is outside the rollout (`cloud_on_customer_build_enabled`), so nobody sees a control they cannot use. A refused pick shows the server's message as a toast and reloads nothing. - Deployment link (`?workspace=<id>&deployment=<id>`), handled by the new `useDeploymentUrlLoader`, run first among the URL action loaders because with `?deployment` it handles `?workspace` too: - In the named workspace: the two params are removed from the address, then the deployment is picked with the switcher's own request (`deploymentPickStore.pickFromLink`), which reloads the editor onto the deployment's nodes. A link to the deployment this browser already runs on just removes the params. - In another workspace: the editor switches to the named workspace first, with the workspace switcher's own switch, and keeps the link for the page that loads after the switch, which then picks. A switch happens at most once per link, so a switch that does not land never reloads again; if the browser cannot save that marker, the link stays in the current workspace and shows a refusal. - Refused: someone outside the workspace stays where they are, with a toast saying which workspace they are still in. A refused pick (account outside the rollout, a deployment that is gone or not the workspace's) shows the server's message as a toast; the params are removed and nothing changes. - Signed out: sign-in already returns to the full address, query included (`previousFullPath`); `deployment` is also stashed through the sign-in redirect the same way `workspace` is (`preservedQueryDefinitions`). - Not acted on: a link missing either value, a bare or repeated value, an API-key session, and non-Cloud builds. - Bounded: the first deployment listing and the pick each have the shared 45-second startup limit (the 30-second request deadline plus time for authorization). Past it the editor continues startup, asks the user to reopen the link, and cancels the pending request; a late listing, authorization or response cannot pick or reload. Picks are serialized, so a later listing cannot start a competing pick. Three new strings under `deploymentSwitcher`. - **Dependencies**: none new. `WorkspaceDeployment`, `WorkspaceDeploymentList` and `PickWorkspaceDeploymentRequest` come from `@comfyorg/ingest-types`. ## Review Focus - The reload on pick: the editor's node catalog and pack JavaScript are fixed at boot, so a pick reloads instead of swapping in place. - Hidden until the listing answers and outside the rollout. - The deployment link's order against the `?workspace=` loader, and its 45-second startup limit. ## Screenshots (if applicable) Screenshots: in the review ask's Slack thread, and on [FE-2434](https://linear.app/comfyorg/issue/FE-2434) (the switcher, seven states, taken on staging from this branch) and [BE-20294](https://linear.app/comfyorg/issue/BE-20294) (the deployment link, four states, from the local end-to-end test). Design follow-up: once this is on staging, Willie and Pablo use it there and iterate on it; their changes come as follow-up PRs ([BE-20668](https://linear.app/comfyorg/issue/BE-20668)). Try it: [Storybook, Components/DeploymentSwitcher](https://cdd7cb47.comfy-storybook.pages.dev/?path=/story/components-deploymentswitcher--default) (built from this PR's head; the stories cover a pick, the workspace default, a gone default, no deployments, hidden build names and named deployments). Against staging: `pnpm dev:cloud:staging` from this branch, then the account menu, under the workspace selector. For the link, sign in and open `http://localhost:5173/?workspace=<your team workspace id>&deployment=<a deployment id in that workspace>`: with `cloud_on_customer_build_enabled` on for the workspace the editor reloads onto the deployment; with it off you get the refusal toast and nothing changes. Tested: unit tests for the switcher, its labels, its store, the boot listing, the missing-model scan and the deployment link (`useDeploymentUrlLoader`, `pickFromLink`, the URL action order, the sign-in stash, the startup limit and cancellation); the link end to end locally; on staging from this branch (real deployment listing, a pick and its reload, setting and clearing the workspace default, a node the Release lacks). Not run: the browser (Playwright) suite locally; CI runs it.
📦 Bundle Size
⚡ Performance Report
Absolute values
Raw data{
"timestamp": "2026-10-15T00:10:05.826Z",
"gitSha": "b582741d843024ead4f337f4141e987d5245500f",
"branch": "backport-19965-to-cloud-1.57",
"measurements": [
{
"name": "canvas-idle",
"durationMs": 2037.9770000000121,
"styleRecalcs": 9,
"styleRecalcDurationMs": 3.136,
"layouts": 9,
"layoutDurationMs": 3.3049999999999997,
"taskDurationMs": 557.774,
"heapDeltaBytes": 3522856,
"heapUsedBytes": 78621948,
"domNodes": 0,
"jsHeapTotalBytes": 11010048,
"scriptDurationMs": 11.709999999999997,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-idle",
"durationMs": 2008.3140000000412,
"styleRecalcs": 8,
"styleRecalcDurationMs": 2.7219999999999995,
"layouts": 8,
"layoutDurationMs": 2.6600000000000006,
"taskDurationMs": 559.721,
"heapDeltaBytes": 22183556,
"heapUsedBytes": 87918124,
"domNodes": 0,
"jsHeapTotalBytes": 3407872,
"scriptDurationMs": 12.556999999999999,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665289256198346,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1726.6349999999875,
"styleRecalcs": 73,
"styleRecalcDurationMs": 15.508000000000001,
"layouts": 10,
"layoutDurationMs": 2.7070000000000003,
"taskDurationMs": 766.222,
"heapDeltaBytes": 15610084,
"heapUsedBytes": 81469324,
"domNodes": 0,
"jsHeapTotalBytes": 4194304,
"scriptDurationMs": 175.477,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666346153846156,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1987.626999999975,
"styleRecalcs": 84,
"styleRecalcDurationMs": 16.198999999999998,
"layouts": 9,
"layoutDurationMs": 2.757,
"taskDurationMs": 1077.4589999999998,
"heapDeltaBytes": -7264468,
"heapUsedBytes": 68196808,
"domNodes": 0,
"jsHeapTotalBytes": 8912896,
"scriptDurationMs": 170.81099999999998,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665546218487393,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1724.7140000000059,
"styleRecalcs": 19,
"styleRecalcDurationMs": 6.271,
"layouts": 11,
"layoutDurationMs": 3.2630000000000003,
"taskDurationMs": 435.601,
"heapDeltaBytes": -137816,
"heapUsedBytes": 75011252,
"domNodes": 47,
"jsHeapTotalBytes": 11796480,
"scriptDurationMs": 14.205000000000002,
"eventListeners": 37,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665384615384614,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1755.7630000000017,
"styleRecalcs": 20,
"styleRecalcDurationMs": 7.128000000000001,
"layouts": 11,
"layoutDurationMs": 3.7580000000000005,
"taskDurationMs": 314.49100000000004,
"heapDeltaBytes": 18796720,
"heapUsedBytes": 84652104,
"domNodes": 47,
"jsHeapTotalBytes": 3145728,
"scriptDurationMs": 13.880999999999997,
"eventListeners": 37,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.664761904761903,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "dom-widget-clipping",
"durationMs": 723.5729999999876,
"styleRecalcs": 13,
"styleRecalcDurationMs": 3.104999999999999,
"layouts": 9,
"layoutDurationMs": 3.0959999999999996,
"taskDurationMs": 516.5,
"heapDeltaBytes": 2832552,
"heapUsedBytes": 77317248,
"domNodes": 0,
"jsHeapTotalBytes": 8388608,
"scriptDurationMs": 177.137,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66744186046512,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "dom-widget-clipping",
"durationMs": 653.9699999999584,
"styleRecalcs": 13,
"styleRecalcDurationMs": 2.8269999999999995,
"layouts": 8,
"layoutDurationMs": 2.716,
"taskDurationMs": 462.25899999999996,
"heapDeltaBytes": 26083420,
"heapUsedBytes": 91952332,
"domNodes": 0,
"jsHeapTotalBytes": 4456448,
"scriptDurationMs": 177.702,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 17.105263157894736,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1225.3929999999968,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 925.4610000000001,
"heapDeltaBytes": 558628,
"heapUsedBytes": 81151748,
"domNodes": -192,
"jsHeapTotalBytes": 13639680,
"scriptDurationMs": 66.01700000000001,
"eventListeners": -106,
"totalBlockingTimeMs": 524,
"frameDurationMs": 32.881081081081064,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1225.1230000000533,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 922.238,
"heapDeltaBytes": 695824,
"heapUsedBytes": 80763480,
"domNodes": -192,
"jsHeapTotalBytes": 14163968,
"scriptDurationMs": 68.37700000000001,
"eventListeners": -106,
"totalBlockingTimeMs": 535,
"frameDurationMs": 32.88108108108109,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 858.2269999999994,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 496.5270000000004,
"heapDeltaBytes": -3162904,
"heapUsedBytes": 76577264,
"domNodes": 0,
"jsHeapTotalBytes": 266240,
"scriptDurationMs": 161.847,
"eventListeners": 0,
"totalBlockingTimeMs": 215,
"frameDurationMs": 25,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 860.7000000000653,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 512.9319999999997,
"heapDeltaBytes": -4459684,
"heapUsedBytes": 75316704,
"domNodes": 0,
"jsHeapTotalBytes": 266240,
"scriptDurationMs": 162.487,
"eventListeners": 0,
"totalBlockingTimeMs": 218,
"frameDurationMs": 24.76000000000001,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "extension-clean-combined-draw",
"durationMs": 11621.865000000014,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 10682.984999999999,
"heapDeltaBytes": -21227796,
"heapUsedBytes": 72758260,
"domNodes": -258,
"jsHeapTotalBytes": 10088448,
"scriptDurationMs": 8744.023000000001,
"eventListeners": -68,
"totalBlockingTimeMs": 1662,
"frameDurationMs": 32.00055096418733,
"p95FrameDurationMs": 66.69999999999982
},
{
"name": "extension-clean-combined-draw",
"durationMs": 11198.40499999998,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 10353.17,
"heapDeltaBytes": 4153048,
"heapUsedBytes": 91944812,
"domNodes": -258,
"jsHeapTotalBytes": 8777728,
"scriptDurationMs": 8517.978,
"eventListeners": -68,
"totalBlockingTimeMs": 1310,
"frameDurationMs": 31.548169014084507,
"p95FrameDurationMs": 50.100000000000364
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 10487.817000000006,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 9620.614000000001,
"heapDeltaBytes": -10707784,
"heapUsedBytes": 88015080,
"domNodes": -258,
"jsHeapTotalBytes": 12709888,
"scriptDurationMs": 8189.735000000001,
"eventListeners": -68,
"totalBlockingTimeMs": 1336,
"frameDurationMs": 31.8629179331307,
"p95FrameDurationMs": 50.100000000000364
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 9954.499999999938,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 9116.738,
"heapDeltaBytes": -22655984,
"heapUsedBytes": 71298224,
"domNodes": -258,
"jsHeapTotalBytes": 4059136,
"scriptDurationMs": 7368.102000000001,
"eventListeners": -68,
"totalBlockingTimeMs": 869,
"frameDurationMs": 31.04797507788162,
"p95FrameDurationMs": 50.099999999999454
},
{
"name": "large-combo-open",
"durationMs": 245.12300000003506,
"styleRecalcs": 24,
"styleRecalcDurationMs": 16.429,
"layouts": 11,
"layoutDurationMs": 3.481,
"taskDurationMs": 200.70099999999996,
"heapDeltaBytes": -7795088,
"heapUsedBytes": 79818492,
"domNodes": 917,
"jsHeapTotalBytes": 5242880,
"scriptDurationMs": 9.113999999999999,
"eventListeners": 195,
"totalBlockingTimeMs": 5,
"frameDurationMs": 25,
"p95FrameDurationMs": 99.89999999999964
},
{
"name": "large-combo-open",
"durationMs": 238.4550000000445,
"styleRecalcs": 25,
"styleRecalcDurationMs": 15.781,
"layouts": 11,
"layoutDurationMs": 3.213,
"taskDurationMs": 179.633,
"heapDeltaBytes": -8429132,
"heapUsedBytes": 79189152,
"domNodes": 917,
"jsHeapTotalBytes": 3932160,
"scriptDurationMs": 9.001,
"eventListeners": 195,
"totalBlockingTimeMs": 3,
"frameDurationMs": 21.209090909090925,
"p95FrameDurationMs": 66.69999999999982
},
{
"name": "large-graph-idle",
"durationMs": 2025.0619999999913,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.8910000000000005,
"layouts": 9,
"layoutDurationMs": 5.348,
"taskDurationMs": 528.9849999999999,
"heapDeltaBytes": -3443712,
"heapUsedBytes": 75389836,
"domNodes": -258,
"jsHeapTotalBytes": 2486272,
"scriptDurationMs": 35.962999999999994,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-idle",
"durationMs": 2055.0029999999424,
"styleRecalcs": 8,
"styleRecalcDurationMs": 2.6910000000000007,
"layouts": 8,
"layoutDurationMs": 3.1459999999999995,
"taskDurationMs": 694.918,
"heapDeltaBytes": -17294452,
"heapUsedBytes": 79231728,
"domNodes": -258,
"jsHeapTotalBytes": 4358144,
"scriptDurationMs": 36.68599999999999,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-pan",
"durationMs": 2222.855999999979,
"styleRecalcs": 67,
"styleRecalcDurationMs": 5.951,
"layouts": 6,
"layoutDurationMs": 1.572,
"taskDurationMs": 1563.522,
"heapDeltaBytes": -11495500,
"heapUsedBytes": 68483720,
"domNodes": -258,
"jsHeapTotalBytes": 3534848,
"scriptDurationMs": 848.4390000000001,
"eventListeners": -66,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66616541353383,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-pan",
"durationMs": 2602.632000000085,
"styleRecalcs": 67,
"styleRecalcDurationMs": 6.331999999999999,
"layouts": 6,
"layoutDurationMs": 1.5600000000000003,
"taskDurationMs": 1765.6680000000001,
"heapDeltaBytes": -12276556,
"heapUsedBytes": 68185384,
"domNodes": -258,
"jsHeapTotalBytes": 4059136,
"scriptDurationMs": 854.3389999999999,
"eventListeners": -66,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.772903225806452,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-zoom",
"durationMs": 3865.8300000000168,
"styleRecalcs": 71,
"styleRecalcDurationMs": 7.911000000000001,
"layouts": 65,
"layoutDurationMs": 11.079,
"taskDurationMs": 1822.762,
"heapDeltaBytes": 4536016,
"heapUsedBytes": 81424800,
"domNodes": -234,
"jsHeapTotalBytes": 2224128,
"scriptDurationMs": 799.139,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.73852813852814,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-zoom",
"durationMs": 3864.033999999947,
"styleRecalcs": 71,
"styleRecalcDurationMs": 8.008000000000001,
"layouts": 64,
"layoutDurationMs": 10.892000000000001,
"taskDurationMs": 1847.2679999999998,
"heapDeltaBytes": -14211808,
"heapUsedBytes": 84792096,
"domNodes": -234,
"jsHeapTotalBytes": 5668864,
"scriptDurationMs": 796.5640000000001,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.738095238095234,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "legacy-node-drag",
"durationMs": 2910.394999999994,
"styleRecalcs": 43,
"styleRecalcDurationMs": 4.907,
"layouts": 4,
"layoutDurationMs": 1.1829999999999996,
"taskDurationMs": 1828.604,
"heapDeltaBytes": 13961592,
"heapUsedBytes": 97086692,
"domNodes": 0,
"jsHeapTotalBytes": 7495680,
"scriptDurationMs": 995.6189999999999,
"eventListeners": 182,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.86046511627907,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "legacy-node-drag",
"durationMs": 2941.4970000000267,
"styleRecalcs": 45,
"styleRecalcDurationMs": 5.028000000000001,
"layouts": 5,
"layoutDurationMs": 1.1869999999999996,
"taskDurationMs": 1796.0720000000001,
"heapDeltaBytes": 13619544,
"heapUsedBytes": 96748788,
"domNodes": 0,
"jsHeapTotalBytes": 7233536,
"scriptDurationMs": 978.7880000000001,
"eventListeners": 182,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.761142857142858,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "minimap-idle",
"durationMs": 2024.6589999999856,
"styleRecalcs": 7,
"styleRecalcDurationMs": 2.097,
"layouts": 7,
"layoutDurationMs": 2.551,
"taskDurationMs": 507.2049999999999,
"heapDeltaBytes": -2525592,
"heapUsedBytes": 78173092,
"domNodes": -258,
"jsHeapTotalBytes": 4321280,
"scriptDurationMs": 36.416,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2043.3940000000348,
"styleRecalcs": 6,
"styleRecalcDurationMs": 2.1059999999999994,
"layouts": 6,
"layoutDurationMs": 2.2120000000000006,
"taskDurationMs": 680.5459999999999,
"heapDeltaBytes": -1890584,
"heapUsedBytes": 79792800,
"domNodes": -258,
"jsHeapTotalBytes": 4845568,
"scriptDurationMs": 35.336999999999996,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 659.134999999992,
"styleRecalcs": 48,
"styleRecalcDurationMs": 5.900999999999999,
"layouts": 10,
"layoutDurationMs": 3.075,
"taskDurationMs": 493.87800000000004,
"heapDeltaBytes": -1087460,
"heapUsedBytes": 76181908,
"domNodes": 0,
"jsHeapTotalBytes": 7864320,
"scriptDurationMs": 151.078,
"eventListeners": 46,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667499999999997,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 606.4039999999977,
"styleRecalcs": 47,
"styleRecalcDurationMs": 5.255000000000001,
"layouts": 9,
"layoutDurationMs": 2.969,
"taskDurationMs": 439.42100000000005,
"heapDeltaBytes": 19801620,
"heapUsedBytes": 86903732,
"domNodes": 0,
"jsHeapTotalBytes": 3670016,
"scriptDurationMs": 149.81,
"eventListeners": 46,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.663888888888877,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-idle",
"durationMs": 2018.5710000000086,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.9959999999999996,
"layouts": 8,
"layoutDurationMs": 2.955,
"taskDurationMs": 559.434,
"heapDeltaBytes": 22436420,
"heapUsedBytes": 89357012,
"domNodes": 0,
"jsHeapTotalBytes": 3932160,
"scriptDurationMs": 11.389000000000001,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66611570247934,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-idle",
"durationMs": 2019.270000000006,
"styleRecalcs": 8,
"styleRecalcDurationMs": 2.6559999999999997,
"layouts": 8,
"layoutDurationMs": 2.672,
"taskDurationMs": 561.633,
"heapDeltaBytes": 22481048,
"heapUsedBytes": 89872000,
"domNodes": 0,
"jsHeapTotalBytes": 3407872,
"scriptDurationMs": 11.306999999999999,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666115702479335,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1959.5030000000406,
"styleRecalcs": 86,
"styleRecalcDurationMs": 17.840000000000003,
"layouts": 10,
"layoutDurationMs": 2.896,
"taskDurationMs": 1066.791,
"heapDeltaBytes": 11718784,
"heapUsedBytes": 78445700,
"domNodes": 0,
"jsHeapTotalBytes": 4194304,
"scriptDurationMs": 118.151,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66610169491526,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1959.773000000041,
"styleRecalcs": 87,
"styleRecalcDurationMs": 18.432999999999996,
"layouts": 9,
"layoutDurationMs": 2.8499999999999996,
"taskDurationMs": 1075.521,
"heapDeltaBytes": -11353820,
"heapUsedBytes": 66297992,
"domNodes": 0,
"jsHeapTotalBytes": 8388608,
"scriptDurationMs": 116.90800000000002,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665254237288135,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "subgraph-transition-enter",
"durationMs": 1470.3230000000076,
"styleRecalcs": 18,
"styleRecalcDurationMs": 27.110000000000003,
"layouts": 5,
"layoutDurationMs": 14.304,
"taskDurationMs": 1149.881,
"heapDeltaBytes": 14083104,
"heapUsedBytes": 123087212,
"domNodes": 15953,
"jsHeapTotalBytes": 14553088,
"scriptDurationMs": 29.997000000000003,
"eventListeners": 3244,
"totalBlockingTimeMs": 158,
"frameDurationMs": 20.04324324324324,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "viewport-pan-sweep",
"durationMs": 8320.23700000002,
"styleRecalcs": 250,
"styleRecalcDurationMs": 19.686000000000003,
"layouts": 7,
"layoutDurationMs": 2.0370000000000004,
"taskDurationMs": 5318.4259999999995,
"heapDeltaBytes": 5080912,
"heapUsedBytes": 83453224,
"domNodes": -258,
"jsHeapTotalBytes": 4022272,
"scriptDurationMs": 2771.841,
"eventListeners": -66,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666064257028115,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "viewport-pan-sweep",
"durationMs": 8358.61699999998,
"styleRecalcs": 249,
"styleRecalcDurationMs": 19.882,
"layouts": 7,
"layoutDurationMs": 2.183,
"taskDurationMs": 5332.898,
"heapDeltaBytes": 9369940,
"heapUsedBytes": 88362116,
"domNodes": -258,
"jsHeapTotalBytes": 4022272,
"scriptDurationMs": 2720.211,
"eventListeners": -66,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.76613226452906,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "vue-large-graph-idle",
"durationMs": 23135.154,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 22563.754,
"heapDeltaBytes": -12249656,
"heapUsedBytes": 264254956,
"domNodes": -3330,
"jsHeapTotalBytes": 13881344,
"scriptDurationMs": 338.65500000000003,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 40.44143356643357,
"p95FrameDurationMs": 83.30000000000291
},
{
"name": "vue-large-graph-idle",
"durationMs": 23253.444000000058,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 22675.003,
"heapDeltaBytes": -41444028,
"heapUsedBytes": 259692048,
"domNodes": -3330,
"jsHeapTotalBytes": 12046336,
"scriptDurationMs": 361.045,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 39.87838765008577,
"p95FrameDurationMs": 83.30000000000109
},
{
"name": "vue-large-graph-pan",
"durationMs": 19764.212999999985,
"styleRecalcs": 150,
"styleRecalcDurationMs": 12.744000000000005,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 19352.530000000002,
"heapDeltaBytes": -19429412,
"heapUsedBytes": 275960432,
"domNodes": -3330,
"jsHeapTotalBytes": 19910656,
"scriptDurationMs": 810.681,
"eventListeners": -651,
"totalBlockingTimeMs": 22,
"frameDurationMs": 36.06916058394161,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "vue-large-graph-pan",
"durationMs": 27949.005000000056,
"styleRecalcs": 181,
"styleRecalcDurationMs": 16.526999999999987,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 27604.317000000003,
"heapDeltaBytes": -9069620,
"heapUsedBytes": 272610176,
"domNodes": -3330,
"jsHeapTotalBytes": 10211328,
"scriptDurationMs": 881.3219999999999,
"eventListeners": -651,
"totalBlockingTimeMs": 73,
"frameDurationMs": 51.28220183486239,
"p95FrameDurationMs": 100.10000000000218
},
{
"name": "vue-node-resize-workload",
"durationMs": 8465.643999999997,
"styleRecalcs": 20,
"styleRecalcDurationMs": 72.12500000000003,
"layouts": 20,
"layoutDurationMs": 23.692000000000004,
"taskDurationMs": 8324.508999999998,
"heapDeltaBytes": -23756000,
"heapUsedBytes": 271735892,
"domNodes": -3330,
"jsHeapTotalBytes": 20434944,
"scriptDurationMs": 134.104,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 46.775690607734816,
"p95FrameDurationMs": 100
},
{
"name": "vue-node-resize-workload",
"durationMs": 8252.463000000034,
"styleRecalcs": 20,
"styleRecalcDurationMs": 70.97700000000002,
"layouts": 20,
"layoutDurationMs": 22.804999999999993,
"taskDurationMs": 8124.251000000001,
"heapDeltaBytes": 5786760,
"heapUsedBytes": 287980536,
"domNodes": -3330,
"jsHeapTotalBytes": 23056384,
"scriptDurationMs": 123.83000000000001,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 46.702259887005646,
"p95FrameDurationMs": 100
},
{
"name": "vue-zoom-out-idle",
"durationMs": 8284.106999999949,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 7836.267,
"heapDeltaBytes": 86388,
"heapUsedBytes": 239146612,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 121.88799999999999,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 27.79530201342282,
"p95FrameDurationMs": 50.099999999998545
},
{
"name": "vue-zoom-out-idle",
"durationMs": 11468.147000000044,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 11252.082,
"heapDeltaBytes": -24225376,
"heapUsedBytes": 249591984,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 160.54800000000003,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 41.09784946236559,
"p95FrameDurationMs": 83.39999999999782
},
{
"name": "workflow-execution",
"durationMs": 144.8129999999992,
"styleRecalcs": 11,
"styleRecalcDurationMs": 12.539000000000001,
"layouts": 9,
"layoutDurationMs": 3.6130000000000004,
"taskDurationMs": 102.66600000000001,
"heapDeltaBytes": -10768092,
"heapUsedBytes": 68637692,
"domNodes": 120,
"jsHeapTotalBytes": 9437184,
"scriptDurationMs": 9.802000000000001,
"eventListeners": 1,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.655555555555566,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "workflow-execution",
"durationMs": 140.11499999992338,
"styleRecalcs": 9,
"styleRecalcDurationMs": 11.354,
"layouts": 9,
"layoutDurationMs": 4.206,
"taskDurationMs": 98.52900000000001,
"heapDeltaBytes": 4485004,
"heapUsedBytes": 77234564,
"domNodes": 120,
"jsHeapTotalBytes": 262144,
"scriptDurationMs": 7.584000000000002,
"eventListeners": 1,
"totalBlockingTimeMs": 0,
"frameDurationMs": 19.042857142857105,
"p95FrameDurationMs": 33.30000000000018
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 514.0870000000177,
"styleRecalcs": 5,
"styleRecalcDurationMs": 1.027,
"layouts": 76,
"layoutDurationMs": 14.76,
"taskDurationMs": 469.78000000000003,
"heapDeltaBytes": -12518980,
"heapUsedBytes": 81585416,
"domNodes": 4,
"jsHeapTotalBytes": 2883584,
"scriptDurationMs": 230.56500000000003,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667741935483864,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 456.77100000000337,
"styleRecalcs": 5,
"styleRecalcDurationMs": 0.9269999999999999,
"layouts": 76,
"layoutDurationMs": 14.873000000000001,
"taskDurationMs": 396.43600000000004,
"heapDeltaBytes": 11098352,
"heapUsedBytes": 82187624,
"domNodes": 4,
"jsHeapTotalBytes": 262144,
"scriptDurationMs": 190.853,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.664285714285693,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 585.6230000000551,
"styleRecalcs": 5,
"styleRecalcDurationMs": 1.875,
"layouts": 76,
"layoutDurationMs": 14.543000000000001,
"taskDurationMs": 544.9329999999999,
"heapDeltaBytes": 851728,
"heapUsedBytes": 122665060,
"domNodes": 4,
"jsHeapTotalBytes": 524288,
"scriptDurationMs": 232.58,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 17.13999999999999,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 637.5549999999066,
"styleRecalcs": 5,
"styleRecalcDurationMs": 3.7840000000000003,
"layouts": 76,
"layoutDurationMs": 14.142,
"taskDurationMs": 573.099,
"heapDeltaBytes": 1296724,
"heapUsedBytes": 123977244,
"domNodes": 4,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 229.01399999999998,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 17.105263157894736,
"p95FrameDurationMs": 16.800000000000182
}
]
}🔬 E2E CoverageNote The shard matrix did not pass, so these totals cannot be confirmed comparable with a whole merge.
Top 10 files by uncovered lines
🎭 Playwright: ✅ 2278 passed, 0 failed · 1 flaky📊 Browser Reports
🎨 Storybook: ✅ Built — View Storybook🧩 Custom Nodes Ecosystem Matrix: ✅ PassedExecutes the frontend JS of every registry pack that ships any, against this change, in both renderers. The eight
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: ✅ 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. No new findings in the changed files. Reproduce locally# the base the gate compared against
npx fallow audit --root . --quiet --format json \
--changed-since e1eda8f23790d817579ac2e242deab28d3dba015
Full docs: ADR-DEVEX-LINT-0015 |
|
🔗 Commit SHA: e90fc90 | Docs | View more details | Give us feedback! |
wei-hai
left a comment
There was a problem hiding this comment.
Clean auto-backport of #19965 to cloud/1.57: same 46-file scope, no conflict markers, deployment switcher + related missing-model/error paths present. Deltas vs main are expected branch drift (main.json, popover chrome, GraphView import layout); switcher integration itself is intact. CI/vitest green.
Backport of #19965 to
cloud/1.57Automatically created by backport workflow.