Skip to content

FE-2894 feat(account-core): session-backed identity source and boot rules - #18715

Merged
dante01yoon merged 21 commits into
mainfrom
dante01yoon/fe-2894-web-session-boot
Sep 25, 2026
Merged

dante01yoon merged 21 commits into
mainfrom
dante01yoon/fe-2894-web-session-boot

Conversation

@dante01yoon

@dante01yoon dante01yoon commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Do not merge until BE-17063 (GET /api/auth/session, cloud#10549, merged) is deployed on testcloud (the web session backend is not on staging yet). #18710 (FE-2892) is merged; this PR now targets main and the diff shows only this ticket.

Why

A site that joins the shared web session has to decide at boot who is signed in: the session on ingest, a login this browser remembers, or nobody. TDD §12's boot table defines that, and §8 defines the silent restore that lets every existing user migrate without signing in again. This PR is that decision, as a pure state machine in @comfyorg/account-core, inert until a host calls boot().

How

New entry @comfyorg/account-core/webSessionIdentity (packages/account-core/src/core/webSessionIdentity.ts):

  • createWebSessionIdentity({ session, principal, origin, onBootstrap?, schedule?, retryBaseMs?, retryMaxMs? }) → { getState, subscribe, boot, dispose }. Constructing it sends nothing and starts nothing.
  • principal: { kind: 'account', rememberedLogin } or { kind: 'api_key' }. An API-key principal never enters the machine and never touches /api/auth/session.
  • RememberedLogin is an opaque port (currentUserId, getProof returning string | null, signOutLocally), so the core imports no provider. importGuard now walks the import chain from webSessionIdentity.ts.
  • One discriminated state (idle | api_key | reading | retry_wait | restoring | signed_in | signed_out), one pure transitionWebSessionIdentity(state, event) returning { state, effects }; the shell only runs effects (read, restore, schedule_retry, sign_out_locally, report). session_bootstrap (outcome, origin) goes out through onBootstrap.
GET /session Result
200 signed_in; if the remembered login is a different user, sign it out locally
401 session_revoked signed_out(revoked), local sign-out, never a silent restore
401 no_session / session_expired, login remembered silent restore (createWebSession with the remembered proof); success → signed_in(restored); a completed failure → signed_out(restore_failed)
401 no_session / session_expired, nothing remembered signed_out
SESSION_UNAVAILABLE (network, 429, 5xx) retry_wait, backoff 1s doubling to 60s, never signs out

AS IS / TO BE

No UI; the evidence is tests with injected time and the package fakes, no sleeps.

  • AS IS: no boot logic for the web session.
  • TO BE: one test per boot-table row (row 1 split by remembered user same/different/none; row 3 for both 401 codes), backoff 1000 → 2000 then sign-in with zero sign-outs, restore lost twice then restored (GET POST GET POST GET POST GET), a landed-but-unanswered POST (GET POST GET, no second POST), getProof null / throwing, a pure table of restore answers, API key → zero requests.
pnpm --filter @comfyorg/account-core test   Test Files 62 passed, Tests 1070 passed
pnpm --filter @comfyorg/account-core typecheck / lint   exit 0
pnpm typecheck   exit 0
pnpm knip        exit 0
pnpm fallow audit --base <FE-2892 branch>   No issues in 6 changed files

Mutation checks (each reverted): session_revoked restores → red; network error on read signs out → red; transient restore failure signs out → red; completed restore failure retries → red; thrown proof signs out → red.

Size: webSessionIdentity.ts is 336 lines, mostly the state, event and effect types; the transition itself is small.

For review: RememberedLogin.currentUserId() must return the Comfy user id, since it is compared with the session's user.id. The host adapters (FE-2896/FE-2903) need to confirm that equals the Firebase uid.

Links

Where this PR sits in the plan

Ticket Scope Blocked by State
FE-2891 unified_web_session client flag, off by default BE-17135 to turn on; C11 for website/billing-web readers #18708
FE-2892 account-core web session client + error codes C1, C3 (BE-17063 generated types) #18710, do not merge
FE-2893 ADR for the shared web session none #18707
FE-2901 non-web clients stay on tokens (baseline) FE-2895 for authorize() rows #18711
FE-2894 (this PR) session-backed identity + boot rules (stacked on #18710) FE-2892, C3 #18715, do not merge
FE-2895 authorize() for cookie requests (stacked on #18710) FE-2892, C5 #18716, do not merge
FE-2897 session lifecycle, heartbeat (stacked on #18715) FE-2894, C1, C3 #18719, do not merge
FE-2906 cross-origin E2E harness + §17 test ids C3/C5/C6/C7 on staging for the rows #18718 (harness only)
FE-2896, 2898–2900, 2902–2905, 2907, 2908 apps, token mint, rollout, cleanup C5/C6/C7/C8/C11 contracts not started
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2894 thisPr
Loading

readWebSession, createWebSession, deleteWebSession and revokeAllWebSessions
for the shared __Host-comfy_session cookie on ingest. Every call sends
credentials, failures are coded (six session codes plus a transient and a
refused bucket), and 429/5xx/network never read as a sign-out. Nothing
imports it yet; importing it starts no timer, listener or request.
Boots a site from GET /auth/session and follows the server's answer:
signed in on 200 (signing out a different remembered login), local
sign-out on session_revoked with no restore, one silent restore from a
remembered login on no_session/session_expired, and pending with
backoff on a network error. An API-key principal never touches the
session. Reports session_bootstrap through an injected callback.
A restore that gets no answer, or whose proof throws, waits and retries
from a fresh read instead of spending the restore, so a network blip
never signs the user out. getProof returns null when the provider has
no usable login, which settles signed out without a local sign-out.
@coderabbitai

coderabbitai Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: Comfy-Org/ComfyUI_frontend/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 837f82f8-bfc9-4b42-9c91-c243885474e4

📥 Commits

Reviewing files that changed from the base of the PR and between dc08d68 and c32b77a.

📒 Files selected for processing (1)
  • packages/account-core/src/core/webSessionIdentity.ts

Included review availability: Your plan provides up to 8 included reviews per hour; 5 remain after this review.


📝 Walkthrough

Walkthrough

This change adds a web-session identity module to account-core. It defines identity transitions and a controller for account and API-key principals, with session restoration, retries, disposal, and bootstrap reporting. The package exports the module and adds tests for identity behavior and package consumers.

Changes

Web session identity

Layer / File(s) Summary
Identity contracts and transitions
packages/account-core/src/core/webSessionIdentity.ts
Adds identity states, events, effects, transition results, and rules for session reads, restoration, revocation, and retry outcomes.
Identity controller and behavior tests
packages/account-core/src/core/webSessionIdentity.ts, packages/account-core/src/core/webSessionIdentity.test.ts
Adds account and API-key identity controllers. Account identities read sessions, restore eligible remembered sessions, retry transient failures, and handle disposal. Tests cover these behaviors and their outcomes.
Package export and consumer coverage
packages/account-core/package.json, packages/account-core/scripts/smokePack.ts, packages/account-core/src/core/importGuard.test.ts, packages/account-core/src/webSessionInertImport.test.ts
Adds source and published-package exports for webSessionIdentity. Extends typed-consumer, Firebase import-closure, and import-side-effect test coverage.

Priority: ⬇️ Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  participant Caller
  participant WebSessionIdentity
  participant WebSession
  participant ProofProvider
  Caller->>WebSessionIdentity: boot account identity
  WebSessionIdentity->>WebSession: read session
  WebSession-->>WebSessionIdentity: no session or expired session
  WebSessionIdentity->>ProofProvider: retrieve restoration proof
  ProofProvider-->>WebSessionIdentity: return proof
  WebSessionIdentity->>WebSession: restore session
  WebSession-->>WebSessionIdentity: return restoration result
Loading

Merge Risk: ⚪ Minimal · up to c32b7

The identity module rejects a restored session for a different remembered account and retries transient remembered-login lookup failures. No change-specific merge risk remains in the reviewed source; separately reported checks and backend rollout conditions should still be verified.

Architecture Summary

Architecture risk: 🔵 Low · up to c32b7

The change affects 1 system.

Changed systems: packages/account-core

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — packages/account-core (library) was modified; 6 changed files map to changed impact.

Before / after behavior

  • observed — Modified behavior in packages/account-core/package.json: Adds the ./webSessionIdentity source entry to the package exports.
  • observed — Modified behavior in packages/account-core/package.json: Adds published type declaration and import paths for webSessionIdentity.
  • observed — Modified behavior in packages/account-core/scripts/smokePack.ts: The typed consumer now imports WebSessionIdentityState and createWebSessionIdentity from the webSessionIdentity entry.
  • observed — Modified behavior in packages/account-core/scripts/smokePack.ts: The consumer’s exported values object now includes createWebSessionIdentity.
🚥 Pre-merge checks | ✅ 7
✅ Passed checks (7 passed)
Check name Status Explanation
Description check ✅ Passed The description is detailed and covers the change, motivation, behavior, review focus, testing, dependencies, rollout constraints, and links. It does not use every template heading, but it provides th…
Title check ✅ Passed The title clearly identifies the account-core feature and its main purpose: adding session-backed identity source and boot rules.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
End-To-End Regression Coverage For Fixes ✅ Passed The PR contains bug-fix signals in its commit subjects, and its changed files are under packages/account-core/src/. However, the description gives a concrete reason for not adding an end-to-end test…
Website End-To-End Regression Coverage ✅ Passed The changed files are confined to packages/account-core. The PR does not change files under apps/website/src/ or apps/website/public/, so this website-specific check does not apply.
Adr Compliance For Entity/Litegraph Changes ✅ Passed The changed-file list contains only files under packages/account-core. It contains no files under src/lib/litegraph/, src/ecs/, or graph-entity-related paths. The custom check does not apply.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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

@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 09/25/2026, 01:50:06 PM UTC

Links

🌐 Website E2E

Tip

All tests passed.

Status ✅ Passed
Report View Report

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

📊 Browser Reports
  • chromium: View Report (✅ 2107 / ❌ 0 / ⚠️ 2 / ⏭️ 13)
  • 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)

🌾 Fallow: ✅ Passed

Fallow audits the diff for duplication, complexity and dead code. It gates on new findings only, so when the audit completes, a red is something this PR introduced or moved — never inherited backlog. A red can also mean the audit itself did not finish; the details below say which happened.

No new findings in the changed files.

Reproduce locally
# the base the gate compared against
npx fallow audit --root . --quiet --format json \
  --changed-since 1c2a416900b2d146792a2ce037edccacd652437b

Full docs: ADR-DEVEX-LINT-0015

🧩 Custom Nodes Ecosystem Matrix: ✅ Passed

Executes the frontend JS of every registry pack that ships any, against this change, in both renderers. The eight ecosystem-matrix shard checks are a harness self-test; the pack verdict is matrix-verdict.

Stage Result What a failure here means
pin-status success Informational. It never fails the build; it warns when the corpus snapshot is over 30 days old.
corpus success Infrastructure: the pack mirror could not be fetched, validated or cached. Not your diff.
shards success Harness integrity, not pack breakage. A shard only checks that every built spec wrote its row; vitest's own exit code is deliberately ignored because pack code leaks unhandled rejections.
verdicts success The population verdict per renderer. This is the stage that judges packs. Exit 1 is FAIL; exit 2 is withheld — rows were missing, so nothing was measured, which is not the same as your change breaking packs.
detection-proofs success The instrument self-test: the matrix must FAIL on a deliberately poisoned corpus. A failure here means the gate cannot be trusted this run, in either direction.

On a pin-bump PR, a red gate means the ecosystem moved — not that your diff broke something. That is what the bump PR is for. Outside a pin bump or a cold rebuild of the unpinned tail, a red means the diff.

Note the corpus size and the executed count are different numbers, and the verdict is against the executed count: roughly 3,100 of ~5,100 packs ship no extension-shaped JS and are skipped.

Reproduce locally
# build one shard's fixture, then run it
python3 scripts/registry-census/build_matrix.py --shard 1/4
MATRIX_RENDERER=vue MATRIX_VUE=1 \
  npx vitest run --config vitest.matrix.config.mts

Full docs: scripts/registry-census/README.md

📦 Bundle: 10 MB gzip 🔴 +304 kB

Details

Summary

  • Raw size: 42.4 MB baseline 41.1 MB — 🔴 +1.27 MB
  • Gzip: 10 MB baseline 9.69 MB — 🔴 +304 kB
  • Brotli: 7.04 MB baseline 6.82 MB — 🔴 +219 kB
  • Bundles: 455 current • 448 baseline • 317 added / 310 removed

Category Glance
Other 🔴 +1.49 MB (17.9 MB) · Vendor & Third-Party 🟢 -686 kB (17.4 MB) · Data & Services 🔴 +379 kB (3.98 MB) · Graph Workspace 🔴 +22.4 kB (1.45 MB) · Utilities & Hooks 🔴 +17.6 kB (576 kB) · Panels & Settings 🔴 +17.5 kB (639 kB) · + 5 more

App Entry Points — 3.77 kB (baseline 3.73 kB) • 🔴 +38 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-zM784fvJ.js (new) — 3.77 kB 🔴 +3.77 kB 🔴 +1.9 kB 🔴 +1.63 kB
assets/index-BwTRA-Bv.js (removed) 3.73 kB — 🟢 -3.73 kB 🟢 -1.87 kB 🟢 -1.63 kB

Status: 1 added / 1 removed

Graph Workspace — 1.45 MB (baseline 1.43 MB) • 🔴 +22.4 kB

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-CpxrJSwv.js (new) — 1.44 MB 🔴 +1.44 MB 🔴 +316 kB 🔴 +236 kB
assets/GraphView-bfNavKCv.js (removed) 1.42 MB — 🟢 -1.42 MB 🟢 -310 kB 🟢 -232 kB
assets/WidgetCompositor-CX9xAAW-.js (removed) 8.5 kB — 🟢 -8.5 kB 🟢 -2.8 kB 🟢 -2.48 kB
assets/WidgetCompositor-DUVEhqGw.js (new) — 8.5 kB 🔴 +8.5 kB 🔴 +2.8 kB 🔴 +2.48 kB

Status: 2 added / 2 removed / 1 unchanged

Views & Navigation — 134 kB (baseline 124 kB) • 🔴 +9.77 kB

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-CRRikoDX.js (new) — 26.7 kB 🔴 +26.7 kB 🔴 +6.7 kB 🔴 +5.93 kB
assets/CloudSurveyView-Bffyn8Ng.js (removed) 25 kB — 🟢 -25 kB 🟢 -6.24 kB 🟢 -5.51 kB
assets/CloudLayoutView-CC6thJVD.js (removed) 21.8 kB — 🟢 -21.8 kB 🟢 -6.56 kB 🟢 -5.74 kB
assets/CloudLayoutView-Cbo49M6S.js (new) — 21.7 kB 🔴 +21.7 kB 🔴 +6.56 kB 🔴 +5.74 kB
assets/OAuthConsentView-BdpZhkAE.js (new) — 15.5 kB 🔴 +15.5 kB 🔴 +4.26 kB 🔴 +3.73 kB
assets/OAuthConsentView-BgNTI4CB.js (removed) 15.5 kB — 🟢 -15.5 kB 🟢 -4.25 kB 🟢 -3.7 kB
assets/useCloudAuthPage-DDDHh0KK.js (new) — 11 kB 🔴 +11 kB 🔴 +4.18 kB 🔴 +3.55 kB
assets/CloudLoginView-C8NFWaNX.js (new) — 8.79 kB 🔴 +8.79 kB 🔴 +2.57 kB 🔴 +2.27 kB
assets/CloudLoginView-DHjStL3n.js (removed) 8.74 kB — 🟢 -8.74 kB 🟢 -2.55 kB 🟢 -2.26 kB
assets/UserCheckView-CfZLMQd6.js (new) — 8.6 kB 🔴 +8.6 kB 🔴 +2.18 kB 🔴 +1.9 kB
assets/UserCheckView-C1bxhaq_.js (removed) 8.51 kB — 🟢 -8.51 kB 🟢 -2.14 kB 🟢 -1.85 kB
assets/useCloudAuthPage-DputIiUy.js (removed) 7.08 kB — 🟢 -7.08 kB 🟢 -2.52 kB 🟢 -2.2 kB
assets/CloudSignupView-DJdmMOZo.js (new) — 6.98 kB 🔴 +6.98 kB 🔴 +2.28 kB 🔴 +1.99 kB
assets/CloudSignupView-BSHAdvRi.js (removed) 6.96 kB — 🟢 -6.96 kB 🟢 -2.28 kB 🟢 -1.99 kB
assets/WidgetTextPreview-BIhJDDsP.js (removed) 6.06 kB — 🟢 -6.06 kB 🟢 -2.13 kB 🟢 -1.89 kB
assets/WidgetTextPreview-UtLGKa9Q.js (new) — 6.06 kB 🔴 +6.06 kB 🔴 +2.13 kB 🔴 +1.89 kB
assets/CloudSubscriptionRedirectView-DDQDTS9p.js (removed) 5.69 kB — 🟢 -5.69 kB 🟢 -1.94 kB 🟢 -1.69 kB
assets/CloudSubscriptionRedirectView-BjTaBERK.js (new) — 5.67 kB 🔴 +5.67 kB 🔴 +1.92 kB 🔴 +1.69 kB
assets/UserSelectView-BRBarU0L.js (new) — 5.64 kB 🔴 +5.64 kB 🔴 +2 kB 🔴 +1.75 kB
assets/UserSelectView-BPc1sma0.js (removed) 5.56 kB — 🟢 -5.56 kB 🟢 -1.97 kB 🟢 -1.73 kB
assets/CloudForgotPasswordView-h2hJ_jQp.js (new) — 5.04 kB 🔴 +5.04 kB 🔴 +1.73 kB 🔴 +1.5 kB
assets/CloudForgotPasswordView-CeVAE_fq.js (removed) 4.97 kB — 🟢 -4.97 kB 🟢 -1.72 kB 🟢 -1.49 kB
assets/CloudAuthTimeoutView-BT8jWWW4.js (removed) 4.43 kB — 🟢 -4.43 kB 🟢 -1.54 kB 🟢 -1.34 kB
assets/CloudAuthTimeoutView-Ct8PZ0lH.js (new) — 4.43 kB 🔴 +4.43 kB 🔴 +1.54 kB 🔴 +1.33 kB
assets/WidgetResolutionPreview-BAfJVR53.js (new) — 3.78 kB 🔴 +3.78 kB 🔴 +1.49 kB 🔴 +1.33 kB
assets/OAuthLayoutView-BZKGVBHx.js (removed) 1.32 kB — 🟢 -1.32 kB 🟢 -708 B 🟢 -605 B
assets/OAuthLayoutView-Dw6EOAKO.js (new) — 1.32 kB 🔴 +1.32 kB 🔴 +707 B 🔴 +596 B
assets/CloudSorryContactSupportView-AWlZ_0tP.js (removed) 1.14 kB — 🟢 -1.14 kB 🟢 -581 B 🟢 -500 B
assets/CloudSorryContactSupportView-BkX7FOOO.js (new) — 1.14 kB 🔴 +1.14 kB 🔴 +580 B 🔴 +499 B
assets/layout-ajK52fOm.js (removed) 403 B — 🟢 -403 B 🟢 -251 B 🟢 -217 B
assets/layout-zAJ3xHXb.js (new) — 403 B 🔴 +403 B 🔴 +252 B 🔴 +207 B
assets/WidgetTextPreview-DsDb04C7.js (removed) 131 B — 🟢 -131 B 🟢 -100 B 🟢 -87 B
assets/WidgetTextPreview-JEcUzqat.js (new) — 131 B 🔴 +131 B 🔴 +100 B 🔴 +90 B

Status: 17 added / 16 removed / 1 unchanged

Panels & Settings — 639 kB (baseline 621 kB) • 🔴 +17.5 kB

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/KeybindingPanel-DvSx-wPh.js (new) — 49.9 kB 🔴 +49.9 kB 🔴 +10.1 kB 🔴 +8.92 kB
assets/KeybindingPanel-D4J8GBCE.js (removed) 49.4 kB — 🟢 -49.4 kB 🟢 -9.95 kB 🟢 -8.82 kB
assets/settings-BRFVAYve.js (new) — 40.9 kB 🔴 +40.9 kB 🔴 +9.92 kB 🔴 +8.15 kB
assets/settings-D4oKvzMg.js (removed) 39.7 kB — 🟢 -39.7 kB 🟢 -9.69 kB 🟢 -7.98 kB
assets/CreditsPanel-Dfof4tu5.js (new) — 39 kB 🔴 +39 kB 🔴 +9.47 kB 🔴 +8.29 kB
assets/CreditsPanel-C8IcqBKF.js (removed) 37.4 kB — 🟢 -37.4 kB 🟢 -9.04 kB 🟢 -7.9 kB
assets/settings-BNU2QCLl.js (new) — 36.4 kB 🔴 +36.4 kB 🔴 +8.79 kB 🔴 +7.38 kB
assets/settings-Cc3-WuuJ.js (removed) 35.2 kB — 🟢 -35.2 kB 🟢 -8.61 kB 🟢 -7.24 kB
assets/settings-D1qsHYKe.js (new) — 34.6 kB 🔴 +34.6 kB 🔴 +8.63 kB 🔴 +7.03 kB
assets/settings-tLwshtic.js (new) — 34 kB 🔴 +34 kB 🔴 +8.66 kB 🔴 +7.19 kB
assets/SecretsPanel-CVc-Essp.js (new) — 33.9 kB 🔴 +33.9 kB 🔴 +7.89 kB 🔴 +6.93 kB
assets/SecretsPanel-Dc1XFH2x.js (removed) 33.7 kB — 🟢 -33.7 kB 🟢 -7.87 kB 🟢 -6.9 kB
assets/settings-BfFyPE-Z.js (removed) 33.5 kB — 🟢 -33.5 kB 🟢 -8.45 kB 🟢 -6.89 kB
assets/settings-D3NomSAg.js (removed) 32.9 kB — 🟢 -32.9 kB 🟢 -8.49 kB 🟢 -7.01 kB
assets/settings-CCQizNVP.js (new) — 32.3 kB 🔴 +32.3 kB 🔴 +8.89 kB 🔴 +7.49 kB
assets/settings-Cx2h1OJP.js (new) — 31.8 kB 🔴 +31.8 kB 🔴 +8.53 kB 🔴 +7.41 kB
assets/settings-BoufYryK.js (removed) 31.3 kB — 🟢 -31.3 kB 🟢 -8.72 kB 🟢 -7.28 kB
assets/settings-BPxKxA4Y.js (removed) 30.7 kB — 🟢 -30.7 kB 🟢 -8.35 kB 🟢 -7.29 kB
assets/settings-Do4XHNbr.js (new) — 30.5 kB 🔴 +30.5 kB 🔴 +8.2 kB 🔴 +7 kB
assets/settings-yO7jZidv.js (new) — 30.4 kB 🔴 +30.4 kB 🔴 +8.32 kB 🔴 +7.28 kB
assets/settings-Ftuhy6nt.js (new) — 30.4 kB 🔴 +30.4 kB 🔴 +8.41 kB 🔴 +7.32 kB
assets/settings-Bivg9JpU.js (new) — 30.3 kB 🔴 +30.3 kB 🔴 +8.62 kB 🔴 +7.65 kB
assets/settings-CLibll46.js (removed) 29.5 kB — 🟢 -29.5 kB 🟢 -8.02 kB 🟢 -6.85 kB
assets/settings-CcLSW-al.js (new) — 29.5 kB 🔴 +29.5 kB 🔴 +8.13 kB 🔴 +7.03 kB
assets/settings-Dru7DXTK.js (removed) 29.5 kB — 🟢 -29.5 kB 🟢 -8.26 kB 🟢 -7.18 kB
assets/settings-BPgmsDSL.js (new) — 29.4 kB 🔴 +29.4 kB 🔴 +8.55 kB 🔴 +7.13 kB
assets/settings-D1eU6mnV.js (removed) 29.4 kB — 🟢 -29.4 kB 🟢 -8.15 kB 🟢 -7.13 kB
assets/settings-1jObyGOY.js (removed) 29.4 kB — 🟢 -29.4 kB 🟢 -8.45 kB 🟢 -7.48 kB
assets/settings-CFMdXvxO.js (removed) 28.6 kB — 🟢 -28.6 kB 🟢 -7.95 kB 🟢 -6.9 kB
assets/settings-D2r_CY1A.js (removed) 28.5 kB — 🟢 -28.5 kB 🟢 -8.39 kB 🟢 -6.99 kB
assets/settings-CQYln-Qs.js (new) — 27.9 kB 🔴 +27.9 kB 🔴 +7.89 kB 🔴 +6.55 kB
assets/settings-DNoa4zUg.js (removed) 27.1 kB — 🟢 -27.1 kB 🟢 -7.71 kB 🟢 -6.4 kB
assets/settings-oOcowc0S.js (new) — 25.9 kB 🔴 +25.9 kB 🔴 +8.33 kB 🔴 +6.65 kB
assets/settings-BexjbCx7.js (new) — 25.3 kB 🔴 +25.3 kB 🔴 +8.13 kB 🔴 +6.34 kB
assets/settings-BPahqe4R.js (removed) 25.1 kB — 🟢 -25.1 kB 🟢 -8.17 kB 🟢 -6.55 kB
assets/settings-BBDK_tjH.js (removed) 24.5 kB — 🟢 -24.5 kB 🟢 -7.97 kB 🟢 -6.2 kB
assets/AboutPanel-DwgZGqv-.js (new) — 11.4 kB 🔴 +11.4 kB 🔴 +3.15 kB 🔴 +2.81 kB
assets/AboutPanel-Ci1Zv8Pk.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.11 kB 🟢 -2.78 kB
assets/ExtensionPanel-uoPz-Aln.js (new) — 9.31 kB 🔴 +9.31 kB 🔴 +2.52 kB 🔴 +2.22 kB
assets/ExtensionPanel-BFmd93jx.js (removed) 9.19 kB — 🟢 -9.19 kB 🟢 -2.52 kB 🟢 -2.23 kB
assets/settings-UWeUVHb5.js (new) — 7.24 kB 🔴 +7.24 kB 🔴 +1.91 kB 🔴 +1.62 kB
assets/settings-CaReuigq.js (removed) 7.08 kB — 🟢 -7.08 kB 🟢 -1.87 kB 🟢 -1.59 kB
assets/ServerConfigPanel-MdwcsTL3.js (new) — 6.11 kB 🔴 +6.11 kB 🔴 +1.95 kB 🔴 +1.73 kB
assets/ServerConfigPanel-kNmvBVkb.js (removed) 6.09 kB — 🟢 -6.09 kB 🟢 -1.95 kB 🟢 -1.73 kB
assets/UserPanel-BIcYOHcC.js (removed) 5.73 kB — 🟢 -5.73 kB 🟢 -1.78 kB 🟢 -1.55 kB
assets/UserPanel-BtCaQNWZ.js (new) — 5.72 kB 🔴 +5.72 kB 🔴 +1.77 kB 🔴 +1.53 kB
assets/refreshRemoteConfig-BaqA3GIl.js (new) — 4.6 kB 🔴 +4.6 kB 🔴 +1.62 kB 🔴 +1.44 kB
assets/refreshRemoteConfig-Dx3g-ezg.js (removed) 4.51 kB — 🟢 -4.51 kB 🟢 -1.59 kB 🟢 -1.41 kB
assets/remoteConfig-Cm_gpgYK.js (removed) 1.51 kB — 🟢 -1.51 kB 🟢 -698 B 🟢 -583 B
assets/remoteConfig-iAGIiold.js (new) — 1.51 kB 🔴 +1.51 kB 🔴 +700 B 🔴 +587 B
assets/CreditsPanel-DBkFjJ3k.js (removed) 116 B — 🟢 -116 B 🟢 -95 B 🟢 -86 B
assets/CreditsPanel-DPdY1m9w.js (new) — 116 B 🔴 +116 B 🔴 +95 B 🔴 +83 B
assets/refreshRemoteConfig-Buq1P3P1.js (new) — 110 B 🔴 +110 B 🔴 +89 B 🔴 +82 B
assets/refreshRemoteConfig-ca9x4PDk.js (removed) 110 B — 🟢 -110 B 🟢 -89 B 🟢 -88 B
assets/remoteConfig-Bkv5pkGV.js (new) — 99 B 🔴 +99 B 🔴 +87 B 🔴 +85 B

Status: 28 added / 27 removed

User & Accounts — 39.4 kB (baseline 27.8 kB) • 🔴 +11.6 kB

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SignUpForm-CudKj4_B.js (new) — 21.4 kB 🔴 +21.4 kB 🔴 +7.07 kB 🔴 +6.09 kB
assets/SignUpForm-EHelApfJ.js (removed) 13.3 kB — 🟢 -13.3 kB 🟢 -4.53 kB 🟢 -3.93 kB
assets/PasswordFields-CzthtnL8.js (new) — 6.15 kB 🔴 +6.15 kB 🔴 +1.85 kB 🔴 +1.62 kB
assets/PasswordFields-BBTy1c-C.js (removed) 5.22 kB — 🟢 -5.22 kB 🟢 -1.56 kB 🟢 -1.38 kB
assets/auth-D81SvG1f.js (new) — 4.91 kB 🔴 +4.91 kB 🔴 +1.64 kB 🔴 +1.39 kB
assets/auth-By-Oitcx.js (removed) 3.48 kB — 🟢 -3.48 kB 🟢 -1.2 kB 🟢 -1.01 kB
assets/WorkspaceProfilePic-BsD_4THR.js (new) — 2.67 kB 🔴 +2.67 kB 🔴 +1.28 kB 🔴 +1.07 kB
assets/UpdatePasswordContent-CDFQeg-H.js (removed) 1.85 kB — 🟢 -1.85 kB 🟢 -843 B 🟢 -732 B
assets/UpdatePasswordContent-liPc2Nnm.js (new) — 1.85 kB 🔴 +1.85 kB 🔴 +842 B 🔴 +739 B
assets/WorkspaceProfilePic-BBK0nnO5.js (removed) 1.6 kB — 🟢 -1.6 kB 🟢 -830 B 🟢 -719 B
assets/profiler-DTaQ-5S5.js (removed) 178 B — 🟢 -178 B 🟢 -141 B 🟢 -128 B
assets/profiler-oW5LsWHp.js (new) — 178 B 🔴 +178 B 🔴 +141 B 🔴 +121 B
assets/authStore-8QNWyfTa.js (removed) 126 B — 🟢 -126 B 🟢 -103 B 🟢 -118 B
assets/authStore-CJyijiy0.js (new) — 126 B 🔴 +126 B 🔴 +103 B 🔴 +114 B
assets/workspaceAuthStore-BRU1twXj.js (new) — 108 B 🔴 +108 B 🔴 +99 B 🔴 +107 B
assets/workspaceAuthStore-ByVOd4Gw.js (removed) 108 B — 🟢 -108 B 🟢 -99 B 🟢 -105 B
assets/auth-BoofWYd8.js (new) — 105 B 🔴 +105 B 🔴 +96 B 🔴 +80 B
assets/auth-DTyefPt5.js (removed) 105 B — 🟢 -105 B 🟢 -96 B 🟢 -83 B

Status: 9 added / 9 removed / 2 unchanged

Editors & Dialogs — 126 kB (baseline 126 kB) • 🔴 +690 B

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyHubPublishDialog-BICaNo5Y.js (new) — 90.8 kB 🔴 +90.8 kB 🔴 +19.3 kB 🔴 +16.5 kB
assets/ComfyHubPublishDialog-B2NxtE-i.js (removed) 90.1 kB — 🟢 -90.1 kB 🟢 -19.3 kB 🟢 -16.5 kB
assets/useShareDialog-DtQGl5bE.js (removed) 23.9 kB — 🟢 -23.9 kB 🟢 -5.74 kB 🟢 -5.08 kB
assets/useShareDialog-V76PXRHf.js (new) — 23.9 kB 🔴 +23.9 kB 🔴 +5.74 kB 🔴 +5.08 kB
assets/feedbackDialog-CwYjKD3Y.js (removed) 4.45 kB — 🟢 -4.45 kB 🟢 -1.86 kB 🟢 -1.58 kB
assets/feedbackDialog-qT8DzOxF.js (new) — 4.45 kB 🔴 +4.45 kB 🔴 +1.86 kB 🔴 +1.59 kB
assets/useRangeEditor-BoyMoS2p.js (removed) 3.29 kB — 🟢 -3.29 kB 🟢 -1.14 kB 🟢 -1.04 kB
assets/useRangeEditor-Cg0l1QuH.js (new) — 3.29 kB 🔴 +3.29 kB 🔴 +1.14 kB 🔴 +1.03 kB
assets/SubscriptionInactiveMemberDialog-6ya_FXU6.js (new) — 2.48 kB 🔴 +2.48 kB 🔴 +998 B 🔴 +852 B
assets/SubscriptionInactiveMemberDialog-CA75u5wf.js (removed) 2.48 kB — 🟢 -2.48 kB 🟢 -1 kB 🟢 -854 B
assets/useLayerEditor-CPwerFRk.js (new) — 1.19 kB 🔴 +1.19 kB 🔴 +566 B 🔴 +492 B
assets/useLayerEditor-CTvFWRZW.js (removed) 1.19 kB — 🟢 -1.19 kB 🟢 -561 B 🟢 -495 B
assets/ComfyHubPublishDialog-BRl_4vkC.js (new) — 143 B 🔴 +143 B 🔴 +105 B 🔴 +90 B
assets/ComfyHubPublishDialog-CL-G8ayI.js (removed) 143 B — 🟢 -143 B 🟢 -105 B 🟢 -92 B
assets/useSubscriptionDialog-BsXhMsUI.js (new) — 107 B 🔴 +107 B 🔴 +101 B 🔴 +99 B
assets/useSubscriptionDialog-Q_CUTcnv.js (removed) 107 B — 🟢 -107 B 🟢 -101 B 🟢 -97 B

Status: 8 added / 8 removed

UI Components — 125 kB (baseline 117 kB) • 🔴 +8.01 kB

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useMoreOptionsMenu-DwcEDs1b.js (new) — 48 kB 🔴 +48 kB 🔴 +11.6 kB 🔴 +10 kB
assets/useMoreOptionsMenu-BseFXjit.js (removed) 48 kB — 🟢 -48 kB 🟢 -11.6 kB 🟢 -10 kB
assets/ComfyQueueButton-C7cI7H_z.js (removed) 14.6 kB — 🟢 -14.6 kB 🟢 -3.98 kB 🟢 -3.54 kB
assets/ComfyQueueButton-1TTbWcZ3.js (new) — 13.7 kB 🔴 +13.7 kB 🔴 +3.7 kB 🔴 +3.29 kB
assets/useTerminalTabs-CSwVHGeG.js (new) — 11.8 kB 🔴 +11.8 kB 🔴 +3.7 kB 🔴 +3.29 kB
assets/useTerminalTabs-nHwhPoz4.js (removed) 11.8 kB — 🟢 -11.8 kB 🟢 -3.69 kB 🟢 -3.27 kB
assets/InviteMembersForm-0HsiyQ17.js (new) — 10.5 kB 🔴 +10.5 kB 🔴 +3.15 kB 🔴 +2.81 kB
assets/InviteMembersForm-CNuS1qHf.js (removed) 10.2 kB — 🟢 -10.2 kB 🟢 -3.1 kB 🟢 -2.77 kB
assets/TopbarBadge-DpbujY06.js (removed) 7.65 kB — 🟢 -7.65 kB 🟢 -1.84 kB 🟢 -1.62 kB
assets/TopbarBadge-Co-wUV3R.js (new) — 7.54 kB 🔴 +7.54 kB 🔴 +2.05 kB 🔴 +1.77 kB
assets/AgentConsentCard-CTuGVI1T.js (new) — 6.5 kB 🔴 +6.5 kB 🔴 +2.21 kB 🔴 +1.96 kB
assets/ScrubableNumberInput-CPHcW-wC.js (removed) 6.49 kB — 🟢 -6.49 kB 🟢 -2.17 kB 🟢 -1.91 kB
assets/ScrubableNumberInput-CgYjDbVM.js (new) — 6.49 kB 🔴 +6.49 kB 🔴 +2.17 kB 🔴 +1.91 kB
assets/WidgetInputNumberInput-DYs9O-TI.js (removed) 5.83 kB — 🟢 -5.83 kB 🟢 -2.07 kB 🟢 -1.85 kB
assets/WidgetInputNumberInput-CzbCPMo1.js (new) — 5.82 kB 🔴 +5.82 kB 🔴 +2.07 kB 🔴 +1.84 kB
assets/Button-C3sYvogp.js (new) — 4.68 kB 🔴 +4.68 kB 🔴 +1.61 kB 🔴 +1.42 kB
assets/Button-BTLcVcpW.js (removed) 4.64 kB — 🟢 -4.64 kB 🟢 -1.63 kB 🟢 -1.44 kB
assets/Input-2u6-opF0.js (new) — 3.14 kB 🔴 +3.14 kB 🔴 +1.27 kB 🔴 +1.1 kB
assets/SubscribeButton-CAPonGMO.js (new) — 2.15 kB 🔴 +2.15 kB 🔴 +969 B 🔴 +849 B
assets/SubscribeButton-cg7SE_P5.js (removed) 2.15 kB — 🟢 -2.15 kB 🟢 -968 B 🟢 -845 B
assets/UserAvatar-Rlvo56wR.js (new) — 1.93 kB 🔴 +1.93 kB 🔴 +860 B 🔴 +744 B
assets/WidgetButton-BtiDb5TD.js (removed) 1.91 kB — 🟢 -1.91 kB 🟢 -889 B 🟢 -773 B
assets/WidgetButton-tLgePdpL.js (new) — 1.91 kB 🔴 +1.91 kB 🔴 +889 B 🔴 +774 B
assets/Input-CFZOnKKa.js (removed) 1.76 kB — 🟢 -1.76 kB 🟢 -874 B 🟢 -756 B
assets/UserAvatar-B8FrHbFK.js (removed) 1.24 kB — 🟢 -1.24 kB 🟢 -640 B 🟢 -548 B
assets/cloudFeedbackTopbarButton-B9S8EybJ.js (new) — 701 B 🔴 +701 B 🔴 +422 B 🔴 +383 B
assets/cloudFeedbackTopbarButton-C4atthAg.js (removed) 701 B — 🟢 -701 B 🟢 -418 B 🟢 -371 B
assets/ComfyQueueButton-ByLznDu5.js (removed) 128 B — 🟢 -128 B 🟢 -99 B 🟢 -94 B
assets/ComfyQueueButton-ZGJ9-GA3.js (new) — 128 B 🔴 +128 B 🔴 +99 B 🔴 +91 B
assets/toggle-group-B6RqgW6F.js (removed) 40 B — 🟢 -40 B 🟢 -60 B 🟢 -44 B
assets/toggle-group-XSwZH8A4.js (new) — 40 B 🔴 +40 B 🔴 +60 B 🔴 +44 B

Status: 16 added / 15 removed

Data & Services — 3.98 MB (baseline 3.6 MB) • 🔴 +379 kB

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/settingStore-N6xPWOlJ.js (new) — 3.68 MB 🔴 +3.68 MB 🔴 +877 kB 🔴 +660 kB
assets/settingStore-Dh8JKC-r.js (removed) 3.28 MB — 🟢 -3.28 MB 🟢 -773 kB 🟢 -584 kB
assets/api-6B0nO4jv.js (removed) 170 kB — 🟢 -170 kB 🟢 -38.6 kB 🟢 -32.6 kB
assets/api-DdaWtcw9.js (new) — 158 kB 🔴 +158 kB 🔴 +36.7 kB 🔴 +31.1 kB
assets/load3dService-BRGhh9oA.js (new) — 87.3 kB 🔴 +87.3 kB 🔴 +20.4 kB 🔴 +17.6 kB
assets/load3dService-B287VVn3.js (removed) 86.9 kB — 🟢 -86.9 kB 🟢 -20.3 kB 🟢 -17.6 kB
assets/releaseStore-Cpl9V-Cm.js (new) — 24.9 kB 🔴 +24.9 kB 🔴 +7.39 kB 🔴 +6.49 kB
assets/releaseStore-B04GmhiB.js (removed) 23.8 kB — 🟢 -23.8 kB 🟢 -7.07 kB 🟢 -6.22 kB
assets/workflowShareService-C9OUIzVk.js (new) — 17.2 kB 🔴 +17.2 kB 🔴 +5.11 kB 🔴 +4.53 kB
assets/workflowShareService-DaAvv6Kc.js (removed) 16.5 kB — 🟢 -16.5 kB 🟢 -4.91 kB 🟢 -4.34 kB
assets/keybindingService-N7OXQjeZ.js (removed) 6.95 kB — 🟢 -6.95 kB 🟢 -1.74 kB 🟢 -1.51 kB
assets/dialogStore-6pij_2ry.js (new) — 5.6 kB 🔴 +5.6 kB 🔴 +1.71 kB 🔴 +1.47 kB
assets/userStore-BT-UFGmA.js (new) — 5.47 kB 🔴 +5.47 kB 🔴 +2.02 kB 🔴 +1.81 kB
assets/dialogStore-D83mpPDg.js (removed) 5.35 kB — 🟢 -5.35 kB 🟢 -1.64 kB 🟢 -1.44 kB
assets/serverConfigStore-DFu5Gp3P.js (new) — 2.4 kB 🔴 +2.4 kB 🔴 +810 B 🔴 +722 B
assets/userStore-BhKq9Gxv.js (removed) 2.38 kB — 🟢 -2.38 kB 🟢 -900 B 🟢 -793 B
assets/serverConfigStore-CyZU9671.js (removed) 2.3 kB — 🟢 -2.3 kB 🟢 -777 B 🟢 -681 B
assets/audioService-BlvYcwDu.js (removed) 1.71 kB — 🟢 -1.71 kB 🟢 -830 B 🟢 -726 B
assets/audioService-Brzikamb.js (new) — 1.71 kB 🔴 +1.71 kB 🔴 +827 B 🔴 +723 B
assets/toastStore-5tbj_XwE.js (removed) 841 B — 🟢 -841 B 🟢 -396 B 🟢 -344 B
assets/toastStore-BxqgDSCE.js (new) — 841 B 🔴 +841 B 🔴 +397 B 🔴 +344 B
assets/dialogService-BynAZ3vu.js (new) — 97 B 🔴 +97 B 🔴 +96 B 🔴 +93 B
assets/dialogService-D6aK1--R.js (removed) 97 B — 🟢 -97 B 🟢 -96 B 🟢 -94 B
assets/releaseStore-BmB8-CaZ.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +78 B
assets/releaseStore-DTgTDw2l.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -86 B
assets/settingStore-B8w6o-Sx.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -87 B
assets/settingStore-CB6lZ3m_.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +88 B
assets/assetsStore-G_6Z7IJo.js (removed) 94 B — 🟢 -94 B 🟢 -92 B 🟢 -83 B
assets/assetsStore-nVH19yL0.js (new) — 94 B 🔴 +94 B 🔴 +92 B 🔴 +83 B
assets/api-CLwOI4yf.js (new) — 62 B 🔴 +62 B 🔴 +74 B 🔴 +66 B
assets/api-K3H2o9qZ.js (removed) 62 B — 🟢 -62 B 🟢 -74 B 🟢 -66 B

Status: 15 added / 16 removed

Utilities & Hooks — 576 kB (baseline 559 kB) • 🔴 +17.6 kB

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useConflictDetection-DPOcCRp7.js (new) — 244 kB 🔴 +244 kB 🔴 +55.1 kB 🔴 +44.9 kB
assets/useConflictDetection-B-U5uLSc.js (removed) 237 kB — 🟢 -237 kB 🟢 -53.1 kB 🟢 -43.2 kB
assets/useLayerEditorSession-LnwaNuMg.js (new) — 159 kB 🔴 +159 kB 🔴 +41 kB 🔴 +34.5 kB
assets/useLayerEditorSession-DvINHA8d.js (removed) 159 kB — 🟢 -159 kB 🟢 -40.9 kB 🟢 -34.5 kB
assets/useLoad3d-D8ynaACp.js (new) — 26.6 kB 🔴 +26.6 kB 🔴 +6.03 kB 🔴 +5.32 kB
assets/useLoad3d-DOtnnfN6.js (removed) 26 kB — 🟢 -26 kB 🟢 -5.88 kB 🟢 -5.21 kB
assets/useLoad3dViewer-BZ9iXCUZ.js (removed) 21.9 kB — 🟢 -21.9 kB 🟢 -5.27 kB 🟢 -4.6 kB
assets/useLoad3dViewer-jSRFHBHW.js (new) — 21.9 kB 🔴 +21.9 kB 🔴 +5.25 kB 🔴 +4.61 kB
assets/useImageQuiet-CakHhMxZ.js (new) — 19.1 kB 🔴 +19.1 kB 🔴 +6.11 kB 🔴 +5.27 kB
assets/useImageQuiet-17PxBhD2.js (removed) 19.1 kB — 🟢 -19.1 kB 🟢 -6.12 kB 🟢 -5.28 kB
assets/formatUtil-uiBepxDz.js (removed) 16.5 kB — 🟢 -16.5 kB 🟢 -5.58 kB 🟢 -4.89 kB
assets/formatUtil-tXXgduot.js (new) — 16.5 kB 🔴 +16.5 kB 🔴 +5.58 kB 🔴 +4.9 kB
assets/useImageCrop-DrGCI8Qa.js (new) — 15.3 kB 🔴 +15.3 kB 🔴 +3.54 kB 🔴 +3.08 kB
assets/useImageCrop-Nvz6e46Z.js (removed) 14.9 kB — 🟢 -14.9 kB 🟢 -3.42 kB 🟢 -2.99 kB
assets/useFeatureFlags-DuDp6H8U.js (new) — 11.7 kB 🔴 +11.7 kB 🔴 +3.48 kB 🔴 +2.94 kB
assets/useDowngradeToPersonal-xUXgnG8V.js (new) — 11 kB 🔴 +11 kB 🔴 +2.78 kB 🔴 +2.39 kB
assets/useDowngradeToPersonal-huZofIsg.js (removed) 11 kB — 🟢 -11 kB 🟢 -2.76 kB 🟢 -2.36 kB
assets/useExternalLink-D0ETd5t-.js (new) — 10.2 kB 🔴 +10.2 kB 🔴 +3.5 kB 🔴 +3.04 kB
assets/useFeatureFlags-BfOkh_tv.js (removed) 8.04 kB — 🟢 -8.04 kB 🟢 -2.21 kB 🟢 -1.88 kB
assets/useExternalLink-CTH9vqIB.js (removed) 7.62 kB — 🟢 -7.62 kB 🟢 -2.56 kB 🟢 -2.18 kB
assets/usePricingTableUrlLoader-t1jFk7IE.js (new) — 4.81 kB 🔴 +4.81 kB 🔴 +1.66 kB 🔴 +1.41 kB
assets/usePricingTableUrlLoader-0TEZNj-z.js (removed) 4.79 kB — 🟢 -4.79 kB 🟢 -1.65 kB 🟢 -1.41 kB
assets/downloadUtil-ChaNILQI.js (new) — 3.67 kB 🔴 +3.67 kB 🔴 +1.41 kB 🔴 +1.16 kB
assets/useTransformState-CDqyIq0J.js (removed) 3.54 kB — 🟢 -3.54 kB 🟢 -1.55 kB 🟢 -1.29 kB
assets/useTransformState-CaXN0QY1.js (new) — 3.51 kB 🔴 +3.51 kB 🔴 +1.53 kB 🔴 +1.27 kB
assets/useCompositorLayers-BTbVljW2.js (removed) 2.93 kB — 🟢 -2.93 kB 🟢 -863 B 🟢 -782 B
assets/useCompositorLayers-DJQqpIl3.js (new) — 2.93 kB 🔴 +2.93 kB 🔴 +861 B 🔴 +776 B
assets/useSurveyEligibility-ChJemtU3.js (removed) 2.89 kB — 🟢 -2.89 kB 🟢 -1.11 kB 🟢 -921 B
assets/useSurveyEligibility-DUxND72U.js (new) — 2.89 kB 🔴 +2.89 kB 🔴 +1.11 kB 🔴 +918 B
assets/useScheduledPlanChange-CrDQym77.js (new) — 2.4 kB 🔴 +2.4 kB 🔴 +961 B 🔴 +835 B
assets/useTypeformEmbed-BVAtjPc8.js (new) — 2.07 kB 🔴 +2.07 kB 🔴 +1.04 kB 🔴 +863 B
assets/useTypeformEmbed-DqZ7UNke.js (removed) 2.07 kB — 🟢 -2.07 kB 🟢 -1.04 kB 🟢 -862 B
assets/useFeatureUsageTracker-B5ogFL5s.js (new) — 2.07 kB 🔴 +2.07 kB 🔴 +913 B 🔴 +771 B
assets/useFeatureUsageTracker-R-N6J5DC.js (removed) 2.07 kB — 🟢 -2.07 kB 🟢 -911 B 🟢 -772 B
assets/downloadUtil-BAuAfjIU.js (removed) 2.04 kB — 🟢 -2.04 kB 🟢 -907 B 🟢 -726 B
assets/useUpstreamValue-BwxXUpHg.js (new) — 1.97 kB 🔴 +1.97 kB 🔴 +751 B 🔴 +703 B
assets/useUpstreamValue-DZm_bMrl.js (removed) 1.97 kB — 🟢 -1.97 kB 🟢 -753 B 🟢 -664 B
assets/useWorkspaceTierLabel-39hLCLLh.js (removed) 1.97 kB — 🟢 -1.97 kB 🟢 -842 B 🟢 -715 B
assets/useWorkspaceTierLabel-B7amFR3M.js (new) — 1.97 kB 🔴 +1.97 kB 🔴 +843 B 🔴 +712 B
assets/useRetryableMediaSrc-CdtU2Ipg.js (new) — 1.54 kB 🔴 +1.54 kB 🔴 +689 B 🔴 +611 B
assets/creditsUtil-kAQ7dWWS.js (removed) 1.49 kB — 🟢 -1.49 kB 🟢 -545 B 🟢 -474 B
assets/useErrorHandling-BF4XuROf.js (removed) 1.49 kB — 🟢 -1.49 kB 🟢 -613 B 🟢 -521 B
assets/useModalLiftedZIndex-6oZrs742.js (removed) 908 B — 🟢 -908 B 🟢 -554 B 🟢 -465 B
assets/useModalLiftedZIndex-DcGVla7M.js (new) — 907 B 🔴 +907 B 🔴 +553 B 🔴 +466 B
assets/useTextFileContent-BaqcqbkT.js (new) — 841 B 🔴 +841 B 🔴 +428 B 🔴 +382 B
assets/useTextFileContent-C1pcmHRG.js (removed) 841 B — 🟢 -841 B 🟢 -428 B 🟢 -404 B
assets/useSessionCookie-BJnD-o0j.js (new) — 688 B 🔴 +688 B 🔴 +352 B 🔴 +307 B
assets/useSessionCookie-CGw-hrQT.js (removed) 688 B — 🟢 -688 B 🟢 -354 B 🟢 -307 B
assets/useLoad3d-CE-hHrEs.js (new) — 364 B 🔴 +364 B 🔴 +179 B 🔴 +159 B
assets/envUtil-D9umgS8T.js (removed) 333 B — 🟢 -333 B 🟢 -213 B 🟢 -178 B
assets/envUtil-Cq1k2k7n.js (new) — 332 B 🔴 +332 B 🔴 +212 B 🔴 +178 B
assets/useLoad3d-2YpYQY4q.js (removed) 311 B — 🟢 -311 B 🟢 -163 B 🟢 -147 B
assets/useSessionCookie-DdE603Qw.js (new) — 101 B 🔴 +101 B 🔴 +86 B 🔴 +78 B
assets/useSessionCookie-Hj339PhM.js (removed) 101 B — 🟢 -101 B 🟢 -86 B 🟢 -85 B
assets/useFeatureFlags-CrJiiNIP.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -81 B
assets/useFeatureFlags-DFGm-lbX.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +87 B
assets/useLoad3dViewer-CJd7xIa9.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -85 B
assets/useLoad3dViewer-D-Q7cb0n.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +84 B
assets/useCurrentUser-3TN1QYI5.js (removed) 93 B — 🟢 -93 B 🟢 -94 B 🟢 -94 B
assets/useCurrentUser-ef7yKpaM.js (new) — 93 B 🔴 +93 B 🔴 +94 B 🔴 +86 B

Status: 30 added / 30 removed / 6 unchanged

Vendor & Third-Party — 17.4 MB (baseline 18.1 MB) • 🟢 -686 kB

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-other-CsGTOjID.js (removed) 3.5 MB — 🟢 -3.5 MB 🟢 -740 kB 🟢 -567 kB
assets/vendor-other-Cyx2o1eG.js (new) — 3.5 MB 🔴 +3.5 MB 🔴 +740 kB 🔴 +566 kB
assets/vendor-primevue-Z5lixi3U.js (removed) 1.69 MB — 🟢 -1.69 MB 🟢 -305 kB 🟢 -184 kB
assets/vendor-primevue-BdCl3jfC.js (new) — 1.62 MB 🔴 +1.62 MB 🔴 +294 kB 🔴 +177 kB
assets/vendor-firebase-DZ9gHliD.js (removed) 1.15 MB — 🟢 -1.15 MB 🟢 -233 kB 🟢 -186 kB
assets/vendor-tiptap-BT_4t92m.js (new) — 914 kB 🔴 +914 kB 🔴 +226 kB 🔴 +182 kB
assets/vendor-tiptap-CRth4-B-.js (removed) 747 kB — 🟢 -747 kB 🟢 -184 kB 🟢 -148 kB
assets/vendor-reka-ui-72s0rodD.js (new) — 536 kB 🔴 +536 kB 🔴 +97.9 kB 🔴 +74.9 kB
assets/vendor-reka-ui-D4vQsNGT.js (removed) 530 kB — 🟢 -530 kB 🟢 -97.2 kB 🟢 -74.4 kB
assets/vendor-datadog-COpAlflS.js (new) — 529 kB 🔴 +529 kB 🔴 +126 kB 🔴 +102 kB
assets/vendor-datadog-CR3rU1mS.js (removed) 528 kB — 🟢 -528 kB 🟢 -126 kB 🟢 -102 kB
assets/vendor-firebase-B37L--zT.js (new) — 361 kB 🔴 +361 kB 🔴 +69.9 kB 🔴 +56 kB
assets/vendor-vue-core-BOkjpN8u.js (new) — 351 kB 🔴 +351 kB 🔴 +87.8 kB 🔴 +73.9 kB
assets/vendor-vue-core-iYLTU33A.js (removed) 349 kB — 🟢 -349 kB 🟢 -87.4 kB 🟢 -73.6 kB
assets/vendor-sentry-CwHvS6Tl.js (removed) 239 kB — 🟢 -239 kB 🟢 -56.7 kB 🟢 -47.5 kB
assets/vendor-sentry-DobhdJm3.js (new) — 238 kB 🔴 +238 kB 🔴 +56.7 kB 🔴 +47.5 kB
assets/vendor-yjs-C9OoToaE.js (removed) 223 kB — 🟢 -223 kB 🟢 -50.3 kB 🟢 -42.2 kB
assets/vendor-yjs-D9X62SBd.js (new) — 223 kB 🔴 +223 kB 🔴 +50.3 kB 🔴 +42.2 kB
assets/vendor-vueuse-CJ0VbJD8.js (new) — 155 kB 🔴 +155 kB 🔴 +39 kB 🔴 +33.4 kB
assets/vendor-vueuse-w2ULPUfp.js (removed) 153 kB — 🟢 -153 kB 🟢 -38.3 kB 🟢 -32.7 kB
assets/vendor-i18n-DSVlfJy6.js (new) — 128 kB 🔴 +128 kB 🔴 +29.2 kB 🔴 +24.9 kB
assets/vendor-i18n-Bf0wYjQy.js (removed) 128 kB — 🟢 -128 kB 🟢 -29 kB 🟢 -24.8 kB
assets/vendor-zod-CnLPxe5A.js (removed) 106 kB — 🟢 -106 kB 🟢 -18.9 kB 🟢 -16.1 kB
assets/vendor-zod-B122l9zj.js (new) — 106 kB 🔴 +106 kB 🔴 +18.9 kB 🔴 +16.1 kB

Status: 12 added / 12 removed / 6 unchanged

Other — 17.9 MB (baseline 16.4 MB) • 🔴 +1.49 MB

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/nodeDefs-29nT_P5g.js (new) — 958 kB 🔴 +958 kB 🔴 +164 kB 🔴 +111 kB
assets/nodeDefs-CyjhtEyd.js (new) — 880 kB 🔴 +880 kB 🔴 +150 kB 🔴 +105 kB
assets/nodeDefs-qaV0Ebr3.js (new) — 862 kB 🔴 +862 kB 🔴 +153 kB 🔴 +107 kB
assets/nodeDefs-D9YtDdoK.js (removed) 845 kB — 🟢 -845 kB 🟢 -145 kB 🟢 -98.1 kB
assets/nodeDefs-oV-UHf7Q.js (new) — 796 kB 🔴 +796 kB 🔴 +148 kB 🔴 +103 kB
assets/nodeDefs-KfMf-7EB.js (new) — 794 kB 🔴 +794 kB 🔴 +142 kB 🔴 +101 kB
assets/nodeDefs-CsAZ5VtE.js (removed) 776 kB — 🟢 -776 kB 🟢 -132 kB 🟢 -91.8 kB
assets/nodeDefs-UVhNZfW3.js (removed) 765 kB — 🟢 -765 kB 🟢 -135 kB 🟢 -94.2 kB
assets/nodeDefs-gqWTptGz.js (new) — 762 kB 🔴 +762 kB 🔴 +144 kB 🔴 +101 kB
assets/nodeDefs-D0lYrKmj.js (new) — 757 kB 🔴 +757 kB 🔴 +142 kB 🔴 +103 kB
assets/nodeDefs-CBgESIAd.js (new) — 746 kB 🔴 +746 kB 🔴 +142 kB 🔴 +103 kB
assets/nodeDefs-DJS6Gp1V.js (new) — 744 kB 🔴 +744 kB 🔴 +138 kB 🔴 +101 kB
assets/nodeDefs-DKhWdJ8P.js (new) — 742 kB 🔴 +742 kB 🔴 +144 kB 🔴 +105 kB
assets/nodeDefs-Rv3uqrFA.js (new) — 739 kB 🔴 +739 kB 🔴 +137 kB 🔴 +100 kB
assets/nodeDefs-CzapipaD.js (new) — 734 kB 🔴 +734 kB 🔴 +137 kB 🔴 +99.3 kB
assets/nodeDefs-Dh-ql9qR.js (removed) 705 kB — 🟢 -705 kB 🟢 -131 kB 🟢 -90.5 kB
assets/nodeDefs-CDPFsdbK.js (removed) 703 kB — 🟢 -703 kB 🟢 -124 kB 🟢 -88.5 kB
assets/nodeDefs-Daj8qLTv.js (new) — 698 kB 🔴 +698 kB 🔴 +126 kB 🔴 +92.6 kB
assets/nodeDefs-BYOnd9JD.js (new) — 680 kB 🔴 +680 kB 🔴 +141 kB 🔴 +99.2 kB
assets/nodeDefs-Cigxyg2d.js (removed) 678 kB — 🟢 -678 kB 🟢 -128 kB 🟢 -89.8 kB
assets/nodeDefs-DoPtNAzE.js (new) — 675 kB 🔴 +675 kB 🔴 +140 kB 🔴 +97.4 kB
assets/nodeDefs-DMTe7j2L.js (removed) 674 kB — 🟢 -674 kB 🟢 -126 kB 🟢 -91.3 kB
assets/nodeDefs-BEYgck8k.js (removed) 665 kB — 🟢 -665 kB 🟢 -126 kB 🟢 -91.6 kB
assets/nodeDefs-D7jDtVE_.js (removed) 663 kB — 🟢 -663 kB 🟢 -122 kB 🟢 -88.8 kB
assets/nodeDefs-Df-hATLl.js (removed) 662 kB — 🟢 -662 kB 🟢 -127 kB 🟢 -93.1 kB
assets/nodeDefs-DkU1Rp-F.js (removed) 659 kB — 🟢 -659 kB 🟢 -121 kB 🟢 -88.5 kB
assets/nodeDefs-CxWOLqIY.js (removed) 655 kB — 🟢 -655 kB 🟢 -121 kB 🟢 -87.7 kB
assets/nodeDefs-DrROCsD-.js (removed) 625 kB — 🟢 -625 kB 🟢 -112 kB 🟢 -82 kB
assets/nodeDefs-Bi8crISV.js (removed) 608 kB — 🟢 -608 kB 🟢 -125 kB 🟢 -87.4 kB
assets/nodeDefs-D1vHcnvb.js (removed) 603 kB — 🟢 -603 kB 🟢 -124 kB 🟢 -85.9 kB
assets/main-B-8aMm-A.js (new) — 358 kB 🔴 +358 kB 🔴 +88.3 kB 🔴 +68.2 kB
assets/main-DZ-D0_Dp.js (removed) 345 kB — 🟢 -345 kB 🟢 -85.2 kB 🟢 -66 kB
assets/main-BZ2b01j3.js (new) — 322 kB 🔴 +322 kB 🔴 +80.4 kB 🔴 +63.7 kB
assets/main-D2gy_1ZW.js (removed) 309 kB — 🟢 -309 kB 🟢 -77.3 kB 🟢 -61.3 kB
assets/main-BWjgrFFP.js (new) — 303 kB 🔴 +303 kB 🔴 +79.7 kB 🔴 +62.8 kB
assets/main-CDJ_titx.js (new) — 294 kB 🔴 +294 kB 🔴 +78.6 kB 🔴 +61.6 kB
assets/main-BIbPz10g.js (removed) 292 kB — 🟢 -292 kB 🟢 -76.7 kB 🟢 -60.5 kB
assets/main-BdfMXbf9.js (new) — 283 kB 🔴 +283 kB 🔴 +76.3 kB 🔴 +60.9 kB
assets/main-CVn8k0s0.js (removed) 283 kB — 🟢 -283 kB 🟢 -75.8 kB 🟢 -59.4 kB
assets/main-CBvtWugn.js (removed) 272 kB — 🟢 -272 kB 🟢 -73.5 kB 🟢 -58.7 kB
assets/main-rlaUU8I9.js (new) — 266 kB 🔴 +266 kB 🔴 +77 kB 🔴 +63.4 kB
assets/main-BzI3x83y.js (new) — 264 kB 🔴 +264 kB 🔴 +75.6 kB 🔴 +60.2 kB
assets/main-BYOcATOO.js (new) — 261 kB 🔴 +261 kB 🔴 +75.6 kB 🔴 +62.8 kB
assets/main-BTpCsqct.js (new) — 257 kB 🔴 +257 kB 🔴 +74.8 kB 🔴 +61.5 kB
assets/main-CCiSK6rB.js (removed) 257 kB — 🟢 -257 kB 🟢 -74.3 kB 🟢 -61.2 kB
assets/main-CXdnc-WB.js (new) — 255 kB 🔴 +255 kB 🔴 +75 kB 🔴 +62.1 kB
assets/main-9oYbTLiI.js (removed) 254 kB — 🟢 -254 kB 🟢 -73 kB 🟢 -58.2 kB
assets/main-D3j8xK4W.js (new) — 252 kB 🔴 +252 kB 🔴 +73.8 kB 🔴 +61.4 kB
assets/main-Dr8kaYUg.js (removed) 252 kB — 🟢 -252 kB 🟢 -72.8 kB 🟢 -60.6 kB
assets/main-pZTVDIZf.js (new) — 248 kB 🔴 +248 kB 🔴 +72.8 kB 🔴 +60.9 kB
assets/main-DY75QHGo.js (removed) 248 kB — 🟢 -248 kB 🟢 -72.2 kB 🟢 -59.4 kB
assets/main-CiQKP1zg.js (removed) 245 kB — 🟢 -245 kB 🟢 -72.4 kB 🟢 -60 kB
assets/main-CDovfeMF.js (removed) 243 kB — 🟢 -243 kB 🟢 -71.3 kB 🟢 -59.4 kB
assets/main-BKpg0yF1.js (removed) 239 kB — 🟢 -239 kB 🟢 -70.2 kB 🟢 -58.8 kB
assets/main-DFDJcc6v.js (new) — 229 kB 🔴 +229 kB 🔴 +66.8 kB 🔴 +56 kB
assets/main-DiF0WvFV.js (new) — 224 kB 🔴 +224 kB 🔴 +73.8 kB 🔴 +58.3 kB
assets/main-sV76MxcJ.js (new) — 221 kB 🔴 +221 kB 🔴 +73.1 kB 🔴 +57.7 kB
assets/main-DniQg5Ye.js (removed) 220 kB — 🟢 -220 kB 🟢 -64.2 kB 🟢 -53.8 kB
assets/main-BN-jqLfe.js (removed) 216 kB — 🟢 -216 kB 🟢 -71.2 kB 🟢 -56.2 kB
assets/main-0X5X0NrL.js (removed) 213 kB — 🟢 -213 kB 🟢 -70.6 kB 🟢 -55.7 kB
assets/core-DZrixhZW.js (removed) 118 kB — 🟢 -118 kB 🟢 -30.7 kB 🟢 -26 kB
assets/core-HVEwt2VW.js (new) — 116 kB 🔴 +116 kB 🔴 +30.5 kB 🔴 +25.8 kB
assets/SubscriptionTransitionPreviewWorkspace-BcxzlG7X.js (new) — 114 kB 🔴 +114 kB 🔴 +22.8 kB 🔴 +19.3 kB
assets/WorkspaceSettingsPanelContent-Bzw9Vsj2.js (removed) 111 kB — 🟢 -111 kB 🟢 -21.8 kB 🟢 -18.3 kB
assets/WorkspaceSettingsPanelContent-UuXaXsry.js (new) — 111 kB 🔴 +111 kB 🔴 +21.7 kB 🔴 +18.2 kB
assets/SubscriptionTransitionPreviewWorkspace-Bj4iP_tY.js (removed) 96 kB — 🟢 -96 kB 🟢 -18.8 kB 🟢 -16 kB
assets/WidgetSelect-C-xdSPAV.js (new) — 89.2 kB 🔴 +89.2 kB 🔴 +20.3 kB 🔴 +17.3 kB
assets/WidgetSelect-DQhbWV7x.js (removed) 88.5 kB — 🟢 -88.5 kB 🟢 -20.1 kB 🟢 -17.2 kB
assets/Load3D-BZcySKJe.js (new) — 82.4 kB 🔴 +82.4 kB 🔴 +13.6 kB 🔴 +11.4 kB
assets/WidgetVideoEdit-IIpNxNN7.js (new) — 74.3 kB 🔴 +74.3 kB 🔴 +17.7 kB 🔴 +15.5 kB
assets/Load3D-CRyiMWh8.js (removed) 73.6 kB — 🟢 -73.6 kB 🟢 -12.2 kB 🟢 -10.4 kB
assets/WidgetVideoEdit-722-KsNP.js (removed) 72.7 kB — 🟢 -72.7 kB 🟢 -17.2 kB 🟢 -15.1 kB
assets/CameraInfo-CC5PB-dY.js (new) — 67.3 kB 🔴 +67.3 kB 🔴 +14.6 kB 🔴 +12.8 kB
assets/CameraInfo-CVooH9RG.js (removed) 67 kB — 🟢 -67 kB 🟢 -14.5 kB 🟢 -12.7 kB
assets/Preview3d-BdIquD0h.js (new) — 52.6 kB 🔴 +52.6 kB 🔴 +8.6 kB 🔴 +7.5 kB
assets/Preview3d-m_DeEB1D.js (removed) 52.6 kB — 🟢 -52.6 kB 🟢 -8.6 kB 🟢 -7.52 kB
assets/SubscriptionRequiredDialogContentUnified-B37KxI1N.js (new) — 52.5 kB 🔴 +52.5 kB 🔴 +11 kB 🔴 +9.66 kB
assets/SubscriptionRequiredDialogContentUnified-BE6-4keo.js (removed) 50.3 kB — 🟢 -50.3 kB 🟢 -10.6 kB 🟢 -9.25 kB
assets/Viewport3d-DbSd-ylf.js (removed) 48 kB — 🟢 -48 kB 🟢 -10.2 kB 🟢 -9.02 kB
assets/Viewport3d-Dwtlapdz.js (new) — 47.7 kB 🔴 +47.7 kB 🔴 +10.2 kB 🔴 +9.05 kB
assets/main-EYJHlJ4a.js (new) — 46.7 kB 🔴 +46.7 kB 🔴 +14 kB 🔴 +12.1 kB
assets/LayerEditorContent-DJ4VVx4e.js (new) — 45.4 kB 🔴 +45.4 kB 🔴 +10.6 kB 🔴 +9.28 kB
assets/LayerEditorContent-Vch9s5ij.js (removed) 45.4 kB — 🟢 -45.4 kB 🟢 -10.6 kB 🟢 -9.25 kB
assets/nodeDefs-BDRaq_h_.js (new) — 45.3 kB 🔴 +45.3 kB 🔴 +11.7 kB 🔴 +9.93 kB
assets/main-Dr4jCGuU.js (removed) 42.8 kB — 🟢 -42.8 kB 🟢 -12.8 kB 🟢 -11.1 kB
assets/nodeDefs-BQEc5ISH.js (removed) 42.3 kB — 🟢 -42.3 kB 🟢 -10.9 kB 🟢 -9.36 kB
assets/WidgetBoundingBoxes-DWH0aEYZ.js (new) — 33.8 kB 🔴 +33.8 kB 🔴 +9.17 kB 🔴 +8.13 kB
assets/WidgetBoundingBoxes-DEJ41x_e.js (removed) 33.8 kB — 🟢 -33.8 kB 🟢 -9.18 kB 🟢 -8.14 kB
assets/WidgetPainter-D3gJmXNT.js (new) — 32.1 kB 🔴 +32.1 kB 🔴 +7.88 kB 🔴 +6.97 kB
assets/WidgetPainter-C8tHAfOe.js (removed) 32.1 kB — 🟢 -32.1 kB 🟢 -7.89 kB 🟢 -6.98 kB
assets/Load3dViewerContent-2aJlw5bW.js (new) — 30.6 kB 🔴 +30.6 kB 🔴 +6.21 kB 🔴 +5.38 kB
assets/Load3dViewerContent-B20uZiTp.js (removed) 30.6 kB — 🟢 -30.6 kB 🟢 -6.21 kB 🟢 -5.39 kB
assets/HdrViewerContent-B4AkLs1r.js (new) — 29.8 kB 🔴 +29.8 kB 🔴 +8.26 kB 🔴 +7.29 kB
assets/HdrViewerContent-PA6cS_ap.js (removed) 29.8 kB — 🟢 -29.8 kB 🟢 -8.25 kB 🟢 -7.27 kB
assets/initHostTelemetry-BdmvAYZN.js (new) — 29.6 kB 🔴 +29.6 kB 🔴 +6.28 kB 🔴 +5.2 kB
assets/ColorPicker-CK-rVYNn.js (new) — 29.5 kB 🔴 +29.5 kB 🔴 +7.61 kB 🔴 +6.71 kB
assets/ColorPicker-BG7__81W.js (removed) 29.2 kB — 🟢 -29.2 kB 🟢 -7.59 kB 🟢 -6.66 kB
assets/SubscriptionRequiredDialogContent-BuHrHla9.js (new) — 27.2 kB 🔴 +27.2 kB 🔴 +6.39 kB 🔴 +5.63 kB
assets/SubscriptionRequiredDialogContent-BK75kTMp.js (removed) 26.9 kB — 🟢 -26.9 kB 🟢 -6.36 kB 🟢 -5.61 kB
assets/SubscriptionRequiredDialogContentWorkspace-BmvYCcs6.js (new) — 26.6 kB 🔴 +26.6 kB 🔴 +6.09 kB 🔴 +5.38 kB
assets/SubscriptionRequiredDialogContentWorkspace-Db6hJWx2.js (removed) 25.9 kB — 🟢 -25.9 kB 🟢 -5.95 kB 🟢 -5.23 kB
assets/initHostTelemetry-CQrZEnaX.js (removed) 25.4 kB — 🟢 -25.4 kB 🟢 -5.89 kB 🟢 -4.89 kB
assets/load3d-COzi5Q84.js (new) — 22.8 kB 🔴 +22.8 kB 🔴 +5.63 kB 🔴 +4.88 kB
assets/load3d-BRhdORn7.js (removed) 22.2 kB — 🟢 -22.2 kB 🟢 -5.42 kB 🟢 -4.68 kB
assets/SignInContent-CRnTGcp9.js (new) — 21 kB 🔴 +21 kB 🔴 +5.32 kB 🔴 +4.66 kB
assets/SignInContent-DjkoPYr3.js (removed) 20.6 kB — 🟢 -20.6 kB 🟢 -5.19 kB 🟢 -4.54 kB
assets/DialogHeader-DPnkg0eJ.js (new) — 19 kB 🔴 +19 kB 🔴 +5.63 kB 🔴 +4.92 kB
assets/commands-BKN6fRVa.js (removed) 18.6 kB — 🟢 -18.6 kB 🟢 -4 kB 🟢 -3.09 kB
assets/commands-NIo0wZvf.js (new) — 18.4 kB 🔴 +18.4 kB 🔴 +3.97 kB 🔴 +3.1 kB
assets/CurrentUserPopoverWorkspace-DlHGiXDH.js (new) — 18 kB 🔴 +18 kB 🔴 +4.23 kB 🔴 +3.74 kB
assets/DialogHeader-Bmgwt3FB.js (removed) 17.9 kB — 🟢 -17.9 kB 🟢 -5.34 kB 🟢 -4.65 kB
assets/CurrentUserPopoverWorkspace-DU-MK0z6.js (removed) 17.3 kB — 🟢 -17.3 kB 🟢 -4.02 kB 🟢 -3.54 kB
assets/commands-D2b4SpmW.js (removed) 17.3 kB — 🟢 -17.3 kB 🟢 -3.69 kB 🟢 -2.85 kB
assets/commands-gx4P-ybS.js (removed) 17.3 kB — 🟢 -17.3 kB 🟢 -3.76 kB 🟢 -2.96 kB
assets/commands-DrmQsqDP.js (removed) 17.3 kB — 🟢 -17.3 kB 🟢 -3.59 kB 🟢 -2.82 kB
assets/commands-DxAwz2kb.js (new) — 17.2 kB 🔴 +17.2 kB 🔴 +3.67 kB 🔴 +2.84 kB
assets/commands-BSsm7TsF.js (new) — 17.2 kB 🔴 +17.2 kB 🔴 +3.74 kB 🔴 +2.94 kB
assets/commands-B-E-xkwp.js (new) — 17.2 kB 🔴 +17.2 kB 🔴 +3.57 kB 🔴 +2.77 kB
assets/i18n-DdrI1nKl.js (removed) 17.1 kB — 🟢 -17.1 kB 🟢 -4.6 kB 🟢 -3.85 kB
assets/i18n-BfdENrkB.js (new) — 17.1 kB 🔴 +17.1 kB 🔴 +4.61 kB 🔴 +3.87 kB
assets/commands-lpkD8Jr0.js (removed) 16.7 kB — 🟢 -16.7 kB 🟢 -3.79 kB 🟢 -2.98 kB
assets/commands-oYXp9-xY.js (new) — 16.6 kB 🔴 +16.6 kB 🔴 +3.77 kB 🔴 +2.97 kB
assets/WidgetRecordAudio-nVbTuKkZ.js (removed) 16.6 kB — 🟢 -16.6 kB 🟢 -4.6 kB 🟢 -4.1 kB
assets/WidgetRecordAudio-B2m3XGj4.js (new) — 16.5 kB 🔴 +16.5 kB 🔴 +4.59 kB 🔴 +4.1 kB
assets/commands-CGE1NEkE.js (removed) 16.4 kB — 🟢 -16.4 kB 🟢 -3.54 kB 🟢 -2.92 kB
assets/commands-k302oIzW.js (new) — 16.3 kB 🔴 +16.3 kB 🔴 +3.52 kB 🔴 +2.92 kB
assets/commands-Bym53ZK-.js (removed) 15.9 kB — 🟢 -15.9 kB 🟢 -3.5 kB 🟢 -2.87 kB
assets/commands-D_uHBcHD.js (removed) 15.9 kB — 🟢 -15.9 kB 🟢 -3.42 kB 🟢 -2.78 kB
assets/commands-DYFW3wAz.js (removed) 15.8 kB — 🟢 -15.8 kB 🟢 -3.39 kB 🟢 -2.78 kB
assets/commands-BIatMWXM.js (new) — 15.8 kB 🔴 +15.8 kB 🔴 +3.47 kB 🔴 +2.87 kB
assets/commands-B6R6y2as.js (new) — 15.8 kB 🔴 +15.8 kB 🔴 +3.4 kB 🔴 +2.79 kB
assets/commands-DUWBJNT2.js (removed) 15.7 kB — 🟢 -15.7 kB 🟢 -3.3 kB 🟢 -2.76 kB
assets/commands-xVxsXPLm.js (new) — 15.7 kB 🔴 +15.7 kB 🔴 +3.37 kB 🔴 +2.8 kB
assets/commands-XyP6YuDv.js (removed) 15.7 kB — 🟢 -15.7 kB 🟢 -3.65 kB 🟢 -2.84 kB
assets/commands-ihRt8vVi.js (new) — 15.6 kB 🔴 +15.6 kB 🔴 +3.27 kB 🔴 +2.74 kB
assets/commands-BlQCZpm8.js (new) — 15.6 kB 🔴 +15.6 kB 🔴 +3.63 kB 🔴 +2.83 kB
assets/commands-B3vhE5a3.js (removed) 15.5 kB — 🟢 -15.5 kB 🟢 -3.25 kB 🟢 -2.68 kB
assets/commands-DM9rmOop.js (removed) 15.4 kB — 🟢 -15.4 kB 🟢 -3.18 kB 🟢 -2.69 kB
assets/commands-BcZ6fU3-.js (new) — 15.4 kB 🔴 +15.4 kB 🔴 +3.19 kB 🔴 +2.68 kB
assets/commands-CJp6m6C4.js (new) — 15.4 kB 🔴 +15.4 kB 🔴 +3.23 kB 🔴 +2.68 kB
assets/commands-4qWg2NAn.js (removed) 15 kB — 🟢 -15 kB 🟢 -3.59 kB 🟢 -2.71 kB
assets/commands-B-T9PAKB.js (new) — 14.9 kB 🔴 +14.9 kB 🔴 +3.56 kB 🔴 +2.71 kB
assets/commands-9uJVV2DI.js (removed) 14.8 kB — 🟢 -14.8 kB 🟢 -3.53 kB 🟢 -2.64 kB
assets/commands-fN9Wj9Bw.js (new) — 14.7 kB 🔴 +14.7 kB 🔴 +3.51 kB 🔴 +2.57 kB
assets/WidgetInputNumber-Dc384_kk.js (removed) 13.9 kB — 🟢 -13.9 kB 🟢 -3.63 kB 🟢 -3.21 kB
assets/WidgetInputNumber-CaHqHjBE.js (new) — 13.9 kB 🔴 +13.9 kB 🔴 +3.63 kB 🔴 +3.21 kB
assets/WidgetRange-B2w3POMX.js (removed) 13.7 kB — 🟢 -13.7 kB 🟢 -3.55 kB 🟢 -3.12 kB
assets/WidgetRange-DnMRqA47.js (new) — 13.7 kB 🔴 +13.7 kB 🔴 +3.55 kB 🔴 +3.13 kB
assets/WaveAudioPlayer-XZTD8MzS.js (new) — 13.6 kB 🔴 +13.6 kB 🔴 +3.62 kB 🔴 +3.2 kB
assets/WaveAudioPlayer-mnvocAC_.js (removed) 12.9 kB — 🟢 -12.9 kB 🟢 -3.49 kB 🟢 -3.05 kB
assets/WidgetCurve-BFpu6arA.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.48 kB 🟢 -3.13 kB
assets/WidgetCurve-DQ0GwWcD.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.48 kB 🔴 +3.16 kB
assets/GlobalToast-B5VZRzeo.js (removed) 10.9 kB — 🟢 -10.9 kB 🟢 -3.72 kB 🟢 -3.22 kB
assets/AudioPreviewPlayer-Dq375KOs.js (new) — 10.6 kB 🔴 +10.6 kB 🔴 +3.04 kB 🔴 +2.71 kB
assets/SelectValue-BAjrYF7L.js (removed) 10.6 kB — 🟢 -10.6 kB 🟢 -2.61 kB 🟢 -2.35 kB
assets/AudioPreviewPlayer-uUQWX3_E.js (removed) 10.6 kB — 🟢 -10.6 kB 🟢 -3.05 kB 🟢 -2.73 kB
assets/SelectValue-B92z7Loh.js (new) — 10.6 kB 🔴 +10.6 kB 🔴 +2.6 kB 🔴 +2.34 kB
assets/types-CZ7rQEkf.js (new) — 10.5 kB 🔴 +10.5 kB 🔴 +3.35 kB 🔴 +2.71 kB
assets/TeamWorkspacesDialogContent-BbaXaToU.js (new) — 10.4 kB 🔴 +10.4 kB 🔴 +2.99 kB 🔴 +2.65 kB
assets/TeamWorkspacesDialogContent-Bqyzr_9S.js (removed) 10.3 kB — 🟢 -10.3 kB 🟢 -2.97 kB 🟢 -2.63 kB
assets/onboardingCloudRoutes-BcFrNYyx.js (new) — 9.93 kB 🔴 +9.93 kB 🔴 +2.82 kB 🔴 +2.42 kB
assets/onboardingCloudRoutes-CJlmel_A.js (removed) 9.76 kB — 🟢 -9.76 kB 🟢 -2.88 kB 🟢 -2.47 kB
assets/InviteMemberDialogContent-BKtJzx8x.js (new) — 9.64 kB 🔴 +9.64 kB 🔴 +2.86 kB 🔴 +2.56 kB
assets/WidgetImageCompare-CucgJs5U.js (new) — 9.41 kB 🔴 +9.41 kB 🔴 +2.85 kB 🔴 +2.53 kB
assets/Popover-B7VJ1r0C.js (new) — 8.95 kB 🔴 +8.95 kB 🔴 +3.19 kB 🔴 +2.83 kB
assets/Load3DConfiguration-BVe6GMAr.js (removed) 8.91 kB — 🟢 -8.91 kB 🟢 -2.61 kB 🟢 -2.31 kB
assets/reportError-Dkc0m0iP.js (new) — 8.64 kB 🔴 +8.64 kB 🔴 +3.12 kB 🔴 +2.66 kB
assets/nodeTemplates-DpORNvtq.js (new) — 8.63 kB 🔴 +8.63 kB 🔴 +2.97 kB 🔴 +2.61 kB
assets/WidgetImageCrop-DeYsFQdS.js (removed) 8.49 kB — 🟢 -8.49 kB 🟢 -2.66 kB 🟢 -2.33 kB
assets/WidgetImageCrop-C63jCXqI.js (new) — 8.49 kB 🔴 +8.49 kB 🔴 +2.66 kB 🔴 +2.35 kB
assets/SetMemberCreditLimitDialogContent-BzaW0nIU.js (removed) 8.47 kB — 🟢 -8.47 kB 🟢 -2.34 kB 🟢 -2.04 kB
assets/SetMemberCreditLimitDialogContent-DNBOIX_L.js (new) — 8.47 kB 🔴 +8.47 kB 🔴 +2.34 kB 🔴 +2.05 kB
assets/nodeTemplates-CnMpnv6Y.js (removed) 8.32 kB — 🟢 -8.32 kB 🟢 -2.85 kB 🟢 -2.52 kB
assets/Popover-BA9gV4cW.js (removed) 8.13 kB — 🟢 -8.13 kB 🟢 -2.89 kB 🟢 -2.56 kB
assets/WidgetImageCompare-B214D5xS.js (removed) 8.13 kB — 🟢 -8.13 kB 🟢 -2.3 kB 🟢 -2.01 kB
assets/CloudRunButtonWrapper-Bjf9Hp_W.js (new) — 8.11 kB 🔴 +8.11 kB 🔴 +2.44 kB 🔴 +2.15 kB
assets/types-BW0xFlcZ.js (removed) 8.09 kB — 🟢 -8.09 kB 🟢 -2.44 kB 🟢 -1.97 kB
assets/WorkspaceSwitcherPopover-DbLYd2FS.js (new) — 8.08 kB 🔴 +8.08 kB 🔴 +2.39 kB 🔴 +2.13 kB
assets/WorkspaceSwitcherPopover-p2gUSdOh.js (removed) 8.01 kB — 🟢 -8.01 kB 🟢 -2.38 kB 🟢 -2.11 kB
assets/Load3DConfiguration-5Yj6vDN5.js (new) — 7.96 kB 🔴 +7.96 kB 🔴 +2.48 kB 🔴 +2.18 kB
assets/NightlySurveyController-BB6yPYYr.js (removed) 7.5 kB — 🟢 -7.5 kB 🟢 -2.56 kB 🟢 -2.25 kB
assets/NightlySurveyController-Ca9yfw_c.js (new) — 7.5 kB 🔴 +7.5 kB 🔴 +2.56 kB 🔴 +2.25 kB
assets/CloudRunButtonWrapper-D1Py_pyJ.js (removed) 7.44 kB — 🟢 -7.44 kB 🟢 -2.35 kB 🟢 -2.06 kB
assets/LayoutDefault-UnaVsLfG.js (new) — 7.41 kB 🔴 +7.41 kB 🔴 +2.44 kB 🔴 +2.14 kB
assets/LayoutDefault-BarRJsNX.js (removed) 7.41 kB — 🟢 -7.41 kB 🟢 -2.44 kB 🟢 -2.13 kB
assets/commands-BKM2JMiB.js (new) — 6.54 kB 🔴 +6.54 kB 🔴 +1.55 kB 🔴 +1.32 kB
assets/commands-C9_85oGd.js (removed) 6.53 kB — 🟢 -6.53 kB 🟢 -1.54 kB 🟢 -1.31 kB
assets/missingModelMetadata-EK2JNRM_.js (removed) 6.52 kB — 🟢 -6.52 kB 🟢 -2.22 kB 🟢 -1.94 kB
assets/missingModelMetadata-D8lvUC1T.js (new) — 6.52 kB 🔴 +6.52 kB 🔴 +2.22 kB 🔴 +1.94 kB
assets/WidgetWithControl-CUnbODsK.js (new) — 6.47 kB 🔴 +6.47 kB 🔴 +2.65 kB 🔴 +2.36 kB
assets/WidgetWithControl-DcmmHeUG.js (removed) 6.46 kB — 🟢 -6.46 kB 🟢 -2.64 kB 🟢 -2.35 kB
assets/AnimationControls-C3M7ZNZ-.js (new) — 6.28 kB 🔴 +6.28 kB 🔴 +1.91 kB 🔴 +1.69 kB
assets/AnimationControls-BzCWrfWY.js (removed) 6.1 kB — 🟢 -6.1 kB 🟢 -1.86 kB 🟢 -1.64 kB
assets/CancelSubscriptionDialogContent-C6PknaGg.js (removed) 6.05 kB — 🟢 -6.05 kB 🟢 -2.01 kB 🟢 -1.76 kB
assets/CancelSubscriptionDialogContent-ClPXpmGY.js (new) — 6.05 kB 🔴 +6.05 kB 🔴 +2 kB 🔴 +1.76 kB
assets/main-Dr_4pE_R.js (new) — 5.97 kB 🔴 +5.97 kB 🔴 +1.93 kB 🔴 +1.6 kB
assets/main-wYKoz6sj.js (removed) 5.93 kB — 🟢 -5.93 kB 🟢 -1.91 kB 🟢 -1.59 kB
assets/load3dPreviewExtensions-DuLid5Qv.js (removed) 5.88 kB — 🟢 -5.88 kB 🟢 -1.81 kB 🟢 -1.6 kB
assets/load3dPreviewExtensions-wTj0DDiY.js (new) — 5.88 kB 🔴 +5.88 kB 🔴 +1.81 kB 🔴 +1.6 kB
assets/src-21jU3dF6.js (new) — 5.69 kB 🔴 +5.69 kB 🔴 +1.62 kB 🔴 +1.49 kB
assets/src-WmcYp3-y.js (removed) 5.69 kB — 🟢 -5.69 kB 🟢 -1.61 kB 🟢 -1.47 kB
assets/ApiNodesSignInContent-C6M19J86.js (new) — 5.68 kB 🔴 +5.68 kB 🔴 +2.01 kB 🔴 +1.78 kB
assets/ApiNodesSignInContent-DrIQ_t7s.js (removed) 5.68 kB — 🟢 -5.68 kB 🟢 -2.02 kB 🟢 -1.79 kB
assets/DowngradeRemoveMembersDialogContent-CWSs4p-u.js (removed) 5.58 kB — 🟢 -5.58 kB 🟢 -1.89 kB 🟢 -1.64 kB
assets/DowngradeRemoveMembersDialogContent-DPTSNAPu.js (new) — 5.53 kB 🔴 +5.53 kB 🔴 +1.86 kB 🔴 +1.62 kB
assets/launchCancellationFlow-DSgiibIL.js (removed) 5.18 kB — 🟢 -5.18 kB 🟢 -1.78 kB 🟢 -1.56 kB
assets/launchCancellationFlow-E0pyo0DT.js (new) — 5.18 kB 🔴 +5.18 kB 🔴 +1.78 kB 🔴 +1.55 kB
assets/CreateWorkspaceDialogContent-CCUdYEal.js (removed) 5.12 kB — 🟢 -5.12 kB 🟢 -1.79 kB 🟢 -1.55 kB
assets/CreateWorkspaceDialogContent-CBr8I6Wc.js (new) — 5.11 kB 🔴 +5.11 kB 🔴 +1.79 kB 🔴 +1.55 kB
assets/CloudNotificationContent-6U3c6eG5.js (removed) 5.05 kB — 🟢 -5.05 kB 🟢 -1.76 kB 🟢 -1.51 kB
assets/CloudNotificationContent-BT-z8R41.js (new) — 5.05 kB 🔴 +5.05 kB 🔴 +1.75 kB 🔴 +1.51 kB
assets/ChangeMemberRoleDialogContent-B6wkbKUG.js (removed) 4.97 kB — 🟢 -4.97 kB 🟢 -1.64 kB 🟢 -1.42 kB
assets/ChangeMemberRoleDialogContent-CeErnpI5.js (new) — 4.96 kB 🔴 +4.96 kB 🔴 +1.63 kB 🔴 +1.42 kB
assets/InviteMemberDialogContent-CCGP6t_F.js (removed) 4.94 kB — 🟢 -4.94 kB 🟢 -1.64 kB 🟢 -1.42 kB
assets/EditWorkspaceDialogContent-BY-BEndv.js (removed) 4.94 kB — 🟢 -4.94 kB 🟢 -1.76 kB 🟢 -1.52 kB
assets/EditWorkspaceDialogContent-CR11Fjja.js (new) — 4.92 kB 🔴 +4.92 kB 🔴 +1.76 kB 🔴 +1.53 kB
assets/PaletteSwatchRow-aXiArJvc.js (removed) 4.86 kB — 🟢 -4.86 kB 🟢 -1.87 kB 🟢 -1.66 kB
assets/PaletteSwatchRow-DOFU1Sg7.js (new) — 4.86 kB 🔴 +4.86 kB 🔴 +1.87 kB 🔴 +1.66 kB
assets/WidgetTextarea-DaebKuhe.js (removed) 4.83 kB — 🟢 -4.83 kB 🟢 -1.89 kB 🟢 -1.64 kB
assets/WidgetTextarea-D-ICxdGV.js (new) — 4.83 kB 🔴 +4.83 kB 🔴 +1.88 kB 🔴 +1.64 kB
assets/saveMesh-B2aCmfhD.js (removed) 4.72 kB — 🟢 -4.72 kB 🟢 -1.5 kB 🟢 -1.33 kB
assets/saveMesh-B0pOebrC.js (new) — 4.66 kB 🔴 +4.66 kB 🔴 +1.5 kB 🔴 +1.32 kB
assets/ValueControlPopover-BKnL4nPL.js (removed) 4.49 kB — 🟢 -4.49 kB 🟢 -1.55 kB 🟢 -1.38 kB
assets/ValueControlPopover-C5HuG8Hi.js (new) — 4.49 kB 🔴 +4.49 kB 🔴 +1.55 kB 🔴 +1.38 kB
assets/ToggleGroupItem-PxAM-Dm_.js (removed) 4.14 kB — 🟢 -4.14 kB 🟢 -1.41 kB 🟢 -1.25 kB
assets/ToggleGroupItem-CwrZxpb1.js (new) — 4.12 kB 🔴 +4.12 kB 🔴 +1.39 kB 🔴 +1.23 kB
assets/reportError-gkwW-D2R.js (removed) 4.02 kB — 🟢 -4.02 kB 🟢 -1.72 kB 🟢 -1.46 kB
assets/Slider-DQYj4r1h.js (removed) 3.91 kB — 🟢 -3.91 kB 🟢 -1.43 kB 🟢 -1.25 kB
assets/GlobalToast-DcZEg4Yk.js (new) — 3.89 kB 🔴 +3.89 kB 🔴 +1.54 kB 🔴 +1.33 kB
assets/Slider-BgwwEzAq.js (new) — 3.87 kB 🔴 +3.87 kB 🔴 +1.42 kB 🔴 +1.24 kB
assets/DeleteWorkspaceDialogContent-B4-pTpqh.js (removed) 3.85 kB — 🟢 -3.85 kB 🟢 -1.44 kB 🟢 -1.23 kB
assets/DeleteWorkspaceDialogContent-CVSveVsQ.js (new) — 3.84 kB 🔴 +3.84 kB 🔴 +1.43 kB 🔴 +1.23 kB
assets/WidgetBoundingBox-5T-yp9-F.js (removed) 3.76 kB — 🟢 -3.76 kB 🟢 -1.03 kB 🟢 -899 B
assets/WidgetBoundingBox-BCPVXoaQ.js (new) — 3.76 kB 🔴 +3.76 kB 🔴 +1.03 kB 🔴 +899 B
assets/RemoveMemberDialogContent-CbUXJXXz.js (removed) 3.76 kB — 🟢 -3.76 kB 🟢 -1.38 kB 🟢 -1.19 kB
assets/RemoveMemberDialogContent-s_2GviLh.js (new) — 3.75 kB 🔴 +3.75 kB 🔴 +1.38 kB 🔴 +1.19 kB
assets/WidgetGalleria-Cf05A0cd.js (removed) 3.75 kB — 🟢 -3.75 kB 🟢 -1.46 kB 🟢 -1.29 kB
assets/WidgetGalleria-DDKAWKaQ.js (new) — 3.75 kB 🔴 +3.75 kB 🔴 +1.45 kB 🔴 +1.29 kB
assets/RevokeInviteDialogContent-C3mUSCP-.js (removed) 3.67 kB — 🟢 -3.67 kB 🟢 -1.39 kB 🟢 -1.21 kB
assets/LeaveWorkspaceDialogContent-CcjqSteR.js (removed) 3.67 kB — 🟢 -3.67 kB 🟢 -1.38 kB 🟢 -1.19 kB
assets/RevokeInviteDialogContent-B3Qt_i9D.js (new) — 3.66 kB 🔴 +3.66 kB 🔴 +1.38 kB 🔴 +1.21 kB
assets/LeaveWorkspaceDialogContent-CiuGnfkF.js (new) — 3.66 kB 🔴 +3.66 kB 🔴 +1.38 kB 🔴 +1.18 kB
assets/WidgetToggleSwitch-DAdFQom1.js (removed) 3.56 kB — 🟢 -3.56 kB 🟢 -1.3 kB 🟢 -1.16 kB
assets/WidgetToggleSwitch-R_DQdFjF.js (new) — 3.56 kB 🔴 +3.56 kB 🔴 +1.3 kB 🔴 +1.15 kB
assets/InviteMemberUpsellDialogContent-C5-pqo2Y.js (removed) 3.47 kB — 🟢 -3.47 kB 🟢 -1.24 kB 🟢 -1.09 kB
assets/InviteMemberUpsellDialogContent-BM8Us_CY.js (new) — 3.46 kB 🔴 +3.46 kB 🔴 +1.23 kB 🔴 +1.08 kB
assets/SubscribeToRun-ALnWfpQw.js (new) — 3.34 kB 🔴 +3.34 kB 🔴 +1.42 kB 🔴 +1.22 kB
assets/Media3DTop-BMspZfOG.js (new) — 3.23 kB 🔴 +3.23 kB 🔴 +1.28 kB 🔴 +1.12 kB
assets/SanitizedHtml-BQ7fei7F.js (removed) 3.22 kB — 🟢 -3.22 kB 🟢 -1.41 kB 🟢 -1.23 kB
assets/SanitizedHtml-B2lF3Skj.js (new) — 3.22 kB 🔴 +3.22 kB 🔴 +1.41 kB 🔴 +1.24 kB
assets/Media3DTop-CJULoTxJ.js (removed) 3.21 kB — 🟢 -3.21 kB 🟢 -1.27 kB 🟢 -1.11 kB
assets/MediaVideoTop-DC9lKWLb.js (new) — 3.15 kB 🔴 +3.15 kB 🔴 +1.32 kB 🔴 +1.17 kB
assets/WidgetInputText-Bwduwb8F.js (removed) 3.1 kB — 🟢 -3.1 kB 🟢 -1.29 kB 🟢 -1.15 kB
assets/WidgetInputText-5J8BBv3W.js (new) — 3.1 kB 🔴 +3.1 kB 🔴 +1.29 kB 🔴 +1.16 kB
assets/MediaVideoTop-dSvpeUiF.js (removed) 2.96 kB — 🟢 -2.96 kB 🟢 -1.19 kB 🟢 -1.04 kB
assets/WidgetMarkdown-DGNtFI3e.js (new) — 2.95 kB 🔴 +2.95 kB 🔴 +1.21 kB 🔴 +1.07 kB
assets/WidgetMarkdown-DU9b6pOG.js (removed) 2.95 kB — 🟢 -2.95 kB 🟢 -1.21 kB 🟢 -1.06 kB
assets/load3dAdvanced--WRQ_T1J.js (new) — 2.87 kB 🔴 +2.87 kB 🔴 +1.11 kB 🔴 +964 B
assets/signInSchema-BW4xqS9a.js (new) — 2.85 kB 🔴 +2.85 kB 🔴 +1.02 kB 🔴 +861 B
assets/load3dAdvanced-C5DLGKNb.js (removed) 2.82 kB — 🟢 -2.82 kB 🟢 -1.09 kB 🟢 -950 B
assets/onboardingReplay-Cq9p_dGG.js (new) — 2.68 kB 🔴 +2.68 kB 🔴 +808 B 🔴 +703 B
assets/ErrorPanelSurveyCta-B9Nuom_V.js (new) — 2.64 kB 🔴 +2.64 kB 🔴 +1.14 kB 🔴 +1.01 kB
assets/ErrorPanelSurveyCta-BTp-6-xC.js (removed) 2.64 kB — 🟢 -2.64 kB 🟢 -1.15 kB 🟢 -1.01 kB
assets/loadExternalScript-BQM11osQ.js (new) — 2.61 kB 🔴 +2.61 kB 🔴 +929 B 🔴 +753 B
assets/loadExternalScript-Bah6Al85.js (removed) 2.59 kB — 🟢 -2.59 kB 🟢 -913 B 🟢 -744 B
assets/LocalRunButtonWrapper-95usTf7d.js (new) — 2.49 kB 🔴 +2.49 kB 🔴 +1.14 kB 🔴 +997 B
assets/LocalRunButtonWrapper-BTTVvAwe.js (removed) 2.49 kB — 🟢 -2.49 kB 🟢 -1.14 kB 🟢 -997 B
assets/Switch-CO9mGMBk.js (removed) 2.49 kB — 🟢 -2.49 kB 🟢 -1.09 kB 🟢 -935 B
assets/Switch-C1v9Hg2E.js (new) — 2.49 kB 🔴 +2.49 kB 🔴 +1.09 kB 🔴 +964 B
assets/SubscribeToRun-CXsDS5Xd.js (removed) 2.39 kB — 🟢 -2.39 kB 🟢 -1.04 kB 🟢 -908 B
assets/WidgetLayoutField-CQjbWWmf.js (new) — 2.38 kB 🔴 +2.38 kB 🔴 +1.03 kB 🔴 +899 B
assets/WidgetLayoutField-DfnknucX.js (removed) 2.38 kB — 🟢 -2.38 kB 🟢 -1.03 kB 🟢 -941 B
assets/WidgetChart-dPHyuwPB.js (new) — 2.36 kB 🔴 +2.36 kB 🔴 +1 kB 🔴 +870 B
assets/WidgetChart-DuOOZmks.js (removed) 2.36 kB — 🟢 -2.36 kB 🟢 -1 kB 🟢 -866 B
assets/ButtonGroup-C72Ef1vV.js (new) — 2.19 kB 🔴 +2.19 kB 🔴 +1.01 kB 🔴 +937 B
assets/TopBarHeader-CJRMvqnM.js (removed) 2.01 kB — 🟢 -2.01 kB 🟢 -844 B 🟢 -732 B
assets/TopBarHeader-CSXTVbDG.js (new) — 2.01 kB 🔴 +2.01 kB 🔴 +842 B 🔴 +735 B
assets/WidgetColorPicker-p-yI5_K8.js (new) — 1.99 kB 🔴 +1.99 kB 🔴 +870 B 🔴 +774 B
assets/MediaImageTop-8xPGFsiH.js (removed) 1.95 kB — 🟢 -1.95 kB 🟢 -929 B 🟢 -796 B
assets/MediaImageTop-CS4HuD33.js (new) — 1.95 kB 🔴 +1.95 kB 🔴 +928 B 🔴 +797 B
assets/paymentReturnUrl-BJrbUV-n.js (new) — 1.9 kB 🔴 +1.9 kB 🔴 +944 B 🔴 +741 B
assets/TypeformEmbed-C5M_JZ1g.js (new) — 1.84 kB 🔴 +1.84 kB 🔴 +824 B 🔴 +718 B
assets/inviteLinks-CNlncR3c.js (new) — 1.83 kB 🔴 +1.83 kB 🔴 +1.03 kB 🔴 +798 B
assets/TypeformEmbed-BhLkCAed.js (removed) 1.83 kB — 🟢 -1.83 kB 🟢 -816 B 🟢 -715 B
assets/MediaTextTop-C4b0vMsG.js (removed) 1.77 kB — 🟢 -1.77 kB 🟢 -854 B 🟢 -730 B
assets/MediaTextTop-pXJnG68F.js (new) — 1.77 kB 🔴 +1.77 kB 🔴 +855 B 🔴 +730 B
assets/webviewDetection-B2yqLssv.js (new) — 1.69 kB 🔴 +1.69 kB 🔴 +729 B 🔴 +597 B
assets/WidgetColorPicker-DSLd_ncc.js (removed) 1.69 kB — 🟢 -1.69 kB 🟢 -756 B 🟢 -666 B
assets/Loader-B2Xf_xML.js (removed) 1.64 kB — 🟢 -1.64 kB 🟢 -781 B 🟢 -691 B
assets/Loader-DXol1u_X.js (new) — 1.64 kB 🔴 +1.64 kB 🔴 +780 B 🔴 +691 B
assets/WidgetColors-BfGrnazw.js (new) — 1.63 kB 🔴 +1.63 kB 🔴 +808 B 🔴 +711 B
assets/WidgetColors-DsKKaS7z.js (removed) 1.63 kB — 🟢 -1.63 kB 🟢 -805 B 🟢 -711 B
assets/MediaAudioTop-Bf9fdhVj.js (new) — 1.62 kB 🔴 +1.62 kB 🔴 +810 B 🔴 +670 B
assets/MediaAudioTop-DLRuIdHM.js (removed) 1.62 kB — 🟢 -1.62 kB 🟢 -807 B 🟢 -667 B
assets/paymentReturnUrl-gKYLtma4.js (removed) 1.58 kB — 🟢 -1.58 kB 🟢 -787 B 🟢 -622 B
assets/Textarea-B2DyEe1x.js (new) — 1.56 kB 🔴 +1.56 kB 🔴 +816 B 🔴 +715 B
assets/Textarea-DJmDZ--Y.js (removed) 1.56 kB — 🟢 -1.56 kB 🟢 -815 B 🟢 -710 B
assets/menuBarStyles-qUlPV3BJ.js (new) — 1.56 kB 🔴 +1.56 kB 🔴 +583 B 🔴 +510 B
assets/signInSchema-fHFeV8jY.js (removed) 1.55 kB — 🟢 -1.55 kB 🟢 -552 B 🟢 -506 B
assets/webviewDetection-G_eepi8c.js (removed) 1.52 kB — 🟢 -1.52 kB 🟢 -613 B 🟢 -548 B
assets/menuBarStyles-BTsyH7YG.js (removed) 1.52 kB — 🟢 -1.52 kB 🟢 -582 B 🟢 -487 B
assets/VideoPlayOverlay-B-Vx3-be.js (removed) 1.46 kB — 🟢 -1.46 kB 🟢 -729 B 🟢 -644 B
assets/VideoPlayOverlay-Cb1FenkL.js (new) — 1.46 kB 🔴 +1.46 kB 🔴 +729 B 🔴 +646 B
assets/ButtonGroup-Bjm52jSK.js (removed) 1.24 kB — 🟢 -1.24 kB 🟢 -643 B 🟢 -558 B
assets/DialogClose-DfT6iDW1.js (new) — 1.18 kB 🔴 +1.18 kB 🔴 +610 B 🔴 +550 B
assets/DialogClose-VFgffZgT.js (removed) 1.18 kB — 🟢 -1.18 kB 🟢 -611 B 🟢 -551 B
assets/cameraInfo-BBQEHcJy.js (new) — 1.1 kB 🔴 +1.1 kB 🔴 +575 B 🔴 +491 B
assets/cameraInfo-Bu6heXd2.js (removed) 1.1 kB — 🟢 -1.1 kB 🟢 -573 B 🟢 -496 B
assets/MediaOtherTop-4fILdIP9.js (removed) 1.02 kB — 🟢 -1.02 kB 🟢 -575 B 🟢 -474 B
assets/MediaOtherTop-CVEZFrRV.js (new) — 1.02 kB 🔴 +1.02 kB 🔴 +574 B 🔴 +465 B
assets/load3dSerialize-B7F-Z08b.js (new) — 927 B 🔴 +927 B 🔴 +437 B 🔴 +377 B
assets/ComfyOrgHeader-mVnl6x3Q.js (new) — 906 B 🔴 +906 B 🔴 +495 B 🔴 +434 B
assets/ComfyOrgHeader-pKNbvxm-.js (removed) 906 B — 🟢 -906 B 🟢 -496 B 🟢 -433 B
assets/hostTelemetryEnabled-DFNZbWLk.js (new) — 865 B 🔴 +865 B 🔴 +506 B 🔴 +426 B
assets/load3dSerialize-BIPv2l0M.js (removed) 832 B — 🟢 -832 B 🟢 -393 B 🟢 -336 B
assets/Load3DAdvanced-BP80FrVB.js (new) — 761 B 🔴 +761 B 🔴 +424 B 🔴 +360 B
assets/Load3DAdvanced-CnAbIXa1.js (removed) 761 B — 🟢 -761 B 🟢 -424 B 🟢 -360 B
assets/devFeatureFlagOverride-D9x6Noj0.js (removed) 680 B — 🟢 -680 B 🟢 -427 B 🟢 -354 B
assets/widgetTypes-BUBvelm7.js (new) — 514 B 🔴 +514 B 🔴 +281 B 🔴 +244 B
assets/widgetTypes-DMVZ050X.js (removed) 514 B — 🟢 -514 B 🟢 -282 B 🟢 -263 B
assets/vRekaZIndex-B1L_6-f6.js (removed) 505 B — 🟢 -505 B 🟢 -330 B 🟢 -274 B
assets/vRekaZIndex-BJ-hC8lu.js (new) — 504 B 🔴 +504 B 🔴 +330 B 🔴 +271 B
assets/astroid-filled-ClWQi0Ae.js (new) — 480 B 🔴 +480 B 🔴 +291 B 🔴 +241 B
assets/nightlyBadges-BGaJauHM.js (removed) 411 B — 🟢 -411 B 🟢 -269 B 🟢 -263 B
assets/nightlyBadges-DhG_sZmD.js (new) — 411 B 🔴 +411 B 🔴 +272 B 🔴 +231 B
assets/src-CLiNUSWj.js (new) — 407 B 🔴 +407 B 🔴 +286 B 🔴 +246 B
assets/src-MpLIrc94.js (removed) 407 B — 🟢 -407 B 🟢 -287 B 🟢 -245 B
assets/Load3dViewerContent-DZlRhmrR.js (removed) 137 B — 🟢 -137 B 🟢 -103 B 🟢 -85 B
assets/Load3dViewerContent-KhshEVGj.js (new) — 137 B 🔴 +137 B 🔴 +103 B 🔴 +86 B
assets/AudioPreviewPlayer-DDn9Shdt.js (new) — 134 B 🔴 +134 B 🔴 +101 B 🔴 +97 B
assets/WidgetBoundingBox-BZK3BSkN.js (new) — 131 B 🔴 +131 B 🔴 +100 B 🔴 +91 B
assets/WidgetBoundingBox-DdLa9dkG.js (removed) 131 B — 🟢 -131 B 🟢 -100 B 🟢 -104 B
assets/missingModelMetadata-BA1aPhXz.js (removed) 125 B — 🟢 -125 B 🟢 -103 B 🟢 -105 B
assets/missingModelMetadata-DHIjRAb7.js (new) — 125 B 🔴 +125 B 🔴 +103 B 🔴 +104 B
assets/Load3DAdvanced-BcCIHw5b.js (removed) 122 B — 🟢 -122 B 🟢 -97 B 🟢 -88 B
assets/Load3DAdvanced-BZOjEb59.js (new) — 122 B 🔴 +122 B 🔴 +97 B 🔴 +89 B
assets/LayoutDefault-CpvCQwSB.js (new) — 119 B 🔴 +119 B 🔴 +92 B 🔴 +89 B
assets/LayoutDefault-CrkwhF4m.js (removed) 119 B — 🟢 -119 B 🟢 -92 B 🟢 -84 B
assets/WidgetLegacy-Ba2mBGx7.js (removed) 117 B — 🟢 -117 B 🟢 -106 B 🟢 -101 B
assets/WidgetLegacy-BXIDxcEy.js (new) — 117 B 🔴 +117 B 🔴 +106 B 🔴 +106 B
assets/workflowDraftStoreV2-DHG4ocqb.js (new) — 112 B 🔴 +112 B 🔴 +101 B 🔴 +116 B
assets/workflowDraftStoreV2-sEn8Rtux.js (removed) 112 B — 🟢 -112 B 🟢 -101 B 🟢 -111 B
assets/CameraInfo-Dq826vgb.js (new) — 110 B 🔴 +110 B 🔴 +93 B 🔴 +89 B
assets/CameraInfo-DvSrWBOk.js (removed) 110 B — 🟢 -110 B 🟢 -93 B 🟢 -91 B
assets/Load3D-D5Qdusbm.js (removed) 98 B — 🟢 -98 B 🟢 -89 B 🟢 -85 B
assets/Load3D-DAelgQry.js (new) — 98 B 🔴 +98 B 🔴 +89 B 🔴 +81 B
assets/i18n-B9NDJagl.js (new) — 97 B 🔴 +97 B 🔴 +92 B 🔴 +87 B
assets/i18n-C28jwicY.js (removed) 97 B — 🟢 -97 B 🟢 -92 B 🟢 -87 B
assets/startRecording-BOV6MsgY.js (removed) 95 B — 🟢 -95 B 🟢 -96 B 🟢 -92 B
assets/startRecording-DXOVekLS.js (new) — 95 B 🔴 +95 B 🔴 +96 B 🔴 +80 B
assets/changeTracker-ChCGDc0Q.js (new) — 92 B 🔴 +92 B 🔴 +94 B 🔴 +86 B
assets/changeTracker-Dom51aBH.js (removed) 92 B — 🟢 -92 B 🟢 -94 B 🟢 -85 B
assets/reportError-CRz9IYhr.js (new) — 86 B 🔴 +86 B 🔴 +79 B 🔴 +78 B

Status: 179 added / 174 removed / 122 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.6 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 54.9 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 61.6 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 77.0 MB heap
dom-widget-order-dense-n200-w200-i120: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 416ms TBT · 68.9 MB heap
dom-widget-order-sparse-n1000-w20-i120: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 164ms TBT · 86.3 MB heap
extension-clean-combined-draw: · 56.3 avg FPS · 30.0 P5 FPS ❌ (target: ≥52) · 51ms TBT · 81.1 MB heap
extension-rgthree-prototype-draw: · 56.3 avg FPS · 30.0 P5 FPS ❌ (target: ≥52) · 48ms TBT · 90.7 MB heap
large-graph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 74.5 MB heap
large-graph-pan: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 86.5 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 72.5 MB heap
legacy-node-drag: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 72.9 MB heap
minimap-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 75.9 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 73.3 MB heap
subgraph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 56.1 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 55.2 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 97ms TBT · 99.0 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.8 MB heap
vue-large-graph-idle: · 58.1 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 181.4 MB heap
vue-large-graph-pan: · 55.4 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 20ms TBT · 170.4 MB heap
vue-node-resize-workload: · 57.1 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 274ms TBT · 181.4 MB heap
vue-zoom-out-idle: · 56.2 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 185.0 MB heap
workflow-execution: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.8 MB heap

⚠️ 7 regressions detected

Show regressions
Metric Baseline PR (median) Δ Sig
canvas-zoom-sweep: p95 frame time 17ms 17ms +0% ⚠️ z=2.0
large-graph-pan: heap used 81.3 MB 86.5 MB +6% ⚠️ z=2.4
legacy-node-drag: p95 frame time 17ms 17ms +1% ⚠️ z=2.1
legacy-node-drag: style recalc count 40 49 +21% ⚠️ z=2.1
subgraph-transition-enter: p95 frame time 17ms 17ms -0% ⚠️ z=2.5
vue-zoom-out-idle: heap used 168.1 MB 185.0 MB +10% ⚠️ z=2.5
workflow-execution: heap used 69.9 MB 64.8 MB -7% ⚠️ z=2.6
All metrics
Metric Baseline PR (median) Δ Sig
canvas-idle: avg frame time 17ms 17ms -0% z=-1.0
canvas-idle: p95 frame time 17ms 17ms +0% z=-1.6
canvas-idle: layout duration 0ms 0ms +0% —
canvas-idle: style recalc duration 9ms 3ms -60% z=-0.6
canvas-idle: layout count 0 0 +0% —
canvas-idle: style recalc count 9 11 +17% z=0.3
canvas-idle: task duration 505ms 357ms -29% z=-0.6
canvas-idle: script duration 10ms 8ms -15% z=-0.3
canvas-idle: TBT 0ms 0ms +0% —
canvas-idle: heap used 55.8 MB 67.6 MB +21% z=1.2
canvas-idle: DOM nodes -279 -114 -59% z=0.1
canvas-idle: event listeners -152 -82 -46% z=0.0
canvas-mouse-sweep: avg frame time 17ms 17ms +0% z=1.7
canvas-mouse-sweep: p95 frame time 17ms 17ms -0% z=0.6
canvas-mouse-sweep: layout duration 5ms 4ms -13% z=-0.6
canvas-mouse-sweep: style recalc duration 42ms 16ms -61% z=-0.2
canvas-mouse-sweep: layout count 14 12 -14% —
canvas-mouse-sweep: style recalc count 77 73 -5% z=2.5
canvas-mouse-sweep: task duration 894ms 711ms -21% z=-0.4
canvas-mouse-sweep: script duration 163ms 132ms -19% z=-0.6
canvas-mouse-sweep: TBT 0ms 0ms +0% —
canvas-mouse-sweep: heap used 59.5 MB 54.9 MB -8% z=-2.8
canvas-mouse-sweep: DOM nodes -280 -228 -19% z=-0.3
canvas-mouse-sweep: event listeners -150 -164 +9% z=-1.2
canvas-zoom-sweep: avg frame time 17ms 17ms -0% z=-0.7
canvas-zoom-sweep: p95 frame time 17ms 17ms +0% ⚠️ z=2.0
canvas-zoom-sweep: layout duration 1ms 1ms -6% z=-1.2
canvas-zoom-sweep: style recalc duration 19ms 8ms -55% z=-1.0
canvas-zoom-sweep: layout count 6 6 +0% —
canvas-zoom-sweep: style recalc count 31 31 -2% z=-0.0
canvas-zoom-sweep: task duration 376ms 271ms -28% z=-0.6
canvas-zoom-sweep: script duration 12ms 11ms -9% z=-0.2
canvas-zoom-sweep: TBT 0ms 0ms +0% —
canvas-zoom-sweep: heap used 71.9 MB 61.6 MB -14% z=-0.0
canvas-zoom-sweep: DOM nodes 76 53 -30% —
canvas-zoom-sweep: event listeners 19 15 -21% —
dom-widget-clipping: avg frame time 17ms 17ms +0% z=0.4
dom-widget-clipping: p95 frame time 17ms 17ms -0% z=0.1
dom-widget-clipping: layout duration 0ms 0ms +0% —
dom-widget-clipping: style recalc duration 7ms 4ms -48% z=-0.2
dom-widget-clipping: layout count 0 0 +0% —
dom-widget-clipping: style recalc count 10 13 +30% z=1.1
dom-widget-clipping: task duration 444ms 363ms -18% z=-0.8
dom-widget-clipping: script duration 159ms 139ms -13% z=-0.6
dom-widget-clipping: TBT 0ms 0ms +0% —
dom-widget-clipping: heap used 60.0 MB 77.0 MB +28% z=-0.7
dom-widget-clipping: DOM nodes 16 0 -100% —
dom-widget-clipping: event listeners 2 0 -100% —
dom-widget-order-dense-n200-w200-i120: avg frame time — 17ms new —
dom-widget-order-dense-n200-w200-i120: p95 frame time — 17ms new —
dom-widget-order-dense-n200-w200-i120: layout duration — 0ms new —
dom-widget-order-dense-n200-w200-i120: style recalc duration — 0ms new —
dom-widget-order-dense-n200-w200-i120: layout count — 0 new —
dom-widget-order-dense-n200-w200-i120: style recalc count — 0 new —
dom-widget-order-dense-n200-w200-i120: task duration — 745ms new —
dom-widget-order-dense-n200-w200-i120: script duration — 54ms new —
dom-widget-order-dense-n200-w200-i120: TBT — 416ms new —
dom-widget-order-dense-n200-w200-i120: heap used — 68.9 MB new —
dom-widget-order-dense-n200-w200-i120: DOM nodes — -259 new —
dom-widget-order-dense-n200-w200-i120: event listeners — -207 new —
dom-widget-order-sparse-n1000-w20-i120: avg frame time — 17ms new —
dom-widget-order-sparse-n1000-w20-i120: p95 frame time — 17ms new —
dom-widget-order-sparse-n1000-w20-i120: layout duration — 0ms new —
dom-widget-order-sparse-n1000-w20-i120: style recalc duration — 0ms new —
dom-widget-order-sparse-n1000-w20-i120: layout count — 0 new —
dom-widget-order-sparse-n1000-w20-i120: style recalc count — 0 new —
dom-widget-order-sparse-n1000-w20-i120: task duration — 379ms new —
dom-widget-order-sparse-n1000-w20-i120: script duration — 121ms new —
dom-widget-order-sparse-n1000-w20-i120: TBT — 164ms new —
dom-widget-order-sparse-n1000-w20-i120: heap used — 86.3 MB new —
dom-widget-order-sparse-n1000-w20-i120: DOM nodes — 0 new —
dom-widget-order-sparse-n1000-w20-i120: event listeners — 0 new —
extension-clean-combined-draw: avg frame time — 18ms new —
extension-clean-combined-draw: p95 frame time — 33ms new —
extension-clean-combined-draw: layout duration — 0ms new —
extension-clean-combined-draw: style recalc duration — 0ms new —
extension-clean-combined-draw: layout count — 0 new —
extension-clean-combined-draw: style recalc count — 1 new —
extension-clean-combined-draw: task duration — 6880ms new —
extension-clean-combined-draw: script duration — 5618ms new —
extension-clean-combined-draw: TBT — 51ms new —
extension-clean-combined-draw: heap used — 81.1 MB new —
extension-clean-combined-draw: DOM nodes — 0 new —
extension-clean-combined-draw: event listeners — 0 new —
extension-rgthree-prototype-draw: avg frame time — 18ms new —
extension-rgthree-prototype-draw: p95 frame time — 33ms new —
extension-rgthree-prototype-draw: layout duration — 0ms new —
extension-rgthree-prototype-draw: style recalc duration — 0ms new —
extension-rgthree-prototype-draw: layout count — 0 new —
extension-rgthree-prototype-draw: style recalc count — 1 new —
extension-rgthree-prototype-draw: task duration — 6741ms new —
extension-rgthree-prototype-draw: script duration — 5327ms new —
extension-rgthree-prototype-draw: TBT — 48ms new —
extension-rgthree-prototype-draw: heap used — 90.7 MB new —
extension-rgthree-prototype-draw: DOM nodes — -114 new —
extension-rgthree-prototype-draw: event listeners — -82 new —
large-graph-idle: avg frame time 17ms 17ms +0% z=0.5
large-graph-idle: p95 frame time 17ms 17ms +0% z=-0.2
large-graph-idle: layout duration 0ms 0ms +0% —
large-graph-idle: style recalc duration 6ms 3ms -50% z=-0.5
large-graph-idle: layout count 0 0 +0% —
large-graph-idle: style recalc count 6 8 +33% z=-0.6
large-graph-idle: task duration 608ms 485ms -20% z=-0.6
large-graph-idle: script duration 36ms 30ms -17% z=-0.4
large-graph-idle: TBT 0ms 0ms +0% —
large-graph-idle: heap used 83.5 MB 74.5 MB -11% z=-0.4
large-graph-idle: DOM nodes -266 -228 -14% z=-0.3
large-graph-idle: event listeners -148 -153 +3% z=-0.2
large-graph-pan: avg frame time 17ms 17ms -0% z=-1.3
large-graph-pan: p95 frame time 17ms 17ms -0% z=-1.5
large-graph-pan: layout duration 0ms 0ms +0% —
large-graph-pan: style recalc duration 10ms 11ms +10% z=0.3
large-graph-pan: layout count 0 0 +0% —
large-graph-pan: style recalc count 64 69 +7% z=-0.1
large-graph-pan: task duration 1678ms 1355ms -19% z=-0.7
large-graph-pan: script duration 847ms 681ms -20% z=-0.8
large-graph-pan: TBT 0ms 0ms +0% —
large-graph-pan: heap used 81.3 MB 86.5 MB +6% ⚠️ z=2.4
large-graph-pan: DOM nodes -273 -114 -58% z=1.6
large-graph-pan: event listeners -148 -82 -45% z=1.5
large-graph-zoom: avg frame time 17ms 17ms +0% z=1.2
large-graph-zoom: p95 frame time 17ms 17ms -1% z=-1.8
large-graph-zoom: layout duration 12ms 14ms +13% z=0.0
large-graph-zoom: style recalc duration 10ms 12ms +14% z=0.2
large-graph-zoom: layout count 60 60 +0% —
large-graph-zoom: style recalc count 60 64 +7% z=-0.1
large-graph-zoom: task duration 1746ms 1449ms -17% z=-0.6
large-graph-zoom: script duration 780ms 659ms -16% z=-0.6
large-graph-zoom: TBT 0ms 0ms +0% —
large-graph-zoom: heap used 72.7 MB 72.5 MB -0% z=0.0
large-graph-zoom: DOM nodes -279 -114 -59% z=-0.7
large-graph-zoom: event listeners 8 -82 -1125% z=-0.8
legacy-node-drag: avg frame time 17ms 17ms +0% z=0.4
legacy-node-drag: p95 frame time 17ms 17ms +1% ⚠️ z=2.1
legacy-node-drag: layout duration 0ms 0ms +0% —
legacy-node-drag: style recalc duration 5ms 7ms +50% z=1.1
legacy-node-drag: layout count 0 0 +0% —
legacy-node-drag: style recalc count 40 49 +21% ⚠️ z=2.1
legacy-node-drag: task duration 1979ms 1621ms -18% z=-0.6
legacy-node-drag: script duration 961ms 820ms -15% z=-0.6
legacy-node-drag: TBT 0ms 0ms +0% variance too high
legacy-node-drag: heap used 88.6 MB 72.9 MB -18% z=-1.3
legacy-node-drag: DOM nodes 0 0 +0% z=1.0
legacy-node-drag: event listeners 188 180 -4% z=0.7
minimap-idle: avg frame time 17ms 17ms +0% z=0.1
minimap-idle: p95 frame time 17ms 17ms +0% z=-1.6
minimap-idle: layout duration 0ms 0ms +0% —
minimap-idle: style recalc duration 2ms 3ms +38% z=-1.1
minimap-idle: layout count 0 0 +0% —
minimap-idle: style recalc count 2 8 +275% z=-0.2
minimap-idle: task duration 553ms 470ms -15% z=-0.7
minimap-idle: script duration 34ms 31ms -11% z=-0.4
minimap-idle: TBT 0ms 0ms +0% —
minimap-idle: heap used 83.9 MB 75.9 MB -10% z=-0.0
minimap-idle: DOM nodes -274 -229 -16% z=-0.5
minimap-idle: event listeners 6 -87 -1550% z=1.4
subgraph-dom-widget-clipping: avg frame time 17ms 17ms -0% z=0.6
subgraph-dom-widget-clipping: p95 frame time 17ms 17ms +0% z=-1.3
subgraph-dom-widget-clipping: layout duration 0ms 0ms +0% —
subgraph-dom-widget-clipping: style recalc duration 11ms 6ms -45% z=-0.5
subgraph-dom-widget-clipping: layout count 0 0 +0% —
subgraph-dom-widget-clipping: style recalc count 46 48 +4% z=0.2
subgraph-dom-widget-clipping: task duration 421ms 321ms -24% z=-0.8
subgraph-dom-widget-clipping: script duration 143ms 120ms -16% z=-0.7
subgraph-dom-widget-clipping: TBT 0ms 0ms +0% —
subgraph-dom-widget-clipping: heap used 83.7 MB 73.3 MB -12% z=-0.1
subgraph-dom-widget-clipping: DOM nodes 18 0 -100% —
subgraph-dom-widget-clipping: event listeners 6 6 +0% —
subgraph-idle: avg frame time 17ms 17ms +0% z=0.7
subgraph-idle: p95 frame time 17ms 17ms -0% z=0.2
subgraph-idle: layout duration 0ms 0ms +0% —
subgraph-idle: style recalc duration 10ms 4ms -61% z=-0.5
subgraph-idle: layout count 0 0 +0% —
subgraph-idle: style recalc count 10 12 +15% z=1.3
subgraph-idle: task duration 490ms 370ms -25% z=-0.7
subgraph-idle: script duration 8ms 8ms +4% z=-0.2
subgraph-idle: TBT 0ms 0ms +0% —
subgraph-idle: heap used 67.5 MB 56.1 MB -17% z=-1.4
subgraph-idle: DOM nodes -294 -244 -17% z=-0.3
subgraph-idle: event listeners -226 -210 -7% z=-1.0
subgraph-mouse-sweep: avg frame time 17ms 17ms +0% z=0.7
subgraph-mouse-sweep: p95 frame time 17ms 17ms +0% z=0.5
subgraph-mouse-sweep: layout duration 6ms 5ms -20% z=-1.2
subgraph-mouse-sweep: style recalc duration 38ms 16ms -58% z=-0.8
subgraph-mouse-sweep: layout count 18 16 -11% —
subgraph-mouse-sweep: style recalc count 77 76 -2% z=1.3
subgraph-mouse-sweep: task duration 842ms 654ms -22% z=-0.6
subgraph-mouse-sweep: script duration 112ms 92ms -18% z=-0.6
subgraph-mouse-sweep: TBT 0ms 0ms +0% —
subgraph-mouse-sweep: heap used 58.0 MB 55.2 MB -5% z=-1.6
subgraph-mouse-sweep: DOM nodes -295 -244 -17% z=-0.3
subgraph-mouse-sweep: event listeners -196 -210 +7% z=-0.7
subgraph-transition-enter: avg frame time 17ms 17ms +0% z=0.6
subgraph-transition-enter: p95 frame time 17ms 17ms -0% ⚠️ z=2.5
subgraph-transition-enter: layout duration 16ms 10ms -38% z=-0.8
subgraph-transition-enter: style recalc duration 33ms 23ms -30% z=-0.7
subgraph-transition-enter: layout count 14 5 -64% —
subgraph-transition-enter: style recalc count 18 18 +0% z=0.8
subgraph-transition-enter: task duration 954ms 716ms -25% z=-0.6
subgraph-transition-enter: script duration 33ms 22ms -35% z=-1.0
subgraph-transition-enter: TBT 143ms 97ms -32% z=-0.8
subgraph-transition-enter: heap used 100.2 MB 99.0 MB -1% z=1.2
subgraph-transition-enter: DOM nodes 13751 13667 -1% —
subgraph-transition-enter: event listeners 2385 2383 -0% —
viewport-pan-sweep: avg frame time 17ms 17ms -0% z=-2.2
viewport-pan-sweep: p95 frame time 17ms 17ms -0% z=0.2
viewport-pan-sweep: layout duration 0ms 0ms +0% —
viewport-pan-sweep: style recalc duration 37ms 36ms -3% z=0.3
viewport-pan-sweep: layout count 0 0 +0% —
viewport-pan-sweep: style recalc count 247 250 +1% z=0.4
viewport-pan-sweep: task duration 5962ms 4772ms -20% z=-0.6
viewport-pan-sweep: script duration 2682ms 2251ms -16% z=-0.8
viewport-pan-sweep: TBT 0ms 0ms +0% —
viewport-pan-sweep: heap used 84.9 MB 63.8 MB -25% z=-2.2
viewport-pan-sweep: DOM nodes -272 -228 -16% z=-0.3
viewport-pan-sweep: event listeners -162 -164 +1% z=-1.0
vue-large-graph-idle: avg frame time 18ms 17ms -3% z=-0.7
vue-large-graph-idle: p95 frame time 17ms 17ms +0% z=-0.2
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 16671ms 14501ms -13% z=-0.1
vue-large-graph-idle: script duration 276ms 212ms -23% z=-0.5
vue-large-graph-idle: TBT 0ms 0ms +0% variance too high
vue-large-graph-idle: heap used 171.3 MB 181.4 MB +6% z=1.4
vue-large-graph-idle: DOM nodes -6548 -8049 +23% z=0.4
vue-large-graph-idle: event listeners -7475 -14923 +100% z=-0.3
vue-large-graph-pan: avg frame time 18ms 18ms +2% z=1.2
vue-large-graph-pan: p95 frame time 17ms 17ms +0% z=1.2
vue-large-graph-pan: layout duration 0ms 0ms +0% —
vue-large-graph-pan: style recalc duration 18ms 16ms -12% z=-0.3
vue-large-graph-pan: layout count 0 0 +0% —
vue-large-graph-pan: style recalc count 170 123 -28% z=-0.3
vue-large-graph-pan: task duration 20862ms 17221ms -17% z=-0.5
vue-large-graph-pan: script duration 917ms 727ms -21% z=-0.7
vue-large-graph-pan: TBT 106ms 20ms -82% variance too high
vue-large-graph-pan: heap used 172.8 MB 170.4 MB -1% z=-0.5
vue-large-graph-pan: DOM nodes -6548 -8049 +23% z=-0.3
vue-large-graph-pan: event listeners -7469 -14923 +100% —
vue-node-resize-workload: avg frame time 18ms 17ms -2% z=-0.2
vue-node-resize-workload: p95 frame time 17ms 17ms +0% z=1.4
vue-node-resize-workload: layout duration 28ms 24ms -16% z=0.2
vue-node-resize-workload: style recalc duration 89ms 62ms -30% z=-0.8
vue-node-resize-workload: layout count 20 20 +0% —
vue-node-resize-workload: style recalc count 20 20 +0% —
vue-node-resize-workload: task duration 6132ms 5299ms -14% z=-0.2
vue-node-resize-workload: script duration 115ms 93ms -19% z=-0.4
vue-node-resize-workload: TBT 383ms 274ms -29% variance too high
vue-node-resize-workload: heap used 168.0 MB 181.4 MB +8% z=1.0
vue-node-resize-workload: DOM nodes -6548 -8051 +23% z=-0.3
vue-node-resize-workload: event listeners -7469 -14923 +100% z=0.2
vue-zoom-out-idle: avg frame time 18ms 18ms +0% z=0.5
vue-zoom-out-idle: p95 frame time 17ms 17ms -0% z=-0.7
vue-zoom-out-idle: layout duration 0ms 0ms +0% —
vue-zoom-out-idle: style recalc duration 0ms 0ms +0% variance too high
vue-zoom-out-idle: layout count 0 0 +0% —
vue-zoom-out-idle: style recalc count 0 0 +0% variance too high
vue-zoom-out-idle: task duration 8552ms 7314ms -14% z=-0.1
vue-zoom-out-idle: script duration 168ms 106ms -37% z=-0.5
vue-zoom-out-idle: TBT 0ms 0ms +0% variance too high
vue-zoom-out-idle: heap used 168.1 MB 185.0 MB +10% ⚠️ z=2.5
vue-zoom-out-idle: DOM nodes 0 0 +0% —
vue-zoom-out-idle: event listeners -14 0 -100% z=0.3
workflow-execution: avg frame time 17ms 17ms -0% z=0.1
workflow-execution: p95 frame time 17ms 17ms +0% z=0.3
workflow-execution: layout duration 1ms 1ms +75% z=-1.5
workflow-execution: style recalc duration 18ms 14ms -26% z=-0.4
workflow-execution: layout count 3 4 +17% z=0.1
workflow-execution: style recalc count 13 12 -12% z=0.0
workflow-execution: task duration 98ms 79ms -19% z=-0.8
workflow-execution: script duration 8ms 9ms +10% z=-0.2
workflow-execution: TBT 0ms 0ms +0% —
workflow-execution: heap used 69.9 MB 64.8 MB -7% ⚠️ z=2.6
workflow-execution: DOM nodes 121 110 -9% z=-0.4
workflow-execution: event listeners 67 41 -39% z=-0.2
Historical variance (last 15 runs)
Metric μ σ CV
canvas-idle: avg frame time 17ms 0ms 0.0%
canvas-idle: p95 frame time 17ms 0ms 0.1%
canvas-idle: layout duration 0ms 0ms 0.0%
canvas-idle: style recalc duration 4ms 1ms 16.9%
canvas-idle: layout count 0 0 0.0%
canvas-idle: style recalc count 10 1 7.3%
canvas-idle: task duration 411ms 89ms 21.6%
canvas-idle: script duration 9ms 2ms 25.7%
canvas-idle: TBT 0ms 0ms 0.0%
canvas-idle: heap used 62.2 MB 4.6 MB 7.4%
canvas-idle: DOM nodes -122 75 0.0%
canvas-idle: event listeners -83 53 0.0%
canvas-mouse-sweep: avg frame time 17ms 0ms 0.0%
canvas-mouse-sweep: p95 frame time 17ms 0ms 0.2%
canvas-mouse-sweep: layout duration 4ms 1ms 12.2%
canvas-mouse-sweep: style recalc duration 17ms 2ms 13.0%
canvas-mouse-sweep: layout count 12 0 0.0%
canvas-mouse-sweep: style recalc count 71 1 1.2%
canvas-mouse-sweep: task duration 771ms 137ms 17.8%
canvas-mouse-sweep: script duration 151ms 29ms 19.4%
canvas-mouse-sweep: TBT 0ms 0ms 0.0%
canvas-mouse-sweep: heap used 64.2 MB 3.3 MB 5.1%
canvas-mouse-sweep: DOM nodes -223 20 0.0%
canvas-mouse-sweep: event listeners -148 14 0.0%
canvas-zoom-sweep: avg frame time 17ms 0ms 0.0%
canvas-zoom-sweep: p95 frame time 17ms 0ms 0.2%
canvas-zoom-sweep: layout duration 1ms 0ms 10.9%
canvas-zoom-sweep: style recalc duration 10ms 1ms 14.0%
canvas-zoom-sweep: layout count 6 0 0.0%
canvas-zoom-sweep: style recalc count 31 1 3.4%
canvas-zoom-sweep: task duration 307ms 63ms 20.5%
canvas-zoom-sweep: script duration 11ms 3ms 22.7%
canvas-zoom-sweep: TBT 0ms 0ms 0.0%
canvas-zoom-sweep: heap used 61.6 MB 790.4 KB 1.3%
canvas-zoom-sweep: DOM nodes 53 0 0.0%
canvas-zoom-sweep: event listeners 15 0 0.0%
dom-widget-clipping: avg frame time 17ms 0ms 0.0%
dom-widget-clipping: p95 frame time 17ms 0ms 0.2%
dom-widget-clipping: layout duration 0ms 0ms 0.0%
dom-widget-clipping: style recalc duration 4ms 0ms 11.9%
dom-widget-clipping: layout count 0 0 0.0%
dom-widget-clipping: style recalc count 12 1 7.4%
dom-widget-clipping: task duration 413ms 66ms 15.9%
dom-widget-clipping: script duration 153ms 26ms 16.8%
dom-widget-clipping: TBT 0ms 0ms 0.0%
dom-widget-clipping: heap used 77.6 MB 948.2 KB 1.2%
dom-widget-clipping: DOM nodes 0 0 0.0%
dom-widget-clipping: event listeners 0 0 0.0%
dom-widget-order-dense-n200-w200-i120: avg frame time 17ms 0ms 0.0%
dom-widget-order-dense-n200-w200-i120: p95 frame time 17ms 0ms 0.2%
dom-widget-order-dense-n200-w200-i120: layout duration 0ms 0ms 0.0%
dom-widget-order-dense-n200-w200-i120: style recalc duration 0ms 0ms 0.0%
dom-widget-order-dense-n200-w200-i120: layout count 0 0 0.0%
dom-widget-order-dense-n200-w200-i120: style recalc count 0 0 0.0%
dom-widget-order-dense-n200-w200-i120: task duration 822ms 148ms 18.0%
dom-widget-order-dense-n200-w200-i120: script duration 63ms 14ms 21.8%
dom-widget-order-dense-n200-w200-i120: TBT 511ms 111ms 21.8%
dom-widget-order-dense-n200-w200-i120: heap used 78.7 MB 8.7 MB 11.0%
dom-widget-order-dense-n200-w200-i120: DOM nodes -217 64 0.0%
dom-widget-order-dense-n200-w200-i120: event listeners -165 50 0.0%
dom-widget-order-sparse-n1000-w20-i120: avg frame time 17ms 0ms 0.0%
dom-widget-order-sparse-n1000-w20-i120: p95 frame time 17ms 0ms 0.2%
dom-widget-order-sparse-n1000-w20-i120: layout duration 0ms 0ms 0.0%
dom-widget-order-sparse-n1000-w20-i120: style recalc duration 0ms 0ms 0.0%
dom-widget-order-sparse-n1000-w20-i120: layout count 0 0 0.0%
dom-widget-order-sparse-n1000-w20-i120: style recalc count 0 0 0.0%
dom-widget-order-sparse-n1000-w20-i120: task duration 421ms 84ms 19.9%
dom-widget-order-sparse-n1000-w20-i120: script duration 142ms 31ms 22.0%
dom-widget-order-sparse-n1000-w20-i120: TBT 193ms 56ms 28.9%
dom-widget-order-sparse-n1000-w20-i120: heap used 86.6 MB 431.2 KB 0.5%
dom-widget-order-sparse-n1000-w20-i120: DOM nodes 0 0 0.0%
dom-widget-order-sparse-n1000-w20-i120: event listeners 0 0 0.0%
extension-clean-combined-draw: avg frame time 19ms 1ms 5.7%
extension-clean-combined-draw: p95 frame time 41ms 12ms 29.4%
extension-clean-combined-draw: layout duration 0ms 0ms 0.0%
extension-clean-combined-draw: style recalc duration 0ms 0ms 164.8%
extension-clean-combined-draw: layout count 0 0 0.0%
extension-clean-combined-draw: style recalc count 1 1 172.3%
extension-clean-combined-draw: task duration 8071ms 1915ms 23.7%
extension-clean-combined-draw: script duration 6664ms 1716ms 25.8%
extension-clean-combined-draw: TBT 802ms 691ms 86.1%
extension-clean-combined-draw: heap used 78.6 MB 5.7 MB 7.2%
extension-clean-combined-draw: DOM nodes -46 69 0.0%
extension-clean-combined-draw: event listeners -33 50 0.0%
extension-rgthree-prototype-draw: avg frame time 19ms 1ms 5.5%
extension-rgthree-prototype-draw: p95 frame time 40ms 12ms 30.0%
extension-rgthree-prototype-draw: layout duration 0ms 0ms 0.0%
extension-rgthree-prototype-draw: style recalc duration 0ms 0ms 169.5%
extension-rgthree-prototype-draw: layout count 0 0 0.0%
extension-rgthree-prototype-draw: style recalc count 1 1 160.6%
extension-rgthree-prototype-draw: task duration 8418ms 2063ms 24.5%
extension-rgthree-prototype-draw: script duration 6875ms 1822ms 26.5%
extension-rgthree-prototype-draw: TBT 795ms 690ms 86.7%
extension-rgthree-prototype-draw: heap used 77.7 MB 4.8 MB 6.2%
extension-rgthree-prototype-draw: DOM nodes -56 67 0.0%
extension-rgthree-prototype-draw: event listeners -36 40 0.0%
large-graph-idle: avg frame time 17ms 0ms 0.0%
large-graph-idle: p95 frame time 17ms 0ms 0.2%
large-graph-idle: layout duration 0ms 0ms 0.0%
large-graph-idle: style recalc duration 3ms 0ms 12.9%
large-graph-idle: layout count 0 0 0.0%
large-graph-idle: style recalc count 9 1 12.2%
large-graph-idle: task duration 544ms 97ms 17.9%
large-graph-idle: script duration 32ms 6ms 18.9%
large-graph-idle: TBT 0ms 0ms 0.0%
large-graph-idle: heap used 75.7 MB 3.1 MB 4.1%
large-graph-idle: DOM nodes -223 20 0.0%
large-graph-idle: event listeners -150 15 0.0%
large-graph-pan: avg frame time 17ms 0ms 0.0%
large-graph-pan: p95 frame time 17ms 0ms 0.2%
large-graph-pan: layout duration 0ms 0ms 0.0%
large-graph-pan: style recalc duration 10ms 1ms 14.2%
large-graph-pan: layout count 0 0 0.0%
large-graph-pan: style recalc count 69 1 1.1%
large-graph-pan: task duration 1533ms 245ms 16.0%
large-graph-pan: script duration 785ms 133ms 16.9%
large-graph-pan: TBT 0ms 0ms 0.0%
large-graph-pan: heap used 73.5 MB 5.4 MB 7.3%
large-graph-pan: DOM nodes -191 49 0.0%
large-graph-pan: event listeners -132 33 0.0%
large-graph-zoom: avg frame time 17ms 0ms 0.0%
large-graph-zoom: p95 frame time 17ms 0ms 0.1%
large-graph-zoom: layout duration 14ms 2ms 11.0%
large-graph-zoom: style recalc duration 11ms 1ms 12.4%
large-graph-zoom: layout count 60 0 0.0%
large-graph-zoom: style recalc count 64 2 2.7%
large-graph-zoom: task duration 1597ms 244ms 15.3%
large-graph-zoom: script duration 734ms 122ms 16.6%
large-graph-zoom: TBT 0ms 0ms 0.0%
large-graph-zoom: heap used 72.4 MB 3.4 MB 4.7%
large-graph-zoom: DOM nodes -76 57 0.0%
large-graph-zoom: event listeners -54 36 0.0%
legacy-node-drag: avg frame time 17ms 0ms 0.0%
legacy-node-drag: p95 frame time 17ms 0ms 0.1%
legacy-node-drag: layout duration 0ms 0ms 0.0%
legacy-node-drag: style recalc duration 6ms 1ms 13.5%
legacy-node-drag: layout count 0 0 0.0%
legacy-node-drag: style recalc count 45 2 3.8%
legacy-node-drag: task duration 1786ms 289ms 16.2%
legacy-node-drag: script duration 918ms 154ms 16.8%
legacy-node-drag: TBT 2ms 4ms 186.7%
legacy-node-drag: heap used 78.1 MB 3.9 MB 5.0%
legacy-node-drag: DOM nodes -39 38 0.0%
legacy-node-drag: event listeners 150 42 27.9%
minimap-idle: avg frame time 17ms 0ms 0.0%
minimap-idle: p95 frame time 17ms 0ms 0.2%
minimap-idle: layout duration 0ms 0ms 0.0%
minimap-idle: style recalc duration 3ms 0ms 14.0%
minimap-idle: layout count 0 0 0.0%
minimap-idle: style recalc count 8 1 15.0%
minimap-idle: task duration 541ms 102ms 18.9%
minimap-idle: script duration 33ms 7ms 19.7%
minimap-idle: TBT 0ms 0ms 0.0%
minimap-idle: heap used 75.9 MB 2.8 MB 3.7%
minimap-idle: DOM nodes -208 45 0.0%
minimap-idle: event listeners -134 32 0.0%
subgraph-dom-widget-clipping: avg frame time 17ms 0ms 0.0%
subgraph-dom-widget-clipping: p95 frame time 17ms 0ms 0.2%
subgraph-dom-widget-clipping: layout duration 0ms 0ms 0.0%
subgraph-dom-widget-clipping: style recalc duration 6ms 1ms 8.9%
subgraph-dom-widget-clipping: layout count 0 0 0.0%
subgraph-dom-widget-clipping: style recalc count 48 1 1.9%
subgraph-dom-widget-clipping: task duration 365ms 57ms 15.6%
subgraph-dom-widget-clipping: script duration 134ms 21ms 15.6%
subgraph-dom-widget-clipping: TBT 0ms 0ms 0.0%
subgraph-dom-widget-clipping: heap used 73.3 MB 136.5 KB 0.2%
subgraph-dom-widget-clipping: DOM nodes 0 0 0.0%
subgraph-dom-widget-clipping: event listeners 6 0 0.0%
subgraph-idle: avg frame time 17ms 0ms 0.0%
subgraph-idle: p95 frame time 17ms 0ms 0.2%
subgraph-idle: layout duration 0ms 0ms 0.0%
subgraph-idle: style recalc duration 4ms 1ms 17.8%
subgraph-idle: layout count 0 0 0.0%
subgraph-idle: style recalc count 11 1 5.9%
subgraph-idle: task duration 430ms 91ms 21.3%
subgraph-idle: script duration 8ms 2ms 27.3%
subgraph-idle: TBT 0ms 0ms 0.0%
subgraph-idle: heap used 62.9 MB 4.8 MB 7.6%
subgraph-idle: DOM nodes -239 21 0.0%
subgraph-idle: event listeners -192 17 0.0%
subgraph-mouse-sweep: avg frame time 17ms 0ms 0.0%
subgraph-mouse-sweep: p95 frame time 17ms 0ms 0.1%
subgraph-mouse-sweep: layout duration 6ms 1ms 12.1%
subgraph-mouse-sweep: style recalc duration 17ms 2ms 12.0%
subgraph-mouse-sweep: layout count 16 0 0.0%
subgraph-mouse-sweep: style recalc count 70 4 6.4%
subgraph-mouse-sweep: task duration 726ms 122ms 16.7%
subgraph-mouse-sweep: script duration 104ms 18ms 17.4%
subgraph-mouse-sweep: TBT 0ms 0ms 0.0%
subgraph-mouse-sweep: heap used 61.1 MB 3.8 MB 6.1%
subgraph-mouse-sweep: DOM nodes -239 21 0.0%
subgraph-mouse-sweep: event listeners -198 17 0.0%
subgraph-transition-enter: avg frame time 17ms 0ms 0.0%
subgraph-transition-enter: p95 frame time 17ms 0ms 0.2%
subgraph-transition-enter: layout duration 12ms 2ms 20.4%
subgraph-transition-enter: style recalc duration 26ms 5ms 17.7%
subgraph-transition-enter: layout count 5 0 0.0%
subgraph-transition-enter: style recalc count 17 1 5.1%
subgraph-transition-enter: task duration 826ms 169ms 20.5%
subgraph-transition-enter: script duration 28ms 6ms 22.3%
subgraph-transition-enter: TBT 124ms 33ms 26.9%
subgraph-transition-enter: heap used 86.3 MB 10.2 MB 11.8%
subgraph-transition-enter: DOM nodes 13667 0 0.0%
subgraph-transition-enter: event listeners 2383 0 0.0%
viewport-pan-sweep: avg frame time 17ms 0ms 0.0%
viewport-pan-sweep: p95 frame time 17ms 0ms 0.2%
viewport-pan-sweep: layout duration 0ms 0ms 0.0%
viewport-pan-sweep: style recalc duration 34ms 5ms 14.2%
viewport-pan-sweep: layout count 0 0 0.0%
viewport-pan-sweep: style recalc count 250 1 0.3%
viewport-pan-sweep: task duration 5362ms 935ms 17.4%
viewport-pan-sweep: script duration 2597ms 439ms 16.9%
viewport-pan-sweep: TBT 0ms 0ms 0.0%
viewport-pan-sweep: heap used 77.1 MB 6.1 MB 7.9%
viewport-pan-sweep: DOM nodes -222 20 0.0%
viewport-pan-sweep: event listeners -144 20 0.0%
vue-large-graph-idle: avg frame time 18ms 0ms 2.3%
vue-large-graph-idle: p95 frame time 17ms 1ms 8.3%
vue-large-graph-idle: layout duration 0ms 0ms 0.0%
vue-large-graph-idle: style recalc duration 0ms 0ms 0.0%
vue-large-graph-idle: layout count 0 0 0.0%
vue-large-graph-idle: style recalc count 0 0 0.0%
vue-large-graph-idle: task duration 14829ms 2614ms 17.6%
vue-large-graph-idle: script duration 241ms 55ms 23.1%
vue-large-graph-idle: TBT 0ms 0ms 387.3%
vue-large-graph-idle: heap used 173.8 MB 5.5 MB 3.2%
vue-large-graph-idle: DOM nodes -8050 3 0.0%
vue-large-graph-idle: event listeners -14923 0 0.0%
vue-large-graph-pan: avg frame time 18ms 0ms 2.4%
vue-large-graph-pan: p95 frame time 17ms 0ms 0.2%
vue-large-graph-pan: layout duration 0ms 0ms 0.0%
vue-large-graph-pan: style recalc duration 17ms 4ms 22.8%
vue-large-graph-pan: layout count 0 0 0.0%
vue-large-graph-pan: style recalc count 135 38 28.1%
vue-large-graph-pan: task duration 18696ms 3232ms 17.3%
vue-large-graph-pan: script duration 823ms 132ms 16.0%
vue-large-graph-pan: TBT 68ms 58ms 84.4%
vue-large-graph-pan: heap used 173.6 MB 5.8 MB 3.3%
vue-large-graph-pan: DOM nodes -8016 131 0.0%
vue-large-graph-pan: event listeners -14923 0 0.0%
vue-node-resize-workload: avg frame time 18ms 0ms 2.2%
vue-node-resize-workload: p95 frame time 17ms 0ms 0.2%
vue-node-resize-workload: layout duration 23ms 3ms 12.5%
vue-node-resize-workload: style recalc duration 71ms 11ms 15.0%
vue-node-resize-workload: layout count 20 0 0.0%
vue-node-resize-workload: style recalc count 20 0 0.0%
vue-node-resize-workload: task duration 5451ms 939ms 17.2%
vue-node-resize-workload: script duration 101ms 21ms 20.6%
vue-node-resize-workload: TBT 290ms 155ms 53.4%
vue-node-resize-workload: heap used 175.6 MB 5.8 MB 3.3%
vue-node-resize-workload: DOM nodes -8017 131 0.0%
vue-node-resize-workload: event listeners -14923 0 0.0%
vue-zoom-out-idle: avg frame time 18ms 0ms 2.7%
vue-zoom-out-idle: p95 frame time 17ms 0ms 0.2%
vue-zoom-out-idle: layout duration 0ms 0ms 0.0%
vue-zoom-out-idle: style recalc duration 0ms 0ms 387.3%
vue-zoom-out-idle: layout count 0 0 0.0%
vue-zoom-out-idle: style recalc count 0 0 387.3%
vue-zoom-out-idle: task duration 7407ms 1426ms 19.3%
vue-zoom-out-idle: script duration 120ms 30ms 24.7%
vue-zoom-out-idle: TBT 0ms 1ms 387.3%
vue-zoom-out-idle: heap used 171.6 MB 5.3 MB 3.1%
vue-zoom-out-idle: DOM nodes 0 0 0.0%
vue-zoom-out-idle: event listeners -0 0 0.0%
workflow-execution: avg frame time 17ms 0ms 0.0%
workflow-execution: p95 frame time 17ms 0ms 0.2%
workflow-execution: layout duration 2ms 0ms 15.0%
workflow-execution: style recalc duration 15ms 3ms 20.5%
workflow-execution: layout count 3 1 15.8%
workflow-execution: style recalc count 11 4 31.5%
workflow-execution: task duration 94ms 20ms 20.9%
workflow-execution: script duration 9ms 2ms 23.5%
workflow-execution: TBT 0ms 0ms 0.0%
workflow-execution: heap used 62.9 MB 725.0 KB 1.1%
workflow-execution: DOM nodes 112 6 5.1%
workflow-execution: event listeners 45 19 42.8%
Trend (last 15 commits on main)
Metric Trend Dir Latest
canvas-idle: avg frame time ▁▆▃█▆▃▃▆▃▃▃▆▃▆▁ ➡️ 17ms
canvas-idle: p95 frame time ▅█▅▅▄▅▅▅▅▁▄▅▁█▁ ➡️ 17ms
canvas-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: style recalc duration ▅▅▃▅▂▁▆█▆▆▅█▇▃▇ 📈 5ms
canvas-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
canvas-idle: style recalc count ▄▂▇▄▆▅▃▄▃▁▁▆▂█▁ ➡️ 9
canvas-idle: task duration ▆▅▄▅▁▃▅█▆▇▇█▇▁█ 📈 501ms
canvas-idle: script duration ▄▄▃▃▁▂▄▇▄▅▅█▇▂█ 📈 13ms
canvas-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: heap used ▂▁▂▂▂▃▂▂▁▁▂█▃▂▄ ➡️ 65.7 MB
canvas-idle: DOM nodes ▃▁▃▆█▆▆▃▁▁▃▆▆█▃ 📈 -152
canvas-idle: event listeners ▄▂▄▆█▆▆▁▁▁▃▆▆█▃ 📈 -109
canvas-mouse-sweep: avg frame time ▃▆██▃▆▃█▃▆█▁▃▁▁ ➡️ 17ms
canvas-mouse-sweep: p95 frame time ▁▃▃▃█▆▁▁▁▁▃▃▃▆▃ ➡️ 17ms
canvas-mouse-sweep: layout duration ▆▇▅▅▅▁▆▇▆▆▆▆█▅█ 📈 5ms
canvas-mouse-sweep: style recalc duration ▅▆▄▅▃▁▆▇▆▆▇▆█▄▇ 📈 19ms
canvas-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 12
canvas-mouse-sweep: style recalc count █▄▅█▅▅▄▁▄█▃▇█▅▅ ➡️ 71
canvas-mouse-sweep: task duration ▆▇▄▆▁▃▆▇▇▇▇▆█▁█ 📈 909ms
canvas-mouse-sweep: script duration ▆▇▃▇▁▂▇█▇██▅▇▂█ 📈 178ms
canvas-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-mouse-sweep: heap used ▇▅▅█▃▆▅▄█▄▄▁▅▇█ ➡️ 68.4 MB
canvas-mouse-sweep: DOM nodes ▁▁▁▁▁▁▁▁▁▁▁▁▁█▁ ➡️ -228
canvas-mouse-sweep: event listeners ▃▂▃▃▂▃▃▃▃▃▂▁▃█▃ ➡️ -149
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 ▆▅▂▄▁▁▆█▆▇▇▇█▃█ 📈 11ms
canvas-zoom-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
canvas-zoom-sweep: style recalc count ▆▆▃▂▁▂██▇▆▇▇▇▄▆ ➡️ 31
canvas-zoom-sweep: task duration ▅▄▃▃▁▃▅▇▅▅▆▇▇▁█ 📈 401ms
canvas-zoom-sweep: script duration ▄▃▃▃▁▂▄▆▄▅▅█▇▂█ 📈 16ms
canvas-zoom-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-zoom-sweep: heap used ▃▂█▂▃▃▃▁▂▁▂▃▃█▃ ➡️ 61.4 MB
canvas-zoom-sweep: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 53
canvas-zoom-sweep: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 15
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 ▆▆▆▆▆▁▇▆▆▇▆▆▆▆█ ➡️ 4ms
dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-clipping: style recalc count ▅▄▆▅█▆▆▁▅▄▅▄▂▇▂ ➡️ 11
dom-widget-clipping: task duration ▆▆▄▇▁▂▆█▇▇▇▆█▁█ 📈 474ms
dom-widget-clipping: script duration ▆▇▄▇▁▂▇▇▇▇▇▅▇▁█ 📈 180ms
dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: heap used ▁▁▂▁▇██▂▂▂▂▃▃██ ➡️ 79.0 MB
dom-widget-clipping: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-clipping: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-dense-n200-w200-i120: avg frame time ▃▆▆▃█▃█▁▁▃▃▃▆▁▆ ➡️ 17ms
dom-widget-order-dense-n200-w200-i120: p95 frame time █▆▃▆▃▃▃▃▃█▃▃▁▃█ ➡️ 17ms
dom-widget-order-dense-n200-w200-i120: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-order-dense-n200-w200-i120: style recalc duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-order-dense-n200-w200-i120: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-dense-n200-w200-i120: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-dense-n200-w200-i120: task duration ▆▇▃▆▁▄▇█▇▇▇▇█▂▇ 📈 923ms
dom-widget-order-dense-n200-w200-i120: script duration ▆▇▄▆▁▃████▇▅▆▃█ 📈 76ms
dom-widget-order-dense-n200-w200-i120: TBT ▆▇▄▇▁▄██▇▇█▇█▁█ 📈 603ms
dom-widget-order-dense-n200-w200-i120: heap used ▃▅▆█▃▁▃▁▁▁▅▁▃▃▆ ➡️ 88.1 MB
dom-widget-order-dense-n200-w200-i120: DOM nodes ▅▁██▁▁▁▁▁▁▅▁▁▁▅ 📈 -163
dom-widget-order-dense-n200-w200-i120: event listeners ▅▂██▁▁▂▁▁▂▅▁▂▁▅ 📈 -131
dom-widget-order-sparse-n1000-w20-i120: avg frame time ▃▁▁▃▆▁▆▆▃▃▁▆▃█▆ ➡️ 17ms
dom-widget-order-sparse-n1000-w20-i120: p95 frame time ▃▃▃▃▆█▆▆▆▁▃▆▃▆█ ➡️ 17ms
dom-widget-order-sparse-n1000-w20-i120: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-order-sparse-n1000-w20-i120: style recalc duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-order-sparse-n1000-w20-i120: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-sparse-n1000-w20-i120: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-sparse-n1000-w20-i120: task duration ▇▇▄▇▁▃▇█▇▇█▆▇▁█ 📈 493ms
dom-widget-order-sparse-n1000-w20-i120: script duration ▅▇▃▇▁▂▇█▇▇█▅▆▁█ 📈 172ms
dom-widget-order-sparse-n1000-w20-i120: TBT ▇▇▄█▁▂█████▅█▁█ 📈 235ms
dom-widget-order-sparse-n1000-w20-i120: heap used ▅▄▁▃▁▄▆▁▄▅██▃▆▄ ➡️ 86.6 MB
dom-widget-order-sparse-n1000-w20-i120: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-order-sparse-n1000-w20-i120: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
extension-clean-combined-draw: avg frame time ▃▆▄▆▁▄█▆▆▇█▄▆▁▇ ➡️ 19ms
extension-clean-combined-draw: p95 frame time ▄█▄█▁▄█████▆▆▁█ 📈 50ms
extension-clean-combined-draw: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
extension-clean-combined-draw: style recalc duration ▁▁▅▁█▅▁▁▁▁▂▁▁▆▁ 📉 0ms
extension-clean-combined-draw: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
extension-clean-combined-draw: style recalc count ▁▁▄▁██▁▁▁▁▂▁▁▆▁ 📉 0
extension-clean-combined-draw: task duration ▅▆▃▇▁▂▇▇▆▇▇▄▆▁█ 📈 10438ms
extension-clean-combined-draw: script duration ▅▆▃▇▁▂▇▇▆▇▇▄▆▁█ 📈 8796ms
extension-clean-combined-draw: TBT ▂▅▁▆▁▁▆▆▅▆▆▁▃▁█ 📈 1899ms
extension-clean-combined-draw: heap used ▆█▄▇█▇▁▆▂▄▃▆▇▂▂ ➡️ 72.3 MB
extension-clean-combined-draw: DOM nodes ██▆█▆▁████▆█▆▃█ 📉 0
extension-clean-combined-draw: event listeners ██▆█▆▁████▆█▆▃█ 📉 0
extension-rgthree-prototype-draw: avg frame time ▄▇▄▇▁▄▇▇▇█▇▄▅▁█ ➡️ 20ms
extension-rgthree-prototype-draw: p95 frame time ▄█▄█▁▄█████▄▆▁█ ➡️ 50ms
extension-rgthree-prototype-draw: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
extension-rgthree-prototype-draw: style recalc duration ▂▂▃▁█▄▁▁▁▁▁▁▁▅▁ 📉 0ms
extension-rgthree-prototype-draw: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
extension-rgthree-prototype-draw: style recalc count ▂▂▄▁█▅▁▁▁▁▁▁▂▅▁ 📉 0
extension-rgthree-prototype-draw: task duration ▅▇▃▇▁▂▇█▇▇█▅▅▁█ 📈 10610ms
extension-rgthree-prototype-draw: script duration ▅▇▃▇▁▂▇█▇▇█▄▅▁█ 📈 8819ms
extension-rgthree-prototype-draw: TBT ▂▅▁▅▁▁▇█▆▇█▁▃▁█ 📈 1725ms
extension-rgthree-prototype-draw: heap used ▁▄▃▂▃▂█▅▂▂▂▄▅▅▄ ➡️ 79.2 MB
extension-rgthree-prototype-draw: DOM nodes ▆▆█▆▃▁████▆█▆▆█ 📉 0
extension-rgthree-prototype-draw: event listeners ▅▅█▅▁▁████▅█▅▅█ 📉 0
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 ▅▄█▄▃▁▄▇▇▄▇▄▄▅▅ ➡️ 3ms
large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-idle: style recalc count ▅▃▆▃█▇▂▃▅▂▃▁▁▇▁ ➡️ 7
large-graph-idle: task duration ▇▅▄▅▁▄▆█▆▆▇▇█▁█ 📈 654ms
large-graph-idle: script duration ▆▆▄▅▁▃▆█▆▆▇▇█▃▇ 📈 38ms
large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: heap used ▅▇▂▇▁▁▆▆▅█▆▆█▄█ ➡️ 79.3 MB
large-graph-idle: DOM nodes ▁▁▁▁▁▁▁▁▁▁▁█▁▁▁ ➡️ -228
large-graph-idle: event listeners ▂▃▁▃▁▁▃▃▂▃▃█▃▂▃ ➡️ -142
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 ▇▅▅▅█▁▆▅▄▆▅▇██▇ ➡️ 11ms
large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-pan: style recalc count ▆▅▅▆▆▆▄▁▂▆▄▄▃█▅ ➡️ 69
large-graph-pan: task duration ▆▆▄▇▁▂▆█▇▇▇▆█▁█ 📈 1775ms
large-graph-pan: script duration ▆▇▄▇▁▁▇█▇▇▇▅▇▁█ ➡️ 900ms
large-graph-pan: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: heap used ▅▅▅▄▃▁▆▅▇▄▃▃█▃▅ ➡️ 74.0 MB
large-graph-pan: DOM nodes ▁▅▁▁▅▁▁▁█▁▅▅▁▅▁ 📉 -228
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 ▆▅▅▅▆▁▅▆▅▅▅▆█▆▆ 📈 15ms
large-graph-zoom: style recalc duration ▆▅▅▄▇▁▄▅▅▄▅█▇▇▆ 📈 12ms
large-graph-zoom: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 60
large-graph-zoom: style recalc count ▃▃▅▃▇▆▁▂▂▁▃▄▁█▂ ➡️ 63
large-graph-zoom: task duration ▆▆▃▆▁▂▆█▇▆▇▆█▁█ 📈 1833ms
large-graph-zoom: script duration ▇▇▃▇▁▁▇█▇▇▇▅█▁█ 📈 845ms
large-graph-zoom: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-zoom: heap used ▂▂▆▃▅▁▃▅▃▄▃█▃▄▅ ➡️ 74.4 MB
large-graph-zoom: DOM nodes ▁▅▅▅█▁█▅▅█▅▁█▁▅ ➡️ -76
large-graph-zoom: event listeners ▅▅▅▅▅▁█▅▅█▅▁█▁▅ ➡️ -55
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 ▇▄▆▆█▁▄▆▆▅▆▆▇█▆ ➡️ 6ms
legacy-node-drag: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
legacy-node-drag: style recalc count ▆▂▆▆█▆▃▂▄▃▃▃▂█▁ ➡️ 42
legacy-node-drag: task duration ▇▇▄▇▁▂▇█▇▇▇▆█▁▇ 📈 1961ms
legacy-node-drag: script duration ▇▇▄▇▁▁▇█▇█▇▆█▁█ ➡️ 1030ms
legacy-node-drag: TBT ▄▅▁█▁▁▁▁▁▄▁▁▁▁▁ 📉 0ms
legacy-node-drag: heap used ▄▂▃▄▁▄▄▄▃▆▅██▆▆ ➡️ 80.9 MB
legacy-node-drag: DOM nodes ▂██▁▁█▁▂▁█▂█▁██ 📉 0
legacy-node-drag: event listeners ▅███▅██▅▁█▅█▁██ 📉 180
minimap-idle: avg frame time ▆▆▃▃▅▃▃▃▃▆▁▆█▅▄ ➡️ 17ms
minimap-idle: p95 frame time ▆▁▆▆▆▃█▃▃▃▃▃▆▃▁ ➡️ 17ms
minimap-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: style recalc duration ▃▃▂▄▂▁▃█▄▅▂▅▅▄▆ 📈 4ms
minimap-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
minimap-idle: style recalc count ▁▃▅▅▆█▂▁▃▄▁▄▃▇▃ ➡️ 7
minimap-idle: task duration ▅▅▄▅▁▄▅▅▅▅▆▇▇▂█ 📈 705ms
minimap-idle: script duration ▆▅▅▅▁▃▇▇▆▆▇▆▇▃█ 📈 43ms
minimap-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: heap used █▅▄▄▄▂▆▆█▃▇▄▆▁▇ ➡️ 79.0 MB
minimap-idle: DOM nodes ▁▁▁▁▅▁▁█▁▁▁▅▁▁▁ ➡️ -228
minimap-idle: event listeners ▅▂▁▁▅▁▂█▂▁▅▅▂▁▂ ➡️ -142
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 ▆▆▅▅▇▁▆▇▆▇▇█▇▆█ 📈 7ms
subgraph-dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-dom-widget-clipping: style recalc count ▂▄█▅█▇▃▄▅▄▄▄▁▇▄ ➡️ 47
subgraph-dom-widget-clipping: task duration ▆▇▄▆▁▃▇█▆▇█▆█▁█ 📈 418ms
subgraph-dom-widget-clipping: script duration ▇▇▄▇▁▂██▇██▅█▁█ ➡️ 149ms
subgraph-dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: heap used ▃▂▃▁▂▄▂▄▆▃▄▅▅▂█ ➡️ 73.6 MB
subgraph-dom-widget-clipping: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-dom-widget-clipping: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
subgraph-idle: avg frame time ▆▆▁▆▄▅▄▅▆▄▃▄▆▆█ ➡️ 17ms
subgraph-idle: p95 frame time ▃█▁▆▆▁▆▃▆▆▃█▁▁▃ ➡️ 17ms
subgraph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: style recalc duration ▄▅▃▅▂▁▅█▅▆▆▆▅▂█ 📈 5ms
subgraph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-idle: style recalc count ▂▅█▅▇▇▆▅▅▁▂▂▃█▆ ➡️ 11
subgraph-idle: task duration ▅▅▃▅▁▃▅▆▅▆▆▇▇▁█ 📈 560ms
subgraph-idle: script duration ▄▃▃▃▁▂▄▆▄▄▅█▆▂█ 📈 12ms
subgraph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: heap used ▄█▆▃▃▂▄▇▅█▄▆▄▁▃ ➡️ 59.9 MB
subgraph-idle: DOM nodes ▁▁▁▁▁▁▁▁▁▁▁▁▁█▁ ➡️ -244
subgraph-idle: event listeners ▁▂▂▂▁▂▁▂▂▂▁▂▂█▂ ➡️ -195
subgraph-mouse-sweep: avg frame time ▅▅▅█▆▅▆▆▆▃▃▅▆▁▆ ➡️ 17ms
subgraph-mouse-sweep: p95 frame time █▄▄█▅██▄▁█▅▅▁▄▁ ➡️ 17ms
subgraph-mouse-sweep: layout duration ▇▅▃▅▄▁▆▆▆▅▅▇█▅▇ 📈 7ms
subgraph-mouse-sweep: style recalc duration ▆▅▃▅▄▁▆▆▆▆▆▇█▅█ 📈 20ms
subgraph-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 16
subgraph-mouse-sweep: style recalc count ▅▁█▇██▄▇▁▁▇▄▂█▄ ➡️ 69
subgraph-mouse-sweep: task duration ▆▆▃▆▁▂▆▇▆▆▇▆▇▂█ 📈 881ms
subgraph-mouse-sweep: script duration ▅▆▃▆▂▁▆▇▆▆▇▅▇▃█ 📈 130ms
subgraph-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-mouse-sweep: heap used ▂█▁▃▂▁▄▆▆▄▄▅▅▄▄ ➡️ 60.2 MB
subgraph-mouse-sweep: DOM nodes ▁▁▁▁▁▁▁▁▁▁▁▁█▁▁ ➡️ -244
subgraph-mouse-sweep: event listeners ▁▃▁▂▁▁▂▂▂▂▂▂█▂▂ ➡️ -203
subgraph-transition-enter: avg frame time ▁▅▁▁▅▁▅▁▅▅█▅▅▁▁ ➡️ 17ms
subgraph-transition-enter: p95 frame time ▁▁▁█▁▁▁▁▁▁▁█▁▁▁ ➡️ 17ms
subgraph-transition-enter: layout duration ▆▇▃▇▂▂▇██▇▇▄▇▁█ 📈 14ms
subgraph-transition-enter: style recalc duration ▆▆▃▇▁▂▇█▇▇▇▅█▁█ 📈 31ms
subgraph-transition-enter: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 5
subgraph-transition-enter: style recalc count ▃▁▆▃▆█▁▃▃▃▃▃▃█▃ ➡️ 17
subgraph-transition-enter: task duration ▆▆▄▄▂▃▆█▆▆▇▆█▁█ 📈 1019ms
subgraph-transition-enter: script duration ▅▅▃▄▁▁▅▇▆▅▅▅█▁▇ 📈 34ms
subgraph-transition-enter: TBT ▆▇▃▇▁▅▇█▇▇▇▄█▁█ 📈 153ms
subgraph-transition-enter: heap used █▁▂▁▆█▁█▁▁█▁█▁▁ ➡️ 78.2 MB
subgraph-transition-enter: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 13667
subgraph-transition-enter: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 2383
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 ▆▅▅▅▇▁▅▆▅▅▆▇█▇▆ 📈 36ms
viewport-pan-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
viewport-pan-sweep: style recalc count ▅▆█▆▄▇▆▆▇▆▆▇▃▁▆ ➡️ 250
viewport-pan-sweep: task duration ▆▆▃▇▁▂▆▇▇▇▇▆█▁█ 📈 6365ms
viewport-pan-sweep: script duration ▆▆▃█▁▁▇█▇▇█▅█▁█ 📈 2996ms
viewport-pan-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
viewport-pan-sweep: heap used ▂▃▆▅▄▆▄▃▂▁█▆▆▁▂ ➡️ 72.1 MB
viewport-pan-sweep: DOM nodes ▁▁▁▁█▁▂▁▁▂▁▁▁▁▁ ➡️ -228
viewport-pan-sweep: event listeners ▃▃▁▃▇▁▃▃▃▂▃▃█▇▂ ➡️ -157
vue-large-graph-idle: avg frame time ▆▅▄▆▁▃▆▆▆▆▅▅█▂▅ ➡️ 18ms
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 ▇▆▄▆▁▁▆▇▇▇▅▆█▂▆ ➡️ 15775ms
vue-large-graph-idle: script duration ▇▆▄▆▁▁▆▇▇▆▆▆█▂▇ 📈 287ms
vue-large-graph-idle: TBT ▁▁▁▁▁▁▁▁▁▁█▁▁▁▁ 📈 0ms
vue-large-graph-idle: heap used █▇▂▄▅▄▃▆▃█▃▄▃▃▁ ➡️ 165.2 MB
vue-large-graph-idle: DOM nodes ██████▁██▅█████ ➡️ -8049
vue-large-graph-idle: event listeners ▁▁▁▁▁▁█▁▁▁▁▁▁▁▁ ➡️ -14923
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 ▄▃▂▄▂▁▃▄▃▄▄▅█▂▆ 📈 23ms
vue-large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-large-graph-pan: style recalc count ▇█▄█▁▁▆▇▅▇▇▅█▁▇ 📈 162
vue-large-graph-pan: task duration ▇▆▄▆▁▁▅▆▅▆▆▅█▁▇ 📈 22094ms
vue-large-graph-pan: script duration ▆▇▃▆▁▁▇▇▆▇▆▅█▂█ 📈 965ms
vue-large-graph-pan: TBT ▃▂▂▃▂▁▂▃▃▃▃▃█▂▅ 📈 126ms
vue-large-graph-pan: heap used ▆▆▅▃▃▆▄▃█▆▇▄▃▇▁ ➡️ 161.8 MB
vue-large-graph-pan: DOM nodes ▁▁▁▁▁▁█▁▁▁▁▁▁▁▁ ➡️ -8049
vue-large-graph-pan: event listeners ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ -14923
vue-node-resize-workload: avg frame time ▇▇▇█▄▁▇▇▆▇▆▆█▂▇ ➡️ 18ms
vue-node-resize-workload: p95 frame time ▄▁▄▁▄▁█▁▁██▄▁█▄ ➡️ 17ms
vue-node-resize-workload: layout duration ▅▄▃▄▂▁▅▅▄▄▄█▇▃▇ 📈 27ms
vue-node-resize-workload: style recalc duration ▆▇▃▇▁▃▇█▇▇▇▅▆▁█ ➡️ 80ms
vue-node-resize-workload: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 20
vue-node-resize-workload: style recalc count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 20
vue-node-resize-workload: task duration ▇▆▅▅▂▁▇▆▆▇▆▆█▂█ 📈 6480ms
vue-node-resize-workload: script duration ▇▆▄▆▃▁▇▆▆▆▆▇█▃█ 📈 125ms
vue-node-resize-workload: TBT █▆▄▅▁▁▇▆▅▇▅▇█▁█ 📈 468ms
vue-node-resize-workload: heap used █▃█▇█▆▄▃▇▄▃▅▁▂█ ➡️ 182.9 MB
vue-node-resize-workload: DOM nodes ▁▁▁▁▁▁▁▁▁▁▁▁▁█▁ ➡️ -8049
vue-node-resize-workload: event listeners ▇▇▇▇▇▇█▁▇▇▇▇▇▇▇ ➡️ -14923
vue-zoom-out-idle: avg frame time ▆▆▄▄▁▁▆▆▆▆▄▆█▂▅ ➡️ 18ms
vue-zoom-out-idle: p95 frame time ▆█▆▆▁▆▃█▃████▆▆ ➡️ 17ms
vue-zoom-out-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-zoom-out-idle: style recalc duration ▁▁▁▁▁█▁▁▁▁▁▁▁▁▁ 📉 0ms
vue-zoom-out-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-zoom-out-idle: style recalc count ▁▁▁▁▁█▁▁▁▁▁▁▁▁▁ 📉 0
vue-zoom-out-idle: task duration ▇▇▅▅▂▁▇▇▇▇▆▆█▃▇ 📈 8044ms
vue-zoom-out-idle: script duration ▆▆▄▅▂▁▇▇▆▆▆▅█▄█ 📈 153ms
vue-zoom-out-idle: TBT ▁▁▁▁▁▁▁▁▁▁▁▁▁▁█ 📈 4ms
vue-zoom-out-idle: heap used ▆▅▁▄▁█▅▂▁▅▂▅▂▃▅ ➡️ 173.7 MB
vue-zoom-out-idle: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-zoom-out-idle: event listeners █▁█████████████ 📉 0
workflow-execution: avg frame time ▄▇▄▇▄▅▅▄▅▅█▇▅▅▁ ➡️ 17ms
workflow-execution: p95 frame time ▃▃▃▃▃▆▆▁▆▃▆▃▁█▃ ➡️ 17ms
workflow-execution: layout duration ▃▂▄▆▂▁▃▄▅▅▃▅▅▃█ 📈 2ms
workflow-execution: style recalc duration ▆▄▃▅▅▂▆▅▄▇▄▇▄▁█ ➡️ 20ms
workflow-execution: layout count ▅▁▅▇▅▅▆▅▆▇▂▇▃▃█ ➡️ 4
workflow-execution: style recalc count ▄▄▄▄▇▃█▃▂▆▃▆▂▁▅ 📉 13
workflow-execution: task duration ▆▄▃▅▅▃█▅▅▇▄▇▅▁█ ➡️ 122ms
workflow-execution: script duration ▃▃▃▅▄▂▆▅▄▅▃▆▄▁█ ➡️ 14ms
workflow-execution: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
workflow-execution: heap used ▅▇▃▃█▃▇▁▁▆▅▇▁▂▄ ➡️ 62.8 MB
workflow-execution: DOM nodes ▂▄▅█▇▅▇▁▇▅▃▇▃▁▅ ➡️ 114
workflow-execution: event listeners ▅▂▄▄█▄█▂▁▅▁█▁▂▄ 📉 44
Raw data
{
  "timestamp": "2026-09-25T13:59:59.882Z",
  "gitSha": "ba3086df47420b4ceda84166483ae61256198db2",
  "branch": "dante01yoon/fe-2894-web-session-boot",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 1998.6189999999624,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 3.6050000000000004,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 352.03499999999997,
      "heapDeltaBytes": 25554964,
      "heapUsedBytes": 87181792,
      "domNodes": 0,
      "jsHeapTotalBytes": 5242880,
      "scriptDurationMs": 8.341,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-idle",
      "durationMs": 2010.5169999999362,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 3.3360000000000003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 362.51899999999995,
      "heapDeltaBytes": -7921880,
      "heapUsedBytes": 54556132,
      "domNodes": -228,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 7.8309999999999995,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1748.6499999999978,
      "styleRecalcs": 74,
      "styleRecalcDurationMs": 17.218,
      "layouts": 12,
      "layoutDurationMs": 4.154,
      "taskDurationMs": 732.9,
      "heapDeltaBytes": -7461176,
      "heapUsedBytes": 55108256,
      "domNodes": -228,
      "jsHeapTotalBytes": 5234688,
      "scriptDurationMs": 136.27299999999997,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1728.7520000000995,
      "styleRecalcs": 72,
      "styleRecalcDurationMs": 15.607,
      "layouts": 12,
      "layoutDurationMs": 4.031,
      "taskDurationMs": 688.609,
      "heapDeltaBytes": -2838160,
      "heapUsedBytes": 60003308,
      "domNodes": -228,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 128.54,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66999999999998,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1709.1839999999365,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 8.780000000000001,
      "layouts": 6,
      "layoutDurationMs": 1.173,
      "taskDurationMs": 274.994,
      "heapDeltaBytes": 2107512,
      "heapUsedBytes": 64494500,
      "domNodes": 53,
      "jsHeapTotalBytes": 6029312,
      "scriptDurationMs": 11.206000000000001,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1693.1950000000597,
      "styleRecalcs": 30,
      "styleRecalcDurationMs": 8.164,
      "layouts": 6,
      "layoutDurationMs": 0.9970000000000001,
      "taskDurationMs": 266.255,
      "heapDeltaBytes": 2035536,
      "heapUsedBytes": 64615680,
      "domNodes": 53,
      "jsHeapTotalBytes": 5242880,
      "scriptDurationMs": 10.464,
      "eventListeners": 15,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 528.5759999999868,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 3.6270000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 381.038,
      "heapDeltaBytes": 18463852,
      "heapUsedBytes": 80680784,
      "domNodes": 0,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 136.294,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 550.7920000000013,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 3.5320000000000005,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 345.69899999999996,
      "heapDeltaBytes": 18379532,
      "heapUsedBytes": 80740592,
      "domNodes": 0,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 141.558,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 1063.8460000000123,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 752.1589999999999,
      "heapDeltaBytes": -13891052,
      "heapUsedBytes": 72171820,
      "domNodes": -259,
      "jsHeapTotalBytes": 19005440,
      "scriptDurationMs": 54.818999999999996,
      "eventListeners": -207,
      "totalBlockingTimeMs": 415,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-order-dense-n200-w200-i120",
      "durationMs": 1053.9829999999029,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 737.548,
      "heapDeltaBytes": -15560552,
      "heapUsedBytes": 72229452,
      "domNodes": -259,
      "jsHeapTotalBytes": 21626880,
      "scriptDurationMs": 53.95900000000001,
      "eventListeners": -207,
      "totalBlockingTimeMs": 417,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 767.7029999999831,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 376.3939999999999,
      "heapDeltaBytes": 14626948,
      "heapUsedBytes": 91148560,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 119.27099999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 163,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "dom-widget-order-sparse-n1000-w20-i120",
      "durationMs": 784.787999999935,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 381.69699999999995,
      "heapDeltaBytes": 13690288,
      "heapUsedBytes": 89858272,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 121.893,
      "eventListeners": 0,
      "totalBlockingTimeMs": 164,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 7553.3879999999845,
      "styleRecalcs": 1,
      "styleRecalcDurationMs": 0.061000000000002025,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 6717.878,
      "heapDeltaBytes": 10836908,
      "heapUsedBytes": 93923612,
      "domNodes": 0,
      "jsHeapTotalBytes": 6291456,
      "scriptDurationMs": 5547.755,
      "eventListeners": 0,
      "totalBlockingTimeMs": 71,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 33.29999999999927
    },
    {
      "name": "extension-clean-combined-draw",
      "durationMs": 7936.817000000019,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 7043.0070000000005,
      "heapDeltaBytes": -6580232,
      "heapUsedBytes": 76111236,
      "domNodes": 0,
      "jsHeapTotalBytes": 13107200,
      "scriptDurationMs": 5688.963,
      "eventListeners": 0,
      "totalBlockingTimeMs": 31,
      "frameDurationMs": 17.776666666666703,
      "p95FrameDurationMs": 33.29999999999927
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 7813.473999999986,
      "styleRecalcs": 2,
      "styleRecalcDurationMs": 0.6250000000000006,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 6904.915000000001,
      "heapDeltaBytes": 17751428,
      "heapUsedBytes": 95133904,
      "domNodes": -228,
      "jsHeapTotalBytes": 2613248,
      "scriptDurationMs": 5438.383,
      "eventListeners": -164,
      "totalBlockingTimeMs": 91,
      "frameDurationMs": 17.773333333333298,
      "p95FrameDurationMs": 33.29999999999927
    },
    {
      "name": "extension-rgthree-prototype-draw",
      "durationMs": 7371.93400000001,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 6576.986,
      "heapDeltaBytes": 12445408,
      "heapUsedBytes": 95059872,
      "domNodes": 0,
      "jsHeapTotalBytes": 5242880,
      "scriptDurationMs": 5216.26,
      "eventListeners": 0,
      "totalBlockingTimeMs": 5,
      "frameDurationMs": 17.776666666666703,
      "p95FrameDurationMs": 33.29999999999927
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2024.1700000000264,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 2.7590000000000012,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 486.8520000000001,
      "heapDeltaBytes": 2373412,
      "heapUsedBytes": 83076784,
      "domNodes": -228,
      "jsHeapTotalBytes": -532480,
      "scriptDurationMs": 30.552000000000003,
      "eventListeners": -142,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2001.3890000000174,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 3.207999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 482.977,
      "heapDeltaBytes": -7113820,
      "heapUsedBytes": 73214272,
      "domNodes": -228,
      "jsHeapTotalBytes": 516096,
      "scriptDurationMs": 29.460999999999995,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2108.851999999956,
      "styleRecalcs": 67,
      "styleRecalcDurationMs": 9.764999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1358.2739999999997,
      "heapDeltaBytes": 19300104,
      "heapUsedBytes": 84038808,
      "domNodes": 0,
      "jsHeapTotalBytes": 487424,
      "scriptDurationMs": 696.0260000000001,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2170.270999999957,
      "styleRecalcs": 70,
      "styleRecalcDurationMs": 11.721,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1352.4129999999998,
      "heapDeltaBytes": 15809856,
      "heapUsedBytes": 97290452,
      "domNodes": -228,
      "jsHeapTotalBytes": 1265664,
      "scriptDurationMs": 666.4630000000001,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3288.014999999973,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 12.213999999999999,
      "layouts": 60,
      "layoutDurationMs": 14.339999999999998,
      "taskDurationMs": 1480.0369999999998,
      "heapDeltaBytes": -5684416,
      "heapUsedBytes": 77936500,
      "domNodes": -228,
      "jsHeapTotalBytes": 4222976,
      "scriptDurationMs": 664.907,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3234.2899999999872,
      "styleRecalcs": 63,
      "styleRecalcDurationMs": 11.163,
      "layouts": 60,
      "layoutDurationMs": 13.721,
      "taskDurationMs": 1418.512,
      "heapDeltaBytes": 8127400,
      "heapUsedBytes": 74171940,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 652.9209999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2409.76500000005,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 7.233000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1622.2409999999998,
      "heapDeltaBytes": -8001552,
      "heapUsedBytes": 77599008,
      "domNodes": 0,
      "jsHeapTotalBytes": 5279744,
      "scriptDurationMs": 816.616,
      "eventListeners": 180,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 2436.3759999999957,
      "styleRecalcs": 49,
      "styleRecalcDurationMs": 7.595000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1619.348,
      "heapDeltaBytes": -10037312,
      "heapUsedBytes": 75379660,
      "domNodes": 0,
      "jsHeapTotalBytes": 5017600,
      "scriptDurationMs": 823.396,
      "eventListeners": 180,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "minimap-idle",
      "durationMs": 2032.197999999994,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 3.1990000000000003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 489.6830000000001,
      "heapDeltaBytes": -14562936,
      "heapUsedBytes": 74789456,
      "domNodes": -230,
      "jsHeapTotalBytes": 4222976,
      "scriptDurationMs": 31.36,
      "eventListeners": -174,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2009.6909999999752,
      "styleRecalcs": 6,
      "styleRecalcDurationMs": 1.9379999999999988,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 450.011,
      "heapDeltaBytes": 19697332,
      "heapUsedBytes": 84328476,
      "domNodes": -228,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 29.732999999999997,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 498.9140000000134,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 5.710999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 317.10299999999995,
      "heapDeltaBytes": 13029308,
      "heapUsedBytes": 76603160,
      "domNodes": 0,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 117.91499999999999,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 515.1799999999866,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 6.121999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 324.74399999999997,
      "heapDeltaBytes": 13407564,
      "heapUsedBytes": 77123032,
      "domNodes": 0,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 121.74799999999999,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66666666666665,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 1988.9769999999771,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 3.9700000000000015,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 369.99,
      "heapDeltaBytes": -3758624,
      "heapUsedBytes": 59809304,
      "domNodes": -244,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 8.247000000000002,
      "eventListeners": -210,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-idle",
      "durationMs": 1992.0230000000174,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 3.478,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 370.38000000000005,
      "heapDeltaBytes": -5854824,
      "heapUsedBytes": 57900248,
      "domNodes": -244,
      "jsHeapTotalBytes": 5234688,
      "scriptDurationMs": 7.301,
      "eventListeners": -210,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1694.3669999999997,
      "styleRecalcs": 74,
      "styleRecalcDurationMs": 15.633000000000001,
      "layouts": 16,
      "layoutDurationMs": 4.881,
      "taskDurationMs": 667.153,
      "heapDeltaBytes": -3990604,
      "heapUsedBytes": 59616268,
      "domNodes": -244,
      "jsHeapTotalBytes": 4448256,
      "scriptDurationMs": 94.231,
      "eventListeners": -210,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1694.8019999999815,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 16.142999999999997,
      "layouts": 16,
      "layoutDurationMs": 4.985999999999999,
      "taskDurationMs": 640.9449999999999,
      "heapDeltaBytes": -7859348,
      "heapUsedBytes": 56048056,
      "domNodes": -244,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 90.681,
      "eventListeners": -210,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 883.8620000000219,
      "styleRecalcs": 18,
      "styleRecalcDurationMs": 23.006999999999998,
      "layouts": 5,
      "layoutDurationMs": 9.673999999999998,
      "taskDurationMs": 715.9720000000001,
      "heapDeltaBytes": 21616116,
      "heapUsedBytes": 103763856,
      "domNodes": 13667,
      "jsHeapTotalBytes": 11010048,
      "scriptDurationMs": 21.595999999999997,
      "eventListeners": 2383,
      "totalBlockingTimeMs": 97,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8180.331999999964,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 35.391000000000005,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4740.897999999999,
      "heapDeltaBytes": -14832136,
      "heapUsedBytes": 65329528,
      "domNodes": -228,
      "jsHeapTotalBytes": 2351104,
      "scriptDurationMs": 2246.4210000000003,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8194.735000000037,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 35.724,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4802.120999999999,
      "heapDeltaBytes": -18986036,
      "heapUsedBytes": 68406312,
      "domNodes": -228,
      "jsHeapTotalBytes": 5271552,
      "scriptDurationMs": 2256.532,
      "eventListeners": -164,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 14521.976999999992,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 14432.035,
      "heapDeltaBytes": -48477920,
      "heapUsedBytes": 193315472,
      "domNodes": -8049,
      "jsHeapTotalBytes": -15667200,
      "scriptDurationMs": 207.567,
      "eventListeners": -14923,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.223333333333237,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 14687.893000000031,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 14569.724,
      "heapDeltaBytes": -50988300,
      "heapUsedBytes": 187123284,
      "domNodes": -8049,
      "jsHeapTotalBytes": -12431360,
      "scriptDurationMs": 216.94,
      "eventListeners": -14923,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 17191.964999999982,
      "styleRecalcs": 120,
      "styleRecalcDurationMs": 15.50399999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 17136.845,
      "heapDeltaBytes": -65481384,
      "heapUsedBytes": 168049772,
      "domNodes": -8049,
      "jsHeapTotalBytes": -14401536,
      "scriptDurationMs": 716.836,
      "eventListeners": -14923,
      "totalBlockingTimeMs": 15,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 17483.321000000047,
      "styleRecalcs": 125,
      "styleRecalcDurationMs": 15.842999999999996,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 17304.757999999998,
      "heapDeltaBytes": -47628076,
      "heapUsedBytes": 189326372,
      "domNodes": -8049,
      "jsHeapTotalBytes": -17743872,
      "scriptDurationMs": 736.2909999999999,
      "eventListeners": -14923,
      "totalBlockingTimeMs": 24,
      "frameDurationMs": 18.333333333333332,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 5347.904000000085,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 62.70599999999998,
      "layouts": 20,
      "layoutDurationMs": 24.392999999999997,
      "taskDurationMs": 5303.327,
      "heapDeltaBytes": -53780936,
      "heapUsedBytes": 183249528,
      "domNodes": -8049,
      "jsHeapTotalBytes": 17715200,
      "scriptDurationMs": 94.49600000000001,
      "eventListeners": -14923,
      "totalBlockingTimeMs": 263,
      "frameDurationMs": 17.219999999999953,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 5355.093000000011,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 61.75600000000001,
      "layouts": 20,
      "layoutDurationMs": 22.966,
      "taskDurationMs": 5294.44,
      "heapDeltaBytes": -31871384,
      "heapUsedBytes": 197114852,
      "domNodes": -8053,
      "jsHeapTotalBytes": 13430784,
      "scriptDurationMs": 92.133,
      "eventListeners": -14923,
      "totalBlockingTimeMs": 284,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 7331.13000000003,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 7240.783000000002,
      "heapDeltaBytes": 6160576,
      "heapUsedBytes": 197380368,
      "domNodes": 0,
      "jsHeapTotalBytes": -20971520,
      "scriptDurationMs": 104.86099999999993,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.780000000000047,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 7450.400000000059,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 7388.1590000000015,
      "heapDeltaBytes": 18313796,
      "heapUsedBytes": 190544828,
      "domNodes": 0,
      "jsHeapTotalBytes": -34603008,
      "scriptDurationMs": 106.62100000000002,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "workflow-execution",
      "durationMs": 98.01199999992605,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 13.963000000000001,
      "layouts": 4,
      "layoutDurationMs": 1.6500000000000001,
      "taskDurationMs": 71.77799999999999,
      "heapDeltaBytes": 3333520,
      "heapUsedBytes": 65408840,
      "domNodes": 121,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 9.414,
      "eventListeners": 17,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "workflow-execution",
      "durationMs": 439.23400000005586,
      "styleRecalcs": 15,
      "styleRecalcDurationMs": 13.171000000000001,
      "layouts": 3,
      "layoutDurationMs": 0.9140000000000001,
      "taskDurationMs": 85.72500000000001,
      "heapDeltaBytes": 4800868,
      "heapUsedBytes": 70415904,
      "domNodes": 99,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 8.319999999999997,
      "eventListeners": 65,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66666666666665,
      "p95FrameDurationMs": 16.800000000000182
    }
  ]
}

🔬 E2E Coverage

Metric Covered Total Pct
Lines 52491 79535 66.0% 🟡
Functions 0 0 — —
Branches 0 0 — —
Top 10 files by uncovered lines
File Coverage Missed
src/LGraphCanvas.ts 67.4% 1151
src/LGraphNode.ts 70.2% 388
src/extensions/core/cameraInfo/CameraInfoViewport.ts 2.5% 344
src/renderer/extensions/layerEditor/composables/useLayerEditorSession.ts 40.1% 332
src/platform/workspace/stores/billingOperationStore.ts 7.8% 320
src/LGraph.ts 78.7% 272
src/scripts/app.ts 72.1% 259
src/platform/workspace/stores/teamWorkspaceStore.ts 38.9% 256
src/core/billing/operationLifecycle.ts 0.9% 232
src/scripts/pnginfo.ts 20.8% 221

@codecov

codecov Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.21053% with 15 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ckages/account-core/src/core/webSessionIdentity.ts 84.21% 6 Missing and 9 partials ⚠️
@@            Coverage Diff             @@
##             main   #18715      +/-   ##
==========================================
- Coverage   83.94%   83.93%   -0.02%     
==========================================
  Files        3063     3064       +1     
  Lines      151676   151771      +95     
  Branches    39288    41402    +2114     
==========================================
+ Hits       127330   127391      +61     
- Misses      22914    22939      +25     
- Partials     1432     1441       +9     
Flag Coverage Δ
billing-web-unit 88.08% <ø> (ø)
e2e 65.99% <ø> (-0.04%) ⬇️
unit 81.04% <84.21%> (-0.01%) ⬇️
website-unit 76.88% <ø> (ø)

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

Files with missing lines Coverage Δ
...ckages/account-core/src/core/webSessionIdentity.ts 84.21% <84.21%> (ø)

... and 7 files with indirect coverage changes

🚀 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.

pull Bot pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Sep 24, 2026
…g#18707)

## Why

The "One Comfy session across comfy.org" TDD moves every first-party web
app onto one revocable session cookie on the Cloud host. The decisions
behind it, and above all why the cookie is host-only `__Host-` instead
of the domain-wide cookie first recorded in the Account Layer TDD,
cannot be read off the code. This ADR records them before the SDK and
app slices land, so reviewers of those slices have one place to check
against.

## How

- New
`docs/adr/AUTH-SESSION-0037-shared-web-session-on-a-host-only-cookie.md`:
the eight decisions (host-only `__Host-comfy_session`, opaque DB-backed
reference, provider-neutral session, workspace per request, stored CSRF
token + trusted Origin, new session per real sign-in, tokens stay for
non-web clients, one client flag with the server owning the AND), the
rejected alternatives with the reason each lost (domain-wide cookie:
vendor-operated hosts under comfy.org, sibling-host overwrite,
twin-cookie switch, rollback cleanup; signed cookie; workspace in
cookie; double-submit CSRF; cookie-only-for-sign-in; cookie on other
services; redirect hub; timer rotation), and the consequences.
- Index row in `docs/adr/README.md`. `pnpm adr:check` passes.
- Not in this PR: the README auth sections for `apps/website`,
`apps/billing-web` and `packages/account-core`. The ticket finalizes
them as the SDK and app slices land; writing them now would describe
code that does not exist yet.

## AS IS / TO BE

Docs only, no UI.

- AS IS: no ADR for the web session; the domain-wide cookie decision
exists only in the Account Layer TDD, amended in security review on
2026-09-24.
- TO BE: `AUTH-SESSION-0037` (Proposed) records the host-only decision
and the alternatives it rejected; `pnpm adr:check` → `ADR naming and
index validation passed`.

## docs.comfy.org suggestion

Once the flag ramps (FE-2907): a short "Signing in across Comfy sites"
note. Signing in on comfy.org, cloud.comfy.org or billing.comfy.org
signs you in on the others; signing out of one signs you out of all;
"sign out of all devices" ends every session. CLI, API keys and Desktop
are unchanged.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
(sections 4, 10, A10)
- Action items and dependency graph:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2893

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | `unified_web_session` client flag, off by default | BE-17135
to turn on; C11 for website/billing-web readers | Comfy-Org#18708 |
| FE-2892 | account-core web session client + error codes | C1, C3
(BE-17063 generated types) | Comfy-Org#18710, do not merge |
| **FE-2893 (this PR)** | ADR for the shared web session | none | Comfy-Org#18707
|
| FE-2901 | non-web clients stay on tokens (baseline) | FE-2895 for
`authorize()` rows | Comfy-Org#18711 |
| FE-2894 | session-backed identity + boot rules (stacked on Comfy-Org#18710) |
FE-2892, C3 | Comfy-Org#18715, do not merge |
| FE-2895 | `authorize()` for cookie requests (stacked on Comfy-Org#18710) |
FE-2892, C5 | Comfy-Org#18716, do not merge |
| FE-2897 | session lifecycle, heartbeat (stacked on Comfy-Org#18715) | FE-2894,
C1, C3 | Comfy-Org#18719, do not merge |
| FE-2906 | cross-origin E2E harness + §17 test ids | C3/C5/C6/C7 on
staging for the rows | Comfy-Org#18718 (harness only) |
| FE-2896, 2898–2900, 2902–2905, 2907, 2908 | apps, token mint, rollout,
cleanup | C5/C6/C7/C8/C11 contracts | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2893 thisPr
```

- Blocked by: nothing.
- Unblocks: nothing in code; it is the reference the SDK and app slices
(FE-2892 onward) are reviewed against.
zeus-onl pushed a commit to zeus-onl/ComfyUI_frontend that referenced this pull request Sep 25, 2026
…omfy-Org#18708)

## Why

The unified web session (TDD "One Comfy session across comfy.org") ships
dark behind one client flag, `unified_web_session`, so every later slice
(FE-2894 onward) can merge with the flag off and rollback is a flag
flip. This PR adds the flag reader and a request-level proof that
nothing changes while it is off.

## How

- `unified_web_session?: boolean` on `RemoteConfig`,
`ServerFeatureFlag.UNIFIED_WEB_SESSION`, and
`flags.unifiedWebSessionEnabled`, false outside cloud, then session
override (`?ff=`) > dev override (`ff:unified_web_session`) >
`/api/features` > `false`. Unlike `resolveFlag` there is no
`api.getServerFeature` fallback, so `/api/features` (where the backend
serves the AND) is the only server source, and only a literal `true`
counts, so a malformed value such as `"false"` stays off.
- It reads no other flag. The backend serves `unified_web_session` true
only when its own `web_session_enabled` is on for the caller (BE-17135,
cloud#10552); the frontend never combines them.
- Nothing reads the getter yet, so the app is unchanged. It is not added
to `startFeatureFlagTelemetry` either, because that would emit a new
evaluation event while the flag is off; FE-2907 can add it when the ramp
needs the metric.
- Scope note: the ticket also lists `apps/website` and
`apps/billing-web`. Those sites read the flag before they know the user,
which is open question 17 / C11 (not started). Their readers land with
C11 instead of guessing its shape here.

### The flag-off proof (`src/platform/auth/webSessionFlagOff.test.ts`)

Drives the real cloud auth code: real Pinia stores, the real
`Comfy.Cloud.SessionCookie` extension hooked through
`useCurrentUser().onUserResolved` / `onTokenRefreshed`, real
`useSessionCookie`, real `workspaceAuthStore` unified mint and refresh
scheduler, real `api.fetchApi`, and flags loaded through the real
`refreshRemoteConfig` from a stubbed `GET /api/features`. Only the
Firebase identity, telemetry, `reportError` and `distribution/types` are
faked. `fetch` is a recorder.

2x2, `it.for`: `unified_cloud_auth` ∈ {off, on} × `unified_web_session`
∈ {absent from `/api/features`, `false`}. Each row must produce exactly
the pinned request list (method, path, full lowercased header set,
`credentials`; WebSocket opens are recorded by URL) for each phase and
in total:

| Flow | `unified_cloud_auth` off | `unified_cloud_auth` on |
| --- | --- | --- |
| sign-in (`authStore.login()`) | `POST /api/auth/session` (Bearer
Firebase, `credentials: include`), then `POST {comfy-api}/customers`
(Bearer Firebase) | `POST /api/auth/token`, then `POST
/api/auth/session`, then `POST {comfy-api}/customers` |
| token refresh | `POST /api/auth/session` | `POST /api/auth/token`,
then `POST /api/auth/session` |
| API call | `GET /api/queue`, `POST /api/prompt` with Bearer Firebase +
`Comfy-User`, no credentials | same, with Bearer Cloud JWT |
| sign-out | `DELETE /api/auth/session` (`credentials: include`, no
headers), then the socket reconnects at `/ws` with no token | same |
| socket reconnect | `WebSocket /ws?token=<Firebase token>` | `WebSocket
/ws?token=<Cloud JWT>` |
| media URLs | `/api/view?filename=…&type=…&subfolder=` and the preview
with `&res=512`, no `workspace_id` | same |

Every row also asserts: no `X-Comfy-Workspace-ID`, `X-CSRF-Token` or
`X-Comfy-Client` on any request; `credentials: 'include'` only on the
session POST/DELETE; no `GET /api/auth/session`.

The file does not reference the new flag by type, so the identical file
ships in FE-2892 and FE-2901 and passes on plain `main` (verified).
Identical content merges cleanly in any order.

Mutation check: adding `X-Comfy-Client` to `fetchApi` headers → 4/4 rows
red; adding `credentials: 'include'` to `fetchApi` → 4/4 rows red;
adding `workspace_id` to the socket URL → 4/4 red; adding `X-CSRF-Token`
to the sign-out DELETE → 4/4 red; adding `workspace_id` to media URLs →
4/4 red; adding `credentials: 'include'` to customer provisioning → 4/4
red.

Combined check: `origin/main` + all four unified-web-session PRs
(Comfy-Org#18707, Comfy-Org#18708, Comfy-Org#18710, Comfy-Org#18711) merge without conflict. On that tree
the harness passes, `pnpm typecheck` and `pnpm knip` exit 0, and `pnpm
test:unit` gives 23807 passed with 17 failures, all in
`scripts/cicd/check-binary-size` and `reconcile-latest-release`. Those
fail the same way on plain `main` locally (exit 127, a missing local
tool), so they are unrelated. The only non-test runtime diff across the
four PRs is the flag getter and enum in `useFeatureFlags.ts` and one
`RemoteConfig` key; nothing in `src/` or `apps/` reads the getter or
imports `@comfyorg/account-core/webSession`.


## AS IS / TO BE

No UI; the evidence is tests.

- AS IS: no `unified_web_session` flag; cloud auth sends the requests
pinned above.
- TO BE: the flag exists, defaults off, and with it off (absent or
`false`) the cloud app sends exactly the same requests, for
`unified_cloud_auth` on and off.

```
pnpm exec vitest run src/composables/useFeatureFlags.test.ts src/platform/auth/webSessionFlagOff.test.ts
 Test Files  2 passed (2)
      Tests  95 passed (95)
```

Flag reader cases (`useFeatureFlags.test.ts`): off when `/api/features`
lacks it (even if the server-feature channel says `true`), failed to
load, or an override is malformed (`"true"`, `"false"`, `1`); on when
the server sends true on cloud; `ff:` and `?ff=` overrides honoured; off
outside cloud; independent of `unified_cloud_auth` in both directions.

Checks: `pnpm typecheck` exit 0, `pnpm knip` exit 0, eslint/oxlint/oxfmt
clean on changed files, `vitest run src/platform/auth src/composables
src/platform/remoteConfig src/stores/authStore` 2205 passed.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
(sections 15, 18)
- Action items and dependency graph:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2891
- Backend flag: Comfy-Org/cloud#10552 (BE-17135)

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| **FE-2891 (this PR)** | `unified_web_session` client flag, off by
default | BE-17135 to turn on; C11 for website/billing-web readers |
Comfy-Org#18708 |
| FE-2892 | account-core web session client + error codes | C1, C3
(BE-17063 generated types) | Comfy-Org#18710, do not merge |
| FE-2893 | ADR for the shared web session | none | Comfy-Org#18707 |
| FE-2901 | non-web clients stay on tokens (baseline) | FE-2895 for
`authorize()` rows | Comfy-Org#18711 |
| FE-2894 | session-backed identity + boot rules (stacked on Comfy-Org#18710) |
FE-2892, C3 | Comfy-Org#18715, do not merge |
| FE-2895 | `authorize()` for cookie requests (stacked on Comfy-Org#18710) |
FE-2892, C5 | Comfy-Org#18716, do not merge |
| FE-2897 | session lifecycle, heartbeat (stacked on Comfy-Org#18715) | FE-2894,
C1, C3 | Comfy-Org#18719, do not merge |
| FE-2906 | cross-origin E2E harness + §17 test ids | C3/C5/C6/C7 on
staging for the rows | Comfy-Org#18718 (harness only) |
| FE-2896, 2898–2900, 2902–2905, 2907, 2908 | apps, token mint, rollout,
cleanup | C5/C6/C7/C8/C11 contracts | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2891 thisPr
```

- Blocked by: BE-17135 to turn it on anywhere (the reader lands first
and stays off); C11 for the website and billing-web readers.
- Unblocks: FE-2894 (session-backed identity and boot rules), FE-2907
(ramp and rollback).
mattmillerai and others added 7 commits September 25, 2026 01:15
…client' into dante01yoon/fe-2894-web-session-boot

# Conflicts:
#	packages/account-core/src/core/importGuard.test.ts
… until its contract exists

An error body that does not parse now lets the status decide: 4xx is
SESSION_REQUEST_REFUSED (not retryable), 429/5xx stay SESSION_UNAVAILABLE.
revokeAllWebSessions is removed until cloud#10589 adds the route and its
generated schema. createWebSession can check the read-back user.
…client' into dante01yoon/fe-2894-web-session-boot
@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to cloud/1.55 failed

Reason: Merge conflicts detected during cherry-pick of 1699fa8

The auto-backport could not be completed automatically. Please backport
manually onto branch backport-18715-to-cloud-1.55 (from origin/cloud/1.55) and
open a PR to cloud/1.55.

📄 Conflicting files
packages/account-core/package.json
packages/account-core/scripts/smokePack.ts
packages/account-core/src/webSessionInertImport.test.ts
🤖 Prompt for AI Agents
Backport PR #18715 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/18715) to cloud/1.55.
Cherry-pick merge commit 1699fa811b35e2bdc952e67db332e8374cdec3e1 onto new branch
backport-18715-to-cloud-1.55 from origin/cloud/1.55.
Resolve conflicts in: packages/account-core/package.json packages/account-core/scripts/smokePack.ts packages/account-core/src/webSessionInertImport.test.ts .



For test snapshots (browser_tests/**/*-snapshots/), accept PR version if
changed in original PR, else keep target. For package.json versions, keep
target branch. For pnpm-lock.yaml, regenerate with pnpm install.
Ask user for non-obvious conflicts.
Create PR titled "[backport cloud/1.55] <original title>" with label "backport".
See .github/workflows/pr-backport.yaml for workflow details.

cc @dante01yoon

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to core/1.55 failed

Reason: Merge conflicts detected during cherry-pick of 1699fa8

The auto-backport could not be completed automatically. Please backport
manually onto branch backport-18715-to-core-1.55 (from origin/core/1.55) and
open a PR to core/1.55.

This may be a stacking conflict rather than a real one. #18668 are still open against core/1.55. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the needs-backport label to re-run this workflow.

📄 Conflicting files
packages/account-core/package.json
packages/account-core/scripts/smokePack.ts
packages/account-core/src/webSessionInertImport.test.ts
🤖 Prompt for AI Agents
Backport PR #18715 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/18715) to core/1.55.
Cherry-pick merge commit 1699fa811b35e2bdc952e67db332e8374cdec3e1 onto new branch
backport-18715-to-core-1.55 from origin/core/1.55.
Resolve conflicts in: packages/account-core/package.json packages/account-core/scripts/smokePack.ts packages/account-core/src/webSessionInertImport.test.ts .

> **This may be a stacking conflict rather than a real one.** #18668 are still open against `core/1.55`. If this PR sits on top of any of them, the conflict will disappear once they merge — wait for that, then remove and re-add the `needs-backport` label to re-run this workflow.

For test snapshots (browser_tests/**/*-snapshots/), accept PR version if
changed in original PR, else keep target. For package.json versions, keep
target branch. For pnpm-lock.yaml, regenerate with pnpm install.
Ask user for non-obvious conflicts.
Create PR titled "[backport core/1.55] <original title>" with label "backport".
See .github/workflows/pr-backport.yaml for workflow details.

cc @dante01yoon

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to cloud/1.55 failed

Reason: Merge conflicts detected during cherry-pick of 1699fa8

The auto-backport could not be completed automatically. Please backport
manually onto branch backport-18715-to-cloud-1.55 (from origin/cloud/1.55) and
open a PR to cloud/1.55.

📄 Conflicting files
packages/account-core/package.json
packages/account-core/scripts/smokePack.ts
packages/account-core/src/webSessionInertImport.test.ts
🤖 Prompt for AI Agents
Backport PR #18715 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/18715) to cloud/1.55.
Cherry-pick merge commit 1699fa811b35e2bdc952e67db332e8374cdec3e1 onto new branch
backport-18715-to-cloud-1.55 from origin/cloud/1.55.
Resolve conflicts in: packages/account-core/package.json packages/account-core/scripts/smokePack.ts packages/account-core/src/webSessionInertImport.test.ts .



For test snapshots (browser_tests/**/*-snapshots/), accept PR version if
changed in original PR, else keep target. For package.json versions, keep
target branch. For pnpm-lock.yaml, regenerate with pnpm install.
Ask user for non-obvious conflicts.
Create PR titled "[backport cloud/1.55] <original title>" with label "backport".
See .github/workflows/pr-backport.yaml for workflow details.

cc @dante01yoon

dante01yoon added a commit that referenced this pull request Sep 27, 2026
… mint from the web session (#19000)

Backport of #18870 to `core/1.55` (cherry-pick -x of
70ce571).

## Why
Ships the lazy workspace-token mint
(`@comfyorg/account-core/sessionTokenMint`) on the 1.55 line, next to
`authorize()` from #18716 (already backported as #18940/#18941).

## Root cause
The backport bot hit conflicts in `packages/account-core/package.json`
(exports), `scripts/smokePack.ts`, `src/core/importGuard.test.ts` and
`src/webSessionInertImport.test.ts`. On main these lists also carry
`webSessionIdentity` from #18715 (FE-2894), which is not on 1.55.

## How
Kept the release branch's code and added only #18870's own entries: the
`./sessionTokenMint` export (source + dist), its smoke-pack
import/value/type, its inert-import case, and the Firebase import-guard
case (`it.for(['webSession.ts', 'sessionTokenMint.ts'])`). Dropped every
`webSessionIdentity` entry. `sessionTokenMint.ts` and its test apply
unchanged; they import only `requestAuth`, `credentialCache`,
`sessionContracts`, `testing` and `@comfyorg/ingest-types/zod`, all
present on 1.55. Verified with `pnpm typecheck:account-core` and the
sessionTokenMint, importGuard, webSessionInertImport and requestAuth
vitest files (73 passed).

## AS IS / TO BE
No UI change (inert behind `unified_web_session`).

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
christian-byrne pushed a commit that referenced this pull request Sep 27, 2026
…tity source and boot rules (#19019)

Backport of #18715 to `cloud/1.55` (cherry-pick -x of 1699fa8).

## Why

The unified web session stack is going to 1.55. #18715 adds
`@comfyorg/account-core/webSessionIdentity`
(`packages/account-core/src/core/webSessionIdentity.ts`), the
session-backed identity source and boot rules that #18719 builds on. Its
dependencies (#18710 `webSession`, #18716 `requestAuth`) are already on
`cloud/1.55`.

## Root cause (what conflicted)

`packages/account-core/package.json` (exports), `scripts/smokePack.ts`
and `src/webSessionInertImport.test.ts`: adjacent-line conflicts where
`cloud/1.55` already lists `requestAuth` (from the #18716 backport) at
the same spot #18715 inserts `webSessionIdentity`. `importGuard.test.ts`
applied cleanly.

## How

Kept the release branch's `requestAuth` entries and added only #18715's
own `webSessionIdentity` entries, in main's order (`requestAuth` then
`webSessionIdentity`). No other main-only entries (`sessionTokenMint`
etc.) were pulled in. `webSessionIdentity.ts` and its test apply
verbatim.

Validation: `pnpm typecheck:account-core` exit 0; vitest
`webSessionIdentity`, `webSession`, `importGuard`,
`webSessionInertImport` 75/75 pass; package.json parses.

## AS IS / TO BE

No UI change (inert behind `unified_web_session`).

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
christian-byrne pushed a commit that referenced this pull request Sep 27, 2026
…ules (#18715)

> **Do not merge** until BE-17063 (`GET /api/auth/session`, cloud#10549,
merged) is deployed on testcloud (the web session backend is not on
staging yet). #18710 (FE-2892) is merged; this PR now targets `main` and
the diff shows only this ticket.

A site that joins the shared web session has to decide at boot who is
signed in: the session on ingest, a login this browser remembers, or
nobody. TDD §12's boot table defines that, and §8 defines the silent
restore that lets every existing user migrate without signing in again.
This PR is that decision, as a pure state machine in
`@comfyorg/account-core`, inert until a host calls `boot()`.

New entry `@comfyorg/account-core/webSessionIdentity`
(`packages/account-core/src/core/webSessionIdentity.ts`):

- `createWebSessionIdentity({ session, principal, origin, onBootstrap?,
schedule?, retryBaseMs?, retryMaxMs? })` → `{ getState, subscribe, boot,
dispose }`. Constructing it sends nothing and starts nothing.
- `principal`: `{ kind: 'account', rememberedLogin }` or `{ kind:
'api_key' }`. An API-key principal never enters the machine and never
touches `/api/auth/session`.
- `RememberedLogin` is an opaque port (`currentUserId`, `getProof`
returning `string | null`, `signOutLocally`), so the core imports no
provider. `importGuard` now walks the import chain from
`webSessionIdentity.ts`.
- One discriminated state (`idle | api_key | reading | retry_wait |
restoring | signed_in | signed_out`), one pure
`transitionWebSessionIdentity(state, event)` returning `{ state, effects
}`; the shell only runs effects (`read`, `restore`, `schedule_retry`,
`sign_out_locally`, `report`). `session_bootstrap` (outcome, origin)
goes out through `onBootstrap`.

| `GET /session` | Result |
| --- | --- |
| 200 | `signed_in`; if the remembered login is a different user, sign
it out locally |
| 401 `session_revoked` | `signed_out(revoked)`, local sign-out, never a
silent restore |
| 401 `no_session` / `session_expired`, login remembered | silent
restore (`createWebSession` with the remembered proof); success →
`signed_in(restored)`; a completed failure →
`signed_out(restore_failed)` |
| 401 `no_session` / `session_expired`, nothing remembered |
`signed_out` |
| `SESSION_UNAVAILABLE` (network, 429, 5xx) | `retry_wait`, backoff 1s
doubling to 60s, never signs out |

- A restore that fails transiently (network, 5xx, or `getProof`
throwing) is not spent: after backoff it re-reads first, so a POST that
landed but lost its answer yields 200 and no second POST. `getProof`
returning `null` is permanent (`restore_failed`, no local sign-out). A
restore that gets a real answer completes at most once per boot.
- The SDK keeps no record of past sessions; the server's answer decides.
- Not wired into any app yet (FE-2896 website, FE-2903 cloud). The
shared flag-off harness from #18708/#18710 is inherited from the base
and stays green.

No UI; the evidence is tests with injected time and the package fakes,
no sleeps.

- AS IS: no boot logic for the web session.
- TO BE: one test per boot-table row (row 1 split by remembered user
same/different/none; row 3 for both 401 codes), backoff 1000 → 2000 then
sign-in with zero sign-outs, restore lost twice then restored (`GET POST
GET POST GET POST GET`), a landed-but-unanswered POST (`GET POST GET`,
no second POST), `getProof` null / throwing, a pure table of restore
answers, API key → zero requests.

```
pnpm --filter @comfyorg/account-core test   Test Files 62 passed, Tests 1070 passed
pnpm --filter @comfyorg/account-core typecheck / lint   exit 0
pnpm typecheck   exit 0
pnpm knip        exit 0
pnpm fallow audit --base <FE-2892 branch>   No issues in 6 changed files
```

Mutation checks (each reverted): `session_revoked` restores → red;
network error on read signs out → red; transient restore failure signs
out → red; completed restore failure retries → red; thrown proof signs
out → red.

Size: `webSessionIdentity.ts` is 336 lines, mostly the state, event and
effect types; the transition itself is small.

For review: `RememberedLogin.currentUserId()` must return the Comfy user
id, since it is compared with the session's `user.id`. The host adapters
(FE-2896/FE-2903) need to confirm that equals the Firebase uid.

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
(sections 8, 12, A8)
- Action items and dependency graph:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2894

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | `unified_web_session` client flag, off by default | BE-17135
to turn on; C11 for website/billing-web readers | #18708 |
| FE-2892 | account-core web session client + error codes | C1, C3
(BE-17063 generated types) | #18710, do not merge |
| FE-2893 | ADR for the shared web session | none | #18707 |
| FE-2901 | non-web clients stay on tokens (baseline) | FE-2895 for
`authorize()` rows | #18711 |
| **FE-2894 (this PR)** | session-backed identity + boot rules (stacked
on #18710) | FE-2892, C3 | #18715, do not merge |
| FE-2895 | `authorize()` for cookie requests (stacked on #18710) |
FE-2892, C5 | #18716, do not merge |
| FE-2897 | session lifecycle, heartbeat (stacked on #18715) | FE-2894,
C1, C3 | #18719, do not merge |
| FE-2906 | cross-origin E2E harness + §17 test ids | C3/C5/C6/C7 on
staging for the rows | #18718 (harness only) |
| FE-2896, 2898–2900, 2902–2905, 2907, 2908 | apps, token mint, rollout,
cleanup | C5/C6/C7/C8/C11 contracts | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2894 thisPr
```

- Blocked by: #18710 (FE-2892) and BE-17063 (C3). FE-2891 gates it at
the host, not here.
- Unblocks: FE-2896 (website header), FE-2897 (lifecycle, heartbeat),
FE-2898 (billing-web).

---------

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
(cherry picked from commit 1699fa8)
christian-byrne pushed a commit that referenced this pull request Sep 27, 2026
…ete on sign-out, heartbeat (#18719)

> **Stacked on #18715 (FE-2894) → #18710 (FE-2892). Do not merge** until
those merge and BE-17061 (C1) and BE-17063 (C3) are on testcloud (the
web session backend is not on staging yet). The base of this PR is the
FE-2894 branch.

## Why

With one shared session, signing in or out on one site has to reach
every open tab on every other site, and a tab must never finish Alice's
action as Bob. TDD §7, §12 and A8 define how: create the session only on
a real sign-in, delete it on sign-out, and run a heartbeat that notices
a remote sign-out or an account change and tells the app to reset.

## How

This extends the FE-2894 state machine rather than adding a second
module, so there is still one state and one pure transition.

- `signedIn(getProof)`: the host calls it only after an interactive
sign-in. A token refresh never creates a session.
- `signOut()`: signs the tab out at once, sends `DELETE
/api/auth/session` (which works on a dead session), and tells sibling
tabs.
- Heartbeat: `GET /session` every 10 minutes while the tab is visible,
and once when it becomes visible. The GET never extends the idle timer.
  - A new CSRF token is adopted silently.
  - `session_revoked` → signed out.
- `no_session`/`session_expired` → restore in place from the remembered
login, without bumping the epoch.
- `SESSION_UNAVAILABLE` and other ambiguous answers keep the user signed
in; the next beat tries again.
- Cross-tab: within one site, only a visible, signed-in tab holds the
lead and beats. Siblings adopt `ok` and `revoked` answers over the
existing broadcast port and validate each message with a schema before
adopting it.
- `CrossTabRefreshPort` gains a message type parameter (`<Message =
AccountCredential>`). The change is type-only, and the cloud app's
existing `createWebCrossTabRefreshPort()` call keeps the same runtime
behaviour.
- `createWebVisibilityPort()` joins `./web`, so the core still touches
no browser global.
- Account change: `onAccountChanged` fires on a remote sign-out, a
different user in any answer, and the host's own sign-out. `getEpoch()`
goes up on each change, and an answer started under an older epoch is
discarded. The host tags requests with the epoch and clears its own
caches, workspace selection and socket (FE-2903). `onSignedOutRemotely`
is the `session_signed_out_remotely` event (revoked only).
- Inert until `boot()`: nothing watches visibility or the channel before
then; the inert-import test now covers `./web`.
- Size: about 358 net non-test lines, over the ~300 guideline. If you
want it smaller, the split is cross-tab adoption + the visibility port +
the generic port type (~70 lines) into a follow-up, or the pure
transition into its own module.

## AS IS / TO BE

No UI; the evidence is tests with injected time, fake visibility and a
fake cross-tab port, no sleeps.

- AS IS: no session lifecycle or heartbeat.
- TO BE: `webSessionIdentity.lifecycle.test.ts` covers:
- a sign-out on another site reaching this tab at its next beat or on
focus;
- a different user in a heartbeat resetting state, with a pending answer
from the old epoch dropped;
  - a hidden tab never beating;
  - followers adopting instead of reading;
  - a token refresh never creating a session;
  - `SESSION_UNAVAILABLE` never signing out.

```
pnpm --filter @comfyorg/account-core test   Tests 1094 passed
pnpm --filter @comfyorg/account-core typecheck / lint   clean
pnpm typecheck   clean
pnpm knip        clean
pnpm fallow audit --base <FE-2894 branch>   No issues in 6 changed files
```

Mutation checks (each reverted):

| Mutation | Result |
| --- | --- |
| hidden tab beats | 2 red |
| followers read too | 1 red |
| heartbeat creates a session | 5 red |
| `SESSION_UNAVAILABLE` signs out | 1 red |
| old-epoch answer applied after an account change | 1 red |

For review:
- The CSRF token travels on the same-origin broadcast channel, the same
trust boundary the port already documents for the workspace token.
- `signOut()` calls `RememberedLogin.signOutLocally` itself, which may
overlap the host's own Firebase sign-out.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
(sections 7, 12, 15 F2, A8)
- Action items and dependency graph:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2897

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | `unified_web_session` client flag, off by default | BE-17135
to turn on; C11 for website/billing-web readers | #18708 |
| FE-2892 | account-core web session client + error codes | C1, C3
(BE-17063 generated types) | #18710, do not merge |
| FE-2893 | ADR for the shared web session | none | #18707 |
| FE-2901 | non-web clients stay on tokens (baseline) | FE-2895 for
`authorize()` rows | #18711 |
| FE-2894 | session-backed identity + boot rules (stacked on #18710) |
FE-2892, C3 | #18715, do not merge |
| FE-2895 | `authorize()` for cookie requests (stacked on #18710) |
FE-2892, C5 | #18716, do not merge |
| **FE-2897 (this PR)** | session lifecycle, heartbeat (stacked on
#18715) | FE-2894, C1, C3 | #18719, do not merge |
| FE-2906 | cross-origin E2E harness + §17 test ids | C3/C5/C6/C7 on
staging for the rows | #18718 (harness only) |
| FE-2896, 2898–2900, 2902–2905, 2907, 2908 | apps, token mint, rollout,
cleanup | C5/C6/C7/C8/C11 contracts | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2897 thisPr
```

- Blocked by: #18715 (FE-2894), #18710 (FE-2892), BE-17061 (C1),
BE-17063 (C3).
- Unblocks: FE-2903 (cloud app joins the lifecycle), and through it
FE-2904, FE-2905 and FE-2906 rows E2E-02/05/07.

---------

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
(cherry picked from commit 1685d33)
christian-byrne pushed a commit that referenced this pull request Sep 27, 2026
…ity source and boot rules (#19018)

Backport of #18715 to `core/1.55` (cherry-pick -x of 1699fa8).

## Why

The unified web session stack is going to 1.55. #18715 adds
`@comfyorg/account-core/webSessionIdentity`
(`packages/account-core/src/core/webSessionIdentity.ts`), the
session-backed identity source and boot rules that #18719 builds on. Its
dependencies (#18710 `webSession`, #18716 `requestAuth`) are already on
`core/1.55`.

## Root cause (what conflicted)

`packages/account-core/package.json` (exports), `scripts/smokePack.ts`
and `src/webSessionInertImport.test.ts`: adjacent-line conflicts where
`core/1.55` already lists `requestAuth` (from the #18716 backport) at
the same spot #18715 inserts `webSessionIdentity`. `importGuard.test.ts`
applied cleanly.

## How

Kept the release branch's `requestAuth` entries and added only #18715's
own `webSessionIdentity` entries, in main's order (`requestAuth` then
`webSessionIdentity`). No other main-only entries (`sessionTokenMint`
etc.) were pulled in. `webSessionIdentity.ts` and its test apply
verbatim.

Validation: `pnpm typecheck:account-core` exit 0; vitest
`webSessionIdentity`, `webSession`, `importGuard`,
`webSessionInertImport` 75/75 pass; package.json parses.

## AS IS / TO BE

No UI change (inert behind `unified_web_session`).

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
christian-byrne pushed a commit that referenced this pull request Sep 27, 2026
…ete on sign-out, heartbeat (#18719)

> **Stacked on #18715 (FE-2894) → #18710 (FE-2892). Do not merge** until
those merge and BE-17061 (C1) and BE-17063 (C3) are on testcloud (the
web session backend is not on staging yet). The base of this PR is the
FE-2894 branch.

## Why

With one shared session, signing in or out on one site has to reach
every open tab on every other site, and a tab must never finish Alice's
action as Bob. TDD §7, §12 and A8 define how: create the session only on
a real sign-in, delete it on sign-out, and run a heartbeat that notices
a remote sign-out or an account change and tells the app to reset.

## How

This extends the FE-2894 state machine rather than adding a second
module, so there is still one state and one pure transition.

- `signedIn(getProof)`: the host calls it only after an interactive
sign-in. A token refresh never creates a session.
- `signOut()`: signs the tab out at once, sends `DELETE
/api/auth/session` (which works on a dead session), and tells sibling
tabs.
- Heartbeat: `GET /session` every 10 minutes while the tab is visible,
and once when it becomes visible. The GET never extends the idle timer.
  - A new CSRF token is adopted silently.
  - `session_revoked` → signed out.
- `no_session`/`session_expired` → restore in place from the remembered
login, without bumping the epoch.
- `SESSION_UNAVAILABLE` and other ambiguous answers keep the user signed
in; the next beat tries again.
- Cross-tab: within one site, only a visible, signed-in tab holds the
lead and beats. Siblings adopt `ok` and `revoked` answers over the
existing broadcast port and validate each message with a schema before
adopting it.
- `CrossTabRefreshPort` gains a message type parameter (`<Message =
AccountCredential>`). The change is type-only, and the cloud app's
existing `createWebCrossTabRefreshPort()` call keeps the same runtime
behaviour.
- `createWebVisibilityPort()` joins `./web`, so the core still touches
no browser global.
- Account change: `onAccountChanged` fires on a remote sign-out, a
different user in any answer, and the host's own sign-out. `getEpoch()`
goes up on each change, and an answer started under an older epoch is
discarded. The host tags requests with the epoch and clears its own
caches, workspace selection and socket (FE-2903). `onSignedOutRemotely`
is the `session_signed_out_remotely` event (revoked only).
- Inert until `boot()`: nothing watches visibility or the channel before
then; the inert-import test now covers `./web`.
- Size: about 358 net non-test lines, over the ~300 guideline. If you
want it smaller, the split is cross-tab adoption + the visibility port +
the generic port type (~70 lines) into a follow-up, or the pure
transition into its own module.

## AS IS / TO BE

No UI; the evidence is tests with injected time, fake visibility and a
fake cross-tab port, no sleeps.

- AS IS: no session lifecycle or heartbeat.
- TO BE: `webSessionIdentity.lifecycle.test.ts` covers:
- a sign-out on another site reaching this tab at its next beat or on
focus;
- a different user in a heartbeat resetting state, with a pending answer
from the old epoch dropped;
  - a hidden tab never beating;
  - followers adopting instead of reading;
  - a token refresh never creating a session;
  - `SESSION_UNAVAILABLE` never signing out.

```
pnpm --filter @comfyorg/account-core test   Tests 1094 passed
pnpm --filter @comfyorg/account-core typecheck / lint   clean
pnpm typecheck   clean
pnpm knip        clean
pnpm fallow audit --base <FE-2894 branch>   No issues in 6 changed files
```

Mutation checks (each reverted):

| Mutation | Result |
| --- | --- |
| hidden tab beats | 2 red |
| followers read too | 1 red |
| heartbeat creates a session | 5 red |
| `SESSION_UNAVAILABLE` signs out | 1 red |
| old-epoch answer applied after an account change | 1 red |

For review:
- The CSRF token travels on the same-origin broadcast channel, the same
trust boundary the port already documents for the workspace token.
- `signOut()` calls `RememberedLogin.signOutLocally` itself, which may
overlap the host's own Firebase sign-out.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
(sections 7, 12, 15 F2, A8)
- Action items and dependency graph:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2897

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | `unified_web_session` client flag, off by default | BE-17135
to turn on; C11 for website/billing-web readers | #18708 |
| FE-2892 | account-core web session client + error codes | C1, C3
(BE-17063 generated types) | #18710, do not merge |
| FE-2893 | ADR for the shared web session | none | #18707 |
| FE-2901 | non-web clients stay on tokens (baseline) | FE-2895 for
`authorize()` rows | #18711 |
| FE-2894 | session-backed identity + boot rules (stacked on #18710) |
FE-2892, C3 | #18715, do not merge |
| FE-2895 | `authorize()` for cookie requests (stacked on #18710) |
FE-2892, C5 | #18716, do not merge |
| **FE-2897 (this PR)** | session lifecycle, heartbeat (stacked on
#18715) | FE-2894, C1, C3 | #18719, do not merge |
| FE-2906 | cross-origin E2E harness + §17 test ids | C3/C5/C6/C7 on
staging for the rows | #18718 (harness only) |
| FE-2896, 2898–2900, 2902–2905, 2907, 2908 | apps, token mint, rollout,
cleanup | C5/C6/C7/C8/C11 contracts | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2897 thisPr
```

- Blocked by: #18715 (FE-2894), #18710 (FE-2892), BE-17061 (C1),
BE-17063 (C3).
- Unblocks: FE-2903 (cloud app joins the lifecycle), and through it
FE-2904, FE-2905 and FE-2906 rows E2E-02/05/07.

---------

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
(cherry picked from commit 1685d33)
christian-byrne pushed a commit that referenced this pull request Sep 27, 2026
…ssion (#18870)

> **Stacked on #18716 (FE-2895). Do not merge** until #18716 merges and
C8 (BE-17069, cloud#10585 + #10697: `POST /api/auth/token` accepts the
cookie) is on testcloud.

## Why

comfy-api and the other services cannot read the session cookie. A site
that arrived by session has no Firebase login to hand them. TDD §7/§12
has the site mint a short-lived workspace token from the session, lazily
and only when a non-ingest call needs one. This is the token source
`authorize()` (#18716) takes for its `resource` target.

## How

New entry `@comfyorg/account-core/sessionTokenMint`:
`createSessionTokenMint({ apiBaseUrl, fetchImpl, getSession, now?,
refreshBufferMs? })` returns:
- `mint(workspaceId?)`, which returns a coded result;
- `getWorkspaceToken(workspaceId?)`, which plugs into
`createRequestAuthorizer({ getWorkspaceToken })` and rejects with
`SessionTokenError` on failure.

Details:
- **Request.** `POST /auth/token` with `credentials: 'include'`,
`X-Comfy-Client`, `X-CSRF-Token` and `X-Comfy-Workspace-ID`. The body is
`{}` for the personal workspace or `{ workspace_id }`. No
`Authorization` header is sent. The response is parsed with the
generated `zExchangeTokenResponse`, since C8 leaves the 200 shape
unchanged.
- **Lazy.** Nothing is sent until the first call.
- **Cache.** Tokens are cached per workspace and owned by the current
session user, and reused until 60 s before expiry. Concurrent callers
for one workspace share a single request. A user change or sign-out
drops the cache and anything in flight, and a token that arrives after
the user changed is not cached.
- **Failure codes.** A 401 is the session's code (and clears the cache).
403 `csrf_invalid` is `CSRF_STALE` and 403 `workspace_access_denied` is
`WORKSPACE_ACCESS_DENIED`. Other 403s, 400 and 404 are refused. 5xx and
network errors are transient. A 429 carries `retryAfterMs` and holds
further requests until then.
- **Inert on import.** It is added to the importGuard closure, the
inert-import test, package exports and smokePack. No app wires it yet,
and the flag-off harness is unchanged (4/4).
- **For review:**
- It sends `X-Comfy-Workspace-ID` equal to the body's `workspace_id`. C8
only rejects a header that names a different workspace; if you'd rather
send none, it's a one-line removal.
- It has its own classifier because C8 defines a code-less 401 as a dead
session, where `webSession.ts` refuses it.

## AS IS / TO BE

No UI; the evidence is tests.

- AS IS: a session-only site has no token for comfy-api.
- TO BE: tests cover zero requests before the first call, headers and
credentials, cache hit, re-mint at expiry, single-flight, the cache
dropping on a user change, per-workspace keys, a late token not cached
across users, 401/403/404/429/5xx mapping, and Retry-After.

Eight mutations, each reverted with the full suite rerun, all go red:
cache key, user-change drop, expiry buffer, credentials, single-flight,
Retry-After, stale-owner guard, and 401 cache clear.

Checks: account-core 1139 tests pass; typecheck, lint, knip, fallow and
smoke:pack are clean.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
(sections 7, 9, 12, F6)
- Action items:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2900
- Contract: Comfy-Org/cloud#10585, Comfy-Org/cloud#10697

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | flag (cloud) + website/billing-web readers | C11 cloud#10689
+ probe switch (readers) | #18708 merged; readers in progress |
| FE-2892 | web session client (+ revoke-all follow-up) | C2a
cloud#10589 for revoke-all | #18710 merged; revoke-all #18869, do not
merge |
| FE-2893 | ADR | none | #18707 merged |
| FE-2894 | identity + boot rules | BE-17063 on testcloud | #18715, do
not merge |
| FE-2895 | `authorize()` | C5 cloud#10555 | #18716, do not merge |
| FE-2897 | lifecycle, heartbeat | FE-2894, C1 | #18719, do not merge |
| **FE-2900 (this PR)** | lazy token mint from the session | FE-2895, C8
cloud#10585 | #18870, do not merge |
| FE-2901 | non-web clients stay on tokens | — | #18711 |
| FE-2903 | cloud app joins the lifecycle | FE-2897 | #18871, do not
merge |
| FE-2904 | cloud API client on `authorize()` | FE-2903, FE-2895, C5 |
in progress |
| FE-2905 | socket + media carry workspace | FE-2904, C6, C7 | next |
| FE-2896 / 2899 / 2898 | website header, website credits, billing-web |
FE-2891 readers, FE-2894/2895, C5, C11 | next |
| FE-2906 | cross-origin E2E harness | — | #18718 (harness only) |
| FE-2902 / 2907 / 2908 | platform, rollout, cleanup | other repo / ops
/ after ramp | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2900 thisPr
```

- Blocked by: #18716 (FE-2895) and C8 cloud#10585 on testcloud.
- Unblocks: comfy-api callers on session sites (FE-2904 host wiring,
FE-2898 billing-web).

---------

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
(cherry picked from commit 70ce571)
christian-byrne pushed a commit that referenced this pull request Sep 27, 2026
…ete on sign-out, heartbeat (#18719)

> **Stacked on #18715 (FE-2894) → #18710 (FE-2892). Do not merge** until
those merge and BE-17061 (C1) and BE-17063 (C3) are on testcloud (the
web session backend is not on staging yet). The base of this PR is the
FE-2894 branch.

## Why

With one shared session, signing in or out on one site has to reach
every open tab on every other site, and a tab must never finish Alice's
action as Bob. TDD §7, §12 and A8 define how: create the session only on
a real sign-in, delete it on sign-out, and run a heartbeat that notices
a remote sign-out or an account change and tells the app to reset.

## How

This extends the FE-2894 state machine rather than adding a second
module, so there is still one state and one pure transition.

- `signedIn(getProof)`: the host calls it only after an interactive
sign-in. A token refresh never creates a session.
- `signOut()`: signs the tab out at once, sends `DELETE
/api/auth/session` (which works on a dead session), and tells sibling
tabs.
- Heartbeat: `GET /session` every 10 minutes while the tab is visible,
and once when it becomes visible. The GET never extends the idle timer.
  - A new CSRF token is adopted silently.
  - `session_revoked` → signed out.
- `no_session`/`session_expired` → restore in place from the remembered
login, without bumping the epoch.
- `SESSION_UNAVAILABLE` and other ambiguous answers keep the user signed
in; the next beat tries again.
- Cross-tab: within one site, only a visible, signed-in tab holds the
lead and beats. Siblings adopt `ok` and `revoked` answers over the
existing broadcast port and validate each message with a schema before
adopting it.
- `CrossTabRefreshPort` gains a message type parameter (`<Message =
AccountCredential>`). The change is type-only, and the cloud app's
existing `createWebCrossTabRefreshPort()` call keeps the same runtime
behaviour.
- `createWebVisibilityPort()` joins `./web`, so the core still touches
no browser global.
- Account change: `onAccountChanged` fires on a remote sign-out, a
different user in any answer, and the host's own sign-out. `getEpoch()`
goes up on each change, and an answer started under an older epoch is
discarded. The host tags requests with the epoch and clears its own
caches, workspace selection and socket (FE-2903). `onSignedOutRemotely`
is the `session_signed_out_remotely` event (revoked only).
- Inert until `boot()`: nothing watches visibility or the channel before
then; the inert-import test now covers `./web`.
- Size: about 358 net non-test lines, over the ~300 guideline. If you
want it smaller, the split is cross-tab adoption + the visibility port +
the generic port type (~70 lines) into a follow-up, or the pure
transition into its own module.

## AS IS / TO BE

No UI; the evidence is tests with injected time, fake visibility and a
fake cross-tab port, no sleeps.

- AS IS: no session lifecycle or heartbeat.
- TO BE: `webSessionIdentity.lifecycle.test.ts` covers:
- a sign-out on another site reaching this tab at its next beat or on
focus;
- a different user in a heartbeat resetting state, with a pending answer
from the old epoch dropped;
  - a hidden tab never beating;
  - followers adopting instead of reading;
  - a token refresh never creating a session;
  - `SESSION_UNAVAILABLE` never signing out.

```
pnpm --filter @comfyorg/account-core test   Tests 1094 passed
pnpm --filter @comfyorg/account-core typecheck / lint   clean
pnpm typecheck   clean
pnpm knip        clean
pnpm fallow audit --base <FE-2894 branch>   No issues in 6 changed files
```

Mutation checks (each reverted):

| Mutation | Result |
| --- | --- |
| hidden tab beats | 2 red |
| followers read too | 1 red |
| heartbeat creates a session | 5 red |
| `SESSION_UNAVAILABLE` signs out | 1 red |
| old-epoch answer applied after an account change | 1 red |

For review:
- The CSRF token travels on the same-origin broadcast channel, the same
trust boundary the port already documents for the workspace token.
- `signOut()` calls `RememberedLogin.signOutLocally` itself, which may
overlap the host's own Firebase sign-out.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
(sections 7, 12, 15 F2, A8)
- Action items and dependency graph:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2897

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | `unified_web_session` client flag, off by default | BE-17135
to turn on; C11 for website/billing-web readers | #18708 |
| FE-2892 | account-core web session client + error codes | C1, C3
(BE-17063 generated types) | #18710, do not merge |
| FE-2893 | ADR for the shared web session | none | #18707 |
| FE-2901 | non-web clients stay on tokens (baseline) | FE-2895 for
`authorize()` rows | #18711 |
| FE-2894 | session-backed identity + boot rules (stacked on #18710) |
FE-2892, C3 | #18715, do not merge |
| FE-2895 | `authorize()` for cookie requests (stacked on #18710) |
FE-2892, C5 | #18716, do not merge |
| **FE-2897 (this PR)** | session lifecycle, heartbeat (stacked on
#18715) | FE-2894, C1, C3 | #18719, do not merge |
| FE-2906 | cross-origin E2E harness + §17 test ids | C3/C5/C6/C7 on
staging for the rows | #18718 (harness only) |
| FE-2896, 2898–2900, 2902–2905, 2907, 2908 | apps, token mint, rollout,
cleanup | C5/C6/C7/C8/C11 contracts | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2897 thisPr
```

- Blocked by: #18715 (FE-2894), #18710 (FE-2892), BE-17061 (C1),
BE-17063 (C3).
- Unblocks: FE-2903 (cloud app joins the lifecycle), and through it
FE-2904, FE-2905 and FE-2906 rows E2E-02/05/07.

---------

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
(cherry picked from commit 1685d33)
christian-byrne pushed a commit that referenced this pull request Sep 27, 2026
…reate on sign-in, delete on sign-out, heartbeat (#19020)

Backport of #18719 to `core/1.55` (cherry-pick -x of 1685d33).

Merge #19018 first. This branch is stacked on it, so until #19018 merges
the diff also shows its #18715 commit.

## Why

The unified web session stack is going to 1.55. #18719 adds the session
lifecycle to `webSessionIdentity` (create on sign-in, delete on
sign-out, heartbeat) and generalises `CrossTabRefreshPort` so the web
cross-tab port can carry it. It builds on #18715 (backported in #19018).

## Root cause (what conflicted)

Nothing. On top of the #18715 backport the cherry-pick applied cleanly;
every touched file (`sessionContracts.ts`, `webSessionIdentity.ts`,
`web/crossTabRefresh.ts`, their tests, `webSessionInertImport.test.ts`)
matches main's pre-#18719 state for these lines. The
`@comfyorg/account-core/web` entry it adds to the inert-import test is
already exported on `core/1.55`.

## How

Kept everything from #18719 verbatim; dropped nothing. No files from
other PRs.

Validation: `pnpm typecheck:account-core` exit 0; vitest
`webSessionIdentity`, `webSessionIdentity.lifecycle`, `webSession`,
`importGuard`, `webSessionInertImport`, `web/crossTabRefresh`,
`session`, `requestAuth` 214/214 pass; package.json parses.

## AS IS / TO BE

No UI change (inert behind `unified_web_session`).

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
christian-byrne pushed a commit that referenced this pull request Sep 27, 2026
…n mint from the web session (#19001)

Backport of #18870 to `cloud/1.55` (cherry-pick -x of
70ce571).

## Why
Ships the lazy workspace-token mint
(`@comfyorg/account-core/sessionTokenMint`) on the 1.55 line, next to
`authorize()` from #18716 (already backported as #18940/#18941).

## Root cause
The backport bot hit conflicts in `packages/account-core/package.json`
(exports), `scripts/smokePack.ts`, `src/core/importGuard.test.ts` and
`src/webSessionInertImport.test.ts`. On main these lists also carry
`webSessionIdentity` from #18715 (FE-2894), which is not on 1.55.

## How
Kept the release branch's code and added only #18870's own entries: the
`./sessionTokenMint` export (source + dist), its smoke-pack
import/value/type, its inert-import case, and the Firebase import-guard
case (`it.for(['webSession.ts', 'sessionTokenMint.ts'])`). Dropped every
`webSessionIdentity` entry. `sessionTokenMint.ts` and its test apply
unchanged; they import only `requestAuth`, `credentialCache`,
`sessionContracts`, `testing` and `@comfyorg/ingest-types/zod`, all
present on 1.55. Verified with `pnpm typecheck:account-core` and the
sessionTokenMint, importGuard, webSessionInertImport and requestAuth
vitest files (73 passed).

## AS IS / TO BE
No UI change (inert behind `unified_web_session`).

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
christian-byrne pushed a commit that referenced this pull request Sep 27, 2026
…create on sign-in, delete on sign-out, heartbeat (#19021)

Backport of #18719 to `cloud/1.55` (cherry-pick -x of 1685d33).

Merge #19019 first. This branch is stacked on it, so until #19019 merges
the diff also shows its #18715 commit.

## Why

The unified web session stack is going to 1.55. #18719 adds the session
lifecycle to `webSessionIdentity` (create on sign-in, delete on
sign-out, heartbeat) and generalises `CrossTabRefreshPort` so the web
cross-tab port can carry it. It builds on #18715 (backported in #19019).

## Root cause (what conflicted)

Nothing. On top of the #18715 backport the cherry-pick applied cleanly;
every touched file (`sessionContracts.ts`, `webSessionIdentity.ts`,
`web/crossTabRefresh.ts`, their tests, `webSessionInertImport.test.ts`)
matches main's pre-#18719 state for these lines. The
`@comfyorg/account-core/web` entry it adds to the inert-import test is
already exported on `cloud/1.55`.

## How

Kept everything from #18719 verbatim; dropped nothing. No files from
other PRs.

Validation: `pnpm typecheck:account-core` exit 0; vitest
`webSessionIdentity`, `webSessionIdentity.lifecycle`, `webSession`,
`importGuard`, `webSessionInertImport`, `web/crossTabRefresh`,
`session`, `requestAuth` 214/214 pass; package.json parses.

## AS IS / TO BE

No UI change (inert behind `unified_web_session`).

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
@christian-byrne christian-byrne removed the needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch label Sep 28, 2026
laurigates pushed a commit to laurigates/ComfyUI_frontend that referenced this pull request Sep 28, 2026
…ds (Comfy-Org#18718)

## Why

The unified web session only proves itself across real origins: a cookie
on the Cloud host, read by pages on other `comfy.org` names, refused for
untrusted origins. TDD §17 lists the end-to-end rows and failure
sequences that gate turning the flag on (rollout step 5). The web
session backend is not on staging yet, so the suite targets the test
environment (`testcloud.comfy.org`, `testbilling.comfy.org`); it moves
to staging by changing env vars once the backend is there. The
behaviours need backend C3/C5/C6/C7 on testcloud and FE-2894..FE-2905,
but the harness and the test-id map can land now so each slice fills in
its rows instead of building infrastructure late.

## How

- `playwright.session.config.ts`: a separate config with projects
`session-flag-off` and `session-flag-on` (selected by `@flag-off` /
`@flag-on`), one worker, no global setup. Not part of the default run:
`playwright.config.ts` only gains `'**/crossOriginSession/**'` in
`testIgnore`; the default `--list` is identical before and after (2641
tests in 472 files).
- Mapping the website to a `comfy.org` name: the fixture serves the
locally running website under a real name (default
`https://www.comfy.org`) by intercepting that host in the browser and
fetching from the local server. Page URL, `Origin`, secure context and
same-site checks all use the real name, which the `__Host-` cookie
needs; `--host-resolver-rules` would need a trusted local TLS server on
443. This proves Origin and trusted-origin behaviour, not TLS, DNS or
hosting (TDD §17).
- Fixtures: `cloudTab`, `websiteTab`, `billingTab`, `platformTab` in one
browser context (shared cookie jar). Each records Firebase Auth calls
(`identitytoolkit`/`securetoken`) and `/api/auth/session` calls, and has
`waitForSocket` / `waitForClose`. Also `sessionAccount`,
`teamWorkspaceId`, `signInOnCloud`, `openPreviewPage` (a
`pr-1.testenvs.comfy.org` page) and `credentialedFetch`.
- Safety, fail-closed: production hosts (cloud, api, billing, platform)
are refused even if configured and fail the test; any other `comfy.org`
origin that is not configured (the `SESSION_E2E_*` URLs or
`SESSION_E2E_EXTRA_ORIGINS`) is blocked, as are unlisted third-party
requests, and all blocked egress is attached as `blocked-egress.json`; a
test whose env vars are missing skips and names them. No credentials in
the repo; they come from env (`SESSION_E2E_*`), see the README.
- The flag is set both ways the app reads it: `ff:unified_web_session`
in localStorage and `?ff=unified_web_session:<bool>` on the Cloud tab.
- Test ids: every §17 row and FE-observable failure sequence, plus M2
SS1–SS6 / SO1–SO6, is a definition-level `test.fixme('[E2E-01] …',
blockedBy('<ticket / slice>'), expectStepsWritten)`: it keeps a stable
id and its blocker as a `blocked-by` annotation, skips before any
fixture runs, and has no guessed steps. `expectStepsWritten` throws, so
a row flipped to `test` before its steps are written fails instead of
passing empty. Steps are written when each blocker lands. `HARNESS-01`
is the one runnable smoke (flag off): the website loads under the mapped
name, calls testcloud with the right `Origin`, and the Firebase recorder
sees the sign-in.
- Carries the shared flag-off request test
(`src/platform/auth/webSessionFlagOff.test.ts`), byte-identical to
Comfy-Org#18708 / Comfy-Org#18710 / Comfy-Org#18711.

| ID | Row | Blocked by |
| --- | --- | --- |
| HARNESS-01 | runnable smoke, flag off | testcloud credentials |
| E2E-01 | sign in on Cloud → website signed in, zero Firebase calls |
FE-2896, FE-2894; C3, C11 |
| E2E-02 | the reverse | FE-2897, FE-2903; C1, C3 |
| E2E-03 | two tabs, two workspaces | FE-2904; C5 |
| E2E-04 | team-workspace media | FE-2905; C7 |
| E2E-05 | sign out on one site, other signs out, socket closes |
FE-2897, FE-2903, FE-2905; C6 |
| E2E-06 | removed from workspace → next request refused | FE-2904; C5 |
| E2E-07 | sign out of all devices | FE-2897; C2 |
| E2E-08 | flag off behaves as today | FE-2891, FE-2894, FE-2903 |
| E2E-09 | signed-in user crosses each rollout step | FE-2903, FE-2907;
C1, C3 |
| FS-01, 02, 06–15, 18, 19 | failure sequences a browser can observe |
see each test's fixme reason |
| SS1–SS6, SO1–SO6 | M2 billing-web rows | FE-2898 (+
FE-2903/2897/2895/2894); C1/C3/C5/C11 |

Not mapped on purpose: FS-03, FS-04, FS-05, FS-16, FS-17 (backend races
and load a browser cannot observe).

## AS IS / TO BE

No UI change; the evidence is the test list and checks.

- AS IS: no harness for cross-origin session tests.
- TO BE: `pnpm exec playwright test --config
playwright.session.config.ts --list` → `Total: 36 tests in 4 files`;
with no env every test skips cleanly. Default config unchanged (`Total:
2641 tests in 472 files` before and after, identical sorted list).

Checked by hand with a temporary spec (deleted): the local website
served as `https://www.comfy.org` in a secure context, a call to Cloud
carried `Origin: https://www.comfy.org` (that manual check ran against
stagingcloud before the switch to testcloud), the Firebase recorder
caught a `securetoken` call, and a request to `cloud.comfy.org` failed
the test with "A session E2E run reached production". The HARNESS-01
smoke itself has not run end to end; it needs a testcloud account.

Checks: `pnpm typecheck:browser` pass, eslint/oxlint/oxfmt clean on
changed files, `pnpm knip` clean, `crossOriginSessionConfig.test.ts`
11/11, flag-off request test 4/4.

## Needs a human

- A dedicated testcloud account: verified `@comfy.org` (so `?ff=` works
on deployed builds), in the test environment's `web_session_enabled`
set, owning a team workspace. A second account for FS-10, FS-13 and SS3.
- Which `comfy.org` name for the website is on the test environment's
trusted-origin list (README defaults to `https://www.comfy.org`).
- Whether Cloudflare Access or Turnstile in front of testcloud needs an
origin in `SESSION_E2E_EXTRA_ORIGINS` or an Access token.
- The test platform URL is unknown.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
(sections 17, 18)
- Action items and dependency graph:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- M2 QA test plan:
https://app.notion.com/p/3e26d73d3650815fb78ec0d273278d3b
- Linear: https://linear.app/comfyorg/issue/FE-2906

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | `unified_web_session` client flag, off by default | BE-17135
to turn on; C11 for website/billing-web readers | Comfy-Org#18708 |
| FE-2892 | account-core web session client + error codes | C1, C3
(BE-17063 generated types) | Comfy-Org#18710, do not merge |
| FE-2893 | ADR for the shared web session | none | Comfy-Org#18707 |
| FE-2901 | non-web clients stay on tokens (baseline) | FE-2895 for
`authorize()` rows | Comfy-Org#18711 |
| FE-2894 | session-backed identity + boot rules (stacked on Comfy-Org#18710) |
FE-2892, C3 | Comfy-Org#18715, do not merge |
| FE-2895 | `authorize()` for cookie requests (stacked on Comfy-Org#18710) |
FE-2892, C5 | Comfy-Org#18716, do not merge |
| FE-2897 | session lifecycle, heartbeat (stacked on Comfy-Org#18715) | FE-2894,
C1, C3 | Comfy-Org#18719, do not merge |
| **FE-2906 (this PR)** | cross-origin E2E harness + §17 test ids |
C3/C5/C6/C7 on testcloud for the rows | Comfy-Org#18718 (harness only) |
| FE-2896, 2898–2900, 2902–2905, 2907, 2908 | apps, token mint, rollout,
cleanup | C5/C6/C7/C8/C11 contracts | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2906 thisPr
```

- Blocked by: nothing for the harness. The rows need C3/C5/C6/C7 on
testcloud and FE-2894..FE-2905.
- Unblocks: FE-2907 (turning the flag on needs the §17 rows green).
zeus-onl pushed a commit to zeus-onl/ComfyUI_frontend that referenced this pull request Sep 28, 2026
…omfy-Org#19002)

## Why

The web session PRs merged with four non-blocking review notes from
Christian, and CodeRabbit found one real defect after Comfy-Org#18719 merged. All
of this code is on main now, so the fixes land together here.

## Root cause (the defect)

`signedIn()` awaited `createWebSession` (a POST, then a GET) and then
always dispatched `session_created` and published `sign_in`. It never
checked whether `signOut()` had run in the meantime.
- The cloud store starts the interactive session without awaiting it, so
a user who logs out quickly hits exactly this window.
- The tab went back to `signed_in`, and every signed-out sibling tab
adopted the published `sign_in`.
- If the POST reached the server after the DELETE, a live session cookie
also stayed behind.

The epoch alone can't catch this: a sign-out from a settling or idle
state emits no `account_changed`, so the epoch never moves.

## How

- **Sign-out wins over an in-flight sign-in** (CodeRabbit on Comfy-Org#18871,
Major). `signOut()` bumps a sign-out counter, and `signedIn()` captures
it before the POST. If the counter changed, the new session is:
  - not dispatched and not published;
- deleted again, so no live cookie is left, unless a newer sign-in has
started since (that sign-in owns the cookie now);
- answered as `SESSION_REVOKED`, or with the cleanup's failure if the
DELETE fails.
- **FE-2894: adopt a live session when the remembered-login lookup
throws** (Christian on Comfy-Org#18715). A failed `currentUserId()` used to
discard a successful session read and retry. Now it only matters when
there is no live session. With one, the lookup can skip nothing but the
different-user sign-out, so the session is adopted.
- **CSRF replay re-checks scope after the re-read** (Christian on
Comfy-Org#18716). `stillInScope()` is checked again between the re-read and the
replay, so a request superseded during that round trip is abandoned
rather than replayed.
- **Comments Christian asked for:**
- on `zSharedMessage` (Comfy-Org#18719): the shared host-only cookie is what
licenses trusting a sibling tab's answer;
- in `mint()` (Comfy-Org#18870): the cache check deliberately precedes the
backoff.

## Tests

- **Sign-out during sign-in:** a lifecycle test holds the POST, signs
out, then releases it. It checks that both the tab and its sibling stay
`signed_out`, and that the late session is deleted (`DELETE, POST, GET,
DELETE`).
- **Lookup throws with a live session:** a boot test checks for
`signed_in` with no retry and no local sign-out. The existing test for a
failed lookup with no session (retry) still passes.
- **Overlapping sign-ins:** a stale sign-in released after a newer one
has succeeded sends no DELETE, and the tab stays signed in.
- **Failed cleanup:** when the cleanup DELETE fails, the call answers
`SESSION_UNAVAILABLE` instead of a clean revocation.
- **Scope changes during the re-read:** a transport test checks for
`SUPERSEDED` with no second send.
- **Mutation check:** reverting any of the three fixes turns exactly its
own test red.
- `pnpm --filter @comfyorg/account-core` suite: 1199 passed.
- The cloud auth tests pass, including the flag-off harness
`src/platform/auth/webSessionFlagOff.test.ts`.
- `fallow audit`: no issues in the changed files.

## Flag-off parity

Every change sits on the web session path, which only runs with
`unified_web_session` on. Flag-off behaviour is unchanged, and the
flag-off harness passes.

## AS IS / TO BE

| Case | AS IS | TO BE |
| --- | --- | --- |
| Sign out while an interactive sign-in is in flight | the tab and its
siblings go back to `signed_in`; a cookie may remain | stays signed out;
the late session is deleted |
| Session live, remembered-login lookup throws | discards the session
and retries | adopts the session |
| Scope changes during the CSRF re-read | replays into the old scope |
`SUPERSEDED`, no replay |

This is library logic with no UI of its own; the tests above are the
evidence.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
- Action items:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2894

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | flag (cloud) + website/billing-web readers | C11 cloud#10689
+ BE-17276 probe (readers) | Comfy-Org#18708 merged; readers Comfy-Org#18874, do not merge
|
| FE-2892 | web session client (+ revoke-all follow-up) | C2a
cloud#10589 for revoke-all | Comfy-Org#18710 merged; revoke-all Comfy-Org#18869, do not
merge |
| FE-2893 | ADR | none | Comfy-Org#18707 merged |
| **FE-2894 (this PR)** | identity + boot rules | BE-17063 on testcloud
| Comfy-Org#18715 merged; review follow-ups in this PR |
| FE-2895 | `authorize()` | C5 cloud#10555 | Comfy-Org#18716 merged |
| FE-2897 | lifecycle, heartbeat | FE-2894, C1 | Comfy-Org#18719 merged |
| FE-2900 | lazy token mint from the session | FE-2895, C8 cloud#10585 |
Comfy-Org#18870 merged |
| FE-2901 | non-web clients stay on tokens | — | Comfy-Org#18711 merged (Desktop
checks open) |
| FE-2903 | cloud app joins the lifecycle | FE-2897 | Comfy-Org#18871, do not
merge |
| FE-2904 | cloud API client on `authorize()` | FE-2903, FE-2895, C5 |
Comfy-Org#18875, do not merge |
| FE-2905 | socket + media carry workspace | FE-2904, C6, C7 | Comfy-Org#18878,
do not merge |
| FE-2896 | website header | FE-2891 readers, FE-2894, C11 | Comfy-Org#18877, do
not merge |
| FE-2899 | website credits | FE-2896, FE-2895, C5 | Comfy-Org#18882, do not
merge |
| FE-2898 | billing-web on the session (A identity, B transport) |
FE-2891 readers, FE-2894, FE-2895, C5 | Comfy-Org#18880 + Comfy-Org#18881, do not merge |
| FE-2906 | cross-origin E2E harness | — | Comfy-Org#18718 (harness only) |
| FE-2902 / 2907 / 2908 | platform, rollout, cleanup | other repo / ops
/ after ramp | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2894 thisPr
```

- Blocked by: none: all the code is on main
- Unblocks: none; closes the review notes on Comfy-Org#18715, Comfy-Org#18716, Comfy-Org#18719 and
Comfy-Org#18870, and a CodeRabbit finding on Comfy-Org#18871
github-merge-queue Bot pushed a commit that referenced this pull request Sep 28, 2026
…or website and billing-web (#18874)

> **Do not merge until
[BE-17276](https://linear.app/comfyorg/issue/BE-17276) (C11b) settles
the `web_session_probe` contract.** Until the server sends the key,
every reader resolves to off. Nothing calls these readers yet, so
merging changes no request; the hold is only so the contract can't drift
under them.

## Why

The website and billing-web learn a session visitor's
`unified_web_session` only through C11 (cloud#10689). That means `GET
/api/features` with `credentials: 'include'` and `X-Comfy-Client`, sent
before the site knows the flag. We agreed to gate that request on a
global runtime switch served to anonymous callers, `web_session_probe`
(BE-17276, Maanil). Then the request and its CORS preflight don't exist
until rollout, and turning them off needs no deploy. This PR adds the
readers the website header (FE-2896), website credits (FE-2899) and
billing-web (FE-2898) will use.

## How

- **New entry `@comfyorg/account-core/webSessionFlag`.**
- `readWebSessionProbe`: a plain anonymous `GET /api/features` with no
credentials and no custom headers, so there is no preflight. It is on
only for `web_session_probe === true`.
- `resolveUnifiedWebSession({ probe, … })`: sends the credentialed read
(`credentials: 'include'`, `cache: 'no-store'`, `X-Comfy-Client`) only
when the probe resolves `true`. It returns on only for
`unified_web_session === true`.
- The probe never feeds into the result: it decides whether to ask, and
the per-user answer decides behaviour, so no server state is assembled
on the client.
- Any failure (network, non-2xx, bad body, timeout) is off, and nothing
throws into the apps. Importing the entry is inert, and there are no
browser globals in core.
- **billing-web.** It reads `web_session_probe` from the anonymous
`/api/features` it already fetches for the Firebase config.
- `fetchCloudFeatures` / `resolveWebSessionProbe` in
`@comfyorg/account-core/firebase` share that memoized request; the
timeout must stay 4000 ms to share it.
- With the probe absent or false, billing-web's requests are identical
to main. `readBillingWebUnifiedWebSession()` is cached per page load.
- **website.** It has no anonymous features read today, only the
signed-in Bearer read in `workshop-features.ts`. So its probe is one
plain anonymous GET.
- This is the one accepted flag-off request difference. It is cached per
page load, lazy, and never blocks render.
- The request is only sent once FE-2896 calls
`readUnifiedWebSessionEnabled()`; until then the website is unchanged.
- **`X-Comfy-Client`.** `COMFY_CLIENT` is not on main (it lives in
#18716), so the value is defined once in this module with the same shape
(`name/version`), and a note says it converges with #18716.
- The cloud app is unchanged, and
`src/platform/auth/webSessionFlagOff.test.ts` passes.

## AS IS / TO BE

No UI yet; the evidence is the request tables pinned with `it.for`.

| State | billing-web vs main | website vs main |
| --- | --- | --- |
| probe absent / false / `"true"` | identical | + one plain anonymous
GET |
| probe true, flag false | + one credentialed GET, result off | +
anonymous GET + one credentialed GET, result off |
| probe true, flag true | + one credentialed GET, result on | +
anonymous GET + one credentialed GET, result on |

These rows describe what happens once a consumer calls a reader; nothing
calls one in this PR. The `"true"` string row is covered in the
account-core tests. A second call sends nothing new.

Mutations (each reverted, full suites rerun):

| Mutation | Tests red |
| --- | --- |
| remove the probe gate | core 3, billing-web 3, website 4 |
| add credentials to the probe | core 1, website 4 |
| OR the probe into the result | core 1 |
| drop the cache | billing-web 2, website 4 |
| probe timeout ≠ 4000 on billing-web (breaks the shared fetch) | 5 |
| truthy comparison in `configSource` | 1 |

Checks: vitest passes for account-core 1101, billing-web 198, website
8924 and the flag-off harness 4. Typecheck, oxlint, eslint, oxfmt, knip,
fallow (no issues in 12 files) and `checkPublishable` are all clean.

For review:
- Does ingest check the `X-Comfy-Client` value or only that the header
is present? The value carries the package version.
- If an anonymous features document ever carried the probe but no
Firebase or Stripe fields, the memo would be evicted and refetched. The
eviction rule is unchanged from main.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b (§14
OQ17, §15 C11, §18)
- Action items:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2891 ; backend switch
https://linear.app/comfyorg/issue/BE-17276
- Contract: Comfy-Org/cloud#10689 (C11), BE-17276 (C11b, not yet built)

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| **FE-2891 (this PR)** | flag (cloud) + website/billing-web readers |
C11 cloud#10689 + BE-17276 probe (readers) | #18708 merged; readers
#18874, do not merge |
| FE-2892 | web session client (+ revoke-all follow-up) | C2a
cloud#10589 for revoke-all | #18710 merged; revoke-all #18869, do not
merge |
| FE-2893 | ADR | none | #18707 merged |
| FE-2894 | identity + boot rules | BE-17063 on testcloud | #18715, do
not merge |
| FE-2895 | `authorize()` | C5 cloud#10555 | #18716, do not merge |
| FE-2897 | lifecycle, heartbeat | FE-2894, C1 | #18719, do not merge |
| FE-2900 | lazy token mint from the session | FE-2895, C8 cloud#10585 |
#18870, do not merge |
| FE-2901 | non-web clients stay on tokens | — | #18711 |
| FE-2903 | cloud app joins the lifecycle | FE-2897 | #18871, do not
merge |
| FE-2904 | cloud API client on `authorize()` | FE-2903, FE-2895, C5 |
in progress |
| FE-2905 | socket + media carry workspace | FE-2904, C6, C7 | next |
| FE-2896 / 2899 / 2898 | website header, website credits, billing-web |
FE-2891 readers, FE-2894/2895, C5, C11 | next |
| FE-2906 | cross-origin E2E harness | — | #18718 (harness only) |
| FE-2902 / 2907 / 2908 | platform, rollout, cleanup | other repo / ops
/ after ramp | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2891 thisPr
```

- Blocked by: BE-17276 (probe switch) for the contract; C11 cloud#10689.
- Unblocks: FE-2896 (website header), FE-2899 (website credits), FE-2898
(billing-web).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
kashish00208 pushed a commit to kashish00208/ComfyUI_frontend that referenced this pull request Sep 28, 2026
…ified_web_session (1/2) (Comfy-Org#18880)

> **Do not merge.** Part 1 of 2 for FE-2898 (part 2, the transport, is
Comfy-Org#18881, stacked on this). Gated on BE-17276 via the readers (Comfy-Org#18874), on
FE-2894 (Comfy-Org#18715), FE-2895 (Comfy-Org#18716) and C5 cloud#10555. Base is the
readers branch; the diff also shows the FE-2894/FE-2895 merges. This
PR's own change: 9 files, 299 non-test lines.

## Why

billing-web signs in on its own Firebase login and mints a workspace
token. With `unified_web_session` on, a visitor already signed in on
Cloud should be recognised from the shared session without starting
Firebase or signing in again. This part adds the one decision point and
the session-backed identity and sign-in. Part 2 adds the workspace scope
and the credentialed billing transport.

## How

- **`billingWebAuth.ts`: one decision per page load.** It chooses
`session-client` (today's path) or `web-session`.
- The router guard starts the decision but never waits for it. Until the
decision lands, every phase reads `pending`, which is exactly what main
shows while Firebase hasn't answered.
- A probe that is absent or false settles it as soon as the
`/api/features` document arrives. That is the same document Firebase's
config comes from, so Firebase starts at the same moment as on main.
- The session path gets **800 ms**. After that, the page load stays on
today's path, and a late `true` is ignored.
- **`unifiedBillingSession.ts`** boots the FE-2894 identity
(`@comfyorg/account-core/webSessionIdentity`). Firebase is only a lazy
RememberedLogin proof, consulted after the server says there is no
session.
- **Sign-in controller port:** `SignInView` gets a port that follows the
decision. If a Cloud session is found in time, the page is left the same
way a restored login leaves it.
- The router, `App` and `SignInView` are rewired to the decision point.
Entry-workspace rebinding still mints on today's path only.

### Decisions for review
1. **Flag-on first paint.** A visitor with a live Cloud session briefly
sees main's pre-config sign-in screen: disabled buttons and the
"unavailable" notice. It lasts until the decision lands, at most 800 ms,
and then the page leaves it. This is the price of never delaying the
flag-off path.
2. **A different remembered Firebase user is not signed out.** While the
session is live, nothing on billing-web asks Firebase for a token or
mints from `/auth/token`. Identity, scope and every billing request come
only from the session cookie. So a different remembered user has no path
to any request. It is consulted only after the server reports no
session, and a restore goes through the server's silent-restore rules.

## Flag-off parity

`billingWebAuth.flagOff.test.ts` renders `App` with the real router:
- **Features read hangs:** the page is on `/sign-in`, the notice is
shown, and Firebase is not initialised. Same as main.
- **Credentialed flag read hangs:** Firebase is not started at 799 ms
and is started at 800 ms. A late `true` sends no `/api/auth/session` and
doesn't re-initialise Firebase.
- **Probe false:** Firebase is initialised well before the cap.

The request tables are identical to main with the probe absent or false,
and `src/platform/auth/webSessionFlagOff.test.ts` passes.

Timing mutations each go red: no cap, cap at 5000 ms, the guard awaits
the decision, a late `true` swaps the mode, a false probe waits for the
cap.

## AS IS / TO BE

| | AS IS | TO BE |
| --- | --- | --- |
| Flag off | Firebase sign-in | unchanged, same first render and notice
|
| Flag on, live Cloud session | Firebase sign-in form | recognised from
the session in ≤ 800 ms, no Firebase |

Screenshots will be added by editing this description once testcloud
serves the probe.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
- Action items:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2898

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | flag (cloud) + website/billing-web readers | C11 cloud#10689
+ BE-17276 probe (readers) | Comfy-Org#18708 merged; readers Comfy-Org#18874, do not merge
|
| FE-2892 | web session client (+ revoke-all follow-up) | C2a
cloud#10589 for revoke-all | Comfy-Org#18710 merged; revoke-all Comfy-Org#18869, do not
merge |
| FE-2893 | ADR | none | Comfy-Org#18707 merged |
| FE-2894 | identity + boot rules | BE-17063 on testcloud | Comfy-Org#18715, do
not merge |
| FE-2895 | `authorize()` | C5 cloud#10555 | Comfy-Org#18716, do not merge |
| FE-2897 | lifecycle, heartbeat | FE-2894, C1 | Comfy-Org#18719, do not merge |
| FE-2900 | lazy token mint from the session | FE-2895, C8 cloud#10585 |
Comfy-Org#18870, do not merge |
| FE-2901 | non-web clients stay on tokens | — | Comfy-Org#18711 |
| FE-2903 | cloud app joins the lifecycle | FE-2897 | Comfy-Org#18871, do not
merge |
| FE-2904 | cloud API client on `authorize()` | FE-2903, FE-2895, C5 |
Comfy-Org#18875, do not merge |
| FE-2905 | socket + media carry workspace | FE-2904, C6, C7 | Comfy-Org#18878,
do not merge |
| FE-2896 | website header | FE-2891 readers, FE-2894, C11 | Comfy-Org#18877, do
not merge |
| FE-2899 | website credits | FE-2896, FE-2895, C5 | in progress |
| **FE-2898 (this PR)** | billing-web on the session (A identity, B
transport) | FE-2891 readers, FE-2894, FE-2895, C5 | A + B, do not merge
|
| FE-2906 | cross-origin E2E harness | — | Comfy-Org#18718 (harness only) |
| FE-2902 / 2907 / 2908 | platform, rollout, cleanup | other repo / ops
/ after ramp | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2898 thisPr
```

- Blocked by: FE-2891 readers Comfy-Org#18874, FE-2894 Comfy-Org#18715, FE-2895 Comfy-Org#18716, C5
cloud#10555
- Unblocks: M2 billing-web checkout on the shared session

---------

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
kashish00208 pushed a commit to kashish00208/ComfyUI_frontend that referenced this pull request Sep 28, 2026
…ession (Comfy-Org#18877)

> **Do not merge.** Gated on BE-17276 (`web_session_probe`) through the
readers in Comfy-Org#18874, and on the FE-2894 identity in Comfy-Org#18715. Base is the
readers branch; the diff also shows the FE-2894 merge. This PR's own
change is 5 files: 154 non-test lines and 390 test lines.

## Why

On the website, a visitor who is already signed in to Cloud through the
shared web session should see that account in the header, without
starting Firebase. Today the header always loads the Firebase account
island. FE-2896 lets the header take the account from the web session
when `unified_web_session` is on for that visitor, and changes nothing
when it is off.

## How

- **`resolveWorkshopAccountSource()`**
(`apps/website/src/config/workshop-web-session-identity.ts`) settles
once per page load to `'session'` or `'firebase'`.
- The probe (Comfy-Org#18874) is absent or false, or the per-user flag is off:
`'firebase'` at once. No session read is sent.
- The flag is on: the FE-2894 identity boots. A live session gives
`'session'` and a signed-out answer gives `'firebase'`.
- **Cap: at most 800 ms.** If the cap fires first, the answer is
`'firebase'` for the page load and the identity is disposed. A late
answer never swaps a mounted header, and a session read is never sent
after the cap.
- **`HeaderMain.vue`**: the async loaders for `HeaderAccount` and
`BuyCreditsDialog` wait for the source. On `'session'` they mount
`HeaderSessionAccount` (an initials chip labelled with the email) and an
empty dialog, so no Firebase island starts.
- **RememberedLogin port**: the proof comes from Firebase only if
Firebase is already loaded. The website never force-loads Firebase to
build a proof.
- **User id**: the Comfy user id is the Firebase uid today (`token.UID`
in cloud `firebase_auth.go`). This holds until Phase 2.5.

### Kept out of this PR
- **Session-mode header**: no menu, sign-out, credits or workspace
switcher. Sign-out is FE-2897. Credits (FE-2899) and the workspace come
next. Asking to buy credits in session mode does nothing until FE-2899.
- **Playground and `/login`**: these still start Firebase. A stale
Firebase login for a different user is signed out only if Firebase was
already loaded when the session answered.
- **SDK follow-up**: `readWebSession` sends no `X-Comfy-Client`. If C5
requires it on `/api/auth/session`, the fix belongs in account-core.

### /models/ script budget

`e2e/models-performance.spec.ts` caps the JavaScript that `/models/`
loads. This PR raises that ceiling from 1,810,000 to 1,815,000 bytes.

- main measures 1,808,088 bytes, 1.9 KB under the old ceiling.
- The header's once-per-page-load session decision ships even with the
flag off: the probe read, the flag read and the 800 ms cap.
- Two changes already moved code behind the flag:
  - the session boot now loads lazily;
- `COMFY_CLIENT`, which inlines the package manifest, now loads only for
the credentialed read.
- With both, this branch measures 1,811,181 bytes in CI (an extra ~3 KB,
down from ~8 KB).
- The catalogue-only delta check (900,000) is unchanged.

## Flag-off parity

- Probe absent or false: the same islands mount, and no
`/api/auth/session` request is sent (`HeaderMain.webSession.test.ts`).
- The header's only new wait is the probe read. It ends when the probe
answers, and it never lasts past 800 ms.
- `src/platform/auth/webSessionFlagOff.test.ts` passes. The cloud app is
not touched.
- Mutation checks: 10 mutations, all red. They include: the cap never
decides, the session boots after the cap, the flag-off path waits for
the cap, the header is ungated, and the boot ignores the flag.

## AS IS / TO BE

| | AS IS | TO BE |
| --- | --- | --- |
| Flag off | Firebase header | Firebase header, unchanged |
| Flag on, live session | Firebase header | Session chip (screenshot to
follow once testcloud serves the probe) |

Screenshots will be added by editing this description.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
- Action items:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2896

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | flag (cloud) + website/billing-web readers | C11 cloud#10689
+ BE-17276 probe (readers) | Comfy-Org#18708 merged; readers Comfy-Org#18874, do not merge
|
| FE-2892 | web session client (+ revoke-all follow-up) | C2a
cloud#10589 for revoke-all | Comfy-Org#18710 merged; revoke-all Comfy-Org#18869, do not
merge |
| FE-2893 | ADR | none | Comfy-Org#18707 merged |
| FE-2894 | identity + boot rules | BE-17063 on testcloud | Comfy-Org#18715, do
not merge |
| FE-2895 | `authorize()` | C5 cloud#10555 | Comfy-Org#18716, do not merge |
| FE-2897 | lifecycle, heartbeat | FE-2894, C1 | Comfy-Org#18719, do not merge |
| FE-2900 | lazy token mint from the session | FE-2895, C8 cloud#10585 |
Comfy-Org#18870, do not merge |
| FE-2901 | non-web clients stay on tokens | — | Comfy-Org#18711 |
| FE-2903 | cloud app joins the lifecycle | FE-2897 | Comfy-Org#18871, do not
merge |
| FE-2904 | cloud API client on `authorize()` | FE-2903, FE-2895, C5 |
Comfy-Org#18875, do not merge |
| FE-2905 | socket + media carry workspace | FE-2904, C6, C7 | next |
| **FE-2896 (this PR)** / 2899 / 2898 | website header (this PR),
website credits, billing-web | FE-2891 readers, FE-2894/2895, C5, C11 |
next |
| FE-2906 | cross-origin E2E harness | — | Comfy-Org#18718 (harness only) |
| FE-2902 / 2907 / 2908 | platform, rollout, cleanup | other repo / ops
/ after ramp | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2896 thisPr
```

- Blocked by: FE-2891 readers Comfy-Org#18874 (BE-17276 probe), FE-2894 Comfy-Org#18715,
BE-17063 on testcloud
- Unblocks: FE-2899 website credits (next, stacked on this branch)

---------

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
pull Bot pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Sep 28, 2026
…mfy-Org#18871)

> **Stacked on Comfy-Org#18719 (FE-2897) → Comfy-Org#18715 (FE-2894). Do not merge** until
those merge and C1/C3 are on testcloud.

## Why

With `unified_web_session` on, the cloud app must join the shared
session. It creates the session only on a real sign-in, deletes it on
sign-out, boots and heartbeats from it, and resets a tab whose account
changed. It must also stop re-creating the old cookie on every token
refresh, which would undo a sign-out made on another site (TDD §12, §18,
F2). With the flag off, nothing may change.

## How

- New `useCloudWebSessionStore`
(`src/platform/auth/session/cloudWebSessionStore.ts`) wraps
account-core's `createWebSessionIdentity`. Its host adapters:
  - `RememberedLogin`, backed by the Firebase identity;
  - `createWebVisibilityPort()` for the heartbeat;
- `createWebCrossTabRefreshPort<WebSessionResult>()` for the cross-tab
leader.
- **`start()` is the only place that reads the flag.** It reads it once
per page load, on the first call, and returns whether the session is on.
- The first call comes from the workspace gate or the extension's
`onAuthUserResolved`, both of which run after the signed-in
`/api/features` read. So the flag is never read in its anonymous
default.
  - A later flag change applies on the next page load.
- **Flag on**, the existing `useSessionCookie` entry points switch over:
- `createSession` (called on user-resolved and on token refresh) starts
the lifecycle and sends nothing, so the re-create-on-refresh behaviour
is gone.
  - `ensureSessionCookie` waits for the lifecycle to be ready.
- `deleteSession` does nothing, because sign-out is owned by
`authStore.logout` → `signOut()` → DELETE.
- `createSessionOrThrow` (OAuth resume, consent redirect) waits only if
the lifecycle is already active.
- `login`, `register`, `loginWithGoogle` and `loginWithGithub` call
`signedInInteractively`, the only thing that creates a session.
- **Account change.** The store clears the workspace selection, resets
the team workspace store and the socket, and, only when the account
became a different user, shows the `auth.accountChanged` notice (a
notice, not a confirm, per open question 11).
- Until FE-2904 moves the API client onto the session, the app still
needs a Firebase login. So a different user ends in a signed-out page,
not an in-place switch, and the copy does not promise a switch.
- **Flag off.** `start()` returns false, every entry point falls through
to today's code, and `webSessionFlagOff.test.ts` is unchanged and passes
(4/4).
- **For review: user id equality.** `currentUserId` returns the Firebase
uid, which equals `comfy_user_id` today (cloud's Phase 2 invariant in
`identity_resolution.go`). Cloud names a Phase 2.5 where they can
diverge; the boot rule would then sign out a valid login, so the adapter
must change before that phase.

## AS IS / TO BE

No UI change with the flag off. With the flag on, the evidence is
`webSessionFlagOn.test.ts`:

| Scenario | Result |
| --- | --- |
| interactive sign-in | one session POST |
| token refresh | no session request |
| sign-out | one DELETE |
| boot, 200 same user | GET only |
| boot, 200 different user | local Firebase sign-out |
| boot, 401 `session_revoked` | signed out, no restore |
| boot, 401 `no_session` | one restore |
| heartbeat sees a different user | socket and workspace reset, plus the
notice |

Nine mutations, each reverted with the full suite rerun, all go red,
including "ignore the flag", which turns 4 flag-off rows red.

Checks:
- vitest over auth, stores, extensions, cloud and workspace: 5172 tests
pass.
- account-core: 1114 tests pass.
- typecheck, knip, lint and fallow are clean.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
(sections 12, 15 F2, 18)
- Action items:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2903

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | flag (cloud) + website/billing-web readers | C11 cloud#10689
+ probe switch (readers) | Comfy-Org#18708 merged; readers in progress |
| FE-2892 | web session client (+ revoke-all follow-up) | C2a
cloud#10589 for revoke-all | Comfy-Org#18710 merged; revoke-all Comfy-Org#18869, do not
merge |
| FE-2893 | ADR | none | Comfy-Org#18707 merged |
| FE-2894 | identity + boot rules | BE-17063 on testcloud | Comfy-Org#18715, do
not merge |
| FE-2895 | `authorize()` | C5 cloud#10555 | Comfy-Org#18716, do not merge |
| FE-2897 | lifecycle, heartbeat | FE-2894, C1 | Comfy-Org#18719, do not merge |
| FE-2900 | lazy token mint from the session | FE-2895, C8 cloud#10585 |
Comfy-Org#18870, do not merge |
| FE-2901 | non-web clients stay on tokens | — | Comfy-Org#18711 |
| **FE-2903 (this PR)** | cloud app joins the lifecycle | FE-2897 |
Comfy-Org#18871, do not merge |
| FE-2904 | cloud API client on `authorize()` | FE-2903, FE-2895, C5 |
in progress |
| FE-2905 | socket + media carry workspace | FE-2904, C6, C7 | next |
| FE-2896 / 2899 / 2898 | website header, website credits, billing-web |
FE-2891 readers, FE-2894/2895, C5, C11 | next |
| FE-2906 | cross-origin E2E harness | — | Comfy-Org#18718 (harness only) |
| FE-2902 / 2907 / 2908 | platform, rollout, cleanup | other repo / ops
/ after ramp | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2903 thisPr
```

- Blocked by: Comfy-Org#18719 (FE-2897), Comfy-Org#18715 (FE-2894), C1/C3 on testcloud.
- Unblocks: FE-2904 (API client on the session), then FE-2905; FE-2906
rows E2E-02/05.

---------

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
ksanislo pushed a commit to ksanislo/ComfyUI_frontend that referenced this pull request Sep 29, 2026
…e shared web session (2/2) (Comfy-Org#18881)

> **Do not merge.** Part 2 of 2 for FE-2898, stacked on part 1 Comfy-Org#18880
(identity and sign-in gating). Gated on C5 cloud#10555. 11 files, 224
non-test lines.

## Why

Part 1 recognises a Cloud session on billing-web. This part gives that
session a workspace scope and sends billing requests on the cookie, so
the flag-on path never mints a workspace token.

## How

- **Workspace lookup:** `GET /workspaces/current` is authorized with
`authorize()` from FE-2895.
- The request uses `credentials: 'include'`, `X-Comfy-Client`, and
`X-Comfy-Workspace-ID` from the entry link's bound workspace. Absent
means personal.
  - The phase is `authenticated` only once that lookup succeeds.
- **Refusals from C5:**
  - `workspace_access_denied` → `ACCESS_DENIED`
  - `workspace_id_invalid` → `WORKSPACE_NOT_FOUND`
  - 401 → `NOT_AUTHENTICATED`
  - Anything else maps to the existing `TOKEN_EXCHANGE_FAILED`.
- **Billing client:** `createWebSessionBillingClient` uses
`createCredentialedBillingTransport` (`@comfyorg/account-core/billing`,
opt-in `webSession` from Comfy-Org#18716). Its `getWorkspaceToken` rejects:
billing-web never mints on this path.
- **UI:** `BillingShell`, `HostedSurface` and `useBilledWorkspace` read
the scope from the decision point. On a refusal, `SignInView` shows the
refusal copy.

### Decisions for review
1. **A refused workspace hides the sign-in form.** The visitor is signed
in, but the entry names a workspace they can't use. Signing in again
wouldn't fix that, so the page shows only the refusal.
2. **The role defaults to `member`** when `/workspaces/current` omits
it. That is the least privilege; the server still enforces every write.
3. **The transport may re-read the session.** When the credentialed
transport has a request refused, it re-reads the session
(`readWebSession` with `expectedUserId`) before failing. That can add a
`GET /api/auth/session` on a refusal.

## Flag-off parity

The flag-off path doesn't reach any of this: the mode is
`session-client` and the existing token client is unchanged. The part 1
flag-off pin, including its timing tests, passes here unchanged, and so
does `src/platform/auth/webSessionFlagOff.test.ts`.

The flag-on tests (SS1, SS6, SO4) cover:
- the exact headers and credentials on the workspace lookup and on
billing requests;
- no `Authorization` header and no `/api/auth/token`;
- refusal copy per code.

## AS IS / TO BE

| Flag on | AS IS | TO BE |
| --- | --- | --- |
| Billing requests | `Authorization: Bearer <workspace token>` | cookie
+ `X-Comfy-Workspace-ID`, no token |
| Entry workspace refused | sign-in form | refusal copy, no form |

Screenshots will be added by editing this description once testcloud
serves C5.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
- Action items:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2898

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | flag (cloud) + website/billing-web readers | C11 cloud#10689
+ BE-17276 probe (readers) | Comfy-Org#18708 merged; readers Comfy-Org#18874, do not merge
|
| FE-2892 | web session client (+ revoke-all follow-up) | C2a
cloud#10589 for revoke-all | Comfy-Org#18710 merged; revoke-all Comfy-Org#18869, do not
merge |
| FE-2893 | ADR | none | Comfy-Org#18707 merged |
| FE-2894 | identity + boot rules | BE-17063 on testcloud | Comfy-Org#18715, do
not merge |
| FE-2895 | `authorize()` | C5 cloud#10555 | Comfy-Org#18716, do not merge |
| FE-2897 | lifecycle, heartbeat | FE-2894, C1 | Comfy-Org#18719, do not merge |
| FE-2900 | lazy token mint from the session | FE-2895, C8 cloud#10585 |
Comfy-Org#18870, do not merge |
| FE-2901 | non-web clients stay on tokens | — | Comfy-Org#18711 |
| FE-2903 | cloud app joins the lifecycle | FE-2897 | Comfy-Org#18871, do not
merge |
| FE-2904 | cloud API client on `authorize()` | FE-2903, FE-2895, C5 |
Comfy-Org#18875, do not merge |
| FE-2905 | socket + media carry workspace | FE-2904, C6, C7 | Comfy-Org#18878,
do not merge |
| FE-2896 | website header | FE-2891 readers, FE-2894, C11 | Comfy-Org#18877, do
not merge |
| FE-2899 | website credits | FE-2896, FE-2895, C5 | in progress |
| **FE-2898 (this PR: B)** | billing-web on the session (A identity, B
transport) | FE-2891 readers, FE-2894, FE-2895, C5 | A + B, do not merge
|
| FE-2906 | cross-origin E2E harness | — | Comfy-Org#18718 (harness only) |
| FE-2902 / 2907 / 2908 | platform, rollout, cleanup | other repo / ops
/ after ramp | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2898 thisPr
```

- Blocked by: FE-2891 readers Comfy-Org#18874, FE-2894 Comfy-Org#18715, FE-2895 Comfy-Org#18716, C5
cloud#10555
- Unblocks: M2 billing-web checkout on the shared session

---------

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
ksanislo pushed a commit to ksanislo/ComfyUI_frontend that referenced this pull request Sep 29, 2026
…fy-Org#18882)

> **Do not merge.** Stacked on FE-2896 (Comfy-Org#18877) with the FE-2895
(Comfy-Org#18716) merge, and gated on C5 cloud#10555. The diff also shows the
fe-2895 merge. This PR's own change is 7 files, about 160 non-test
lines.

## Why

In FE-2896's session mode, the website header shows the account but no
credit balance, because the balance read needs a minted workspace token.
This is the first consumer of `authorize()` on the session. It proves
the cookie path end to end on a read, with no workspace token in page
memory.

## How

- **`workshop-session-balance.ts`**: `readSessionBalance(session,
fetchImpl)` sends `GET /api/billing/balance` through
`createRequestAuthorizer(...)` → `authorize({ kind: 'session', session
}, { target: 'ingest', method: 'GET' })`.
- The request carries `credentials: 'include'` and `X-Comfy-Client`. It
has no `Authorization` and no workspace header, which means personal.
- The authorizer's `getWorkspaceToken` always rejects, so this path can
never mint a token.
- The result is one of `ok`, `unavailable`, `session_ended` or
`unknown`.
- **`useWorkshopSessionBalance`**: one shared state per page. It reads
once, again on window focus, and never again after a 401. The header
mounts twice (desktop and mobile) but sends one request.
- **`HeaderSessionAccount.vue`** shows a credits chip, styled like the
Firebase one, only when the state is `ok`.
- **The decision is FE-2896's.** `useWorkshopWebSession()` keeps the
whole `WebSession`, and this module is loaded only when
`resolveWorkshopAccountSource()` answered `'session'`. There is no new
flag read.
- **`X-Comfy-Client` is converged:** `webSessionFlag` (readers, Comfy-Org#18874)
now imports `COMFY_CLIENT` from requestAuth instead of keeping its own
copy.
- The Firebase balance reader (`workshop-balance.ts`) is untouched. The
session module keeps its own short copy of the balance-body parse, so
the Firebase path's code and requests are identical to main.

### Decisions for review
1. **Workspace.** Session mode reads the personal workspace. The session
header has no workspace picker, and the Firebase selection lives in a
minted token that doesn't exist here. Nothing is derived from other
server data.
2. **Refusals.** C5 403s (`origin_not_allowed`,
`workspace_access_denied`, `csrf_invalid`, `cross_site_request`), a 400
`workspace_id_invalid`, 5xx, and network or body errors all hide the
balance. It is read again on the next focus. A 401 hides it and stops
reading. Neither case signs anyone out; sign-out stays with the identity
module.
3. **Out of scope:**
- Buying credits and the top-up watch: `BuyCreditsDialog` is still empty
in session mode.
   - Workspace switching.
   - Refreshing the balance after a run.
- The balance on `ModelDetail`, which still calls `useWorkshopCredits`
and can start Firebase session state in session mode. That is a
follow-up, and it also touches FE-2896's "no Firebase on comfy.org"
criterion.

## Flag-off parity

- The request-table test (`it.for`) pins both sources:
- Firebase: exactly `{ authorization: 'Bearer …' }`, with no
`credentials`.
- Session: exactly `{ x-comfy-client }`, with `credentials: 'include'`,
one request and no workspace header.
- The HeaderMain request list now records `Authorization` and
`X-Comfy-Client` on every request. The flag-off rows are unchanged. The
live-session row adds only the balance read, with no `Authorization` and
no `/api/auth/token`.
- `src/platform/auth/webSessionFlagOff.test.ts` passes.
- Mutations, each red:
  - always use the session header;
  - drop `credentials`;
  - add `Authorization`;
  - mint a token;
  - send `X-Comfy-Workspace-ID`;
  - treat a 403 as a 401;
  - keep reading after a 401.

## End-to-end coverage

No `apps/website/e2e/` spec is added. The credits balance only renders
when `unified_web_session` is on and a real `__Host-comfy_session`
cookie from Cloud ingest is present. The website Playwright suite serves
a static build with no Cloud backend and blocks cross-origin requests,
so it cannot hold that session. The cross-origin session flow is covered
by the `playwright.session.config.ts` harness (Comfy-Org#18718), which runs
against staging. The flag-off path, which is what every visitor sees
today, is unchanged, and the existing website e2e suite covers it. The
balance behaviour itself (read on sign-in, clear on sign-out, stale
reads ignored across a same-user sign-out and sign-in) is pinned in
`workshop-session-balance.test.ts`.

## AS IS / TO BE

| Session mode | AS IS | TO BE |
| --- | --- | --- |
| Header | account chip, no balance | account chip + credits chip from
the cookie read |
| Flag off | Firebase header + balance | unchanged |

Screenshots will be added by editing this description once testcloud
serves C5.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
- Action items:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2899

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | flag (cloud) + website/billing-web readers | C11 cloud#10689
+ BE-17276 probe (readers) | Comfy-Org#18708 merged; readers Comfy-Org#18874, do not merge
|
| FE-2892 | web session client (+ revoke-all follow-up) | C2a
cloud#10589 for revoke-all | Comfy-Org#18710 merged; revoke-all Comfy-Org#18869, do not
merge |
| FE-2893 | ADR | none | Comfy-Org#18707 merged |
| FE-2894 | identity + boot rules | BE-17063 on testcloud | Comfy-Org#18715, do
not merge |
| FE-2895 | `authorize()` | C5 cloud#10555 | Comfy-Org#18716, do not merge |
| FE-2897 | lifecycle, heartbeat | FE-2894, C1 | Comfy-Org#18719, do not merge |
| FE-2900 | lazy token mint from the session | FE-2895, C8 cloud#10585 |
Comfy-Org#18870, do not merge |
| FE-2901 | non-web clients stay on tokens | — | Comfy-Org#18711 |
| FE-2903 | cloud app joins the lifecycle | FE-2897 | Comfy-Org#18871, do not
merge |
| FE-2904 | cloud API client on `authorize()` | FE-2903, FE-2895, C5 |
Comfy-Org#18875, do not merge |
| FE-2905 | socket + media carry workspace | FE-2904, C6, C7 | Comfy-Org#18878,
do not merge |
| FE-2896 | website header | FE-2891 readers, FE-2894, C11 | Comfy-Org#18877, do
not merge |
| **FE-2899 (this PR)** | website credits | FE-2896, FE-2895, C5 | this
PR, do not merge |
| FE-2898 | billing-web on the session (A identity, B transport) |
FE-2891 readers, FE-2894, FE-2895, C5 | Comfy-Org#18880 + Comfy-Org#18881, do not merge |
| FE-2906 | cross-origin E2E harness | — | Comfy-Org#18718 (harness only) |
| FE-2902 / 2907 / 2908 | platform, rollout, cleanup | other repo / ops
/ after ramp | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2899 thisPr
```

- Blocked by: FE-2896 Comfy-Org#18877, FE-2895 Comfy-Org#18716, C5 cloud#10555
- Unblocks: Session-mode buy credits and workspace picker (follow-up)

---------

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
ksanislo pushed a commit to ksanislo/ComfyUI_frontend that referenced this pull request Sep 29, 2026
…itch without a mint (Comfy-Org#18875)

> **Stacked on Comfy-Org#18871 (FE-2903) and includes a merge of Comfy-Org#18716 (FE-2895,
`authorize()`). Do not merge** until those merge and C5 (BE-17066,
cloud#10555) is on testcloud. My change is the last commit
(`e7085c16e7`); the diff also shows the FE-2895 merge until Comfy-Org#18716
lands.

## Why

With `unified_web_session` on, the cloud app should call ingest on the
session cookie instead of a token (TDD §9, §12, F4). That means the
headers come from `authorize()`, switching workspace changes a header
instead of minting a token, and the one automatic retry is tied to the
user and workspace the request started for. With the flag off, nothing
may change.

## How

- **One decision point.** `src/platform/auth/session/webSessionFetch.ts`
is a registration slot the cloud session store (FE-2903) fills in
`start()` when the session is on, and clears on dispose.
- `api.ts`, `workspaceAuthStore` and `authStore` check it synchronously.
When the slot is empty the code runs exactly as today.
- A slot rather than importing the store avoids two import cycles that
fallow flagged.
- **`api.fetchApi`.** When the session is on and signed in, the request
goes through `fetchOnWebSession`, which takes its headers from
`authorize()`:
  - `X-Comfy-Client` on every request.
- `X-Comfy-Workspace-ID` only for a team workspace (absent means
personal).
  - `X-CSRF-Token` on POST, PUT, PATCH and DELETE.
  - `credentials: 'include'` and no `Authorization` header.

Otherwise the unchanged token path runs; it is moved verbatim into
`addCloudAuthHeader` to keep `fetchApi` under fallow's complexity limit.
- **Retries.**
- `csrf_invalid`: one re-read of the session, pinned to the same user,
then one retry in the same workspace, only if the user and session epoch
are unchanged. Otherwise the original 403 is returned. Later requests
reuse the fresh token, and a streaming body is never replayed.
- `workspace_access_denied`: the selection is dropped through the
existing revoked-workspace path, and the request is never replayed in
another workspace.
- **Workspace switch.** With the session on, the switch calls `GET
/api/workspaces/current` with the workspace header and stores id, name,
type and role. It mints no token. With no signed-in session it falls
back to today's switch.
- **`authStore.getAuthHeader`.** With the session on, it returns the
user's Firebase or API-key header instead of minting a workspace token,
so the router's check on every navigation no longer mints.
- **Not in this PR:**
- Other ingest callers: `workspaceApi` (axios), remote widgets and agent
consent stay on today's tokens.
- With the flag on, remote widgets resolve to the personal workspace.
This is a flag-on-only gap; moving the axios clients onto `authorize()`
is a proposed follow-up.
- WebSocket and media URLs are FE-2905. The comfy-api session mint is
FE-2900.
  - `permissions` are not stored, since nothing reads them yet.

## AS IS / TO BE

Flag off: `src/platform/auth/webSessionFlagOff.test.ts` is
byte-identical to the base and passes. The full `src` and account-core
vitest run is 1620 files, 23152 tests.

Flag on: `webSessionFlagOn.test.ts` gains five cases.
- **Boot into a remembered team workspace.** The GET carries the client
and workspace headers with `include` and no `Authorization`. The POST
adds CSRF. `getAuthHeader` returns the Firebase header. Switching to
personal changes only the header, and `/api/auth/token` is never called.
- **`csrf_invalid`, same user.** One re-read, then one retry, and later
requests use the fresh token.
- **`csrf_invalid` after the user changed.** The request is abandoned.
- **`workspace_access_denied`.** The selection is dropped, and the
request is not replayed.
- **A switch into a refused workspace** throws.

Eleven mutations were each reverted with the full suites rerun, and all
went red:

| Mutation |
| --- |
| no CSRF retry |
| the re-read ignores the user |
| denied workspace not dropped |
| workspace header sent for the personal workspace |
| `fetchApi` ignores the session |
| request method dropped |
| fresh CSRF token not reused |
| the switch mints a token |
| `getAuthHeader` mints a token |
| session never registered |
| denied request replayed in another workspace |

Checks: typecheck, eslint, oxlint, oxfmt and knip are clean, and fallow
reports 0 new findings against the FE-2903 branch.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
(sections 9, 12, F4)
- Action items:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2904
- Contract: Comfy-Org/cloud#10555 (C5)

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | flag (cloud) + website/billing-web readers | C11 cloud#10689
+ BE-17276 probe (readers) | Comfy-Org#18708 merged; readers Comfy-Org#18874, do not merge
|
| FE-2892 | web session client (+ revoke-all follow-up) | C2a
cloud#10589 for revoke-all | Comfy-Org#18710 merged; revoke-all Comfy-Org#18869, do not
merge |
| FE-2893 | ADR | none | Comfy-Org#18707 merged |
| FE-2894 | identity + boot rules | BE-17063 on testcloud | Comfy-Org#18715, do
not merge |
| FE-2895 | `authorize()` | C5 cloud#10555 | Comfy-Org#18716, do not merge |
| FE-2897 | lifecycle, heartbeat | FE-2894, C1 | Comfy-Org#18719, do not merge |
| FE-2900 | lazy token mint from the session | FE-2895, C8 cloud#10585 |
Comfy-Org#18870, do not merge |
| FE-2901 | non-web clients stay on tokens | — | Comfy-Org#18711 |
| FE-2903 | cloud app joins the lifecycle | FE-2897 | Comfy-Org#18871, do not
merge |
| **FE-2904 (this PR)** | cloud API client on `authorize()` | FE-2903,
FE-2895, C5 | Comfy-Org#18875, do not merge |
| FE-2905 | socket + media carry workspace | FE-2904, C6, C7 | next |
| FE-2896 / 2899 / 2898 | website header, website credits, billing-web |
FE-2891 readers, FE-2894/2895, C5, C11 | next |
| FE-2906 | cross-origin E2E harness | — | Comfy-Org#18718 (harness only) |
| FE-2902 / 2907 / 2908 | platform, rollout, cleanup | other repo / ops
/ after ramp | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2904 thisPr
```

- Blocked by: Comfy-Org#18871 (FE-2903) and Comfy-Org#18716 (FE-2895); C5 cloud#10555 on
testcloud.
- Unblocks: FE-2905 (socket and media), FE-2906 rows E2E-03/06 and
FS-13/14.

---------

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
laurigates pushed a commit to laurigates/ComfyUI_frontend that referenced this pull request Sep 29, 2026
…space (Comfy-Org#18878)

> **Do not merge.** Stacked on FE-2904 (Comfy-Org#18875) and gated on C6
cloud#10583 (+Comfy-Org#10699) and C7 cloud#10584 (+Comfy-Org#10698). The diff is 6 files:
about 125 non-test lines.

## Why

With `unified_web_session` on, API requests already travel on the
session cookie with `X-Comfy-Workspace-ID` (FE-2904). Two surfaces can't
carry that header:
- the WebSocket handshake;
- media URLs loaded by `<img>` / `<video>` tags.

Without this PR they would still need a minted token in the URL, and
they would read the personal workspace in a team. C6 and C7 let both
accept the cookie and a `?workspace_id=` query parameter instead.

## How

Everything hangs off the single registration slot `webSessionRequests()`
from FE-2904. There is no second flag read.

- **`WebSessionRequests.workspaceId()`** returns the team workspace id
only while the tab is signed in on the session. Otherwise it returns
nothing, which means personal.
- **Socket (`api.ts`):** the auth params come from a private
`addSocketAuth(params)`.
- Signed in on the session: no `token`. `workspace_id` is set for a team
and left out for personal.
  - No session: today's token code, moved as is.
  - With the flag on, no session and no token, no socket opens.
- **Reconnect:**
- `api.reconnectSocket()` re-handshakes and keeps the client id.
`resetSocket()` still clears the ids, and both share `replaceSocket()`.
- `cloudWebSessionStore` watches the signed-in user and the team
workspace, and reconnects on any change while signed in. There is no
token mint.
- **Media URLs:** `apiURL()` passes the media routes through
`scopeMediaRoute`, which adds `workspace_id` for a team and never
duplicates it. The routes are `/view`, `/viewvideo`, `/vhs/viewvideo`,
`/vhs/viewaudio` and `/assets/:id/content`, with or without an `/api`
prefix.

### Decisions for review
1. **Flag on and signed out: no socket.** Today a tokenless `/ws` keeps
reopening. One gap is covered only by a reload: the flag is on, the
session was never created, and Firebase signs in again in the same page.
2. **A removed team member's socket retries every 300 ms.** It stops
when the next API call gets `workspace_access_denied`, which drops the
workspace and reconnects in personal. That matches today's token-socket
loop, and no probe request is added.
3. **A Cloud workspace switch may open one extra short-lived socket**
before the reload. The newer socket wins and the older one is closed.
4. **Not scoped:** literal `api/view` strings that don't go through
`apiURL` (`useWidgetSelectItems.getMediaUrl`, `LoaderManager`,
`BackgroundImageUpload`), and server-supplied `preview_url`s. These fall
back to C7's cross-workspace lookup. Moving them onto `apiURL` would
change the flag-off output, so it is left for a follow-up.
5. **Header or query, never both.** `fetchApi` names the workspace only
in `X-Comfy-Workspace-ID`, and its URL skips `scopeMediaRoute`. The
query is only for URLs that tags load without headers. A test pins that
a session media fetch sends the header and a bare URL, and it goes red
if `fetchApi` goes back to the scoped URL.

## Flag-off parity

- With the slot empty, `apiURL` returns the route unchanged, and the
socket runs today's token code. `addSocketAuth` returns true, as before.
- The shared harness `src/platform/auth/webSessionFlagOff.test.ts` is
extended, not loosened. It now also pins `/api/viewvideo…`,
`/api/vhs/viewaudio…` and `/api/assets/:id/content`, because `apiURL` is
on their path.
- Mutation checks, all red: drop `workspace_id` from the socket, keep
the token on the session, open a socket while signed out, remove the
workspace reconnect, leave media unscoped.

## AS IS / TO BE

| Flag on, team workspace | AS IS | TO BE |
| --- | --- | --- |
| Socket | `/ws?token=<minted>` | `/ws?workspace_id=<team>` on the
cookie |
| Media URL | `/api/view?filename=…` (personal) |
`/api/view?filename=…&workspace_id=<team>` |
| Flag off | unchanged | unchanged |

Network screenshots will be added by editing this description once
testcloud serves C6/C7.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
- Action items:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2905

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | flag (cloud) + website/billing-web readers | C11 cloud#10689
+ BE-17276 probe (readers) | Comfy-Org#18708 merged; readers Comfy-Org#18874, do not merge
|
| FE-2892 | web session client (+ revoke-all follow-up) | C2a
cloud#10589 for revoke-all | Comfy-Org#18710 merged; revoke-all Comfy-Org#18869, do not
merge |
| FE-2893 | ADR | none | Comfy-Org#18707 merged |
| FE-2894 | identity + boot rules | BE-17063 on testcloud | Comfy-Org#18715, do
not merge |
| FE-2895 | `authorize()` | C5 cloud#10555 | Comfy-Org#18716, do not merge |
| FE-2897 | lifecycle, heartbeat | FE-2894, C1 | Comfy-Org#18719, do not merge |
| FE-2900 | lazy token mint from the session | FE-2895, C8 cloud#10585 |
Comfy-Org#18870, do not merge |
| FE-2901 | non-web clients stay on tokens | — | Comfy-Org#18711 |
| FE-2903 | cloud app joins the lifecycle | FE-2897 | Comfy-Org#18871, do not
merge |
| FE-2904 | cloud API client on `authorize()` | FE-2903, FE-2895, C5 |
Comfy-Org#18875, do not merge |
| **FE-2905 (this PR)** | socket + media carry workspace | FE-2904, C6,
C7 | this PR, do not merge |
| FE-2896 | website header | FE-2891 readers, FE-2894, C11 | Comfy-Org#18877, do
not merge |
| FE-2899 / 2898 | website credits, billing-web | FE-2896, FE-2895, C5 |
next |
| FE-2906 | cross-origin E2E harness | — | Comfy-Org#18718 (harness only) |
| FE-2902 / 2907 / 2908 | platform, rollout, cleanup | other repo / ops
/ after ramp | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2905 thisPr
```

- Blocked by: FE-2904 Comfy-Org#18875, C6 cloud#10583 (+Comfy-Org#10699), C7 cloud#10584
(+Comfy-Org#10698)
- Unblocks: FE-2907 rollout: the cloud app's socket and media are
covered

---------

Co-authored-by: mattmillerai <7741082+mattmillerai@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
github-merge-queue Bot pushed a commit that referenced this pull request Sep 29, 2026
…e-all contract (#18869)

> cloud#10589 (BE-17064 C2a, `POST /api/auth/sessions/revoke-all`) is
merged and #18926 synced its generated schema; this PR validates against
it.

## Why

`revokeAllWebSessions` was held out of #18710 in review: the route had
no contract, and the old version accepted any 2xx, which is the worst
lie this client could tell (the caller would believe every device is
signed out). cloud#10589 now defines the route and its response, so it
comes back validated.

## How

- `revokeAllWebSessions(options, csrfToken, getIdentityProof)`: `POST
/auth/sessions/revoke-all` with `credentials: 'include'`,
`Authorization: Bearer <proof>` and `X-CSRF-Token`.
- The contract authenticates this route with the Firebase ID token only
(`security: BearerAuth`). Accepting the cookie is a listed backend
follow-up in cloud#10696.
- The CSRF header and credentials are sent now so the cookie path works
when that follow-up lands.
- The 200 body is validated against `RevokeAllSessionsResponse` (`{
revoked: integer }`), the generated `zRevokeAllSessionsResponse` from
`@comfyorg/ingest-types/zod` (cloud#10589, synced by #18926).
- A 2xx that fails the schema (empty 204, `{}`, wrong types, HTML) is
`SESSION_UNAVAILABLE` and retryable; it is never reported as ok.
  - Non-2xx goes through the existing classifier.
- The testing fake serves the route. It checks the bearer, then a dead
session, then CSRF; a successful call revokes the session.
- Nothing in any app calls it yet, so the flag-off request harness is
unchanged (4/4).

## AS IS / TO BE

No UI; the evidence is tests.

- AS IS: no revoke-all client.
- TO BE: status-mapping rows, credentials, bearer and CSRF headers, six
schema-failing 2xx bodies (all transient), a stale CSRF token →
`CSRF_STALE`, and a successful revoke followed by `SESSION_REVOKED` on
the next read.

Mutations (each reverted, full suite rerun):

| Mutation | Tests red |
| --- | --- |
| accept any 2xx without validation | 6 |
| drop CSRF | 2 |
| drop credentials | 4 |
| drop Bearer | 3 |

account-core 1083 tests pass; typecheck, lint, knip and fallow are
clean.

## Links

- TDD: https://app.notion.com/p/3de6d73d365081d7a4c8f808c0a0384b
(sections 7, 9)
- Action items:
https://app.notion.com/p/3e56d73d3650812d962decc97fbd9ea3
- Linear: https://linear.app/comfyorg/issue/FE-2892
- Contract: Comfy-Org/cloud#10589, Comfy-Org/cloud#10696

## Where this PR sits in the plan

| Ticket | Scope | Blocked by | State |
| --- | --- | --- | --- |
| FE-2891 | flag (cloud) + website/billing-web readers | C11 cloud#10689
+ probe switch (readers) | #18708 merged; readers in progress |
| **FE-2892 (this PR)** | web session client (+ revoke-all follow-up) |
C2a cloud#10589 (merged) | #18710 merged; revoke-all #18869 ready for
review |
| FE-2893 | ADR | none | #18707 merged |
| FE-2894 | identity + boot rules | BE-17063 on testcloud | #18715, do
not merge |
| FE-2895 | `authorize()` | C5 cloud#10555 | #18716, do not merge |
| FE-2897 | lifecycle, heartbeat | FE-2894, C1 | #18719, do not merge |
| FE-2900 | lazy token mint from the session | FE-2895, C8 cloud#10585 |
#18870, do not merge |
| FE-2901 | non-web clients stay on tokens | — | #18711 |
| FE-2903 | cloud app joins the lifecycle | FE-2897 | #18871, do not
merge |
| FE-2904 | cloud API client on `authorize()` | FE-2903, FE-2895, C5 |
in progress |
| FE-2905 | socket + media carry workspace | FE-2904, C6, C7 | next |
| FE-2896 / 2899 / 2898 | website header, website credits, billing-web |
FE-2891 readers, FE-2894/2895, C5, C11 | next |
| FE-2906 | cross-origin E2E harness | — | #18718 (harness only) |
| FE-2902 / 2907 / 2908 | platform, rollout, cleanup | other repo / ops
/ after ramp | not started |

```mermaid
flowchart LR
  subgraph BE["BE · cloud ingest and infra"]
    C0["BE-17071 C0 preview CORS gate"]
    C1["BE-17061 C1 sessions table + revocable cookie"]
    C3["BE-17063 C3 GET /session, trusted origins, flag"]
    C4["BE-17062 C4 shared workspace resolution"]
    C5["BE-17066 C5 cookie on API: CSRF, Origin, workspace header"]
    C2["BE-17064 C2 revoke-all, purge, caps"]
    C6["BE-17067 C6 WebSocket on session"]
    C7["BE-17068 C7 scoped media"]
    C8["BE-17069 C8 token mint from session"]
    C9["BE-17065 C9 Redis cache + load test"]
    C10["BE-17072 C10 prod config, cleanup"]
    C11["C11 flag before sign-in (OQ17)"]
    B135["BE-17135 serve unified_web_session (server AND)"]
    I2["BE-17070 I2 edge limit, log + DNS audit"]
  end
  subgraph SDK["FE · account-core"]
    F2891["FE-2891 flag"]
    F2892["FE-2892 web session client"]
    F2894["FE-2894 identity + boot rules"]
    F2897["FE-2897 lifecycle, heartbeat"]
    F2895["FE-2895 authorize()"]
    F2900["FE-2900 lazy token mint"]
    F2901["FE-2901 non-web stay on tokens"]
  end
  subgraph APPS["FE · apps"]
    F2896["FE-2896 website header"]
    F2903["FE-2903 cloud lifecycle"]
    F2899["FE-2899 website credits"]
    F2904["FE-2904 cloud API client"]
    F2905["FE-2905 socket + media"]
    F2898["FE-2898 billing-web joins session"]
    F2902["FE-2902 platform"]
  end
  subgraph QA["QA · rollout · docs"]
    F2906["FE-2906 cross-origin E2E"]
    F2893["FE-2893 ADR + docs"]
    F2907["FE-2907 ramp + rollback"]
    F2908["FE-2908 cleanup"]
  end
  C0 --> C1 --> C3 --> C5
  C3 --> C11 --> F2891
  B135 --> F2891
  C4 --> C5
  C1 --> C2
  C1 --> C9
  C5 --> C6 & C7 & C8
  C3 --> F2892
  C1 --> F2892
  F2891 --> F2894
  C3 --> F2894
  F2892 --> F2894 --> F2896
  F2894 --> F2897 --> F2903
  C1 --> F2897
  F2892 --> F2895
  C5 --> F2895
  F2895 --> F2899 & F2904 & F2900 & F2901 & F2902
  C5 --> F2899 & F2904
  F2903 --> F2904 --> F2905
  C6 --> F2905
  C7 --> F2905
  C8 --> F2900
  F2894 --> F2898
  F2895 --> F2898
  C3 --> F2898
  C5 --> F2898
  F2903 & F2904 & F2905 & F2898 --> F2906
  C3 & C2 --> F2906
  F2906 --> F2907
  C9 & C10 & I2 --> F2907
  F2907 --> F2908
  C10 --> F2908
  classDef thisPr fill:#ffe08a,stroke:#b8860b,stroke-width:4px,color:#000
  class F2892 thisPr
```

- Blocked by: none (cloud#10589 and #18926 merged).
- Unblocks: FE-2897 host wiring for "sign out of all devices"; FE-2906
E2E-07.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cloud/1.55 Backport PRs for cloud 1.55 core/1.55 Backport PRs for core 1.55 risk:xhigh PR risk grade (advisory shadow check; grader-owned)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants