Repository navigation
[backport cloud/1.59] feat: model uploads resume after a dropped connection, with reconnection and time left - #23132
Conversation
Model imports can continue after a dropped connection. The editor requests a resumable upload and sends one file slice at a time, using storage's confirmed range after a drop. Older servers still receive one PUT. When the server refuses resumable mode with `403 FEATURE_DISABLED`, the editor retries once with `resumable: false`. That request still passes the server's workspace, plan and storage checks. A file over 2 GiB also makes this retry, although the server's contract only offers it up to 2 GiB. The server answers `400 FILE_TOO_LARGE`, so the person sees "Files can be up to 2 GB." instead of "Upload failed. Try again.", which can never work. No bytes are sent for that file. **Why** A dropped connection currently ends the transfer and makes the next attempt send the whole file again. The new transfer supports the server's 25 GB upload mode while keeping the existing save task. Transport tests cover retained bytes after a partial piece, exact assembled content, missing ranges, completed status queries, capped backoff, expired sessions and cancellation. The existing single-PUT test covers older servers. CI on test-only commit `165dd94c1c` reproduced the HTTP 408 recovery failure and both stalled-request failures ([unit shard 5](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/42264102527/job/128053434401)). Commit `28d0644cd5` adds a 30-second inactivity deadline for resumable requests, resets it as uploaded bytes advance, and retries HTTP 408. CI on that fix passed all 39 upload API tests ([unit shard 5](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/42266161675/job/128060400938)); all eight unit shards passed. CI on test-only commit `de4235e136` failed five fallback cases because the start request stopped before retrying ([unit shard 5](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/42307560437/job/128201803266)). The 12-byte and exactly 2 GiB cases never sent a PUT. Refused-retry and cancellation cases never reached the second start request. The over-2-GiB refusal passed. Fix `85660363a4` adds the bounded retry with those tests unchanged. CI on `98eccf9e0d` (the fix plus automated formatting) passes all 45 upload API tests ([unit shard 5](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/42311684931/job/128215508938)); all eight unit shards pass. The over-2-GiB case changed in `e7ddeb8798`. Its updated test failed before the fix, with `reason: 'failed'` where `tooLarge` was expected, and all 45 upload API tests pass after it, both run locally on that one test file. CI on this head is running. Not run locally: the rest of the unit tests, browser uploads or a real 10 GB transfer. Browser CORS and full-size transfer remain to be exercised. Ref BE-25019 (cherry picked from commit 6212fca)
Model imports show "Reconnecting" after a dropped connection, with Cancel still available. During transfer, the dialog shows the upload rate and estimated time left. An expired upload offers Try again to start a new attempt. **Why** A large upload needs to distinguish a connection retry from a failed import. The rate is measured again after reconnection so the retry wait does not skew the estimate. Added tests exercise rate measurement after recovery, stale callbacks, cancellation while reconnecting and retrying an expired session. A dialog test uses the real transfer API with a fake storage connection through recovery and library completion. CI on test-only head `f8bbb1b16f` reproduced both UI regressions: the missing status region before progress and an untranslated Korean time-left unit ([unit shard 6](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/42265825939/job/128059358128)). The fix keeps a status region present before reconnection and renders changing rate estimates outside it. Time left keeps the same calculation and hours/minutes/seconds split, with units formatted for the active locale. The assertions are unchanged. This branch also includes the transfer recovery fix from its base PR. [CI on `b509f86395`](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/42269079050) passes all eight unit shards, including both unchanged UI regression tests. Not run locally: unit tests, full-editor visual QA, or the 10 GB offline/online upload. CI runs the tests. Viewed the component at desktop and phone widths with fixed transfer, reconnecting and expired-session states. These screenshots use the real component and design-system CSS with fixture data; they do not demonstrate a real upload. The dialog tokens use a fixed dark palette.       Try it: On staging with resumable model uploads available, open the model library, choose Import, select a .safetensors file, and start uploading. Interrupt and restore the connection to see Reconnecting, then the transfer rate and time left. An expired session offers Try again. Ref BE-25019 (cherry picked from commit 5676d4f)
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords: 2
Please check the settings in the CodeRabbit UI or the
|
📦 Bundle: ⏳ Size data collection in progress…⚡ Performance: ❌ 7 below 52 FPS target · ℹ️ No baseline — significance unavailable
DetailsScenario timings
Absolute values
Raw data{
"timestamp": "2026-11-08T14:17:56.550Z",
"gitSha": "d7c764bbd79d49afd7a686d031af7cb879d6c801",
"branch": "backport-23081-23082-to-cloud-1.59",
"measurements": [
{
"name": "canvas-idle",
"durationMs": 2025.4169999999476,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.623,
"layouts": 9,
"layoutDurationMs": 2.4540000000000006,
"taskDurationMs": 513.756,
"heapDeltaBytes": -30135468,
"heapUsedBytes": 50633908,
"domNodes": -161,
"jsHeapTotalBytes": 3407872,
"scriptDurationMs": 10.036,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666393442622947,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-idle",
"durationMs": 2008.5080000000062,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.808,
"layouts": 9,
"layoutDurationMs": 2.615999999999999,
"taskDurationMs": 495.59999999999997,
"heapDeltaBytes": 1804796,
"heapUsedBytes": 62366072,
"domNodes": 0,
"jsHeapTotalBytes": 6815744,
"scriptDurationMs": 11.022,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665289256198346,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1710.1040000000012,
"styleRecalcs": 72,
"styleRecalcDurationMs": 11.551,
"layouts": 10,
"layoutDurationMs": 2.3649999999999998,
"taskDurationMs": 742.8820000000001,
"heapDeltaBytes": 22280740,
"heapUsedBytes": 83885472,
"domNodes": 0,
"jsHeapTotalBytes": 7864320,
"scriptDurationMs": 127.34399999999998,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666990291262135,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1711.4900000000262,
"styleRecalcs": 72,
"styleRecalcDurationMs": 11.626000000000001,
"layouts": 9,
"layoutDurationMs": 2.069,
"taskDurationMs": 730.028,
"heapDeltaBytes": 22389912,
"heapUsedBytes": 84694980,
"domNodes": 0,
"jsHeapTotalBytes": 8126464,
"scriptDurationMs": 125.23400000000001,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666990291262138,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1708.420999999987,
"styleRecalcs": 18,
"styleRecalcDurationMs": 5.038,
"layouts": 10,
"layoutDurationMs": 2.513,
"taskDurationMs": 292.889,
"heapDeltaBytes": 24387404,
"heapUsedBytes": 86261200,
"domNodes": 56,
"jsHeapTotalBytes": 6553600,
"scriptDurationMs": 12.398,
"eventListeners": 43,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66601941747573,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1726.1069999999563,
"styleRecalcs": 18,
"styleRecalcDurationMs": 4.449999999999999,
"layouts": 10,
"layoutDurationMs": 2.628,
"taskDurationMs": 367.705,
"heapDeltaBytes": 3412168,
"heapUsedBytes": 80336160,
"domNodes": 56,
"jsHeapTotalBytes": 10485760,
"scriptDurationMs": 12.197,
"eventListeners": 43,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665384615384614,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "dom-widget-clipping",
"durationMs": 566.3759999999911,
"styleRecalcs": 15,
"styleRecalcDurationMs": 2.997,
"layouts": 10,
"layoutDurationMs": 2.692,
"taskDurationMs": 428.755,
"heapDeltaBytes": 10465512,
"heapUsedBytes": 86093476,
"domNodes": 0,
"jsHeapTotalBytes": 10485760,
"scriptDurationMs": 139.693,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667647058823523,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-clipping",
"durationMs": 576.0070000000042,
"styleRecalcs": 14,
"styleRecalcDurationMs": 2.8139999999999996,
"layouts": 9,
"layoutDurationMs": 2.34,
"taskDurationMs": 421.033,
"heapDeltaBytes": 245688,
"heapUsedBytes": 61395800,
"domNodes": 0,
"jsHeapTotalBytes": 3145728,
"scriptDurationMs": 143.679,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667647058823523,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1067.6950000000147,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 739.8459999999999,
"heapDeltaBytes": -11100136,
"heapUsedBytes": 76076304,
"domNodes": -191,
"jsHeapTotalBytes": 21766144,
"scriptDurationMs": 49.309000000000005,
"eventListeners": -107,
"totalBlockingTimeMs": 394,
"frameDurationMs": 29.63055555555555,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1112.5450000000114,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 812.5429999999999,
"heapDeltaBytes": -12967288,
"heapUsedBytes": 75629448,
"domNodes": -191,
"jsHeapTotalBytes": 19931136,
"scriptDurationMs": 53.88299999999999,
"eventListeners": -107,
"totalBlockingTimeMs": 436,
"frameDurationMs": 31.016666666666676,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 799.6939999999881,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 418.3119999999998,
"heapDeltaBytes": -4452500,
"heapUsedBytes": 70837028,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 121.79699999999998,
"eventListeners": 0,
"totalBlockingTimeMs": 164,
"frameDurationMs": 23.526470588235284,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 780.3560000000402,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 412.73300000000023,
"heapDeltaBytes": -4229556,
"heapUsedBytes": 70515444,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 115.59099999999997,
"eventListeners": 0,
"totalBlockingTimeMs": 159,
"frameDurationMs": 23.03823529411765,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "extension-clean-combined-draw",
"durationMs": 8143.876000000006,
"styleRecalcs": 2,
"styleRecalcDurationMs": 0.5690000000000001,
"layouts": 2,
"layoutDurationMs": 0.5309999999999998,
"taskDurationMs": 7261.12,
"heapDeltaBytes": -10461848,
"heapUsedBytes": 78660064,
"domNodes": -257,
"jsHeapTotalBytes": 3272704,
"scriptDurationMs": 5657.149,
"eventListeners": -69,
"totalBlockingTimeMs": 96,
"frameDurationMs": 24.400000000000002,
"p95FrameDurationMs": 33.400000000000546
},
{
"name": "extension-clean-combined-draw",
"durationMs": 8232.09700000001,
"styleRecalcs": 3,
"styleRecalcDurationMs": 0.8030000000000007,
"layouts": 3,
"layoutDurationMs": 0.6410000000000001,
"taskDurationMs": 7256.781,
"heapDeltaBytes": 58012400,
"heapUsedBytes": 132724032,
"domNodes": -257,
"jsHeapTotalBytes": 64614400,
"scriptDurationMs": 5615.119,
"eventListeners": -69,
"totalBlockingTimeMs": 82,
"frameDurationMs": 23.59025787965616,
"p95FrameDurationMs": 33.400000000000546
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 7723.103000000009,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 6886.9349999999995,
"heapDeltaBytes": -11337020,
"heapUsedBytes": 67777324,
"domNodes": 0,
"jsHeapTotalBytes": 4980736,
"scriptDurationMs": 5416.631,
"eventListeners": 0,
"totalBlockingTimeMs": 95,
"frameDurationMs": 24.418987341772155,
"p95FrameDurationMs": 33.400000000000546
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 7948.362999999972,
"styleRecalcs": 1,
"styleRecalcDurationMs": 0.28800000000000003,
"layouts": 1,
"layoutDurationMs": 0.356,
"taskDurationMs": 7102.704,
"heapDeltaBytes": 63420452,
"heapUsedBytes": 137647196,
"domNodes": -257,
"jsHeapTotalBytes": 58322944,
"scriptDurationMs": 5488.24,
"eventListeners": -69,
"totalBlockingTimeMs": 90,
"frameDurationMs": 24.017220543806648,
"p95FrameDurationMs": 33.400000000000546
},
{
"name": "large-combo-open",
"durationMs": 189.48199999999815,
"styleRecalcs": 22,
"styleRecalcDurationMs": 11.281,
"layouts": 10,
"layoutDurationMs": 2.657,
"taskDurationMs": 132.07100000000003,
"heapDeltaBytes": 14605020,
"heapUsedBytes": 75058136,
"domNodes": 936,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 7.383000000000001,
"eventListeners": 205,
"totalBlockingTimeMs": 0,
"frameDurationMs": 22.92500000000001,
"p95FrameDurationMs": 66.60000000000036
},
{
"name": "large-combo-open",
"durationMs": 213.82499999998572,
"styleRecalcs": 24,
"styleRecalcDurationMs": 13.623000000000001,
"layouts": 13,
"layoutDurationMs": 3.4939999999999998,
"taskDurationMs": 197.773,
"heapDeltaBytes": -16816304,
"heapUsedBytes": 67050052,
"domNodes": -2315,
"jsHeapTotalBytes": 1048576,
"scriptDurationMs": 9.584,
"eventListeners": -574,
"totalBlockingTimeMs": 0,
"frameDurationMs": 21.65999999999999,
"p95FrameDurationMs": 49.90000000000009
},
{
"name": "large-graph-idle",
"durationMs": 2042.2080000000165,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.568,
"layouts": 9,
"layoutDurationMs": 2.4229999999999996,
"taskDurationMs": 598.9870000000001,
"heapDeltaBytes": -14816416,
"heapUsedBytes": 59662144,
"domNodes": -257,
"jsHeapTotalBytes": 3796992,
"scriptDurationMs": 31.206000000000003,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666664,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-idle",
"durationMs": 2007.7469999999948,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.416000000000001,
"layouts": 9,
"layoutDurationMs": 2.4149999999999996,
"taskDurationMs": 441.15000000000015,
"heapDeltaBytes": 4583960,
"heapUsedBytes": 82821916,
"domNodes": -257,
"jsHeapTotalBytes": 4059136,
"scriptDurationMs": 31.127000000000002,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666942148760327,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "large-graph-pan",
"durationMs": 2516.4179999999874,
"styleRecalcs": 68,
"styleRecalcDurationMs": 8.631,
"layouts": 6,
"layoutDurationMs": 1.2340000000000002,
"taskDurationMs": 1422.5620000000001,
"heapDeltaBytes": 919304,
"heapUsedBytes": 76358996,
"domNodes": -257,
"jsHeapTotalBytes": 3760128,
"scriptDurationMs": 667.775,
"eventListeners": -67,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666225165562917,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-pan",
"durationMs": 2720.6350000000157,
"styleRecalcs": 70,
"styleRecalcDurationMs": 9.413999999999998,
"layouts": 8,
"layoutDurationMs": 2.2049999999999996,
"taskDurationMs": 1419.0100000000002,
"heapDeltaBytes": -17494124,
"heapUsedBytes": 62729500,
"domNodes": -257,
"jsHeapTotalBytes": 6418432,
"scriptDurationMs": 669.917,
"eventListeners": -67,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66625766871166,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "large-graph-zoom",
"durationMs": 3591.294000000005,
"styleRecalcs": 73,
"styleRecalcDurationMs": 10.301000000000002,
"layouts": 66,
"layoutDurationMs": 10.683,
"taskDurationMs": 1515.2939999999999,
"heapDeltaBytes": -27165912,
"heapUsedBytes": 66009800,
"domNodes": -233,
"jsHeapTotalBytes": 5144576,
"scriptDurationMs": 645.304,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666046511627908,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-zoom",
"durationMs": 3618.4880000000703,
"styleRecalcs": 71,
"styleRecalcDurationMs": 10.229000000000003,
"layouts": 65,
"layoutDurationMs": 10.685,
"taskDurationMs": 1526.72,
"heapDeltaBytes": -14056452,
"heapUsedBytes": 66115044,
"domNodes": -233,
"jsHeapTotalBytes": 4059136,
"scriptDurationMs": 658.1210000000001,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66635944700461,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "legacy-node-drag",
"durationMs": 2758.601999999996,
"styleRecalcs": 45,
"styleRecalcDurationMs": 5.130000000000001,
"layouts": 5,
"layoutDurationMs": 1.1480000000000001,
"taskDurationMs": 1696.682,
"heapDeltaBytes": -8495800,
"heapUsedBytes": 74007760,
"domNodes": 0,
"jsHeapTotalBytes": 6291456,
"scriptDurationMs": 838.054,
"eventListeners": 182,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.767682926829266,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "legacy-node-drag",
"durationMs": 2484.888000000069,
"styleRecalcs": 43,
"styleRecalcDurationMs": 4.733999999999999,
"layouts": 4,
"layoutDurationMs": 0.9529999999999998,
"taskDurationMs": 1619.2759999999998,
"heapDeltaBytes": 7375768,
"heapUsedBytes": 69356992,
"domNodes": 0,
"jsHeapTotalBytes": 5505024,
"scriptDurationMs": 792.242,
"eventListeners": 182,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.77891156462585,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-geometry-cadence",
"durationMs": 2922.1000000000004,
"styleRecalcs": 8,
"styleRecalcDurationMs": 1.8309999999999993,
"layouts": 8,
"layoutDurationMs": 1.735,
"taskDurationMs": 642.786,
"heapDeltaBytes": -15207620,
"heapUsedBytes": 60053340,
"domNodes": -257,
"jsHeapTotalBytes": 3534848,
"scriptDurationMs": 281.467,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665909090909093,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "minimap-geometry-cadence",
"durationMs": 2980.0500000000056,
"styleRecalcs": 9,
"styleRecalcDurationMs": 1.8189999999999995,
"layouts": 8,
"layoutDurationMs": 1.551,
"taskDurationMs": 660.8900000000001,
"heapDeltaBytes": 2582024,
"heapUsedBytes": 79528440,
"domNodes": -257,
"jsHeapTotalBytes": 4059136,
"scriptDurationMs": 288.412,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666480446927377,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2070.243000000005,
"styleRecalcs": 8,
"styleRecalcDurationMs": 2.0010000000000003,
"layouts": 7,
"layoutDurationMs": 1.774,
"taskDurationMs": 634.6389999999999,
"heapDeltaBytes": -13431620,
"heapUsedBytes": 64198972,
"domNodes": -257,
"jsHeapTotalBytes": 4059136,
"scriptDurationMs": 34.44400000000001,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666129032258066,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2035.257999999999,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.1530000000000005,
"layouts": 9,
"layoutDurationMs": 2.167,
"taskDurationMs": 593.4110000000001,
"heapDeltaBytes": 9862448,
"heapUsedBytes": 85869248,
"domNodes": -257,
"jsHeapTotalBytes": 3796992,
"scriptDurationMs": 31.882999999999996,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-progress-execution-cadence",
"durationMs": 2712.7780000000143,
"styleRecalcs": 28,
"styleRecalcDurationMs": 10.911000000000001,
"layouts": 8,
"layoutDurationMs": 2.062,
"taskDurationMs": 494.94300000000004,
"heapDeltaBytes": -31103376,
"heapUsedBytes": 61206780,
"domNodes": -243,
"jsHeapTotalBytes": 5668864,
"scriptDurationMs": 149.682,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665644171779142,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-progress-execution-cadence",
"durationMs": 2791.209999999978,
"styleRecalcs": 28,
"styleRecalcDurationMs": 11.798,
"layouts": 8,
"layoutDurationMs": 1.816,
"taskDurationMs": 518.817,
"heapDeltaBytes": -10500324,
"heapUsedBytes": 74512084,
"domNodes": -246,
"jsHeapTotalBytes": 4583424,
"scriptDurationMs": 154.32299999999998,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666071428571428,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "minimap-topology-cadence",
"durationMs": 3085.9909999999786,
"styleRecalcs": 8,
"styleRecalcDurationMs": 1.9630000000000003,
"layouts": 7,
"layoutDurationMs": 1.536,
"taskDurationMs": 780.1479999999999,
"heapDeltaBytes": -3801100,
"heapUsedBytes": 75211928,
"domNodes": -257,
"jsHeapTotalBytes": 5369856,
"scriptDurationMs": 302.058,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666129032258066,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "minimap-topology-cadence",
"durationMs": 3162.618000000009,
"styleRecalcs": 3,
"styleRecalcDurationMs": 0.7790000000000001,
"layouts": 3,
"layoutDurationMs": 0.6779999999999998,
"taskDurationMs": 834.267,
"heapDeltaBytes": 4945736,
"heapUsedBytes": 81029172,
"domNodes": -257,
"jsHeapTotalBytes": 7204864,
"scriptDurationMs": 331.543,
"eventListeners": -69,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665789473684214,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 548.1029999999691,
"styleRecalcs": 47,
"styleRecalcDurationMs": 4.765000000000001,
"layouts": 9,
"layoutDurationMs": 2.0140000000000002,
"taskDurationMs": 363.664,
"heapDeltaBytes": -1328096,
"heapUsedBytes": 62025992,
"domNodes": 0,
"jsHeapTotalBytes": 7864320,
"scriptDurationMs": 123.20400000000001,
"eventListeners": 46,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 578.7790000000541,
"styleRecalcs": 47,
"styleRecalcDurationMs": 5.156000000000001,
"layouts": 10,
"layoutDurationMs": 2.543,
"taskDurationMs": 378.374,
"heapDeltaBytes": 3549556,
"heapUsedBytes": 76691632,
"domNodes": 0,
"jsHeapTotalBytes": 11796480,
"scriptDurationMs": 125.48599999999999,
"eventListeners": 46,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66285714285714,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "subgraph-idle",
"durationMs": 2008.0890000000409,
"styleRecalcs": 11,
"styleRecalcDurationMs": 2.9959999999999996,
"layouts": 10,
"layoutDurationMs": 2.805,
"taskDurationMs": 475.185,
"heapDeltaBytes": -2186428,
"heapUsedBytes": 60370304,
"domNodes": 0,
"jsHeapTotalBytes": 3407872,
"scriptDurationMs": 9.212,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66611570247934,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-idle",
"durationMs": 2010.483000000022,
"styleRecalcs": 8,
"styleRecalcDurationMs": 2.2779999999999996,
"layouts": 7,
"layoutDurationMs": 2.0820000000000003,
"taskDurationMs": 482.57700000000006,
"heapDeltaBytes": 2277480,
"heapUsedBytes": 63995380,
"domNodes": 0,
"jsHeapTotalBytes": 7602176,
"scriptDurationMs": 10.043,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666115702479335,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1677.411999999947,
"styleRecalcs": 75,
"styleRecalcDurationMs": 12.659,
"layouts": 9,
"layoutDurationMs": 2.014,
"taskDurationMs": 711.5480000000001,
"heapDeltaBytes": 18009228,
"heapUsedBytes": 80371376,
"domNodes": 0,
"jsHeapTotalBytes": 7340032,
"scriptDurationMs": 94.211,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665346534653462,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1675.1690000000963,
"styleRecalcs": 75,
"styleRecalcDurationMs": 13.203000000000003,
"layouts": 9,
"layoutDurationMs": 2.1590000000000003,
"taskDurationMs": 713.521,
"heapDeltaBytes": 17910004,
"heapUsedBytes": 80682416,
"domNodes": 0,
"jsHeapTotalBytes": 7340032,
"scriptDurationMs": 94.65399999999998,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667326732673274,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "subgraph-transition-enter",
"durationMs": 1368.848000000014,
"styleRecalcs": 18,
"styleRecalcDurationMs": 18.615000000000002,
"layouts": 5,
"layoutDurationMs": 10.297,
"taskDurationMs": 962.5110000000001,
"heapDeltaBytes": 14151892,
"heapUsedBytes": 116837560,
"domNodes": 16030,
"jsHeapTotalBytes": 16125952,
"scriptDurationMs": 28.761000000000003,
"eventListeners": 3246,
"totalBlockingTimeMs": 112,
"frameDurationMs": 19.21111111111111,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "viewport-pan-sweep",
"durationMs": 10043.939000000024,
"styleRecalcs": 250,
"styleRecalcDurationMs": 30.676000000000002,
"layouts": 9,
"layoutDurationMs": 2.0439999999999996,
"taskDurationMs": 5099.291,
"heapDeltaBytes": -6575940,
"heapUsedBytes": 72167460,
"domNodes": -257,
"jsHeapTotalBytes": 5562368,
"scriptDurationMs": 2288.8579999999997,
"eventListeners": -67,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666003316749585,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "viewport-pan-sweep",
"durationMs": 11392.113999999992,
"styleRecalcs": 250,
"styleRecalcDurationMs": 30.815,
"layouts": 8,
"layoutDurationMs": 2.361,
"taskDurationMs": 5260.272000000001,
"heapDeltaBytes": -2224868,
"heapUsedBytes": 70936968,
"domNodes": -257,
"jsHeapTotalBytes": 4513792,
"scriptDurationMs": 2303.394,
"eventListeners": -67,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666032210834555,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "vue-large-graph-idle",
"durationMs": 20454.331000000024,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 19801.427,
"heapDeltaBytes": -35418712,
"heapUsedBytes": 258455008,
"domNodes": -3343,
"jsHeapTotalBytes": 14147584,
"scriptDurationMs": 277.33399999999995,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 36.881768953068594,
"p95FrameDurationMs": 66.80000000000109
},
{
"name": "vue-large-graph-idle",
"durationMs": 20300.799000000097,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 19528.507,
"heapDeltaBytes": -16402748,
"heapUsedBytes": 266897956,
"domNodes": -3343,
"jsHeapTotalBytes": 14671872,
"scriptDurationMs": 271.49700000000007,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 35.92796460176991,
"p95FrameDurationMs": 66.79999999999927
},
{
"name": "vue-large-graph-pan",
"durationMs": 24174.791000000027,
"styleRecalcs": 178,
"styleRecalcDurationMs": 23.438999999999986,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 23958.503999999997,
"heapDeltaBytes": 9347800,
"heapUsedBytes": 287381344,
"domNodes": -3343,
"jsHeapTotalBytes": 14598144,
"scriptDurationMs": 834.862,
"eventListeners": -651,
"totalBlockingTimeMs": 0,
"frameDurationMs": 47.44882352941177,
"p95FrameDurationMs": 99.89999999999964
},
{
"name": "vue-large-graph-pan",
"durationMs": 23880.647000000066,
"styleRecalcs": 181,
"styleRecalcDurationMs": 20.790000000000003,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 23510.839999999997,
"heapDeltaBytes": 5650168,
"heapUsedBytes": 270605088,
"domNodes": -3343,
"jsHeapTotalBytes": -2097152,
"scriptDurationMs": 736.305,
"eventListeners": -648,
"totalBlockingTimeMs": 5,
"frameDurationMs": 45.231818181818184,
"p95FrameDurationMs": 100
},
{
"name": "vue-node-resize-workload",
"durationMs": 7183.213000000023,
"styleRecalcs": 20,
"styleRecalcDurationMs": 49.66699999999999,
"layouts": 20,
"layoutDurationMs": 22.581000000000003,
"taskDurationMs": 7072.178999999999,
"heapDeltaBytes": -20202876,
"heapUsedBytes": 272440220,
"domNodes": -3343,
"jsHeapTotalBytes": 18604032,
"scriptDurationMs": 105.655,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 44.06748466257669,
"p95FrameDurationMs": 83.39999999999964
},
{
"name": "vue-node-resize-workload",
"durationMs": 7142.409000000043,
"styleRecalcs": 20,
"styleRecalcDurationMs": 65.84600000000002,
"layouts": 20,
"layoutDurationMs": 28.045,
"taskDurationMs": 7026.045,
"heapDeltaBytes": -26836804,
"heapUsedBytes": 275871480,
"domNodes": -3343,
"jsHeapTotalBytes": 22274048,
"scriptDurationMs": 122.169,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 42.05705882352942,
"p95FrameDurationMs": 83.39999999999964
},
{
"name": "vue-zoom-out-idle",
"durationMs": 10073.484000000008,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 9761.96,
"heapDeltaBytes": 23606904,
"heapUsedBytes": 282064628,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 128.705,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 36.471739130434784,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "vue-zoom-out-idle",
"durationMs": 10158.517999999958,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 9880.242,
"heapDeltaBytes": 14739900,
"heapUsedBytes": 274612500,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 135.61,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 37.23956043956044,
"p95FrameDurationMs": 83.29999999999927
},
{
"name": "workflow-execution",
"durationMs": 123.38499999998476,
"styleRecalcs": 11,
"styleRecalcDurationMs": 10.078999999999999,
"layouts": 10,
"layoutDurationMs": 4.029999999999999,
"taskDurationMs": 104.06800000000001,
"heapDeltaBytes": -12454972,
"heapUsedBytes": 63689876,
"domNodes": 137,
"jsHeapTotalBytes": 3670016,
"scriptDurationMs": 10.681,
"eventListeners": 7,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.662499999999966,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "workflow-execution",
"durationMs": 104.60599999998976,
"styleRecalcs": 7,
"styleRecalcDurationMs": 7.072,
"layouts": 7,
"layoutDurationMs": 2.352,
"taskDurationMs": 78.47999999999999,
"heapDeltaBytes": -13188144,
"heapUsedBytes": 62512484,
"domNodes": 121,
"jsHeapTotalBytes": 7077888,
"scriptDurationMs": 5.676,
"eventListeners": 5,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.657142857142844,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 367.699000000016,
"styleRecalcs": 5,
"styleRecalcDurationMs": 0.696,
"layouts": 76,
"layoutDurationMs": 13.296000000000001,
"taskDurationMs": 325.659,
"heapDeltaBytes": -4792416,
"heapUsedBytes": 37988300,
"domNodes": 4,
"jsHeapTotalBytes": 2097152,
"scriptDurationMs": 149.348,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66818181818181,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 341.45300000000134,
"styleRecalcs": 5,
"styleRecalcDurationMs": 0.639,
"layouts": 76,
"layoutDurationMs": 12.796999999999999,
"taskDurationMs": 307.02000000000004,
"heapDeltaBytes": -4978520,
"heapUsedBytes": 37639648,
"domNodes": 4,
"jsHeapTotalBytes": 1572864,
"scriptDurationMs": 137.39800000000002,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 464.8659999999154,
"styleRecalcs": 5,
"styleRecalcDurationMs": 2.637,
"layouts": 76,
"layoutDurationMs": 14.153,
"taskDurationMs": 427.071,
"heapDeltaBytes": -220844,
"heapUsedBytes": 94102968,
"domNodes": 4,
"jsHeapTotalBytes": 262144,
"scriptDurationMs": 159.91200000000003,
"eventListeners": 300,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66428571428573,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 389.4760000000588,
"styleRecalcs": 5,
"styleRecalcDurationMs": 2.8,
"layouts": 76,
"layoutDurationMs": 12.409,
"taskDurationMs": 367.96599999999995,
"heapDeltaBytes": -1052624,
"heapUsedBytes": 90302412,
"domNodes": 4,
"jsHeapTotalBytes": 262144,
"scriptDurationMs": 132.078,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.699999999999818
}
]
}🔬 E2E Coverage: 🟡 59.6% of linesCoverage totals
Top 10 files by uncovered lines
🎭 Playwright: ✅ 3142 passed, 0 failed · 5 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 0742276bdbd022eb6d242ea85639fc243193c5ef
Full docs: ADR-DEVEX-LINT-0015 🏛️ Architecture: ✅ PassedFindings and check detailsWarnings (287)
Reproduce locallypnpm architecture:checkFull docs: Frontend domain catalog |
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## cloud/1.59 #23132 +/- ##
=============================================
Coverage ? 87.41%
=============================================
Files ? 3183
Lines ? 164723
Branches ? 41783
=============================================
Hits ? 143999
Misses ? 19881
Partials ? 843
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
dante01yoon
left a comment
There was a problem hiding this comment.
Approved as a backport, per the requested backport review policy. No tests run.
TL;DR: Backports #23081 (merge commit 6212fca) and #23082 (merge commit 5676d4f) to
cloud/1.59, one commit each. A model import on Cloud continues after a dropped connection, and the import dialog shows the transfer rate, the time left and "Reconnecting...".Why
cloud/1.59has neither PR, so a model import built from it still sends the whole file in one request. The server side of resumable uploads is merged (Comfy-Org/cloud#18428). The bot's cherry-picks of both conflicted, so this is by hand. #23082 builds on #23081, so both go in one PR.Before / After
Conflicts
#23081:
packages/ingest-types/src/types.gen.tsandpackages/ingest-types/src/zod.gen.tsconflicted. Both are generated from Cloud's API spec.cloud/1.59's copies came from an older spec thanmain's, so the types sit in a different order andmainhas many newer types around them. I keptcloud/1.59's files and applied only #23081's hunks to them:ModelUploadStartedandzModelUploadStartedgainupload_modeandchunk_size_bytes. Their fields are reordered and their comments updated, as feat: model uploads resume after a dropped connection #23081 did onmain.StartModelUploadDatagains theresumablebody flag and the optionalOriginheader.zStartModelUploadBodygainsresumable, andzStartModelUploadHeadersis new.The change to these two files is line for line #23081's (38 and 25 lines). No other API type changes. I did not run the generator: it rebuilds both files from the current spec and would bring every newer type with them, as the open bot PR #22719 does on this branch.
#23082:
UploadModelDialogFileUpload.test.tsconflicted on one import line.cloud/1.59importsAssetDownloadWsMessagefrom@/platform/remote/comfyui/execution/types, wheremainimports it from@comfyorg/api-client/executionTypes. I keptcloud/1.59's path and added #23082'skoMessagesimport. The rest of #23082's test changes applied as written: the Korean locale in the test i18n, three new dialog cases and the resumed-transfer case. The branch's existing tests are unchanged.Everything else applied cleanly. On
cloud/1.59,UploadModelFileUpload.vue,useUploadModelFile.tsand its test differ frommainonly in import paths outside #23082's lines, and the cherry-pick keptcloud/1.59's paths.modelFileUploadApi.tsand its test are identical tomainbefore #23081. Every module the two commits import exists oncloud/1.59, including@comfyorg/tailwind-utilsand@/locales/ko/main.json. Nothing beyond the two commits is brought in.Screenshots (the same screen change as #23082; taken there)
Viewed the component at desktop and phone widths with fixed transfer, reconnecting and expired-session states. These screenshots use the real component and design-system CSS with fixture data; they do not demonstrate a real upload. The dialog tokens use a fixed dark palette.
Try it: on staging (cloud/1.59), once resumable model uploads are turned on there (BE-25022), open the model library, choose Import, select a .safetensors file and start uploading. Interrupt and restore the connection to see Reconnecting, then the transfer rate and time left. An expired session offers Try again.
Not run: unit tests, typecheck, lint and a real upload, locally; CI runs the first three. The repo gate passes against
cloud/1.59with no new findings.Rule bent: none.
Ref BE-25019