Skip to content

[backport core/1.51] feat(workspace): enable local credit workspace switching FE-1584 - #15558

Merged
comfy-pr-bot merged 1 commit into
core/1.51from
dante01yoon/backport-15164-to-core-1.51
Aug 21, 2026
Merged

comfy-pr-bot merged 1 commit into
core/1.51from
dante01yoon/backport-15164-to-core-1.51

Conversation

@dante01yoon

Copy link
Copy Markdown
Collaborator

Summary

Manual backport of #15164 to core/1.51, preserving the original local/Desktop credit-workspace switching behavior and regression coverage.

Changes

  • What: Cherry-picks squash commit 848cd39ed06a2da6fea389305cf7210a0a18c5ee onto the current core/1.51 tip.
  • Conflict resolution: The commit applied cleanly; no semantic conflict edits were required. The resulting stable patch ID exactly matches the original commit (d4910c5a0c7422e75a8e878248822032be6ab222).

Verification

  • pnpm test:unit <24 changed workspace switcher/auth/billing/persistence test files>
    • 24 test files passed
    • 756 tests passed
  • Push hook: knip --cache passed.

Review Focus

Confirm local credit-workspace switching, workspace-auth routing, billing attribution, and local workflow persistence remain equivalent to #15164 on the 1.51 release line.

)

## Why

Local/Desktop users cannot select the workspace that owns their
subscription or credits. The existing workspace and billing clients also
resolve through `api.apiURL()`, which points at the local ComfyUI server
off Cloud, so simply exposing the Cloud switcher leaves workspace
hydration dormant and returns 404s.

## Root cause

The Cloud-only UI guard hid the switcher, but the deeper boundary was
also Cloud-only:

- workspace token exchange, workspace listing, and `/billing/*` used
same-origin URLs
- generic auth helpers mixed Firebase user identity with
workspace-scoped identity
- Cloud workspace switching reloads the app and changes
workflow-persistence namespaces, which is incorrect for Local/Desktop
where workspaces are credit wallets only

## Change

- Expose the existing workspace switcher in Local/Desktop after Firebase
auth hydrates; keep workspace creation Cloud-only.
- Route workspace auth, listing, and billing requests to the build's
Firebase-paired Cloud gateway (`cloud.comfy.org` in production,
`testcloud.comfy.org` in non-production) while Cloud remains
same-origin.
- Separate Firebase-authenticated `/customers/*` calls from
workspace-authenticated billing and partner-node execution.
- Switch the active local credit context without reloading or moving
local workflow persistence; persist the selected wallet per device.
- Keep Add credits permission-aware and return completed/pending top-ups
to Settings → Credits on Local/Desktop.

### Implementation scope and rationale

| Area | Change | Why it is required |
| --- | --- | --- |
| Workspace API routing | Resolve workspace and billing requests through
the Firebase-paired Cloud gateway outside the Cloud distribution. |
Local `/api` targets the local ComfyUI server, while workspace and
billing state is owned by Cloud ingest. |
| Authentication boundary | Separate Firebase user authentication from
workspace-scoped authentication, including partner-node queue execution.
| A Firebase token identifies the user; the workspace token
deterministically identifies the wallet that owns credits and receives
usage charges. |
| Workspace bootstrap | Share and await the in-flight Local workspace
initialization, and fail closed when no active workspace can be
established. | Prompt submission during bootstrap must not run without
credentials or silently fall back to the personal workspace. |
| Local switch lifecycle | Switch the active credit workspace without
reloading the document. | Cloud reload semantics are unnecessary for
Local and would interrupt the current local workflow. |
| Workflow persistence | Keep Local workflow storage in the personal
namespace when the credit workspace changes. | Local workspace selection
changes the billing wallet only; it must not move, clear, or split
locally stored workflows. |
| Billing routing | Use workspace billing after Local workspace
hydration. | Balances, plans, billing events, and top-ups must follow
the selected credit workspace rather than the personal account. |
| Billing permissions | Keep Credits visible while hiding Add credits
for members who cannot top up. | Backend top-up operations are
owner-only, so the UI must not offer an action the selected workspace
role cannot perform. |
| Top-up completion | Return completed or pending Local top-ups to
Settings → Credits. | Local does not expose the Cloud
workspace-management destination used by the existing Cloud flow. |
| Cloud customer endpoints | Explicitly retain Firebase authentication
for user-scoped customer and subscription calls. | Changing generic auth
precedence must not send a workspace token to endpoints whose contract
is user-scoped. |
| Feature-flag isolation | Disable `unified_cloud_auth` outside the
Cloud distribution. | Unified Cloud JWT minting is not available in
Local/Desktop; accepting that flag there would break workspace discovery
and execution authentication. |
| Regression coverage | Add focused unit tests and a Local Playwright
workspace-switching flow. | The tests protect workspace attribution,
Cloud-gateway routing, no-reload switching, workflow retention,
permissions, and bootstrap race handling. |

Backend dependency:
[cloud#6635](Comfy-Org/cloud#6635) is required
and merged. Its Local/Desktop CORS scope covers `POST /api/auth/token`,
`GET /api/workspaces`, and `GET`/`POST /api/billing/*`; Local keeps
workspace creation hidden. The backend PR is merged into `main`, and its
production manifest contains the loopback origins. A live preflight
currently passes on `testcloud.comfy.org`, while `cloud.comfy.org` still
omits `Access-Control-Allow-Origin` for loopback origins. No additional
backend code change is currently identified; the remaining release check
is to confirm the merged configuration has rolled out to the production
runtime and repeat the preflight.
[#15151](#15151)
independently fixes the existing Settings → Credits activity spinner and
billing-portal rail.

## Plan / QA

1. Review the auth and persistence boundaries in this PR.
2. Land #15151 so activity and Invoice History follow the selected
billing rail.
3. Confirm the merged cloud#6635 configuration has rolled out to the
production runtime and repeat the live preflight.
4. Verify on a Desktop build against the deployed gateway:
switch/relaunch, popover and Settings balances, top-up attribution,
partner-node debit and allowlist, member permissions, and zero-credit
local runs.

Regression audit added a focused Local Playwright flow. It caught and
fixed two release blockers: Local rendered the legacy profile popover
even after workspace hydration, and `unified_cloud_auth=true`
incorrectly selected an unavailable Cloud JWT outside the Cloud
distribution. The E2E verifies workspace/role rendering, workspace token
exchange, Cloud-gateway billing routing, and that switching neither
reloads the document nor loses the open workflow tab.

A second auth/accounting audit found two queue-time races: a prompt
could be submitted without a workspace token while Local workspace
bootstrap was in flight, or fall back to the personal Firebase identity
after bootstrap failed. Queue authentication now shares and awaits the
in-flight workspace initialization and fails closed if no active
workspace can be established. Identity-generation guards prevent a
previous user's initialization from overwriting the next user's state.

Design of record: [MVP
before/after](https://www.figma.com/design/CkFTD4c20PyRGpNVAJgpfV/Team-Plan---Workspaces?node-id=5874-73181)
· [popover and
switcher](https://www.figma.com/design/CkFTD4c20PyRGpNVAJgpfV/Team-Plan---Workspaces?node-id=5874-72771)

The implementation references those prototype states: the profile
popover gains the workspace row, the selector opens to the left, and the
selected workspace is highlighted with a check while roles remain
visible. Local-specific adaptations are the compact single-line trigger
and the retained Credits entry, because this scope adds wallet switching
without exposing Cloud workspace management.

| AS IS — Local profile menu | TO BE — Local workspace selector |
| --- | --- |
| ![AS IS Local profile
menu](https://ampcode.com/user-content/artifacts/5112da3b9ef62052997070dfef05a45f2febbb34c6c6781c6aebbec951cffc93-file.png)
| ![TO BE Local workspace
selector](https://ampcode.com/user-content/artifacts/74da3cdb517dd10ba82e5abbbe4b5d100c76107defdb0d8b4ac0950a63299fbe-file.png)
|

Captured from the actual Local frontend at 1920×1200 with deterministic
auth/workspace/billing API fixtures; no Figma image is substituted for
the implementation capture.

## Validation

- Focused Local workspace Playwright E2E: 1/1 passed on Chromium before
the final auth-race patch; final local rerun was blocked during fixture
setup because the 8188 ComfyUI test backend was unavailable, before any
product assertion ran
- Final focused workspace/auth/queue unit suites: 316/316 passed when
run in their stable focused groups
- Earlier affected unit/component suites: 650/650 passed before rebase;
594/594 passed after rebase
- `pnpm typecheck`
- targeted ESLint and oxfmt checks
- `pnpm knip` reports only existing repository-wide unused
dependency/export findings
- Real-app screenshot Playwright run: 2/2 passed (AS IS without a
workspace roster; TO BE with the selector open)
- Live CORS preflight: staging passes; production runtime rollout/sync
verification remains the release blocker

Linear:
[FE-1584](https://linear.app/comfyorg/issue/FE-1584/add-workspace-switcher-to-localdesktop-credits-only-no-settings)

---------

Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: comfydesigner <alextov@comfy.org>
@dante01yoon dante01yoon added the backport Backporting a PR onto a release candidate label Aug 21, 2026
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Aug 21, 2026
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords (2)
  • [release]
  • [backport

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

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: b8fbd9fb-b561-4fa2-af5d-d5f1fe26f3e3

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions

github-actions Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

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

📊 Browser Reports
  • chromium: View Report (✅ 1804 / ❌ 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)
  • New-test walkthrough (chromium, recorded video): View Report

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 08/21/2026, 01:37:44 PM UTC

Links

📦 Bundle Size

⏳ Size data collection in progress…

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.3 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 62.4 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 70.4 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 51.2 MB heap
large-graph-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.9 MB heap
large-graph-pan: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.6 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 75.6 MB heap
minimap-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.3 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 53.0 MB heap
subgraph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.6 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 59.2 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 85ms TBT · 76.0 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 61.2 MB heap
vue-large-graph-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 165.1 MB heap
vue-large-graph-pan: · 59.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 172.1 MB heap
workflow-execution: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 66.4 MB heap

⚠️ 1 regression detected

Show regressions
Metric Baseline PR (median) Δ Sig
workflow-execution: event listeners 74 99 +34% ⚠️ z=10.8
All metrics
Metric Baseline PR (median) Δ Sig
canvas-idle: avg frame time 17ms 17ms -0% z=-0.5
canvas-idle: p95 frame time 17ms 17ms +1% —
canvas-idle: layout duration 0ms 0ms +0% —
canvas-idle: style recalc duration 9ms 5ms -40% z=-6.3
canvas-idle: layout count 0 0 +0% —
canvas-idle: style recalc count 10 12 +21% z=0.6
canvas-idle: task duration 450ms 320ms -29% z=-2.4
canvas-idle: script duration 7ms 6ms -12% z=-8.6
canvas-idle: TBT 0ms 0ms +0% —
canvas-idle: heap used 67.3 MB 67.3 MB +0% —
canvas-idle: DOM nodes 19 23 +21% z=0.3
canvas-idle: event listeners 4 6 +50% z=-1.2
canvas-mouse-sweep: avg frame time 17ms 17ms -0% z=-0.9
canvas-mouse-sweep: p95 frame time 17ms 17ms +0% —
canvas-mouse-sweep: layout duration 4ms 2ms -43% z=-6.4
canvas-mouse-sweep: style recalc duration 44ms 22ms -51% z=-6.6
canvas-mouse-sweep: layout count 12 12 +0% —
canvas-mouse-sweep: style recalc count 78 73 -7% z=-2.6
canvas-mouse-sweep: task duration 983ms 569ms -42% z=-5.1
canvas-mouse-sweep: script duration 120ms 66ms -45% z=-10.8
canvas-mouse-sweep: TBT 0ms 0ms +0% —
canvas-mouse-sweep: heap used 45.3 MB 62.4 MB +38% —
canvas-mouse-sweep: DOM nodes -281 55 -120% z=-2.8
canvas-mouse-sweep: event listeners -153 4 -103% z=-1.1
canvas-zoom-sweep: avg frame time 17ms 17ms -0% z=-0.3
canvas-zoom-sweep: p95 frame time 17ms 17ms -0% —
canvas-zoom-sweep: layout duration 1ms 1ms -28% z=-2.8
canvas-zoom-sweep: style recalc duration 18ms 11ms -41% z=-5.5
canvas-zoom-sweep: layout count 6 6 +0% —
canvas-zoom-sweep: style recalc count 33 31 -6% z=-1.7
canvas-zoom-sweep: task duration 379ms 250ms -34% z=-3.3
canvas-zoom-sweep: script duration 11ms 6ms -39% z=-6.9
canvas-zoom-sweep: TBT 0ms 0ms +0% —
canvas-zoom-sweep: heap used 70.0 MB 70.4 MB +1% —
canvas-zoom-sweep: DOM nodes 78 78 +1% z=-1.6
canvas-zoom-sweep: event listeners 19 19 +0% z=-0.9
dom-widget-clipping: avg frame time 17ms 17ms -0% z=-0.2
dom-widget-clipping: p95 frame time 17ms 17ms -1% —
dom-widget-clipping: layout duration 0ms 0ms +0% —
dom-widget-clipping: style recalc duration 8ms 5ms -32% z=-5.7
dom-widget-clipping: layout count 0 0 +0% —
dom-widget-clipping: style recalc count 11 13 +14% z=-1.2
dom-widget-clipping: task duration 381ms 267ms -30% z=-6.0
dom-widget-clipping: script duration 59ms 36ms -39% z=-9.8
dom-widget-clipping: TBT 0ms 0ms +0% —
dom-widget-clipping: heap used 51.2 MB 51.2 MB +0% —
dom-widget-clipping: DOM nodes 18 21 +17% z=-0.8
dom-widget-clipping: event listeners 0 2 — variance too high
large-graph-idle: avg frame time 17ms 17ms -0% z=-1.0
large-graph-idle: p95 frame time 17ms 17ms +0% —
large-graph-idle: layout duration 0ms 0ms +0% —
large-graph-idle: style recalc duration 8ms 5ms -41% z=-7.0
large-graph-idle: layout count 0 0 +0% —
large-graph-idle: style recalc count 9 10 +6% z=-6.7
large-graph-idle: task duration 592ms 432ms -27% z=-2.0
large-graph-idle: script duration 16ms 9ms -39% z=-8.8
large-graph-idle: TBT 0ms 0ms +0% —
large-graph-idle: heap used 69.7 MB 67.9 MB -3% —
large-graph-idle: DOM nodes -283 -282 -0% z=-338.8
large-graph-idle: event listeners -149 -163 +9% z=-31.0
large-graph-pan: avg frame time 17ms 17ms +0% z=0.8
large-graph-pan: p95 frame time 17ms 17ms -0% —
large-graph-pan: layout duration 0ms 0ms +0% —
large-graph-pan: style recalc duration 14ms 9ms -35% z=-10.3
large-graph-pan: layout count 0 0 +0% —
large-graph-pan: style recalc count 68 68 +0% z=-2.4
large-graph-pan: task duration 1164ms 767ms -34% z=-7.3
large-graph-pan: script duration 325ms 201ms -38% z=-10.4
large-graph-pan: TBT 0ms 0ms +0% —
large-graph-pan: heap used 65.8 MB 67.6 MB +3% —
large-graph-pan: DOM nodes -284 -282 -1% z=-182.4
large-graph-pan: event listeners -148 -148 +0% z=-184.7
large-graph-zoom: avg frame time 17ms 17ms -0% —
large-graph-zoom: p95 frame time 17ms 17ms -0% —
large-graph-zoom: layout duration 7ms 6ms -14% —
large-graph-zoom: style recalc duration 15ms 12ms -20% —
large-graph-zoom: layout count 60 60 +0% —
large-graph-zoom: style recalc count 65 67 +3% —
large-graph-zoom: task duration 1377ms 879ms -36% —
large-graph-zoom: script duration 383ms 234ms -39% —
large-graph-zoom: TBT 0ms 0ms +0% —
large-graph-zoom: heap used 57.3 MB 75.6 MB +32% —
large-graph-zoom: DOM nodes -287 17 -106% —
large-graph-zoom: event listeners -153 8 -105% —
minimap-idle: avg frame time 17ms 17ms -0% z=-0.4
minimap-idle: p95 frame time 17ms 17ms +0% —
minimap-idle: layout duration 0ms 0ms +0% —
minimap-idle: style recalc duration 7ms 5ms -23% z=-5.3
minimap-idle: layout count 0 0 +0% —
minimap-idle: style recalc count 8 10 +33% z=0.6
minimap-idle: task duration 595ms 419ms -30% z=-2.3
minimap-idle: script duration 16ms 9ms -42% z=-9.0
minimap-idle: TBT 0ms 0ms +0% —
minimap-idle: heap used 67.2 MB 69.3 MB +3% —
minimap-idle: DOM nodes -283 -281 -1% z=-219.4
minimap-idle: event listeners -180 -162 -10% z=-252.3
subgraph-dom-widget-clipping: avg frame time 17ms 17ms +0% z=0.1
subgraph-dom-widget-clipping: p95 frame time 17ms 17ms +0% —
subgraph-dom-widget-clipping: layout duration 0ms 0ms — —
subgraph-dom-widget-clipping: style recalc duration 10ms 7ms -31% z=-6.3
subgraph-dom-widget-clipping: layout count 0 1 — —
subgraph-dom-widget-clipping: style recalc count 46 49 +8% z=1.8
subgraph-dom-widget-clipping: task duration 397ms 262ms -34% z=-6.3
subgraph-dom-widget-clipping: script duration 118ms 71ms -40% z=-9.0
subgraph-dom-widget-clipping: TBT 0ms 0ms +0% —
subgraph-dom-widget-clipping: heap used 53.0 MB 53.0 MB +0% —
subgraph-dom-widget-clipping: DOM nodes 17 22 +29% z=-0.2
subgraph-dom-widget-clipping: event listeners 7 8 +14% z=-1.4
subgraph-idle: avg frame time 17ms 17ms -0% z=-0.7
subgraph-idle: p95 frame time 17ms 17ms +0% —
subgraph-idle: layout duration 0ms 0ms — —
subgraph-idle: style recalc duration 9ms 6ms -34% z=-6.0
subgraph-idle: layout count 0 1 — —
subgraph-idle: style recalc count 10 12 +15% z=0.9
subgraph-idle: task duration 460ms 316ms -31% z=-1.7
subgraph-idle: script duration 7ms 5ms -25% z=-5.6
subgraph-idle: TBT 0ms 0ms +0% —
subgraph-idle: heap used 67.8 MB 67.6 MB -0% —
subgraph-idle: DOM nodes 20 23 +15% z=0.8
subgraph-idle: event listeners 4 6 +50% variance too high
subgraph-mouse-sweep: avg frame time 17ms 17ms +0% z=0.4
subgraph-mouse-sweep: p95 frame time 17ms 17ms -0% —
subgraph-mouse-sweep: layout duration 4ms 3ms -32% z=-5.5
subgraph-mouse-sweep: style recalc duration 37ms 23ms -37% z=-5.8
subgraph-mouse-sweep: layout count 16 16 +0% —
subgraph-mouse-sweep: style recalc count 76 78 +2% z=-1.4
subgraph-mouse-sweep: task duration 713ms 524ms -26% z=-3.5
subgraph-mouse-sweep: script duration 85ms 51ms -39% z=-7.6
subgraph-mouse-sweep: TBT 0ms 0ms +0% —
subgraph-mouse-sweep: heap used 58.9 MB 59.2 MB +0% —
subgraph-mouse-sweep: DOM nodes 62 67 +7% z=-0.2
subgraph-mouse-sweep: event listeners 4 4 +0% variance too high
subgraph-transition-enter: avg frame time 17ms 17ms +0% —
subgraph-transition-enter: p95 frame time 17ms 17ms -1% —
subgraph-transition-enter: layout duration 12ms 8ms -37% —
subgraph-transition-enter: style recalc duration 30ms 20ms -32% —
subgraph-transition-enter: layout count 14 15 +7% —
subgraph-transition-enter: style recalc count 19 20 +5% —
subgraph-transition-enter: task duration 903ms 603ms -33% —
subgraph-transition-enter: script duration 16ms 11ms -34% —
subgraph-transition-enter: TBT 132ms 85ms -36% —
subgraph-transition-enter: heap used 73.3 MB 76.0 MB +4% —
subgraph-transition-enter: DOM nodes 13673 13673 +0% —
subgraph-transition-enter: event listeners 2375 2373 -0% —
viewport-pan-sweep: avg frame time 17ms 17ms +0% —
viewport-pan-sweep: p95 frame time 17ms 17ms +0% —
viewport-pan-sweep: layout duration 0ms 0ms +0% —
viewport-pan-sweep: style recalc duration 37ms 25ms -33% —
viewport-pan-sweep: layout count 0 0 +0% —
viewport-pan-sweep: style recalc count 249 250 +0% —
viewport-pan-sweep: task duration 4148ms 2625ms -37% —
viewport-pan-sweep: script duration 1008ms 614ms -39% —
viewport-pan-sweep: TBT 0ms 0ms +0% —
viewport-pan-sweep: heap used 65.8 MB 61.2 MB -7% —
viewport-pan-sweep: DOM nodes -282 -281 -0% —
viewport-pan-sweep: event listeners -133 -148 +11% —
vue-large-graph-idle: avg frame time 18ms 17ms -6% —
vue-large-graph-idle: p95 frame time 17ms 17ms +0% —
vue-large-graph-idle: layout duration 0ms 0ms +0% —
vue-large-graph-idle: style recalc duration 0ms 0ms +0% —
vue-large-graph-idle: layout count 0 0 +0% —
vue-large-graph-idle: style recalc count 0 0 +0% —
vue-large-graph-idle: task duration 16550ms 9202ms -44% —
vue-large-graph-idle: script duration 126ms 60ms -53% —
vue-large-graph-idle: TBT 0ms 0ms +0% —
vue-large-graph-idle: heap used 162.2 MB 165.1 MB +2% —
vue-large-graph-idle: DOM nodes -8312 -8315 +0% —
vue-large-graph-idle: event listeners -16389 -16391 +0% —
vue-large-graph-pan: avg frame time 18ms 17ms -5% —
vue-large-graph-pan: p95 frame time 17ms 17ms -1% —
vue-large-graph-pan: layout duration 0ms 0ms +0% —
vue-large-graph-pan: style recalc duration 18ms 13ms -26% —
vue-large-graph-pan: layout count 0 0 +0% —
vue-large-graph-pan: style recalc count 173 69 -60% —
vue-large-graph-pan: task duration 20012ms 12262ms -39% —
vue-large-graph-pan: script duration 390ms 348ms -11% —
vue-large-graph-pan: TBT 33ms 0ms -100% —
vue-large-graph-pan: heap used 175.2 MB 172.1 MB -2% —
vue-large-graph-pan: DOM nodes -8312 -8312 +0% —
vue-large-graph-pan: event listeners -16384 -16388 +0% —
workflow-execution: avg frame time 17ms 17ms -0% z=-0.4
workflow-execution: p95 frame time 17ms 17ms -1% —
workflow-execution: layout duration 1ms 0ms -35% z=-8.2
workflow-execution: style recalc duration 15ms 12ms -19% z=-5.3
workflow-execution: layout count 3 2 -20% z=-5.4
workflow-execution: style recalc count 10 16 +63% z=-1.1
workflow-execution: task duration 88ms 75ms -15% z=-4.5
workflow-execution: script duration 6ms 6ms -2% z=-7.9
workflow-execution: TBT 0ms 0ms +0% —
workflow-execution: heap used 65.1 MB 66.4 MB +2% —
workflow-execution: DOM nodes 118 128 +9% z=-4.7
workflow-execution: event listeners 74 99 +34% ⚠️ z=10.8
Historical variance (last 15 runs)
Metric μ σ CV
canvas-idle: avg frame time 17ms 0ms 0.0%
canvas-idle: layout duration 0ms 0ms 0.0%
canvas-idle: style recalc duration 11ms 1ms 8.2%
canvas-idle: layout count 0 0 0.0%
canvas-idle: style recalc count 11 1 5.0%
canvas-idle: task duration 395ms 31ms 7.9%
canvas-idle: script duration 25ms 2ms 8.8%
canvas-idle: TBT 0ms 0ms 0.0%
canvas-idle: DOM nodes 23 1 5.6%
canvas-idle: event listeners 12 5 40.9%
canvas-mouse-sweep: avg frame time 17ms 0ms 0.0%
canvas-mouse-sweep: layout duration 4ms 0ms 5.4%
canvas-mouse-sweep: style recalc duration 43ms 3ms 7.4%
canvas-mouse-sweep: layout count 12 0 0.0%
canvas-mouse-sweep: style recalc count 79 2 3.0%
canvas-mouse-sweep: task duration 865ms 58ms 6.7%
canvas-mouse-sweep: script duration 136ms 6ms 4.8%
canvas-mouse-sweep: TBT 0ms 0ms 0.0%
canvas-mouse-sweep: DOM nodes 62 3 4.2%
canvas-mouse-sweep: event listeners 8 4 49.4%
canvas-zoom-sweep: avg frame time 17ms 0ms 0.0%
canvas-zoom-sweep: layout duration 1ms 0ms 7.0%
canvas-zoom-sweep: style recalc duration 19ms 2ms 8.0%
canvas-zoom-sweep: layout count 6 0 0.0%
canvas-zoom-sweep: style recalc count 31 0 1.5%
canvas-zoom-sweep: task duration 327ms 23ms 7.1%
canvas-zoom-sweep: script duration 27ms 3ms 11.1%
canvas-zoom-sweep: TBT 0ms 0ms 0.0%
canvas-zoom-sweep: DOM nodes 79 1 1.0%
canvas-zoom-sweep: event listeners 24 5 21.8%
dom-widget-clipping: avg frame time 17ms 0ms 0.0%
dom-widget-clipping: layout duration 0ms 0ms 0.0%
dom-widget-clipping: style recalc duration 10ms 1ms 8.0%
dom-widget-clipping: layout count 0 0 0.0%
dom-widget-clipping: style recalc count 13 0 3.8%
dom-widget-clipping: task duration 365ms 16ms 4.5%
dom-widget-clipping: script duration 68ms 3ms 4.8%
dom-widget-clipping: TBT 0ms 0ms 0.0%
dom-widget-clipping: DOM nodes 22 1 6.4%
dom-widget-clipping: event listeners 8 6 81.2%
large-graph-idle: avg frame time 17ms 0ms 0.0%
large-graph-idle: layout duration 0ms 0ms 0.0%
large-graph-idle: style recalc duration 12ms 1ms 8.6%
large-graph-idle: layout count 0 0 0.0%
large-graph-idle: style recalc count 12 0 2.7%
large-graph-idle: task duration 542ms 54ms 10.0%
large-graph-idle: script duration 102ms 11ms 10.3%
large-graph-idle: TBT 0ms 0ms 0.0%
large-graph-idle: DOM nodes 25 1 3.7%
large-graph-idle: event listeners 26 6 23.2%
large-graph-pan: avg frame time 17ms 0ms 0.0%
large-graph-pan: layout duration 0ms 0ms 0.0%
large-graph-pan: style recalc duration 17ms 1ms 4.6%
large-graph-pan: layout count 0 0 0.0%
large-graph-pan: style recalc count 70 1 0.9%
large-graph-pan: task duration 1082ms 43ms 4.0%
large-graph-pan: script duration 408ms 20ms 4.8%
large-graph-pan: TBT 0ms 0ms 0.0%
large-graph-pan: DOM nodes 19 2 8.7%
large-graph-pan: event listeners 5 1 16.8%
minimap-idle: avg frame time 17ms 0ms 0.0%
minimap-idle: layout duration 0ms 0ms 0.0%
minimap-idle: style recalc duration 10ms 1ms 8.6%
minimap-idle: layout count 0 0 0.0%
minimap-idle: style recalc count 10 1 7.1%
minimap-idle: task duration 527ms 47ms 9.0%
minimap-idle: script duration 98ms 10ms 10.1%
minimap-idle: TBT 0ms 0ms 0.0%
minimap-idle: DOM nodes 19 1 7.1%
minimap-idle: event listeners 5 1 14.4%
subgraph-dom-widget-clipping: avg frame time 17ms 0ms 0.0%
subgraph-dom-widget-clipping: layout duration 0ms 0ms 0.0%
subgraph-dom-widget-clipping: style recalc duration 13ms 1ms 7.4%
subgraph-dom-widget-clipping: layout count 0 0 0.0%
subgraph-dom-widget-clipping: style recalc count 48 1 1.2%
subgraph-dom-widget-clipping: task duration 378ms 18ms 4.9%
subgraph-dom-widget-clipping: script duration 128ms 6ms 4.9%
subgraph-dom-widget-clipping: TBT 0ms 0ms 0.0%
subgraph-dom-widget-clipping: DOM nodes 22 1 5.0%
subgraph-dom-widget-clipping: event listeners 16 6 36.0%
subgraph-idle: avg frame time 17ms 0ms 0.0%
subgraph-idle: layout duration 0ms 0ms 0.0%
subgraph-idle: style recalc duration 10ms 1ms 7.5%
subgraph-idle: layout count 0 0 0.0%
subgraph-idle: style recalc count 11 1 6.0%
subgraph-idle: task duration 370ms 31ms 8.5%
subgraph-idle: script duration 20ms 3ms 13.2%
subgraph-idle: TBT 0ms 0ms 0.0%
subgraph-idle: DOM nodes 22 1 6.9%
subgraph-idle: event listeners 10 7 64.5%
subgraph-mouse-sweep: avg frame time 17ms 0ms 0.0%
subgraph-mouse-sweep: layout duration 5ms 0ms 6.8%
subgraph-mouse-sweep: style recalc duration 42ms 3ms 7.8%
subgraph-mouse-sweep: layout count 16 0 0.0%
subgraph-mouse-sweep: style recalc count 80 2 2.4%
subgraph-mouse-sweep: task duration 766ms 69ms 9.0%
subgraph-mouse-sweep: script duration 101ms 7ms 6.5%
subgraph-mouse-sweep: TBT 0ms 0ms 0.0%
subgraph-mouse-sweep: DOM nodes 67 2 3.3%
subgraph-mouse-sweep: event listeners 8 4 52.6%
workflow-execution: avg frame time 17ms 0ms 0.0%
workflow-execution: layout duration 2ms 0ms 9.4%
workflow-execution: style recalc duration 24ms 2ms 9.1%
workflow-execution: layout count 5 1 11.0%
workflow-execution: style recalc count 18 2 11.5%
workflow-execution: task duration 123ms 11ms 8.8%
workflow-execution: script duration 29ms 3ms 10.2%
workflow-execution: TBT 0ms 0ms 0.0%
workflow-execution: DOM nodes 161 7 4.4%
workflow-execution: event listeners 52 4 8.4%
Trend (last 15 commits on main)
Metric Trend Dir Latest
canvas-idle: avg frame time ▆▃▆▁▆▃▆█▆▆▄▃▃▄▃ ➡️ 17ms
canvas-idle: p95 frame time ➡️ NaNms
canvas-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: style recalc duration ▇▇▆▆▃█▄▃▄▃▇▄▁▆▇ ➡️ 11ms
canvas-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
canvas-idle: style recalc count █▃▅▂▅▆▃▁▂▁▂▅▆▅▆ ➡️ 12
canvas-idle: task duration ▃▃▃▆▂▃▃▅▆▂█▃▁▃▃ ➡️ 391ms
canvas-idle: script duration ▄▃▅▇▂▅▃▆▇▅█▄▁▅▆ ➡️ 27ms
canvas-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: heap used ➡️ NaN MB
canvas-idle: DOM nodes █▇▆▅▃▇▃▁▂▂▅▆▆▆▇ ➡️ 24
canvas-idle: event listeners ▅█▅▄▁▅▁▁▁▄▅▅▁▅▄ 📉 11
canvas-mouse-sweep: avg frame time ▆█▆▃▁▃▁▆▆▁▃▆▆▃▃ ➡️ 17ms
canvas-mouse-sweep: p95 frame time ➡️ NaNms
canvas-mouse-sweep: layout duration ▁▃▂▄▁▂▁▃▆▂█▇▆▄▃ ➡️ 4ms
canvas-mouse-sweep: style recalc duration ▄▄▂▄▁▂▃▃▅▄█▆▂▄▄ ➡️ 43ms
canvas-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 12
canvas-mouse-sweep: style recalc count █▅▄▃▂▂▁▄▄▅▆▅▂▇▄ ➡️ 79
canvas-mouse-sweep: task duration █▆▄▂▂▃▂▄▄▅█▆▁▆▄ ➡️ 868ms
canvas-mouse-sweep: script duration ▄▅▄▆▄▆▆▆▅▅█▆▁▅▆ ➡️ 139ms
canvas-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-mouse-sweep: heap used ➡️ NaN MB
canvas-mouse-sweep: DOM nodes █▅▃▃▁▂▂▃▂▄▆▅▃▅▅ ➡️ 64
canvas-mouse-sweep: event listeners █▁▁▁▁▁▇▁▁▁██▇▁█ 📈 13
canvas-zoom-sweep: avg frame time ▅▅█▄▅▁▁▁▅▁▁▅▄▅▁ ➡️ 17ms
canvas-zoom-sweep: p95 frame time ➡️ NaNms
canvas-zoom-sweep: layout duration ▆▅▅▄▁▁█▅▃▅▇▆▁▂▆ ➡️ 1ms
canvas-zoom-sweep: style recalc duration ▆▅▄▆▅▃█▆▇▅▇▄▁▃▅ ➡️ 20ms
canvas-zoom-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
canvas-zoom-sweep: style recalc count ▁▁▃▄▆▃▆█▄▄▆▁▆▁▆ ➡️ 32
canvas-zoom-sweep: task duration ▄▂▁▇▂▂▄▅▆▃█▄▁▁▅ ➡️ 338ms
canvas-zoom-sweep: script duration ▃▃▂▇▂▂▅▇▆▅█▄▁▂▆ ➡️ 30ms
canvas-zoom-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-zoom-sweep: heap used ➡️ NaN MB
canvas-zoom-sweep: DOM nodes ▄▃▁▅█▁▃▆▄▅▅▃▃▄▃ ➡️ 79
canvas-zoom-sweep: event listeners ▁▁▂▅█▂▁▅▁▅▅▄▁▅▁ ➡️ 19
dom-widget-clipping: avg frame time ▂▄▅▅▂▄█▇▅▇▇▅▅▁▇ ➡️ 17ms
dom-widget-clipping: p95 frame time ➡️ NaNms
dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: style recalc duration ▆▆▂▆▄▃██▄▁▆▇▆▃▅ ➡️ 10ms
dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-clipping: style recalc count ▇█▅█▅▄█▇▇▁▇▄▇▂▅ ➡️ 13
dom-widget-clipping: task duration ▃▃▁▅▄▃▅▆▅▂▇█▁▅▅ ➡️ 371ms
dom-widget-clipping: script duration ▅▄▄▆▆▅▇▇▆▃█▇▁▇▇ ➡️ 71ms
dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: heap used ➡️ NaN MB
dom-widget-clipping: DOM nodes ▇▇▄▇▅▄█▇▅▁▅▄▇▃▄ ➡️ 21
dom-widget-clipping: event listeners ▅▅▅▅▁▅██▁▁▁▁█▁▁ 📉 2
large-graph-idle: avg frame time ▅▅▅▅▅▂▁▂▄▅▄▂▂▅█ ➡️ 17ms
large-graph-idle: p95 frame time ➡️ NaNms
large-graph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: style recalc duration ▅▅▅▆▄▅▃▄▅▅▆█▁▄▆ ➡️ 13ms
large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-idle: style recalc count █▆█▃▃▁▃▆▃▆▆▃▆██ ➡️ 12
large-graph-idle: task duration ▂▃▂▆▂▃▃▇▅▃██▁▂▅ ➡️ 569ms
large-graph-idle: script duration ▄▅▄▆▄▅▅▇▆▅█▆▁▃▆ ➡️ 110ms
large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: heap used ➡️ NaN MB
large-graph-idle: DOM nodes ▆█▅▂▅▃▁▂▃▅▅▆▂▆▅ ➡️ 25
large-graph-idle: event listeners ███▇██▄▁▄▇▇█▂█▇ ➡️ 29
large-graph-pan: avg frame time ▆▃▃▆█▃▁█▆▆▆▆█▁▆ ➡️ 17ms
large-graph-pan: p95 frame time ➡️ NaNms
large-graph-pan: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: style recalc duration ▃▂▄▄▁▅▂▂▁▄▄█▃▁▂ ➡️ 17ms
large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-pan: style recalc count ▆▃█▂▃▂▂▂▁▇▅▃█▆▃ ➡️ 69
large-graph-pan: task duration ▄▃▄▆▄▄▄▆▄▄█▆▁▂▅ ➡️ 1100ms
large-graph-pan: script duration ▅▄▅▆▆▅▄▆▄▅█▄▁▄▅ ➡️ 413ms
large-graph-pan: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: heap used ➡️ NaN MB
large-graph-pan: DOM nodes ▅▃▆▂▄▁▃▁▁▅▁▂█▅▂ ➡️ 18
large-graph-pan: event listeners █▆█▁▁▆▁▁▃▆▁▃██▃ ➡️ 5
minimap-idle: avg frame time ▃▆▆▃█▁█▆▆▃▃▆█▆█ ➡️ 17ms
minimap-idle: p95 frame time ➡️ NaNms
minimap-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: style recalc duration ▄█▁█▅▅█▅▅▃▅▁▁▄▆ ➡️ 10ms
minimap-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
minimap-idle: style recalc count ▃▅▂▄█▃▆▁▂▅▂▁▅▆▃ ➡️ 9
minimap-idle: task duration ▃▄▁▅▁▃▄▅▇▃█▅▁▁▅ ➡️ 547ms
minimap-idle: script duration ▄▆▃▇▃▅▆▆▇▅█▅▁▃▆ ➡️ 106ms
minimap-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: heap used ➡️ NaN MB
minimap-idle: DOM nodes ▃▅▂▄█▃▆▁▂▅▂▁▅▆▃ ➡️ 19
minimap-idle: event listeners ▃▃▆▁▁▁▃▁▁▆▁▃█▆▁ ➡️ 4
subgraph-dom-widget-clipping: avg frame time ▅▄▄▄▄▄█▄▄▄▃▁▆▃▃ ➡️ 17ms
subgraph-dom-widget-clipping: p95 frame time ➡️ NaNms
subgraph-dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: style recalc duration ▂▄▃▅▅▃▂▅▇▃▄█▁▄▆ ➡️ 14ms
subgraph-dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-dom-widget-clipping: style recalc count ▇█▆▃▆▃▁▆█▇▃▆▇█▅ ➡️ 48
subgraph-dom-widget-clipping: task duration ▂▃▃▆▅▅▂▅█▂▆█▁▂▇ ➡️ 398ms
subgraph-dom-widget-clipping: script duration ▃▃▃▄▅▅▂▄█▂▅▇▁▂▅ ➡️ 131ms
subgraph-dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: heap used ➡️ NaN MB
subgraph-dom-widget-clipping: DOM nodes ▅▇▅▂▅▂▁▅▅▅▁▇▅█▄ ➡️ 22
subgraph-dom-widget-clipping: event listeners ▅▅▅▂▅▁▅██▁▁█▅█▅ 📈 16
subgraph-idle: avg frame time ▆▆█▁▆▃▆▆▆▃▆▁▃▆█ ➡️ 17ms
subgraph-idle: p95 frame time ➡️ NaNms
subgraph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: style recalc duration ▁▇▃▆▂▄▂▃▃▆▆▄▃▇█ ➡️ 12ms
subgraph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-idle: style recalc count ▃▆▃▃▂▅▁▂▁▆▃▃██▇ ➡️ 12
subgraph-idle: task duration ▁▃▁▇▁▁▃▆▅▂█▅▁▁▄ ➡️ 378ms
subgraph-idle: script duration ▁▃▂▇▁▂▃▇▆▂█▅▂▁▅ ➡️ 22ms
subgraph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: heap used ➡️ NaN MB
subgraph-idle: DOM nodes ▃▅▃▂▁▄▁▂▁▅▃▂▇█▇ ➡️ 24
subgraph-idle: event listeners ▁▅▁▁▁▁▁▁▁▅▄▁███ 📈 21
subgraph-mouse-sweep: avg frame time ▅▄▁▃▃▄▆▄▆▃▃█▁▃▃ ➡️ 17ms
subgraph-mouse-sweep: p95 frame time ➡️ NaNms
subgraph-mouse-sweep: layout duration ▁▄▄▄▃▃▅▅▅▂█▇▂▃▆ ➡️ 5ms
subgraph-mouse-sweep: style recalc duration ▃▂▄▅▂▃▄▅█▃█▆▁▂▅ ➡️ 43ms
subgraph-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 16
subgraph-mouse-sweep: style recalc count ▅▂▅▅▁▄▃▅█▅▆▄▂▄▅ ➡️ 81
subgraph-mouse-sweep: task duration ▃▂▄▅▂▄▄▅▇▄█▆▁▃▅ ➡️ 785ms
subgraph-mouse-sweep: script duration ▄▅▄▇▅▅▆▇▆▅██▁▄▆ ➡️ 105ms
subgraph-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-mouse-sweep: heap used ➡️ NaN MB
subgraph-mouse-sweep: DOM nodes ▅▁▄▅▁▄▃▃█▅▅▄▂▅▃ ➡️ 66
subgraph-mouse-sweep: event listeners ▇▁▂▇▁▂▂▂█▇▂▂▇▇▂ 📈 5
workflow-execution: avg frame time ▆▆▆▄▆▆▃▄▁▄█▆▅▄▆ ➡️ 17ms
workflow-execution: p95 frame time ➡️ NaNms
workflow-execution: layout duration ▁▆▁▃▂▄▃▂▃▃▅█▄▂▅ ➡️ 2ms
workflow-execution: style recalc duration ▃▇▅▇▁▅▆▇█▁██▂▄▆ ➡️ 25ms
workflow-execution: layout count ▁█▂▃▂▃▃▁▃▃▄▃▂▃▂ ➡️ 5
workflow-execution: style recalc count ▃█▅▇▁▄▅▆▅▅▅▅▄▄▂ ➡️ 15
workflow-execution: task duration ▂▅▄▅▁▄▆▆▆▁▇█▁▃▃ ➡️ 120ms
workflow-execution: script duration ▄▃▄▄▃▅▄▅▆▂▇█▁▃▄ ➡️ 29ms
workflow-execution: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
workflow-execution: heap used ➡️ NaN MB
workflow-execution: DOM nodes ▂█▃▆▁▄▃▅▃█▃▃▄▃▁ ➡️ 152
workflow-execution: event listeners ▅███▁▅███▁██▅█▅ ➡️ 49
Raw data
{
  "timestamp": "2026-08-21T13:46:20.663Z",
  "gitSha": "d1079a0aeab5f590f81432197e585cb8b9406573",
  "branch": "dante01yoon/backport-15164-to-core-1.51",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2052.1590000000174,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 5.594999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 332.962,
      "heapDeltaBytes": 5005400,
      "heapUsedBytes": 70636732,
      "domNodes": 24,
      "jsHeapTotalBytes": 23855104,
      "scriptDurationMs": 7.621000000000001,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-idle",
      "durationMs": 2003.8129999999796,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 4.813999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 306.436,
      "heapDeltaBytes": 5067312,
      "heapUsedBytes": 70516704,
      "domNodes": 22,
      "jsHeapTotalBytes": 24379392,
      "scriptDurationMs": 4.756999999999999,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1705.0229999999829,
      "styleRecalcs": 72,
      "styleRecalcDurationMs": 23.149,
      "layouts": 12,
      "layoutDurationMs": 2.725,
      "taskDurationMs": 619.8720000000001,
      "heapDeltaBytes": 21552,
      "heapUsedBytes": 65518460,
      "domNodes": 53,
      "jsHeapTotalBytes": 24121344,
      "scriptDurationMs": 71.2,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1690.119999999979,
      "styleRecalcs": 73,
      "styleRecalcDurationMs": 20.482,
      "layouts": 12,
      "layoutDurationMs": 1.977,
      "taskDurationMs": 518.06,
      "heapDeltaBytes": -97004,
      "heapUsedBytes": 65245164,
      "domNodes": 57,
      "jsHeapTotalBytes": 25694208,
      "scriptDurationMs": 60.32699999999999,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1706.8669999999884,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 11.385,
      "layouts": 6,
      "layoutDurationMs": 0.55,
      "taskDurationMs": 249.206,
      "heapDeltaBytes": 8421520,
      "heapUsedBytes": 74128940,
      "domNodes": 78,
      "jsHeapTotalBytes": 23855104,
      "scriptDurationMs": 6.440000000000001,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1710.5289999999513,
      "styleRecalcs": 30,
      "styleRecalcDurationMs": 10.000000000000002,
      "layouts": 6,
      "layoutDurationMs": 0.4789999999999999,
      "taskDurationMs": 250.30200000000002,
      "heapDeltaBytes": 8131800,
      "heapUsedBytes": 73579688,
      "domNodes": 78,
      "jsHeapTotalBytes": 24641536,
      "scriptDurationMs": 6.557000000000002,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 499.7099999999932,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 5.814000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 281.385,
      "heapDeltaBytes": -11880892,
      "heapUsedBytes": 53783700,
      "domNodes": 22,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 39.977000000000004,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 442.9810000000316,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 4.907,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 252.16099999999997,
      "heapDeltaBytes": -11844692,
      "heapUsedBytes": 53670208,
      "domNodes": 20,
      "jsHeapTotalBytes": 25690112,
      "scriptDurationMs": 31.901,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.663333333333338,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "large-graph-idle",
      "durationMs": 1996.6019999999958,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 4.899000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 430.063,
      "heapDeltaBytes": 12890612,
      "heapUsedBytes": 73086624,
      "domNodes": -282,
      "jsHeapTotalBytes": 2457600,
      "scriptDurationMs": 10.834,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2009.5900000000597,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 4.827000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 433.8859999999999,
      "heapDeltaBytes": 6778588,
      "heapUsedBytes": 69399540,
      "domNodes": -281,
      "jsHeapTotalBytes": 4030464,
      "scriptDurationMs": 8.126999999999999,
      "eventListeners": -177,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2055.552999999975,
      "styleRecalcs": 68,
      "styleRecalcDurationMs": 9.456,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 781.4499999999999,
      "heapDeltaBytes": 8358880,
      "heapUsedBytes": 69578716,
      "domNodes": -282,
      "jsHeapTotalBytes": 3174400,
      "scriptDurationMs": 211.32299999999998,
      "eventListeners": -147,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2068.312999999989,
      "styleRecalcs": 68,
      "styleRecalcDurationMs": 8.642999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 752.864,
      "heapDeltaBytes": 8716752,
      "heapUsedBytes": 72200632,
      "domNodes": -282,
      "jsHeapTotalBytes": 3174400,
      "scriptDurationMs": 191.59500000000003,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3070.475999999985,
      "styleRecalcs": 66,
      "styleRecalcDurationMs": 11.800999999999998,
      "layouts": 60,
      "layoutDurationMs": 6.425999999999999,
      "taskDurationMs": 867.038,
      "heapDeltaBytes": 16962344,
      "heapUsedBytes": 79229240,
      "domNodes": 16,
      "jsHeapTotalBytes": 6029312,
      "scriptDurationMs": 232.16500000000002,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3075.1659999999674,
      "styleRecalcs": 67,
      "styleRecalcDurationMs": 11.548000000000002,
      "layouts": 60,
      "layoutDurationMs": 5.877999999999999,
      "taskDurationMs": 891.449,
      "heapDeltaBytes": 16953012,
      "heapUsedBytes": 79385048,
      "domNodes": 18,
      "jsHeapTotalBytes": 5767168,
      "scriptDurationMs": 236.69799999999998,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 1997.1080000000256,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 5.056000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 414.311,
      "heapDeltaBytes": 13271172,
      "heapUsedBytes": 74690436,
      "domNodes": -282,
      "jsHeapTotalBytes": 2457600,
      "scriptDurationMs": 8.545,
      "eventListeners": -147,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "minimap-idle",
      "durationMs": 2002.9230000000098,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 5.424999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 424.242,
      "heapDeltaBytes": 7578004,
      "heapUsedBytes": 70696420,
      "domNodes": -280,
      "jsHeapTotalBytes": 2457600,
      "scriptDurationMs": 9.873999999999997,
      "eventListeners": -177,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 410.95999999998867,
      "styleRecalcs": 49,
      "styleRecalcDurationMs": 6.635000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 260.541,
      "heapDeltaBytes": -10004344,
      "heapUsedBytes": 55585700,
      "domNodes": 22,
      "jsHeapTotalBytes": 25427968,
      "scriptDurationMs": 68.334,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 456.03700000003755,
      "styleRecalcs": 49,
      "styleRecalcDurationMs": 6.954,
      "layouts": 1,
      "layoutDurationMs": 0.06799999999999992,
      "taskDurationMs": 263.45199999999994,
      "heapDeltaBytes": -9927932,
      "heapUsedBytes": 55643684,
      "domNodes": 22,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 73.646,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "subgraph-idle",
      "durationMs": 1998.9029999999843,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 5.649000000000001,
      "layouts": 1,
      "layoutDurationMs": 0.09499999999999992,
      "taskDurationMs": 328.686,
      "heapDeltaBytes": 5400576,
      "heapUsedBytes": 70909244,
      "domNodes": 22,
      "jsHeapTotalBytes": 24117248,
      "scriptDurationMs": 6.209000000000001,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-idle",
      "durationMs": 1989.6100000000274,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 5.847999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 303.616,
      "heapDeltaBytes": 5357132,
      "heapUsedBytes": 70879180,
      "domNodes": 24,
      "jsHeapTotalBytes": 24117248,
      "scriptDurationMs": 4.417000000000001,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1723.6350000000016,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 25.580000000000002,
      "layouts": 16,
      "layoutDurationMs": 3.516,
      "taskDurationMs": 557.8799999999999,
      "heapDeltaBytes": -3880636,
      "heapUsedBytes": 61949416,
      "domNodes": 67,
      "jsHeapTotalBytes": 24379392,
      "scriptDurationMs": 55.83,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1718.6599999999999,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 20.987,
      "layouts": 16,
      "layoutDurationMs": 2.3260000000000005,
      "taskDurationMs": 490.311,
      "heapDeltaBytes": -3704296,
      "heapUsedBytes": 62113748,
      "domNodes": 66,
      "jsHeapTotalBytes": 23855104,
      "scriptDurationMs": 46.947,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 831.957999999986,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 20.045,
      "layouts": 15,
      "layoutDurationMs": 7.786999999999999,
      "taskDurationMs": 602.8359999999999,
      "heapDeltaBytes": -6052568,
      "heapUsedBytes": 79700340,
      "domNodes": 13673,
      "jsHeapTotalBytes": 10485760,
      "scriptDurationMs": 10.582999999999995,
      "eventListeners": 2373,
      "totalBlockingTimeMs": 85,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8108.947,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 24.658999999999995,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 2652.4189999999994,
      "heapDeltaBytes": 3320372,
      "heapUsedBytes": 65631032,
      "domNodes": -280,
      "jsHeapTotalBytes": 3698688,
      "scriptDurationMs": 616.8549999999999,
      "eventListeners": -133,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8075.513999999998,
      "styleRecalcs": 249,
      "styleRecalcDurationMs": 25.15,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 2597.874,
      "heapDeltaBytes": 2550760,
      "heapUsedBytes": 62772524,
      "domNodes": -282,
      "jsHeapTotalBytes": 3698688,
      "scriptDurationMs": 611.456,
      "eventListeners": -163,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 10472.316999999975,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9184.639000000001,
      "heapDeltaBytes": -37830632,
      "heapUsedBytes": 172968552,
      "domNodes": -8312,
      "jsHeapTotalBytes": -6492160,
      "scriptDurationMs": 54.031,
      "eventListeners": -16391,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 10451.702999999952,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9219.774,
      "heapDeltaBytes": -39191356,
      "heapUsedBytes": 173290256,
      "domNodes": -8317,
      "jsHeapTotalBytes": -8065024,
      "scriptDurationMs": 65.47500000000001,
      "eventListeners": -16391,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 13030.114000000027,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 13.170999999999989,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 12288.451,
      "heapDeltaBytes": -27108416,
      "heapUsedBytes": 170394528,
      "domNodes": -8312,
      "jsHeapTotalBytes": -14692352,
      "scriptDurationMs": 370.281,
      "eventListeners": -16387,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333338,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 12933.850000000006,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 13.121999999999995,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 12235.736,
      "heapDeltaBytes": -20452120,
      "heapUsedBytes": 190429020,
      "domNodes": -8312,
      "jsHeapTotalBytes": -4726784,
      "scriptDurationMs": 326.65,
      "eventListeners": -16389,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "workflow-execution",
      "durationMs": 424.68200000001843,
      "styleRecalcs": 16,
      "styleRecalcDurationMs": 13.174000000000001,
      "layouts": 2,
      "layoutDurationMs": 0.36699999999999994,
      "taskDurationMs": 75.04699999999998,
      "heapDeltaBytes": 4990544,
      "heapUsedBytes": 69580396,
      "domNodes": 130,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 5.847999999999999,
      "eventListeners": 99,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.663333333333338,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "workflow-execution",
      "durationMs": 425.487999999973,
      "styleRecalcs": 15,
      "styleRecalcDurationMs": 11.708000000000002,
      "layouts": 2,
      "layoutDurationMs": 0.34199999999999997,
      "taskDurationMs": 74.432,
      "heapDeltaBytes": 4983056,
      "heapUsedBytes": 69676800,
      "domNodes": 125,
      "jsHeapTotalBytes": 4718592,
      "scriptDurationMs": 5.4830000000000005,
      "eventListeners": 99,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.663333333333338,
      "p95FrameDurationMs": 16.700000000000273
    }
  ]
}

@github-actions

Copy link
Copy Markdown
Contributor

🎨 Storybook: 🚧 Building...

@github-actions github-actions Bot added the risk:R3 PR risk grade (advisory shadow check; grader-owned) label Aug 21, 2026
@github-actions
github-actions Bot requested a review from AustinMroz August 21, 2026 13:36
@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.81633% with 18 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/stores/authStore.ts 83.33% 8 Missing ⚠️
src/platform/workspace/auth/WorkspaceAuthGate.vue 89.47% 4 Missing ⚠️
...rc/platform/workspace/stores/teamWorkspaceStore.ts 91.89% 3 Missing ⚠️
...rc/platform/workspace/stores/workspaceAuthStore.ts 85.71% 2 Missing ⚠️
src/config/comfyApi.ts 85.71% 1 Missing ⚠️
@@              Coverage Diff              @@
##           core/1.51   #15558      +/-   ##
=============================================
+ Coverage      81.50%   81.53%   +0.02%     
=============================================
  Files           1883     1884       +1     
  Lines         117573   117713     +140     
  Branches       36709    36774      +65     
=============================================
+ Hits           95830    95973     +143     
+ Misses         21271    21270       -1     
+ Partials         472      470       -2     
Flag Coverage Δ
unit 73.11% <90.81%> (+0.03%) ⬆️

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

Files with missing lines Coverage Δ
src/components/topbar/CurrentUserButton.vue 90.24% <100.00%> (+0.50%) ⬆️
src/components/topbar/CurrentUserPopoverLegacy.vue 61.59% <100.00%> (+9.80%) ⬆️
src/composables/billing/useBillingRouting.ts 95.23% <ø> (-0.22%) ⬇️
src/composables/useFeatureFlags.ts 80.74% <100.00%> (+0.14%) ⬆️
.../cloud/subscription/composables/useSubscription.ts 86.94% <100.00%> (ø)
...oud/subscription/utils/subscriptionCheckoutUtil.ts 91.66% <100.00%> (ø)
.../platform/workflow/persistence/base/storageKeys.ts 100.00% <100.00%> (ø)
src/platform/workspace/api/workspaceApi.ts 47.30% <100.00%> (+1.73%) ⬆️
src/platform/workspace/api/workspaceApiUrl.ts 100.00% <100.00%> (ø)
...rkspace/components/CurrentUserPopoverWorkspace.vue 81.20% <100.00%> (+0.14%) ⬆️
... and 10 more
🚀 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 4dda99c into core/1.51 Aug 21, 2026
89 of 91 checks passed
@comfy-pr-bot
comfy-pr-bot deleted the dante01yoon/backport-15164-to-core-1.51 branch August 21, 2026 15:30
balpreetgrowthnatives pushed a commit to balpreetgrowthnatives/ComfyUI_frontend that referenced this pull request Aug 26, 2026
## Summary

On Local, clicking Run silently did nothing when the active workspace
has no active subscription (e.g. 0 credits) — for any workflow, with or
without API nodes, on any login method. Scope the subscribe-to-run gate
in the queue commands to Cloud so Local always queues.

Found during 1.51 QA of the local workspace switcher ([Slack
report](https://comfy-organization.slack.com/archives/C0932CGKT5K/p1787740255008649?thread_ts=1787034725.224329&cid=C0932CGKT5K)).

## Root cause

The break is an interaction of three pieces:

1. `Comfy.QueuePrompt` / `Comfy.QueuePromptFront` /
`Comfy.QueueSelectedOutputNodes` return early when
`canAccessSubscriptionFeatures` is false (`useCoreCommands.ts`), with no
distribution check.
2. Since the local workspace switcher (Comfy-Org#15558), Local routes billing to
the workspace rail once workspace context loads (`useBillingRouting`).
`useWorkspaceBilling.canAccessSubscriptionFeatures` is
`statusData?.is_active ?? false` — unlike the legacy rail
(`useSubscription.ts`), it has no `!isCloud → true` exemption, so an
unsubscribed/zero-credit workspace reports false on Local.
3. The gate's fallback `showSubscriptionDialog` → `showPricingTable`
starts with `if (!isCloud) return` (`useSubscriptionDialog.ts`), so on
Local the block is invisible: no dialog, no toast, nothing.

```mermaid
flowchart LR
    A[Run click] --> B[Comfy.QueuePrompt]
    B --> C{canAccessSubscriptionFeatures?}
    C -- "Local + workspace rail, is_active=false" --> D[showSubscriptionDialog]
    D --> E["showPricingTable: if (!isCloud) return"]
    E --> F[silent no-op — Run does nothing]
    C -- true --> G[app.queuePrompt]
```

## How we change it

Gate the three queue commands with `isCloud &&
!canAccessSubscriptionFeatures` — subscription gating is a Cloud
concept, and this mirrors the legacy rail's own `!isCloud` exemption.
The gate flag itself is left untouched: flipping
`useWorkspaceBilling.canAccessSubscriptionFeatures` to true on Local
would regress the Plan & Credits UI, which intentionally renders the
unsubscribed state on Local (Comfy-Org#15828).

Insufficient-credit handling for partner nodes is unaffected: the
backend still rejects the prompt and the error-catalog path
(`insufficient_credits` → top-up dialog) handles it, so Local behavior
returns to server-driven.

## AS IS / TO BE

- **AS IS**: Local + workspace with 0 credits → Run click is a silent
no-op for every workflow (QA video in the Slack thread above).
- **TO BE**: Local always queues. OSS workflows run; partner-node
workflows surface the backend insufficient-credits error with top-up
CTA. Cloud gating is unchanged (dialog still shown when unsubscribed).

## Tests

- Unit (`useCoreCommands.test.ts`): Local +
`canAccessSubscriptionFeatures=false` queues and shows no dialog (fails
against the previous code); Cloud unsubscribed still blocks with the
`subscribe_to_run` dialog; Cloud subscribed queues.

## Review Focus

- The guard intentionally keys on distribution (`isCloud`), not on
billing-rail internals, so bootstrap-time rail flapping on Local can
never block Run.

⚠️ Needs backport to `core/1.51` — this is a 1.51 release blocker.
dante01yoon added a commit that referenced this pull request Aug 27, 2026
## Summary

On Local, clicking Run silently did nothing when the active workspace
has no active subscription (e.g. 0 credits) — for any workflow, with or
without API nodes, on any login method. Scope the subscribe-to-run gate
in the queue commands to Cloud so Local always queues.

Found during 1.51 QA of the local workspace switcher ([Slack
report](https://comfy-organization.slack.com/archives/C0932CGKT5K/p1787740255008649?thread_ts=1787034725.224329&cid=C0932CGKT5K)).

## Root cause

The break is an interaction of three pieces:

1. `Comfy.QueuePrompt` / `Comfy.QueuePromptFront` /
`Comfy.QueueSelectedOutputNodes` return early when
`canAccessSubscriptionFeatures` is false (`useCoreCommands.ts`), with no
distribution check.
2. Since the local workspace switcher (#15558), Local routes billing to
the workspace rail once workspace context loads (`useBillingRouting`).
`useWorkspaceBilling.canAccessSubscriptionFeatures` is
`statusData?.is_active ?? false` — unlike the legacy rail
(`useSubscription.ts`), it has no `!isCloud → true` exemption, so an
unsubscribed/zero-credit workspace reports false on Local.
3. The gate's fallback `showSubscriptionDialog` → `showPricingTable`
starts with `if (!isCloud) return` (`useSubscriptionDialog.ts`), so on
Local the block is invisible: no dialog, no toast, nothing.

```mermaid
flowchart LR
    A[Run click] --> B[Comfy.QueuePrompt]
    B --> C{canAccessSubscriptionFeatures?}
    C -- "Local + workspace rail, is_active=false" --> D[showSubscriptionDialog]
    D --> E["showPricingTable: if (!isCloud) return"]
    E --> F[silent no-op — Run does nothing]
    C -- true --> G[app.queuePrompt]
```

## How we change it

Gate the three queue commands with `isCloud &&
!canAccessSubscriptionFeatures` — subscription gating is a Cloud
concept, and this mirrors the legacy rail's own `!isCloud` exemption.
The gate flag itself is left untouched: flipping
`useWorkspaceBilling.canAccessSubscriptionFeatures` to true on Local
would regress the Plan & Credits UI, which intentionally renders the
unsubscribed state on Local (#15828).

Insufficient-credit handling for partner nodes is unaffected: the
backend still rejects the prompt and the error-catalog path
(`insufficient_credits` → top-up dialog) handles it, so Local behavior
returns to server-driven.

## AS IS / TO BE

- **AS IS**: Local + workspace with 0 credits → Run click is a silent
no-op for every workflow (QA video in the Slack thread above).
- **TO BE**: Local always queues. OSS workflows run; partner-node
workflows surface the backend insufficient-credits error with top-up
CTA. Cloud gating is unchanged (dialog still shown when unsubscribed).

## Tests

- Unit (`useCoreCommands.test.ts`): Local +
`canAccessSubscriptionFeatures=false` queues and shows no dialog (fails
against the previous code); Cloud unsubscribed still blocks with the
`subscribe_to_run` dialog; Cloud subscribed queues.

## Review Focus

- The guard intentionally keys on distribution (`isCloud`), not on
billing-rail internals, so bootstrap-time rail flapping on Local can
never block Run.

⚠️ Needs backport to `core/1.51` — this is a 1.51 release blocker.

(cherry picked from commit 4a67eb4)
dante01yoon added a commit that referenced this pull request Aug 27, 2026
## Summary

On Local, clicking Run silently did nothing when the active workspace
has no active subscription (e.g. 0 credits) — for any workflow, with or
without API nodes, on any login method. Scope the subscribe-to-run gate
in the queue commands to Cloud so Local always queues.

Found during 1.51 QA of the local workspace switcher ([Slack
report](https://comfy-organization.slack.com/archives/C0932CGKT5K/p1787740255008649?thread_ts=1787034725.224329&cid=C0932CGKT5K)).

## Root cause

The break is an interaction of three pieces:

1. `Comfy.QueuePrompt` / `Comfy.QueuePromptFront` /
`Comfy.QueueSelectedOutputNodes` return early when
`canAccessSubscriptionFeatures` is false (`useCoreCommands.ts`), with no
distribution check.
2. Since the local workspace switcher (#15558), Local routes billing to
the workspace rail once workspace context loads (`useBillingRouting`).
`useWorkspaceBilling.canAccessSubscriptionFeatures` is
`statusData?.is_active ?? false` — unlike the legacy rail
(`useSubscription.ts`), it has no `!isCloud → true` exemption, so an
unsubscribed/zero-credit workspace reports false on Local.
3. The gate's fallback `showSubscriptionDialog` → `showPricingTable`
starts with `if (!isCloud) return` (`useSubscriptionDialog.ts`), so on
Local the block is invisible: no dialog, no toast, nothing.

```mermaid
flowchart LR
    A[Run click] --> B[Comfy.QueuePrompt]
    B --> C{canAccessSubscriptionFeatures?}
    C -- "Local + workspace rail, is_active=false" --> D[showSubscriptionDialog]
    D --> E["showPricingTable: if (!isCloud) return"]
    E --> F[silent no-op — Run does nothing]
    C -- true --> G[app.queuePrompt]
```

## How we change it

Gate the three queue commands with `isCloud &&
!canAccessSubscriptionFeatures` — subscription gating is a Cloud
concept, and this mirrors the legacy rail's own `!isCloud` exemption.
The gate flag itself is left untouched: flipping
`useWorkspaceBilling.canAccessSubscriptionFeatures` to true on Local
would regress the Plan & Credits UI, which intentionally renders the
unsubscribed state on Local (#15828).

Insufficient-credit handling for partner nodes is unaffected: the
backend still rejects the prompt and the error-catalog path
(`insufficient_credits` → top-up dialog) handles it, so Local behavior
returns to server-driven.

## AS IS / TO BE

- **AS IS**: Local + workspace with 0 credits → Run click is a silent
no-op for every workflow (QA video in the Slack thread above).
- **TO BE**: Local always queues. OSS workflows run; partner-node
workflows surface the backend insufficient-credits error with top-up
CTA. Cloud gating is unchanged (dialog still shown when unsubscribed).

## Tests

- Unit (`useCoreCommands.test.ts`): Local +
`canAccessSubscriptionFeatures=false` queues and shows no dialog (fails
against the previous code); Cloud unsubscribed still blocks with the
`subscribe_to_run` dialog; Cloud subscribed queues.

## Review Focus

- The guard intentionally keys on distribution (`isCloud`), not on
billing-rail internals, so bootstrap-time rail flapping on Local can
never block Run.

⚠️ Needs backport to `core/1.51` — this is a 1.51 release blocker.

(cherry picked from commit 4a67eb4)
@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