Skip to content

[backport cloud/1.52] fix(billing): open Plan & Credits and refresh the balance for rail-less sessions - #16117

Merged
comfy-pr-bot merged 1 commit into
cloud/1.52from
backport-15892-to-cloud-1.52
Aug 27, 2026
Merged

comfy-pr-bot merged 1 commit into
cloud/1.52from
backport-15892-to-cloud-1.52

Conversation

@comfy-pr-bot

Copy link
Copy Markdown
Member

Backport of #15892 to cloud/1.52

Automatically created by backport workflow.

…ss sessions (#15892)

## Why this is needed

A session with no workspace context — an API-key sign-in, or a
pre-workspace bootstrap — still reaches billing through the legacy rail,
and two of its entry points were never migrated to the V1 layout:

- The profile menu **Credits** action opens the legacy combined Credits
+ Activity screen instead of the tabbed **Plan & Credits** panel. That
legacy panel is hidden from the settings menu and is only reachable by
key, so the user lands somewhere they cannot navigate back to.
- After a Stripe credit top-up, returning to the app shows the
**pre-purchase balance until a manual reload**, and drops the user on
that same hidden screen.

Reported in
[Slack](https://comfy-organization.slack.com/archives/C0932CGKT5K/p1787651927438829?thread_ts=1787034725.224329&cid=C0932CGKT5K).

## Root cause

**Destination.** #15793 routed the workspace-aware call sites to
`workspace`, and deliberately left `CurrentUserPopoverLegacy` alone. But
`CurrentUserButton` falls back to that legacy popover whenever
`teamWorkspaceStore.initState !== 'ready'`, which is exactly the state
an API-key session stays in — workspace discovery never runs for it. Two
call sites still decide from the billing rail:

```ts
// CurrentUserPopoverLegacy.vue — always the hidden panel
settingsDialog.show('credits')

// TopUpCreditsDialogContentLegacy.vue — hidden panel whenever no rail is active
const settingsPanel =
  shouldUseWorkspaceBilling.value || isSubscriptionEnabled() ? 'workspace' : 'credits'
```

The rail is the wrong question. What decides whether `workspace` is
reachable is panel availability, and `useSettingUI` registers Plan &
Credits for every signed-in user (`shouldShowWorkspacePanel =
isLoggedIn`). The panel also renders correctly on the legacy rail — its
credits tile reads the same `/customers/balance` the legacy screen did.

**Stale balance.** The workspace rail has a completion path for top-ups
(`billingOperationStore` polls, refreshes the balance, and opens Plan &
Credits). The legacy rail has no equivalent: `purchaseCreditsDirect()`
ends at `window.open(checkout_url, '_blank')`. Stripe completes out of
band in another tab, so nothing ever re-reads the balance and the
pre-purchase amount stays on screen.

## How we change it

- Both legacy call sites open `workspace`. The rail-derived branch in
the top-up dialog goes away, along with its now-unused
`useBillingRouting` / `useSubscription` reads.
- New `watchForTopupBalanceUpdate()`
(`src/composables/billing/topupBalanceRefresh.ts`), called right after
the checkout tab opens. It waits for the app tab to become visible
again, then re-fetches the balance on a `0 / 2s / 5s / 10s / 20s`
schedule — the webhook usually lands a beat after the redirect. Retries
stop as soon as the balance moves; the watch drops itself after 15
minutes if the user never returns, and a failed poll is logged rather
than surfaced, since the purchase itself already succeeded.

Cloud and workspace-billing sessions are unaffected: they already
selected `workspace`, and their top-ups already refresh through
`billingOperationStore`.

## AS IS / TO BE

| | AS IS | TO BE |
| --- | --- | --- |
| Profile menu → Credits | hidden combined Credits + Activity screen |
tabbed Plan & Credits |
| After Stripe top-up | same hidden screen, stale balance until reload |
tabbed Plan & Credits, balance refreshes on return |
| Cloud / workspace billing | Plan & Credits | unchanged |

### Screenshots

Both taken in the same API-key session against staging, differing only
by this PR's commit.

**AS IS** — profile menu → Credits lands on the hidden legacy screen:
one `Credits` heading with `Activity` stacked underneath, no tabs, and
`Plan & Credits` sitting unselected in the sidebar.

![AS IS - legacy combined Credits and Activity
screen](https://raw.githubusercontent.com/dante01yoon/ComfyUI_frontend/assets/pr-15892-screenshots/docs-assets/pr-15892/as-is.png)

**TO BE** — the same action opens `Plan & Credits` with the `Credits`
and `Activity` tabs.

![TO BE - tabbed Plan and Credits
panel](https://raw.githubusercontent.com/dante01yoon/ComfyUI_frontend/assets/pr-15892-screenshots/docs-assets/pr-15892/to-be.png)

## Verification

Local ComfyUI against staging (`--comfy-api-base
https://stagingapi.comfy.org`) with a pure API-key session (no Firebase
login), which is the state that reproduces this. The build under test
also carried #15891, because an API-key session cannot read
`/customers/*` without it — so the requests below are only reachable
with that PR applied, and the screenshots above differ from each other
by this PR's commit alone:

- Profile menu → **Credits** opens Plan & Credits with the **Credits**
and **Activity** tabs.
- **Add credits → Continue to payment** issues `POST /customers/credit`
(`201`), opens the Stripe tab, and returns to the tabbed panel.
- Simulating the return to the app tab issues `GET /customers/balance`
immediately and again on the retry schedule.
- The watch survives an early return: a bounce back to the app before
paying no longer consumes it, and the return after payment still
refreshes.

Unit tests: `topupBalanceRefresh.test.ts` (new — no refresh before the
tab is visible, refresh on return, retry while unchanged, stop once the
balance rises, keep polling when a fetch rejects), plus updated
destination assertions in `CurrentUserPopoverLegacy.test.ts` and
`TopUpCreditsDialogContentLegacy.test.ts`. 117 tests pass across the
touched suites; `pnpm typecheck` clean.

## Note

Independent of #15891 — no shared files — but the same API-key session
is what surfaces both. **Manage billing** inside this panel needs that
PR's `accessBillingPortal` fix to work.

https://claude.ai/code/session_01QQZvvG7jZKrEkkT93ezPPw
@comfy-pr-bot comfy-pr-bot added the backport Backporting a PR onto a release candidate label Aug 27, 2026
@comfy-pr-bot
comfy-pr-bot enabled auto-merge (squash) August 27, 2026 15:38
@github-actions
github-actions Bot requested a review from thedatalife August 27, 2026 15:39
@comfy-pr-bot comfy-pr-bot added the backport Backporting a PR onto a release candidate label Aug 27, 2026
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Aug 27, 2026
@github-actions

github-actions Bot commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 08/27/2026, 03:41:20 PM UTC

Links

🎭 Playwright: ✅ 1984 passed, 0 failed · 2 flaky

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

📦 Bundle Size

⏳ Size data collection in progress…

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 72.9 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 66.7 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.2 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 70.2 MB heap
large-graph-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.7 MB heap
large-graph-pan: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 75.3 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 79.9 MB heap
legacy-node-drag: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 66.7 MB heap
minimap-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 66.6 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 71.0 MB heap
subgraph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.8 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 77.4 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 92ms TBT · 98.2 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 75.7 MB heap
vue-large-graph-idle: · 57.1 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 157.9 MB heap
vue-large-graph-pan: · 57.1 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 17ms TBT · 176.5 MB heap
workflow-execution: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.4 MB heap

ℹ️ No baseline found — significance unavailable.

Absolute values
Metric Value
canvas-idle: avg frame time 17ms
canvas-idle: p95 frame time 17ms
canvas-idle: layout duration 0ms
canvas-idle: style recalc duration 7ms
canvas-idle: layout count 0
canvas-idle: style recalc count 10
canvas-idle: task duration 474ms
canvas-idle: script duration 8ms
canvas-idle: TBT 0ms
canvas-idle: heap used 72.9 MB
canvas-idle: DOM nodes -132
canvas-idle: event listeners -74
canvas-mouse-sweep: avg frame time 17ms
canvas-mouse-sweep: p95 frame time 17ms
canvas-mouse-sweep: layout duration 3ms
canvas-mouse-sweep: style recalc duration 28ms
canvas-mouse-sweep: layout count 12
canvas-mouse-sweep: style recalc count 73
canvas-mouse-sweep: task duration 717ms
canvas-mouse-sweep: script duration 84ms
canvas-mouse-sweep: TBT 0ms
canvas-mouse-sweep: heap used 66.7 MB
canvas-mouse-sweep: DOM nodes -281
canvas-mouse-sweep: event listeners -151
canvas-zoom-sweep: avg frame time 17ms
canvas-zoom-sweep: p95 frame time 17ms
canvas-zoom-sweep: layout duration 1ms
canvas-zoom-sweep: style recalc duration 14ms
canvas-zoom-sweep: layout count 6
canvas-zoom-sweep: style recalc count 31
canvas-zoom-sweep: task duration 303ms
canvas-zoom-sweep: script duration 9ms
canvas-zoom-sweep: TBT 0ms
canvas-zoom-sweep: heap used 63.2 MB
canvas-zoom-sweep: DOM nodes 77
canvas-zoom-sweep: event listeners 19
dom-widget-clipping: avg frame time 17ms
dom-widget-clipping: p95 frame time 17ms
dom-widget-clipping: layout duration 0ms
dom-widget-clipping: style recalc duration 7ms
dom-widget-clipping: layout count 0
dom-widget-clipping: style recalc count 12
dom-widget-clipping: task duration 302ms
dom-widget-clipping: script duration 44ms
dom-widget-clipping: TBT 0ms
dom-widget-clipping: heap used 70.2 MB
dom-widget-clipping: DOM nodes 20
dom-widget-clipping: event listeners 1
large-graph-idle: avg frame time 17ms
large-graph-idle: p95 frame time 17ms
large-graph-idle: layout duration 0ms
large-graph-idle: style recalc duration 8ms
large-graph-idle: layout count 0
large-graph-idle: style recalc count 9
large-graph-idle: task duration 563ms
large-graph-idle: script duration 16ms
large-graph-idle: TBT 0ms
large-graph-idle: heap used 65.7 MB
large-graph-idle: DOM nodes -276
large-graph-idle: event listeners -163
large-graph-pan: avg frame time 17ms
large-graph-pan: p95 frame time 17ms
large-graph-pan: layout duration 0ms
large-graph-pan: style recalc duration 14ms
large-graph-pan: layout count 0
large-graph-pan: style recalc count 69
large-graph-pan: task duration 981ms
large-graph-pan: script duration 265ms
large-graph-pan: TBT 0ms
large-graph-pan: heap used 75.3 MB
large-graph-pan: DOM nodes -278
large-graph-pan: event listeners -164
large-graph-zoom: avg frame time 17ms
large-graph-zoom: p95 frame time 17ms
large-graph-zoom: layout duration 7ms
large-graph-zoom: style recalc duration 14ms
large-graph-zoom: layout count 60
large-graph-zoom: style recalc count 66
large-graph-zoom: task duration 1115ms
large-graph-zoom: script duration 318ms
large-graph-zoom: TBT 0ms
large-graph-zoom: heap used 79.9 MB
large-graph-zoom: DOM nodes 15
large-graph-zoom: event listeners 8
legacy-node-drag: avg frame time 17ms
legacy-node-drag: p95 frame time 17ms
legacy-node-drag: layout duration 0ms
legacy-node-drag: style recalc duration 10ms
legacy-node-drag: layout count 0
legacy-node-drag: style recalc count 48
legacy-node-drag: task duration 1196ms
legacy-node-drag: script duration 380ms
legacy-node-drag: TBT 0ms
legacy-node-drag: heap used 66.7 MB
legacy-node-drag: DOM nodes 15
legacy-node-drag: event listeners 186
minimap-idle: avg frame time 17ms
minimap-idle: p95 frame time 17ms
minimap-idle: layout duration 0ms
minimap-idle: style recalc duration 7ms
minimap-idle: layout count 0
minimap-idle: style recalc count 9
minimap-idle: task duration 543ms
minimap-idle: script duration 14ms
minimap-idle: TBT 0ms
minimap-idle: heap used 66.6 MB
minimap-idle: DOM nodes -279
minimap-idle: event listeners -163
subgraph-dom-widget-clipping: avg frame time 17ms
subgraph-dom-widget-clipping: p95 frame time 17ms
subgraph-dom-widget-clipping: layout duration 0ms
subgraph-dom-widget-clipping: style recalc duration 9ms
subgraph-dom-widget-clipping: layout count 0
subgraph-dom-widget-clipping: style recalc count 47
subgraph-dom-widget-clipping: task duration 319ms
subgraph-dom-widget-clipping: script duration 96ms
subgraph-dom-widget-clipping: TBT 0ms
subgraph-dom-widget-clipping: heap used 71.0 MB
subgraph-dom-widget-clipping: DOM nodes 19
subgraph-dom-widget-clipping: event listeners 7
subgraph-idle: avg frame time 17ms
subgraph-idle: p95 frame time 17ms
subgraph-idle: layout duration 0ms
subgraph-idle: style recalc duration 7ms
subgraph-idle: layout count 0
subgraph-idle: style recalc count 10
subgraph-idle: task duration 443ms
subgraph-idle: script duration 7ms
subgraph-idle: TBT 0ms
subgraph-idle: heap used 65.8 MB
subgraph-idle: DOM nodes -282
subgraph-idle: event listeners -151
subgraph-mouse-sweep: avg frame time 17ms
subgraph-mouse-sweep: p95 frame time 17ms
subgraph-mouse-sweep: layout duration 4ms
subgraph-mouse-sweep: style recalc duration 30ms
subgraph-mouse-sweep: layout count 16
subgraph-mouse-sweep: style recalc count 76
subgraph-mouse-sweep: task duration 679ms
subgraph-mouse-sweep: script duration 72ms
subgraph-mouse-sweep: TBT 0ms
subgraph-mouse-sweep: heap used 77.4 MB
subgraph-mouse-sweep: DOM nodes -281
subgraph-mouse-sweep: event listeners -150
subgraph-transition-enter: avg frame time 17ms
subgraph-transition-enter: p95 frame time 17ms
subgraph-transition-enter: layout duration 11ms
subgraph-transition-enter: style recalc duration 25ms
subgraph-transition-enter: layout count 15
subgraph-transition-enter: style recalc count 20
subgraph-transition-enter: task duration 739ms
subgraph-transition-enter: script duration 13ms
subgraph-transition-enter: TBT 92ms
subgraph-transition-enter: heap used 98.2 MB
subgraph-transition-enter: DOM nodes 13673
subgraph-transition-enter: event listeners 2373
viewport-pan-sweep: avg frame time 17ms
viewport-pan-sweep: p95 frame time 17ms
viewport-pan-sweep: layout duration 0ms
viewport-pan-sweep: style recalc duration 38ms
viewport-pan-sweep: layout count 0
viewport-pan-sweep: style recalc count 250
viewport-pan-sweep: task duration 3525ms
viewport-pan-sweep: script duration 883ms
viewport-pan-sweep: TBT 0ms
viewport-pan-sweep: heap used 75.7 MB
viewport-pan-sweep: DOM nodes -271
viewport-pan-sweep: event listeners -133
vue-large-graph-idle: avg frame time 17ms
vue-large-graph-idle: p95 frame time 17ms
vue-large-graph-idle: layout duration 0ms
vue-large-graph-idle: style recalc duration 0ms
vue-large-graph-idle: layout count 0
vue-large-graph-idle: style recalc count 0
vue-large-graph-idle: task duration 14228ms
vue-large-graph-idle: script duration 100ms
vue-large-graph-idle: TBT 0ms
vue-large-graph-idle: heap used 157.9 MB
vue-large-graph-idle: DOM nodes -8312
vue-large-graph-idle: event listeners -16392
vue-large-graph-pan: avg frame time 18ms
vue-large-graph-pan: p95 frame time 17ms
vue-large-graph-pan: layout duration 0ms
vue-large-graph-pan: style recalc duration 17ms
vue-large-graph-pan: layout count 0
vue-large-graph-pan: style recalc count 147
vue-large-graph-pan: task duration 17223ms
vue-large-graph-pan: script duration 351ms
vue-large-graph-pan: TBT 17ms
vue-large-graph-pan: heap used 176.5 MB
vue-large-graph-pan: DOM nodes -8312
vue-large-graph-pan: event listeners -16388
workflow-execution: avg frame time 17ms
workflow-execution: p95 frame time 17ms
workflow-execution: layout duration 1ms
workflow-execution: style recalc duration 15ms
workflow-execution: layout count 6
workflow-execution: style recalc count 16
workflow-execution: task duration 86ms
workflow-execution: script duration 7ms
workflow-execution: TBT 0ms
workflow-execution: heap used 64.4 MB
workflow-execution: DOM nodes 137
workflow-execution: event listeners 97
Raw data
{
  "timestamp": "2026-08-27T15:51:22.745Z",
  "gitSha": "62dceabdf588b4313fea229cb61cbfcf4f10c422",
  "branch": "backport-15892-to-cloud-1.52",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2100.0549999999976,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.158,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 548.786,
      "heapDeltaBytes": 5314768,
      "heapUsedBytes": 75612352,
      "domNodes": 16,
      "jsHeapTotalBytes": 18350080,
      "scriptDurationMs": 10.010000000000002,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-idle",
      "durationMs": 2020.2249999999822,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 8.035999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 399.86699999999996,
      "heapDeltaBytes": 15221428,
      "heapUsedBytes": 77355152,
      "domNodes": -280,
      "jsHeapTotalBytes": 4448256,
      "scriptDurationMs": 5.845,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1719.4729999999936,
      "styleRecalcs": 72,
      "styleRecalcDurationMs": 30.447000000000003,
      "layouts": 12,
      "layoutDurationMs": 3.087,
      "taskDurationMs": 771.15,
      "heapDeltaBytes": 18444024,
      "heapUsedBytes": 81485256,
      "domNodes": -282,
      "jsHeapTotalBytes": 5758976,
      "scriptDurationMs": 91.31500000000001,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1707.271999999989,
      "styleRecalcs": 73,
      "styleRecalcDurationMs": 25.339,
      "layouts": 12,
      "layoutDurationMs": 2.715,
      "taskDurationMs": 663.325,
      "heapDeltaBytes": -4479104,
      "heapUsedBytes": 58419480,
      "domNodes": -280,
      "jsHeapTotalBytes": 5234688,
      "scriptDurationMs": 76.49000000000001,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1689.3460000000005,
      "styleRecalcs": 30,
      "styleRecalcDurationMs": 15.179,
      "layouts": 6,
      "layoutDurationMs": 0.523,
      "taskDurationMs": 324.324,
      "heapDeltaBytes": 3225316,
      "heapUsedBytes": 66322400,
      "domNodes": 77,
      "jsHeapTotalBytes": 4718592,
      "scriptDurationMs": 10.619,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1680.1629999999932,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 12.682,
      "layouts": 6,
      "layoutDurationMs": 0.5530000000000002,
      "taskDurationMs": 281.71299999999997,
      "heapDeltaBytes": 3250264,
      "heapUsedBytes": 66222536,
      "domNodes": 77,
      "jsHeapTotalBytes": 4718592,
      "scriptDurationMs": 8.181,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66999999999998,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 556.555000000003,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 6.992,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 321.12300000000005,
      "heapDeltaBytes": 10960780,
      "heapUsedBytes": 73475728,
      "domNodes": 18,
      "jsHeapTotalBytes": 4718592,
      "scriptDurationMs": 47.173,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 494.5829999999205,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 6.332000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 283.163,
      "heapDeltaBytes": 10854072,
      "heapUsedBytes": 73806040,
      "domNodes": 22,
      "jsHeapTotalBytes": 4718592,
      "scriptDurationMs": 41.417,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2040.003000000013,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.557,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 608.693,
      "heapDeltaBytes": -12222096,
      "heapUsedBytes": 64214160,
      "domNodes": -283,
      "jsHeapTotalBytes": 3923968,
      "scriptDurationMs": 16.827,
      "eventListeners": -179,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2056.3889999999674,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 9.403000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 517.102,
      "heapDeltaBytes": -3680424,
      "heapUsedBytes": 73478108,
      "domNodes": -269,
      "jsHeapTotalBytes": -1056768,
      "scriptDurationMs": 15.726999999999999,
      "eventListeners": -147,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2086.461999999983,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 14.248000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1030.327,
      "heapDeltaBytes": 11483492,
      "heapUsedBytes": 88801236,
      "domNodes": -280,
      "jsHeapTotalBytes": 4935680,
      "scriptDurationMs": 273.821,
      "eventListeners": -179,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2092.529000000013,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 13.517000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 932.6030000000001,
      "heapDeltaBytes": -9233536,
      "heapUsedBytes": 69015872,
      "domNodes": -276,
      "jsHeapTotalBytes": -45056,
      "scriptDurationMs": 256.74399999999997,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3071.9179999999824,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 14.604999999999997,
      "layouts": 60,
      "layoutDurationMs": 7.462999999999999,
      "taskDurationMs": 1182.504,
      "heapDeltaBytes": 18469464,
      "heapUsedBytes": 97851032,
      "domNodes": 12,
      "jsHeapTotalBytes": 6328320,
      "scriptDurationMs": 327.00600000000003,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3020.8090000000993,
      "styleRecalcs": 66,
      "styleRecalcDurationMs": 14.2,
      "layouts": 60,
      "layoutDurationMs": 6.784,
      "taskDurationMs": 1048.299,
      "heapDeltaBytes": -9704324,
      "heapUsedBytes": 69803392,
      "domNodes": 18,
      "jsHeapTotalBytes": 5541888,
      "scriptDurationMs": 308.532,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2241.5829999999914,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 10.040999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1264.4319999999998,
      "heapDeltaBytes": -17221264,
      "heapUsedBytes": 69936696,
      "domNodes": 14,
      "jsHeapTotalBytes": 8163328,
      "scriptDurationMs": 393.067,
      "eventListeners": 186,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2114.6179999999504,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 9.541,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1127.999,
      "heapDeltaBytes": -17443584,
      "heapUsedBytes": 69939336,
      "domNodes": 16,
      "jsHeapTotalBytes": 8425472,
      "scriptDurationMs": 366.67499999999995,
      "eventListeners": 186,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2030.1830000000223,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.289999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 596.1419999999999,
      "heapDeltaBytes": -12609796,
      "heapUsedBytes": 65395936,
      "domNodes": -282,
      "jsHeapTotalBytes": 3399680,
      "scriptDurationMs": 15.873999999999999,
      "eventListeners": -177,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2034.7210000001041,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.045999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 490.094,
      "heapDeltaBytes": -10953812,
      "heapUsedBytes": 74301320,
      "domNodes": -276,
      "jsHeapTotalBytes": 3137536,
      "scriptDurationMs": 12.413,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 531.3560000000166,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 9.506,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 333.882,
      "heapDeltaBytes": 11421888,
      "heapUsedBytes": 74450984,
      "domNodes": 18,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 97.065,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 513.4649999999965,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 8.597000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 304.77200000000005,
      "heapDeltaBytes": 11901732,
      "heapUsedBytes": 74416368,
      "domNodes": 20,
      "jsHeapTotalBytes": 5767168,
      "scriptDurationMs": 94.23400000000001,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2008.5090000000037,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.446,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 475.67900000000003,
      "heapDeltaBytes": -7071676,
      "heapUsedBytes": 55832840,
      "domNodes": -282,
      "jsHeapTotalBytes": 4710400,
      "scriptDurationMs": 8.089,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2017.9099999999153,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 6.520999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 409.48400000000004,
      "heapDeltaBytes": 19165028,
      "heapUsedBytes": 82099856,
      "domNodes": -282,
      "jsHeapTotalBytes": 4186112,
      "scriptDurationMs": 6.012,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1724.0600000000086,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 34.678999999999995,
      "layouts": 16,
      "layoutDurationMs": 4.248,
      "taskDurationMs": 752.668,
      "heapDeltaBytes": 17515120,
      "heapUsedBytes": 80411424,
      "domNodes": -281,
      "jsHeapTotalBytes": 4448256,
      "scriptDurationMs": 81.61800000000001,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1708.3489999999983,
      "styleRecalcs": 75,
      "styleRecalcDurationMs": 25.608,
      "layouts": 16,
      "layoutDurationMs": 3.1339999999999995,
      "taskDurationMs": 605.0260000000001,
      "heapDeltaBytes": 19040688,
      "heapUsedBytes": 81956512,
      "domNodes": -280,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 62.85,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 901.3679999999908,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 25.03600000000001,
      "layouts": 15,
      "layoutDurationMs": 10.777,
      "taskDurationMs": 739.1939999999997,
      "heapDeltaBytes": 20230452,
      "heapUsedBytes": 102921680,
      "domNodes": 13673,
      "jsHeapTotalBytes": 11010048,
      "scriptDurationMs": 12.536999999999999,
      "eventListeners": 2373,
      "totalBlockingTimeMs": 92,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8172.733999999991,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 40.576,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3767.1659999999997,
      "heapDeltaBytes": 1642144,
      "heapUsedBytes": 78828792,
      "domNodes": -271,
      "jsHeapTotalBytes": 479232,
      "scriptDurationMs": 924.6560000000001,
      "eventListeners": -133,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8123.894000000064,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 35.652,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3283.775,
      "heapDeltaBytes": 2669108,
      "heapUsedBytes": 79931408,
      "domNodes": -270,
      "jsHeapTotalBytes": -1093632,
      "scriptDurationMs": 840.898,
      "eventListeners": -133,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 15616.780000000006,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 14739.455,
      "heapDeltaBytes": -64829372,
      "heapUsedBytes": 162798336,
      "domNodes": -8312,
      "jsHeapTotalBytes": -21721088,
      "scriptDurationMs": 105.77000000000001,
      "eventListeners": -16391,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 14647.031999999967,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 13715.838,
      "heapDeltaBytes": -56280316,
      "heapUsedBytes": 168398892,
      "domNodes": -8312,
      "jsHeapTotalBytes": -11079680,
      "scriptDurationMs": 94.09899999999999,
      "eventListeners": -16393,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.77333333333336,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 18291.08199999996,
      "styleRecalcs": 148,
      "styleRecalcDurationMs": 18.772999999999985,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 17860.903000000002,
      "heapDeltaBytes": -35399964,
      "heapUsedBytes": 176712760,
      "domNodes": -8312,
      "jsHeapTotalBytes": -14168064,
      "scriptDurationMs": 366.89,
      "eventListeners": -16387,
      "totalBlockingTimeMs": 30,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 17105.528999999933,
      "styleRecalcs": 146,
      "styleRecalcDurationMs": 14.52400000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 16584.368,
      "heapDeltaBytes": -19219752,
      "heapUsedBytes": 193428324,
      "domNodes": -8312,
      "jsHeapTotalBytes": -17383424,
      "scriptDurationMs": 334.949,
      "eventListeners": -16389,
      "totalBlockingTimeMs": 4,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "workflow-execution",
      "durationMs": 454.32900000002974,
      "styleRecalcs": 17,
      "styleRecalcDurationMs": 16.441,
      "layouts": 9,
      "layoutDurationMs": 1.9229999999999998,
      "taskDurationMs": 96.93800000000002,
      "heapDeltaBytes": 5289768,
      "heapUsedBytes": 68127632,
      "domNodes": 148,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 8.271,
      "eventListeners": 97,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "workflow-execution",
      "durationMs": 434.09700000006524,
      "styleRecalcs": 14,
      "styleRecalcDurationMs": 13.083999999999998,
      "layouts": 2,
      "layoutDurationMs": 0.32400000000000007,
      "taskDurationMs": 75.55499999999999,
      "heapDeltaBytes": 4989092,
      "heapUsedBytes": 67013696,
      "domNodes": 125,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 5.080000000000001,
      "eventListeners": 97,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.663333333333338,
      "p95FrameDurationMs": 16.699999999999818
    }
  ]
}

@github-actions github-actions Bot added the risk:R3 PR risk grade (advisory shadow check; grader-owned) label Aug 27, 2026
@codecov

codecov Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@              Coverage Diff              @@
##             cloud/1.52   #16117   +/-   ##
=============================================
  Coverage              ?   82.01%           
=============================================
  Files                 ?     1911           
  Lines                 ?   109983           
  Branches              ?    31210           
=============================================
  Hits                  ?    90202           
  Misses                ?    19430           
  Partials              ?      351           
Flag Coverage Δ
e2e 66.12% <7.14%> (?)
unit 74.00% <100.00%> (?)

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

Files with missing lines Coverage Δ
...dialog/content/TopUpCreditsDialogContentLegacy.vue 76.28% <100.00%> (ø)
src/components/topbar/CurrentUserPopoverLegacy.vue 94.31% <100.00%> (ø)
src/composables/auth/useAuthActions.ts 83.03% <100.00%> (ø)
src/composables/billing/topupBalanceRefresh.ts 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@comfy-pr-bot
comfy-pr-bot merged commit 2da06a6 into cloud/1.52 Aug 27, 2026
109 checks passed
@comfy-pr-bot
comfy-pr-bot deleted the backport-15892-to-cloud-1.52 branch August 27, 2026 15:56
@huang47 huang47 added the risk:xhigh PR risk grade (advisory shadow check; grader-owned) label Sep 2, 2026 — with ChatGPT Codex Connector
@huang47 huang47 removed the risk:R3 PR risk grade (advisory shadow check; grader-owned) label Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Backporting a PR onto a release candidate risk:xhigh PR risk grade (advisory shadow check; grader-owned) size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants