Skip to content

FE-2218 ci: run the billing-web unit tests on pull requests - #17827

Merged
dante01yoon merged 1 commit into
mainfrom
jaewon/fe-2218-billing-web-ci-unit
Sep 16, 2026
Merged

dante01yoon merged 1 commit into
mainfrom
jaewon/fe-2218-billing-web-ci-unit

Conversation

@dante01yoon

Copy link
Copy Markdown
Collaborator

Linear FE-2218.

Why

apps/billing-web has a Vitest suite (App.test.ts, EmbeddedCheckout.test.ts, with ~10 more files landing in #17798) that runs in zero CI steps today.

ci-tests-unit.yaml runs the root Vitest suite and then loops over a fixed package list (account account-ui billing-contract object-info-parser shared-frontend-utils design-system) — @comfyorg/billing-web is not in that loop, and the workflow's changes-filter should-run gate excludes apps/** outright, so a billing-web-only PR skips the job entirely. apps/website has its own ci-website-unit.yaml; billing-web had no equivalent. A broken billing-web test could merge green.

How

New .github/workflows/ci-billing-web-unit.yaml, modelled on ci-website-unit.yaml:

  • Triggers on push to main, pull_request (branches-ignore: [wip/*, draft/*, temp/*]), and merge_group. No paths: filter on the triggers: a paths:-filtered workflow produces no check run at all when the paths do not match, so it can never be a required check, and it would leave the merge queue waiting.
  • Gating moves into the job graph instead. A changes job runs ./.github/actions/changes-filter, and billing-web-unit is needs: changes with if: app-billing-web-changes == 'true' || packages-changes == 'true'. A new app-billing-web-changes output computed from apps/billing-web/** is added to that action, next to the existing app-website-changes; shared deps (.nvmrc, root package.json, pnpm-lock.yaml, pnpm-workspace.yaml) fold in automatically like every other app-* output, and the existing packages-changes already covers packages/** — including account, account-ui, and billing-contract.
  • A billing-web-unit-gate job (needs: [changes, billing-web-unit], if: always()) emits the stable branch-protection context: it passes when the unit job succeeded, or when it was skipped and filtering itself succeeded and found no billing-web or package changes, and fails otherwise. Same success/skip logic as website-unit-gate, so a filter-step failure cannot be mistaken for "nothing to run".
  • Standard ubuntu-latest + ./.github/actions/setup-frontend (pnpm, .nvmrc Node, lockfile-keyed pnpm store cache), plus the repo's usual ${{ github.workflow }}-${{ github.ref }} cancel-in-progress concurrency and contents: read.
  • Runs pnpm --filter @comfyorg/billing-web test:coverage and uploads apps/billing-web/coverage/lcov.info to Codecov under flag billing-web, re-rooted with network_prefix: apps/billing-web/ so paths cannot collide with root-app coverage. fail_ci_if_error: ${{ github.event.pull_request.head.repo.fork != true }}, matching the website workflow — forks have no token, so upload failures cannot block outside contributors.
  • codecov.yml declares the new flag with paths: apps/billing-web/src/** and carryforward: false, matching the website-unit entry, so patch coverage is attributed correctly and a missing upload is not papered over with stale data.

No typecheck or build job here: pnpm typecheck (root) already fans out to typecheck:billing-web, pnpm lint already runs pnpm --filter @comfyorg/billing-web lint, and both run on every PR through the ungated ci-lint-format.yaml. vite build for billing-web is still uncovered by CI — out of scope for this PR.

AS-IS / TO-BE

No UI change.

  • AS-IS: grep -rn "billing-web" .github/workflows/ returns nothing. The billing-web suite executes in no CI job on any event.
  • TO-BE: CI: Billing Web Unit reports on every PR and merge-queue candidate. A PR touching apps/billing-web/** or packages/** executes the suite with coverage and reports it to Codecov under the billing-web flag; any other PR skips the test job but still emits a passing billing-web-unit-gate, so the check can be marked required.

Testing

  • pnpm --filter @comfyorg/billing-web test:coverage — 2 test files, 7 tests passed; 98.33% statements, 100% branches, 90% functions, 98.27% lines. apps/billing-web/coverage/lcov.info written at the path the workflow uploads.
  • yamllint --config-file .yamllint .github/workflows/ci-billing-web-unit.yaml .github/actions/changes-filter/action.yaml codecov.yml — clean (same linter and config as ci-yaml-validation.yaml). Workflow also parses and resolves to the expected on (push/pull_request/merge_group) and jobs (changes, billing-web-unit, billing-web-unit-gate) structure.
  • diff against ci-website-unit.yaml shows only name, path, and filter-output renames plus the narrower push: branches: [main] — the gate job's logic is byte-identical apart from those substitutions.
  • Action pinning matches .pinact.yaml: actions/checkout@v7 is in ignore_actions, codecov/codecov-action is SHA-pinned to the same commit ci-website-unit.yaml uses.

Where this sits in the plan

Billing SDK track FE-2210 (implementation plan V2). Hybrid model: top-up in-app, subscription management / invoices / payment methods on the hosted billing app.

Phase Item Ticket Status
1-2 Session core, transport, readers FE-2211/2212/2213 merged
3 Operation lifecycle, commands, eight-state projection FE-2227/2214/2223 merged (#17655)
4 @comfyorg/account-ui composables + CheckoutSteps FE-2215 merged (#17662, #17663)
5 slice 1 Top-up through the SDK behind billing_sdk_topup_enabled FE-2216 merged (#17665)
rollout C hosted_billing_destination server flag read by the host FE-2218 merged (#17716)
rollout C hostedDestination port on the lifecycle, value on operation state FE-2210/2218 open (#17783)
7 prep Scope-source port + credentialed transport (BFF / cookie hosts) FE-2218 merged (#17782)
7 prep @comfyorg/account → @comfyorg/account-core rename FE-2218 local, opens after #17783 and #17794
7 prep billing-contract route builder + return_to registry FE-2218 merged (#17795)
3A-3 Workshop adapter over createHostedTopupCheckout FE-2214 merged (#17793)
8 core previewSubscribe command FE-2331 merged (#17797)
8 core Plans + saved payment-methods readers FE-2331 open (#17798, whole Phase 8)
8 ui account-ui composables (usePlans, usePaymentMethods, usePreviewSubscribe) FE-2331 in #17798
7 billing-web own-origin session, sign-in, SDK composition FE-2218 in #17798
7 billing-web unit tests in CI (ci-billing-web-unit.yaml) FE-2218 this PR
7 ingest CORS + top-up return hosts for billing.comfy.org and its previews (Comfy-Org/cloud) FE-2218 open (cloud PR 9512)
8 ui billing-web /v1 entry routing + subscription / payment-method surfaces FE-2331 in #17798
7 npm publish (ingest-types, account-core, billing-contract), Platform install, billing-web live top-up FE-2218 todo
6 Contract tests + live E2E per flow × consumer FE-2217 todo
5 slice 2 Subscription flows through the SDK FE-2216 todo (plan-change decision)
follow-up One needsCustomerAttention predicate (from the #17665 review) FE-2216 merged (#17792)
follow-up Opaque BillingServerCode (from the #17656 review) FE-2227 open (#17794)
follow-up useCredits clears on SUPERSEDED (from the #17799 review) FE-2215 open (#17824)
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6["Phase 6 evidence"]
  S2["Phase 5 slice 2 subscription"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style BWS stroke:#0366d6,stroke-width:4px
Loading

@github-actions

github-actions Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright: ✅ 2024 passed, 0 failed · 1 flaky

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

📦 Bundle: 10 MB gzip 🔴 +337 kB

Details

Summary

  • Raw size: 42.6 MB baseline 41.1 MB — 🔴 +1.5 MB
  • Gzip: 10 MB baseline 9.69 MB — 🔴 +337 kB
  • Brotli: 7.07 MB baseline 6.82 MB — 🔴 +253 kB
  • Bundles: 451 current • 448 baseline • 290 added / 287 removed

Category Glance
Other 🔴 +1.11 MB (17.5 MB) · Data & Services 🔴 +205 kB (3.81 MB) · Vendor & Third-Party 🔴 +137 kB (18.2 MB) · Graph Workspace 🔴 +16 kB (1.44 MB) · Views & Navigation 🔴 +7.82 kB (132 kB) · UI Components 🔴 +6.26 kB (123 kB) · + 5 more

App Entry Points — 3.73 kB (baseline 3.73 kB) • ⚪ 0 B

Main entry bundles and manifests

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

Status: 1 added / 1 removed

Graph Workspace — 1.44 MB (baseline 1.43 MB) • 🔴 +16 kB

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-CaOjKLnw.js (new) — 1.43 MB 🔴 +1.43 MB 🔴 +314 kB 🔴 +235 kB
assets/GraphView-bfNavKCv.js (removed) 1.42 MB — 🟢 -1.42 MB 🟢 -310 kB 🟢 -232 kB
assets/WidgetCompositor-C3mUrpf5.js (new) — 8.5 kB 🔴 +8.5 kB 🔴 +2.8 kB 🔴 +2.48 kB
assets/WidgetCompositor-CX9xAAW-.js (removed) 8.5 kB — 🟢 -8.5 kB 🟢 -2.8 kB 🟢 -2.48 kB

Status: 2 added / 2 removed / 1 unchanged

Views & Navigation — 132 kB (baseline 124 kB) • 🔴 +7.82 kB

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-Bffyn8Ng.js (removed) 25 kB — 🟢 -25 kB 🟢 -6.24 kB 🟢 -5.51 kB
assets/CloudSurveyView-DKWHCeqX.js (new) — 25 kB 🔴 +25 kB 🔴 +6.25 kB 🔴 +5.52 kB
assets/CloudLayoutView-CC6thJVD.js (removed) 21.8 kB — 🟢 -21.8 kB 🟢 -6.56 kB 🟢 -5.74 kB
assets/CloudLayoutView-CvKco3Nh.js (new) — 21.7 kB 🔴 +21.7 kB 🔴 +6.56 kB 🔴 +5.73 kB
assets/OAuthConsentView-BgNTI4CB.js (removed) 15.5 kB — 🟢 -15.5 kB 🟢 -4.25 kB 🟢 -3.7 kB
assets/OAuthConsentView-DVQOjBME.js (new) — 15.5 kB 🔴 +15.5 kB 🔴 +4.25 kB 🔴 +3.71 kB
assets/useCloudAuthPage-CaWgvCeL.js (new) — 11 kB 🔴 +11 kB 🔴 +4.18 kB 🔴 +3.54 kB
assets/CloudLoginView-BXauycA0.js (new) — 8.74 kB 🔴 +8.74 kB 🔴 +2.56 kB 🔴 +2.26 kB
assets/CloudLoginView-DHjStL3n.js (removed) 8.74 kB — 🟢 -8.74 kB 🟢 -2.55 kB 🟢 -2.26 kB
assets/UserCheckView-BI3qVSlF.js (new) — 8.51 kB 🔴 +8.51 kB 🔴 +2.13 kB 🔴 +1.86 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-BSHAdvRi.js (removed) 6.96 kB — 🟢 -6.96 kB 🟢 -2.28 kB 🟢 -1.99 kB
assets/CloudSignupView-nLT17zO0.js (new) — 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-CGE4_62S.js (new) — 6.06 kB 🔴 +6.06 kB 🔴 +2.12 kB 🔴 +1.89 kB
assets/CloudSubscriptionRedirectView-DDQDTS9p.js (removed) 5.69 kB — 🟢 -5.69 kB 🟢 -1.94 kB 🟢 -1.69 kB
assets/CloudSubscriptionRedirectView-XMTPbCsB.js (new) — 5.69 kB 🔴 +5.69 kB 🔴 +1.93 kB 🔴 +1.7 kB
assets/UserSelectView-DT2yRTJJ.js (new) — 5.63 kB 🔴 +5.63 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-Dks_FCST.js (new) — 5 kB 🔴 +5 kB 🔴 +1.72 kB 🔴 +1.5 kB
assets/CloudForgotPasswordView-CeVAE_fq.js (removed) 4.97 kB — 🟢 -4.97 kB 🟢 -1.72 kB 🟢 -1.49 kB
assets/CloudAuthTimeoutView-B1DZqkhz.js (new) — 4.43 kB 🔴 +4.43 kB 🔴 +1.54 kB 🔴 +1.34 kB
assets/CloudAuthTimeoutView-BT8jWWW4.js (removed) 4.43 kB — 🟢 -4.43 kB 🟢 -1.54 kB 🟢 -1.34 kB
assets/WidgetResolutionPreview-DTr-9tJi.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-C_2utjYC.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-DsCAva7g.js (new) — 403 B 🔴 +403 B 🔴 +251 B 🔴 +206 B
assets/WidgetTextPreview-BeMi2wk7.js (new) — 131 B 🔴 +131 B 🔴 +100 B 🔴 +84 B
assets/WidgetTextPreview-DsDb04C7.js (removed) 131 B — 🟢 -131 B 🟢 -100 B 🟢 -87 B

Status: 17 added / 16 removed / 1 unchanged

Panels & Settings — 623 kB (baseline 621 kB) • 🔴 +2.37 kB

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/KeybindingPanel-D4J8GBCE.js (removed) 49.4 kB — 🟢 -49.4 kB 🟢 -9.95 kB 🟢 -8.82 kB
assets/KeybindingPanel-BXGGHEqq.js (new) — 49.4 kB 🔴 +49.4 kB 🔴 +9.95 kB 🔴 +8.81 kB
assets/CreditsPanel-Dp7vJSFV.js (new) — 38 kB 🔴 +38 kB 🔴 +9.12 kB 🔴 +8 kB
assets/CreditsPanel-C8IcqBKF.js (removed) 37.4 kB — 🟢 -37.4 kB 🟢 -9.04 kB 🟢 -7.9 kB
assets/SecretsPanel-xupFI09w.js (new) — 33.8 kB 🔴 +33.8 kB 🔴 +7.9 kB 🔴 +6.93 kB
assets/SecretsPanel-Dc1XFH2x.js (removed) 33.7 kB — 🟢 -33.7 kB 🟢 -7.87 kB 🟢 -6.9 kB
assets/settings-BbNEyWoD.js (new) — 28.2 kB 🔴 +28.2 kB 🔴 +7.91 kB 🔴 +6.54 kB
assets/settings-DNoa4zUg.js (removed) 27.1 kB — 🟢 -27.1 kB 🟢 -7.71 kB 🟢 -6.4 kB
assets/AboutPanel-Mo6exE6G.js (new) — 11.4 kB 🔴 +11.4 kB 🔴 +3.14 kB 🔴 +2.8 kB
assets/AboutPanel-Ci1Zv8Pk.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.11 kB 🟢 -2.78 kB
assets/ExtensionPanel-BFmd93jx.js (removed) 9.19 kB — 🟢 -9.19 kB 🟢 -2.52 kB 🟢 -2.23 kB
assets/ExtensionPanel-BwgyldZh.js (new) — 9.19 kB 🔴 +9.19 kB 🔴 +2.51 kB 🔴 +2.23 kB
assets/settings-DPHBuUIs.js (new) — 7.33 kB 🔴 +7.33 kB 🔴 +1.92 kB 🔴 +1.61 kB
assets/settings-CaReuigq.js (removed) 7.08 kB — 🟢 -7.08 kB 🟢 -1.87 kB 🟢 -1.59 kB
assets/ServerConfigPanel-DHYtSpJP.js (new) — 6.15 kB 🔴 +6.15 kB 🔴 +1.96 kB 🔴 +1.74 kB
assets/ServerConfigPanel-kNmvBVkb.js (removed) 6.09 kB — 🟢 -6.09 kB 🟢 -1.95 kB 🟢 -1.73 kB
assets/UserPanel-dpgPDXOa.js (new) — 5.76 kB 🔴 +5.76 kB 🔴 +1.8 kB 🔴 +1.55 kB
assets/UserPanel-BIcYOHcC.js (removed) 5.73 kB — 🟢 -5.73 kB 🟢 -1.78 kB 🟢 -1.55 kB
assets/refreshRemoteConfig-dC4xcHyu.js (new) — 4.54 kB 🔴 +4.54 kB 🔴 +1.61 kB 🔴 +1.43 kB
assets/refreshRemoteConfig-Dx3g-ezg.js (removed) 4.51 kB — 🟢 -4.51 kB 🟢 -1.59 kB 🟢 -1.41 kB
assets/remoteConfig-C3BimCzX.js (new) — 1.51 kB 🔴 +1.51 kB 🔴 +699 B 🔴 +586 B
assets/remoteConfig-Cm_gpgYK.js (removed) 1.51 kB — 🟢 -1.51 kB 🟢 -698 B 🟢 -583 B
assets/CreditsPanel-BfVMsydm.js (new) — 116 B 🔴 +116 B 🔴 +95 B 🔴 +91 B
assets/CreditsPanel-DBkFjJ3k.js (removed) 116 B — 🟢 -116 B 🟢 -95 B 🟢 -86 B
assets/refreshRemoteConfig-ca9x4PDk.js (removed) 110 B — 🟢 -110 B 🟢 -89 B 🟢 -88 B
assets/refreshRemoteConfig-DUrGivP4.js (new) — 110 B 🔴 +110 B 🔴 +89 B 🔴 +93 B

Status: 13 added / 13 removed / 14 unchanged

User & Accounts — 32.3 kB (baseline 27.8 kB) • 🔴 +4.51 kB

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SignUpForm-WjuWYWq8.js (new) — 15.7 kB 🔴 +15.7 kB 🔴 +5.1 kB 🔴 +4.43 kB
assets/SignUpForm-EHelApfJ.js (removed) 13.3 kB — 🟢 -13.3 kB 🟢 -4.53 kB 🟢 -3.93 kB
assets/PasswordFields-CNYfIZue.js (new) — 6.21 kB 🔴 +6.21 kB 🔴 +1.86 kB 🔴 +1.63 kB
assets/PasswordFields-BBTy1c-C.js (removed) 5.22 kB — 🟢 -5.22 kB 🟢 -1.56 kB 🟢 -1.38 kB
assets/auth-By-Oitcx.js (removed) 3.48 kB — 🟢 -3.48 kB 🟢 -1.2 kB 🟢 -1.01 kB
assets/auth-DSjXOApU.js (new) — 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-C2cLkPjP.js (new) — 1.85 kB 🔴 +1.85 kB 🔴 +840 B 🔴 +737 B
assets/UpdatePasswordContent-CDFQeg-H.js (removed) 1.85 kB — 🟢 -1.85 kB 🟢 -843 B 🟢 -732 B
assets/WorkspaceProfilePic-BBK0nnO5.js (removed) 1.6 kB — 🟢 -1.6 kB 🟢 -830 B 🟢 -719 B
assets/authStore-8QNWyfTa.js (removed) 126 B — 🟢 -126 B 🟢 -103 B 🟢 -118 B
assets/authStore-BLPmA7gU.js (new) — 126 B 🔴 +126 B 🔴 +106 B 🔴 +102 B
assets/workspaceAuthStore-BnKSO14J.js (new) — 108 B 🔴 +108 B 🔴 +99 B 🔴 +105 B
assets/workspaceAuthStore-ByVOd4Gw.js (removed) 108 B — 🟢 -108 B 🟢 -99 B 🟢 -105 B
assets/auth-DgbPOBV6.js (new) — 105 B 🔴 +105 B 🔴 +96 B 🔴 +94 B
assets/auth-DTyefPt5.js (removed) 105 B — 🟢 -105 B 🟢 -96 B 🟢 -83 B

Status: 8 added / 8 removed / 3 unchanged

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

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyHubPublishDialog-TjsXk4L-.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-C8LX5Kib.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-PeMdMRN-.js (new) — 4.45 kB 🔴 +4.45 kB 🔴 +1.86 kB 🔴 +1.59 kB
assets/useRangeEditor-BeZpl1FK.js (new) — 3.29 kB 🔴 +3.29 kB 🔴 +1.14 kB 🔴 +1.04 kB
assets/useRangeEditor-BoyMoS2p.js (removed) 3.29 kB — 🟢 -3.29 kB 🟢 -1.14 kB 🟢 -1.04 kB
assets/SubscriptionInactiveMemberDialog-CA75u5wf.js (removed) 2.48 kB — 🟢 -2.48 kB 🟢 -1 kB 🟢 -854 B
assets/SubscriptionInactiveMemberDialog-CQfHtVOa.js (new) — 2.48 kB 🔴 +2.48 kB 🔴 +1 kB 🔴 +851 B
assets/useLayerEditor-C4uAB7pJ.js (new) — 1.19 kB 🔴 +1.19 kB 🔴 +563 B 🔴 +489 B
assets/useLayerEditor-CTvFWRZW.js (removed) 1.19 kB — 🟢 -1.19 kB 🟢 -561 B 🟢 -495 B
assets/ComfyHubPublishDialog-CgJvaze8.js (new) — 143 B 🔴 +143 B 🔴 +105 B 🔴 +95 B
assets/ComfyHubPublishDialog-CL-G8ayI.js (removed) 143 B — 🟢 -143 B 🟢 -105 B 🟢 -92 B
assets/useSubscriptionDialog-BD1M7Ye6.js (new) — 107 B 🔴 +107 B 🔴 +101 B 🔴 +89 B
assets/useSubscriptionDialog-Q_CUTcnv.js (removed) 107 B — 🟢 -107 B 🟢 -101 B 🟢 -97 B

Status: 8 added / 8 removed

UI Components — 123 kB (baseline 117 kB) • 🔴 +6.26 kB

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useMoreOptionsMenu-BseFXjit.js (removed) 48 kB — 🟢 -48 kB 🟢 -11.6 kB 🟢 -10 kB
assets/useMoreOptionsMenu-lxDX7ZxR.js (new) — 47.8 kB 🔴 +47.8 kB 🔴 +11.5 kB 🔴 +9.96 kB
assets/ComfyQueueButton-C7cI7H_z.js (removed) 14.6 kB — 🟢 -14.6 kB 🟢 -3.98 kB 🟢 -3.54 kB
assets/ComfyQueueButton-CPKc0KzW.js (new) — 14.6 kB 🔴 +14.6 kB 🔴 +3.98 kB 🔴 +3.53 kB
assets/useTerminalTabs-DBJz3dYg.js (new) — 11.8 kB 🔴 +11.8 kB 🔴 +3.71 kB 🔴 +3.28 kB
assets/useTerminalTabs-nHwhPoz4.js (removed) 11.8 kB — 🟢 -11.8 kB 🟢 -3.69 kB 🟢 -3.27 kB
assets/InviteMembersForm-CNuS1qHf.js (removed) 10.2 kB — 🟢 -10.2 kB 🟢 -3.1 kB 🟢 -2.77 kB
assets/InviteMembersForm-CB9-drJs.js (new) — 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-DWct9ahp.js (new) — 7.65 kB 🔴 +7.65 kB 🔴 +1.84 kB 🔴 +1.62 kB
assets/ScrubableNumberInput-CPHcW-wC.js (removed) 6.49 kB — 🟢 -6.49 kB 🟢 -2.17 kB 🟢 -1.91 kB
assets/ScrubableNumberInput-CHIln_Us.js (new) — 6.49 kB 🔴 +6.49 kB 🔴 +2.16 kB 🔴 +1.92 kB
assets/WidgetInputNumberInput-DYs9O-TI.js (removed) 5.83 kB — 🟢 -5.83 kB 🟢 -2.07 kB 🟢 -1.85 kB
assets/WidgetInputNumberInput-CuRukHga.js (new) — 5.82 kB 🔴 +5.82 kB 🔴 +2.07 kB 🔴 +1.84 kB
assets/AgentConsentCard-DJr_WljM.js (new) — 5.64 kB 🔴 +5.64 kB 🔴 +2.07 kB 🔴 +1.83 kB
assets/Button-Tc12EZL7.js (new) — 4.66 kB 🔴 +4.66 kB 🔴 +1.62 kB 🔴 +1.43 kB
assets/Button-BTLcVcpW.js (removed) 4.64 kB — 🟢 -4.64 kB 🟢 -1.63 kB 🟢 -1.44 kB
assets/SubscribeButton-ADR6m63l.js (new) — 2.15 kB 🔴 +2.15 kB 🔴 +969 B 🔴 +847 B
assets/SubscribeButton-cg7SE_P5.js (removed) 2.15 kB — 🟢 -2.15 kB 🟢 -968 B 🟢 -845 B
assets/UserAvatar-CCH66C1w.js (new) — 1.93 kB 🔴 +1.93 kB 🔴 +859 B 🔴 +743 B
assets/WidgetButton-BtiDb5TD.js (removed) 1.91 kB — 🟢 -1.91 kB 🟢 -889 B 🟢 -773 B
assets/WidgetButton-DR8G4hD8.js (new) — 1.91 kB 🔴 +1.91 kB 🔴 +890 B 🔴 +774 B
assets/Input-CFZOnKKa.js (removed) 1.76 kB — 🟢 -1.76 kB 🟢 -874 B 🟢 -756 B
assets/Input-CIgT4b2o.js (new) — 1.76 kB 🔴 +1.76 kB 🔴 +873 B 🔴 +767 B
assets/UserAvatar-B8FrHbFK.js (removed) 1.24 kB — 🟢 -1.24 kB 🟢 -640 B 🟢 -548 B
assets/cloudFeedbackTopbarButton-BXk5Q6B7.js (new) — 701 B 🔴 +701 B 🔴 +418 B 🔴 +384 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-ncrLnn8m.js (new) — 128 B 🔴 +128 B 🔴 +99 B 🔴 +92 B
assets/toggle-group-B6RqgW6F.js (removed) 40 B — 🟢 -40 B 🟢 -60 B 🟢 -44 B
assets/toggle-group-CXVD11Fp.js (new) — 40 B 🔴 +40 B 🔴 +60 B 🔴 +44 B

Status: 16 added / 15 removed

Data & Services — 3.81 MB (baseline 3.6 MB) • 🔴 +205 kB

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/settingStore-Cc9xlQgc.js (new) — 3.48 MB 🔴 +3.48 MB 🔴 +825 kB 🔴 +622 kB
assets/settingStore-Dh8JKC-r.js (removed) 3.28 MB — 🟢 -3.28 MB 🟢 -773 kB 🟢 -584 kB
assets/api-DZPySet8.js (new) — 180 kB 🔴 +180 kB 🔴 +41.5 kB 🔴 +34.9 kB
assets/api-6B0nO4jv.js (removed) 170 kB — 🟢 -170 kB 🟢 -38.6 kB 🟢 -32.6 kB
assets/load3dService-B287VVn3.js (removed) 86.9 kB — 🟢 -86.9 kB 🟢 -20.3 kB 🟢 -17.6 kB
assets/load3dService-XsiK6NmL.js (new) — 86.9 kB 🔴 +86.9 kB 🔴 +20.3 kB 🔴 +17.5 kB
assets/releaseStore-B04GmhiB.js (removed) 23.8 kB — 🟢 -23.8 kB 🟢 -7.07 kB 🟢 -6.22 kB
assets/releaseStore-CVbOCOL6.js (new) — 23.8 kB 🔴 +23.8 kB 🔴 +7.06 kB 🔴 +6.21 kB
assets/workflowShareService-COSZqBug.js (new) — 17 kB 🔴 +17 kB 🔴 +5.06 kB 🔴 +4.46 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/keybindingService-htnay_FV.js (new) — 6.95 kB 🔴 +6.95 kB 🔴 +1.74 kB 🔴 +1.51 kB
assets/dialogStore-D83mpPDg.js (removed) 5.35 kB — 🟢 -5.35 kB 🟢 -1.64 kB 🟢 -1.44 kB
assets/dialogStore-lMK8Sc2-.js (new) — 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-B4Arh_5R.js (new) — 2.38 kB 🔴 +2.38 kB 🔴 +899 B 🔴 +794 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-BJKEYH9F.js (new) — 1.71 kB 🔴 +1.71 kB 🔴 +829 B 🔴 +725 B
assets/audioService-BlvYcwDu.js (removed) 1.71 kB — 🟢 -1.71 kB 🟢 -830 B 🟢 -726 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-Bf195L2L.js (new) — 97 B 🔴 +97 B 🔴 +96 B 🔴 +81 B
assets/dialogService-D6aK1--R.js (removed) 97 B — 🟢 -97 B 🟢 -96 B 🟢 -94 B
assets/releaseStore-BJmn0JMf.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +89 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-BA2TLjWh.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +82 B
assets/assetsStore-DikXjJ0w.js (new) — 94 B 🔴 +94 B 🔴 +92 B 🔴 +85 B
assets/assetsStore-G_6Z7IJo.js (removed) 94 B — 🟢 -94 B 🟢 -92 B 🟢 -83 B
assets/api-K3H2o9qZ.js (removed) 62 B — 🟢 -62 B 🟢 -74 B 🟢 -66 B
assets/api-p9K7mhgA.js (new) — 62 B 🔴 +62 B 🔴 +74 B 🔴 +66 B

Status: 16 added / 16 removed

Utilities & Hooks — 561 kB (baseline 559 kB) • 🔴 +2.66 kB

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useConflictDetection-B-U5uLSc.js (removed) 237 kB — 🟢 -237 kB 🟢 -53.1 kB 🟢 -43.2 kB
assets/useConflictDetection-DU5j0qzp.js (new) — 235 kB 🔴 +235 kB 🔴 +53 kB 🔴 +43.2 kB
assets/useLayerEditorSession-C9FGI28j.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-CYO9JXJh.js (new) — 26.3 kB 🔴 +26.3 kB 🔴 +5.95 kB 🔴 +5.28 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-B4QiNor9.js (new) — 21.9 kB 🔴 +21.9 kB 🔴 +5.25 kB 🔴 +4.59 kB
assets/useImageQuiet-17PxBhD2.js (removed) 19.1 kB — 🟢 -19.1 kB 🟢 -6.12 kB 🟢 -5.28 kB
assets/useImageQuiet-uQsVOQWU.js (new) — 19.1 kB 🔴 +19.1 kB 🔴 +6.11 kB 🔴 +5.27 kB
assets/useImageCrop-Bt4i-Meu.js (new) — 15.3 kB 🔴 +15.3 kB 🔴 +3.53 kB 🔴 +3.08 kB
assets/useImageCrop-Nvz6e46Z.js (removed) 14.9 kB — 🟢 -14.9 kB 🟢 -3.42 kB 🟢 -2.99 kB
assets/useDowngradeToPersonal-DdH74WZd.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/useFeatureFlags-CdB1A4Vm.js (new) — 9.35 kB 🔴 +9.35 kB 🔴 +2.63 kB 🔴 +2.24 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/useExternalLink-DU8HtlR9.js (new) — 7.57 kB 🔴 +7.57 kB 🔴 +2.54 kB 🔴 +2.17 kB
assets/usePricingTableUrlLoader-B5Sr2U6S.js (new) — 4.81 kB 🔴 +4.81 kB 🔴 +1.65 kB 🔴 +1.41 kB
assets/usePricingTableUrlLoader-0TEZNj-z.js (removed) 4.79 kB — 🟢 -4.79 kB 🟢 -1.65 kB 🟢 -1.41 kB
assets/useTransformState-CDqyIq0J.js (removed) 3.54 kB — 🟢 -3.54 kB 🟢 -1.55 kB 🟢 -1.29 kB
assets/useTransformState-D4-iphqj.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-Ro9omPqT.js (new) — 2.93 kB 🔴 +2.93 kB 🔴 +858 B 🔴 +778 B
assets/useSurveyEligibility-ChJemtU3.js (removed) 2.89 kB — 🟢 -2.89 kB 🟢 -1.11 kB 🟢 -921 B
assets/useSurveyEligibility-DTlQ5Tal.js (new) — 2.89 kB 🔴 +2.89 kB 🔴 +1.11 kB 🔴 +918 B
assets/useScheduledPlanChange-CQRWxfKw.js (new) — 2.4 kB 🔴 +2.4 kB 🔴 +963 B 🔴 +837 B
assets/useTypeformEmbed-DqZ7UNke.js (removed) 2.07 kB — 🟢 -2.07 kB 🟢 -1.04 kB 🟢 -862 B
assets/useTypeformEmbed-O2Pv0Ywj.js (new) — 2.07 kB 🔴 +2.07 kB 🔴 +1.04 kB 🔴 +864 B
assets/useFeatureUsageTracker-D3y36y2q.js (new) — 2.07 kB 🔴 +2.07 kB 🔴 +912 B 🔴 +772 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/downloadUtil-DMiOCpRB.js (new) — 2.04 kB 🔴 +2.04 kB 🔴 +907 B 🔴 +730 B
assets/useUpstreamValue-DZm_bMrl.js (removed) 1.97 kB — 🟢 -1.97 kB 🟢 -753 B 🟢 -664 B
assets/useUpstreamValue-LrV9Ultp.js (new) — 1.97 kB 🔴 +1.97 kB 🔴 +749 B 🔴 +663 B
assets/useWorkspaceTierLabel-39hLCLLh.js (removed) 1.97 kB — 🟢 -1.97 kB 🟢 -842 B 🟢 -715 B
assets/useWorkspaceTierLabel-Cp4EamFc.js (new) — 1.97 kB 🔴 +1.97 kB 🔴 +844 B 🔴 +714 B
assets/useErrorHandling-BF4XuROf.js (removed) 1.49 kB — 🟢 -1.49 kB 🟢 -613 B 🟢 -521 B
assets/useErrorHandling-CpudPL65.js (new) — 1.49 kB 🔴 +1.49 kB 🔴 +615 B 🔴 +520 B
assets/useModalLiftedZIndex-6oZrs742.js (removed) 908 B — 🟢 -908 B 🟢 -554 B 🟢 -465 B
assets/useModalLiftedZIndex-BRFoFBYR.js (new) — 907 B 🔴 +907 B 🔴 +553 B 🔴 +466 B
assets/useTextFileContent-BK-OqZhP.js (new) — 841 B 🔴 +841 B 🔴 +428 B 🔴 +378 B
assets/useTextFileContent-C1pcmHRG.js (removed) 841 B — 🟢 -841 B 🟢 -428 B 🟢 -404 B
assets/useSessionCookie-CGw-hrQT.js (removed) 688 B — 🟢 -688 B 🟢 -354 B 🟢 -307 B
assets/useSessionCookie-IDGwqqcu.js (new) — 688 B 🔴 +688 B 🔴 +351 B 🔴 +309 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/useLoad3d-csKYJfzK.js (new) — 311 B 🔴 +311 B 🔴 +165 B 🔴 +150 B
assets/useSessionCookie-DBBAk2sz.js (new) — 101 B 🔴 +101 B 🔴 +86 B 🔴 +82 B
assets/useSessionCookie-Hj339PhM.js (removed) 101 B — 🟢 -101 B 🟢 -86 B 🟢 -85 B
assets/useFeatureFlags-CrEfYe6v.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +82 B
assets/useFeatureFlags-CrJiiNIP.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -81 B
assets/useLoad3dViewer-CJd7xIa9.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -85 B
assets/useLoad3dViewer-CsMxS1ii.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +85 B
assets/useCurrentUser-3TN1QYI5.js (removed) 93 B — 🟢 -93 B 🟢 -94 B 🟢 -94 B
assets/useCurrentUser-DV5YSm4O.js (new) — 93 B 🔴 +93 B 🔴 +94 B 🔴 +84 B

Status: 29 added / 28 removed / 8 unchanged

Vendor & Third-Party — 18.2 MB (baseline 18.1 MB) • 🔴 +137 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-CJE2Bgvo.js (new) — 3.5 MB 🔴 +3.5 MB 🔴 +741 kB 🔴 +567 kB
assets/vendor-primevue-Z5lixi3U.js (removed) 1.69 MB — 🟢 -1.69 MB 🟢 -305 kB 🟢 -184 kB
assets/vendor-primevue-BIQGNSop.js (new) — 1.65 MB 🔴 +1.65 MB 🔴 +297 kB 🔴 +179 kB
assets/vendor-firebase-C8XqAMOV.js (new) — 1.16 MB 🔴 +1.16 MB 🔴 +237 kB 🔴 +189 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-D4vQsNGT.js (removed) 530 kB — 🟢 -530 kB 🟢 -97.2 kB 🟢 -74.4 kB
assets/vendor-reka-ui-DvCpCehM.js (new) — 530 kB 🔴 +530 kB 🔴 +97.2 kB 🔴 +74.4 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-DSeEzkjy.js (new) — 238 kB 🔴 +238 kB 🔴 +56.7 kB 🔴 +47.4 kB
assets/vendor-vueuse-ABRp5i1N.js (new) — 153 kB 🔴 +153 kB 🔴 +38.3 kB 🔴 +32.8 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

Status: 9 added / 9 removed / 9 unchanged

Other — 17.5 MB (baseline 16.4 MB) • 🔴 +1.11 MB

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/nodeDefs-DULUiNpV.js (new) — 935 kB 🔴 +935 kB 🔴 +160 kB 🔴 +109 kB
assets/nodeDefs-CRNad9VA.js (new) — 859 kB 🔴 +859 kB 🔴 +147 kB 🔴 +102 kB
assets/nodeDefs-D9YtDdoK.js (removed) 845 kB — 🟢 -845 kB 🟢 -145 kB 🟢 -98.1 kB
assets/nodeDefs-BpcM0bks.js (new) — 841 kB 🔴 +841 kB 🔴 +150 kB 🔴 +105 kB
assets/nodeDefs-D8lPwTZ_.js (new) — 777 kB 🔴 +777 kB 🔴 +145 kB 🔴 +100 kB
assets/nodeDefs-CsAZ5VtE.js (removed) 776 kB — 🟢 -776 kB 🟢 -132 kB 🟢 -91.8 kB
assets/nodeDefs-BpZbAZH8.js (new) — 775 kB 🔴 +775 kB 🔴 +139 kB 🔴 +98.7 kB
assets/nodeDefs-UVhNZfW3.js (removed) 765 kB — 🟢 -765 kB 🟢 -135 kB 🟢 -94.2 kB
assets/nodeDefs-Ep0EBt0B.js (new) — 744 kB 🔴 +744 kB 🔴 +141 kB 🔴 +99.1 kB
assets/nodeDefs-CKo9GFjV.js (new) — 739 kB 🔴 +739 kB 🔴 +139 kB 🔴 +101 kB
assets/nodeDefs-Ctm0-DTK.js (new) — 728 kB 🔴 +728 kB 🔴 +139 kB 🔴 +101 kB
assets/nodeDefs-DNmU3p_2.js (new) — 727 kB 🔴 +727 kB 🔴 +135 kB 🔴 +98.4 kB
assets/nodeDefs-9Mj8uwNz.js (new) — 724 kB 🔴 +724 kB 🔴 +140 kB 🔴 +103 kB
assets/nodeDefs-B7mCq-c9.js (new) — 722 kB 🔴 +722 kB 🔴 +134 kB 🔴 +97.9 kB
assets/nodeDefs-CLCvN24l.js (new) — 716 kB 🔴 +716 kB 🔴 +134 kB 🔴 +97.1 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-Bj4ixCU2.js (new) — 681 kB 🔴 +681 kB 🔴 +123 kB 🔴 +90.6 kB
assets/nodeDefs-Cigxyg2d.js (removed) 678 kB — 🟢 -678 kB 🟢 -128 kB 🟢 -89.8 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-CsnvK0-J.js (new) — 664 kB 🔴 +664 kB 🔴 +138 kB 🔴 +97 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-B3_WPrJo.js (new) — 659 kB 🔴 +659 kB 🔴 +137 kB 🔴 +95.3 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-YARrcvCq.js (new) — 352 kB 🔴 +352 kB 🔴 +86.7 kB 🔴 +67 kB
assets/main-DZ-D0_Dp.js (removed) 345 kB — 🟢 -345 kB 🟢 -85.2 kB 🟢 -66 kB
assets/main-BPu69PFu.js (new) — 316 kB 🔴 +316 kB 🔴 +78.8 kB 🔴 +62.6 kB
assets/main-D2gy_1ZW.js (removed) 309 kB — 🟢 -309 kB 🟢 -77.3 kB 🟢 -61.3 kB
assets/main-CUgeDjfF.js (new) — 298 kB 🔴 +298 kB 🔴 +78 kB 🔴 +61.6 kB
assets/main-BIbPz10g.js (removed) 292 kB — 🟢 -292 kB 🟢 -76.7 kB 🟢 -60.5 kB
assets/main-CBgXkprJ.js (new) — 288 kB 🔴 +288 kB 🔴 +77.1 kB 🔴 +60.4 kB
assets/main-CVn8k0s0.js (removed) 283 kB — 🟢 -283 kB 🟢 -75.8 kB 🟢 -59.4 kB
assets/main-LbDvjMKA.js (new) — 278 kB 🔴 +278 kB 🔴 +74.9 kB 🔴 +59.8 kB
assets/main-CBvtWugn.js (removed) 272 kB — 🟢 -272 kB 🟢 -73.5 kB 🟢 -58.7 kB
assets/main-BZmh-00y.js (new) — 262 kB 🔴 +262 kB 🔴 +75.6 kB 🔴 +62.3 kB
assets/main-DzV7CMXv.js (new) — 259 kB 🔴 +259 kB 🔴 +74.3 kB 🔴 +59.1 kB
assets/main-CCiSK6rB.js (removed) 257 kB — 🟢 -257 kB 🟢 -74.3 kB 🟢 -61.2 kB
assets/main-Cj7SjDML.js (new) — 257 kB 🔴 +257 kB 🔴 +74.2 kB 🔴 +61.7 kB
assets/main-9oYbTLiI.js (removed) 254 kB — 🟢 -254 kB 🟢 -73 kB 🟢 -58.2 kB
assets/main-CsECH3Zg.js (new) — 253 kB 🔴 +253 kB 🔴 +73.5 kB 🔴 +60.5 kB
assets/main-Dr8kaYUg.js (removed) 252 kB — 🟢 -252 kB 🟢 -72.8 kB 🟢 -60.6 kB
assets/main-Ck2457x_.js (new) — 250 kB 🔴 +250 kB 🔴 +73.7 kB 🔴 +61 kB
assets/main-DY75QHGo.js (removed) 248 kB — 🟢 -248 kB 🟢 -72.2 kB 🟢 -59.4 kB
assets/main-BOGlV6wT.js (new) — 248 kB 🔴 +248 kB 🔴 +72.5 kB 🔴 +60.4 kB
assets/main-CiQKP1zg.js (removed) 245 kB — 🟢 -245 kB 🟢 -72.4 kB 🟢 -60 kB
assets/main-BD0t2eZf.js (new) — 244 kB 🔴 +244 kB 🔴 +71.5 kB 🔴 +59.8 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-JZrMwqG3.js (new) — 224 kB 🔴 +224 kB 🔴 +65.3 kB 🔴 +54.8 kB
assets/main-B0CqkGcS.js (new) — 220 kB 🔴 +220 kB 🔴 +72.4 kB 🔴 +57.2 kB
assets/main-DniQg5Ye.js (removed) 220 kB — 🟢 -220 kB 🟢 -64.2 kB 🟢 -53.8 kB
assets/main-BgpJRphV.js (new) — 217 kB 🔴 +217 kB 🔴 +71.9 kB 🔴 +56.7 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-1P31vAgs.js (new) — 119 kB 🔴 +119 kB 🔴 +30.9 kB 🔴 +26.1 kB
assets/core-DZrixhZW.js (removed) 118 kB — 🟢 -118 kB 🟢 -30.7 kB 🟢 -26 kB
assets/WorkspaceSettingsPanelContent-Bzw9Vsj2.js (removed) 111 kB — 🟢 -111 kB 🟢 -21.8 kB 🟢 -18.3 kB
assets/WorkspaceSettingsPanelContent-Dlx7iV-X.js (new) — 110 kB 🔴 +110 kB 🔴 +21.7 kB 🔴 +18.1 kB
assets/SubscriptionTransitionPreviewWorkspace-BmPPRRfB.js (new) — 103 kB 🔴 +103 kB 🔴 +20 kB 🔴 +17 kB
assets/SubscriptionTransitionPreviewWorkspace-Bj4iP_tY.js (removed) 96 kB — 🟢 -96 kB 🟢 -18.8 kB 🟢 -16 kB
assets/WidgetSelect-uJ-Aq8mQ.js (new) — 88.6 kB 🔴 +88.6 kB 🔴 +20.1 kB 🔴 +17.1 kB
assets/WidgetSelect-DQhbWV7x.js (removed) 88.5 kB — 🟢 -88.5 kB 🟢 -20.1 kB 🟢 -17.2 kB
assets/Load3D-BP8A84Za.js (new) — 82.4 kB 🔴 +82.4 kB 🔴 +13.6 kB 🔴 +11.4 kB
assets/Load3D-CRyiMWh8.js (removed) 73.6 kB — 🟢 -73.6 kB 🟢 -12.2 kB 🟢 -10.4 kB
assets/WidgetVideoEdit-DVA1Pd0n.js (new) — 73.2 kB 🔴 +73.2 kB 🔴 +17.4 kB 🔴 +15.2 kB
assets/WidgetVideoEdit-722-KsNP.js (removed) 72.7 kB — 🟢 -72.7 kB 🟢 -17.2 kB 🟢 -15.1 kB
assets/CameraInfo-CVooH9RG.js (removed) 67 kB — 🟢 -67 kB 🟢 -14.5 kB 🟢 -12.7 kB
assets/CameraInfo-B2fTRNBb.js (new) — 67 kB 🔴 +67 kB 🔴 +14.5 kB 🔴 +12.7 kB
assets/Preview3d-DL-k0E4P.js (new) — 52.6 kB 🔴 +52.6 kB 🔴 +8.59 kB 🔴 +7.51 kB
assets/Preview3d-m_DeEB1D.js (removed) 52.6 kB — 🟢 -52.6 kB 🟢 -8.6 kB 🟢 -7.52 kB
assets/SubscriptionRequiredDialogContentUnified-BVmgVydi.js (new) — 52.4 kB 🔴 +52.4 kB 🔴 +11 kB 🔴 +9.63 kB
assets/SubscriptionRequiredDialogContentUnified-BE6-4keo.js (removed) 50.3 kB — 🟢 -50.3 kB 🟢 -10.6 kB 🟢 -9.25 kB
assets/Viewport3d-Bt8-2BVL.js (new) — 48 kB 🔴 +48 kB 🔴 +10.2 kB 🔴 +9.02 kB
assets/Viewport3d-DbSd-ylf.js (removed) 48 kB — 🟢 -48 kB 🟢 -10.2 kB 🟢 -9.02 kB
assets/LayerEditorContent-Vch9s5ij.js (removed) 45.4 kB — 🟢 -45.4 kB 🟢 -10.6 kB 🟢 -9.25 kB
assets/LayerEditorContent-D2BcQXti.js (new) — 45.4 kB 🔴 +45.4 kB 🔴 +10.6 kB 🔴 +9.26 kB
assets/nodeDefs-D_Xb49XA.js (new) — 44.5 kB 🔴 +44.5 kB 🔴 +11.5 kB 🔴 +9.8 kB
assets/main-BRCvo3di.js (new) — 44 kB 🔴 +44 kB 🔴 +13.2 kB 🔴 +11.4 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-BO1s1LR4.js (new) — 33.8 kB 🔴 +33.8 kB 🔴 +9.18 kB 🔴 +8.13 kB
assets/WidgetBoundingBoxes-DEJ41x_e.js (removed) 33.8 kB — 🟢 -33.8 kB 🟢 -9.18 kB 🟢 -8.14 kB
assets/WidgetPainter-C8tHAfOe.js (removed) 32.1 kB — 🟢 -32.1 kB 🟢 -7.89 kB 🟢 -6.98 kB
assets/WidgetPainter-C6tD28u9.js (new) — 32.1 kB 🔴 +32.1 kB 🔴 +7.89 kB 🔴 +6.96 kB
assets/Load3dViewerContent-7pMlKJrk.js (new) — 30.6 kB 🔴 +30.6 kB 🔴 +6.21 kB 🔴 +5.39 kB
assets/Load3dViewerContent-B20uZiTp.js (removed) 30.6 kB — 🟢 -30.6 kB 🟢 -6.21 kB 🟢 -5.39 kB
assets/HdrViewerContent-BkEHB9YD.js (new) — 29.8 kB 🔴 +29.8 kB 🔴 +8.25 kB 🔴 +7.27 kB
assets/HdrViewerContent-PA6cS_ap.js (removed) 29.8 kB — 🟢 -29.8 kB 🟢 -8.25 kB 🟢 -7.27 kB
assets/ColorPicker-BCZ59fWC.js (new) — 29.5 kB 🔴 +29.5 kB 🔴 +7.64 kB 🔴 +6.74 kB
assets/ColorPicker-BG7__81W.js (removed) 29.2 kB — 🟢 -29.2 kB 🟢 -7.59 kB 🟢 -6.66 kB
assets/SubscriptionRequiredDialogContent-C6v3Xj1B.js (new) — 27.1 kB 🔴 +27.1 kB 🔴 +6.4 kB 🔴 +5.64 kB
assets/SubscriptionRequiredDialogContent-BK75kTMp.js (removed) 26.9 kB — 🟢 -26.9 kB 🟢 -6.36 kB 🟢 -5.61 kB
assets/SubscriptionRequiredDialogContentWorkspace-DuPGl4jV.js (new) — 26.5 kB 🔴 +26.5 kB 🔴 +6.09 kB 🔴 +5.36 kB
assets/SubscriptionRequiredDialogContentWorkspace-Db6hJWx2.js (removed) 25.9 kB — 🟢 -25.9 kB 🟢 -5.95 kB 🟢 -5.23 kB
assets/initHostTelemetry-1g-NR44b.js (new) — 25.8 kB 🔴 +25.8 kB 🔴 +5.94 kB 🔴 +4.93 kB
assets/initHostTelemetry-CQrZEnaX.js (removed) 25.4 kB — 🟢 -25.4 kB 🟢 -5.89 kB 🟢 -4.89 kB
assets/load3d-BC-HlEU5.js (new) — 22.2 kB 🔴 +22.2 kB 🔴 +5.42 kB 🔴 +4.69 kB
assets/load3d-BRhdORn7.js (removed) 22.2 kB — 🟢 -22.2 kB 🟢 -5.42 kB 🟢 -4.68 kB
assets/SignInContent-D8xGZElM.js (new) — 20.7 kB 🔴 +20.7 kB 🔴 +5.24 kB 🔴 +4.58 kB
assets/SignInContent-DjkoPYr3.js (removed) 20.6 kB — 🟢 -20.6 kB 🟢 -5.19 kB 🟢 -4.54 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-BMN0lmlT.js (new) — 18 kB 🔴 +18 kB 🔴 +4.17 kB 🔴 +3.68 kB
assets/DialogHeader-Bmgwt3FB.js (removed) 17.9 kB — 🟢 -17.9 kB 🟢 -5.34 kB 🟢 -4.65 kB
assets/DialogHeader-DxJhTRPD.js (new) — 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-PM8a7ask.js (new) — 17.1 kB 🔴 +17.1 kB 🔴 +4.6 kB 🔴 +3.88 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-CHljyUtt.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-CJp6m6C4.js (new) — 15.4 kB 🔴 +15.4 kB 🔴 +3.23 kB 🔴 +2.68 kB
assets/commands-BV0Lh4KY.js (new) — 15.3 kB 🔴 +15.3 kB 🔴 +3.16 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-BzmROxbw.js (new) — 13.9 kB 🔴 +13.9 kB 🔴 +3.63 kB 🔴 +3.2 kB
assets/WidgetRange-B2w3POMX.js (removed) 13.7 kB — 🟢 -13.7 kB 🟢 -3.55 kB 🟢 -3.12 kB
assets/WidgetRange-ONTafBUa.js (new) — 13.7 kB 🔴 +13.7 kB 🔴 +3.54 kB 🔴 +3.13 kB
assets/WaveAudioPlayer-CyibbAUm.js (new) — 12.9 kB 🔴 +12.9 kB 🔴 +3.49 kB 🔴 +3.05 kB
assets/WaveAudioPlayer-mnvocAC_.js (removed) 12.9 kB — 🟢 -12.9 kB 🟢 -3.49 kB 🟢 -3.05 kB
assets/GlobalToast-CqyMW16i.js (new) — 12.2 kB 🔴 +12.2 kB 🔴 +4.01 kB 🔴 +3.48 kB
assets/WidgetCurve-BFpu6arA.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.48 kB 🟢 -3.13 kB
assets/WidgetCurve-ClgBbCaU.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/SelectValue-BAjrYF7L.js (removed) 10.6 kB — 🟢 -10.6 kB 🟢 -2.61 kB 🟢 -2.35 kB
assets/SelectValue-CNq_ITbC.js (new) — 10.6 kB 🔴 +10.6 kB 🔴 +2.61 kB 🔴 +2.33 kB
assets/AudioPreviewPlayer-uUQWX3_E.js (removed) 10.6 kB — 🟢 -10.6 kB 🟢 -3.05 kB 🟢 -2.73 kB
assets/AudioPreviewPlayer-Bfo2Qth3.js (new) — 10.6 kB 🔴 +10.6 kB 🔴 +3.05 kB 🔴 +2.73 kB
assets/TeamWorkspacesDialogContent-X_WHZOl3.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/types-DsD1IEsA.js (new) — 9.77 kB 🔴 +9.77 kB 🔴 +3.15 kB 🔴 +2.55 kB
assets/onboardingCloudRoutes-BSRhcWKS.js (new) — 9.76 kB 🔴 +9.76 kB 🔴 +2.87 kB 🔴 +2.46 kB
assets/onboardingCloudRoutes-CJlmel_A.js (removed) 9.76 kB — 🟢 -9.76 kB 🟢 -2.88 kB 🟢 -2.47 kB
assets/Popover-BIMxNEBK.js (new) — 8.95 kB 🔴 +8.95 kB 🔴 +3.19 kB 🔴 +2.82 kB
assets/Load3DConfiguration-BVe6GMAr.js (removed) 8.91 kB — 🟢 -8.91 kB 🟢 -2.61 kB 🟢 -2.31 kB
assets/Load3DConfiguration-B0qTC-qa.js (new) — 8.88 kB 🔴 +8.88 kB 🔴 +2.59 kB 🔴 +2.29 kB
assets/nodeTemplates-BUZUrM2v.js (new) — 8.64 kB 🔴 +8.64 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-DrYNrOCj.js (new) — 8.49 kB 🔴 +8.49 kB 🔴 +2.65 kB 🔴 +2.34 kB
assets/SetMemberCreditLimitDialogContent-BpgdtgFd.js (new) — 8.47 kB 🔴 +8.47 kB 🔴 +2.34 kB 🔴 +2.04 kB
assets/SetMemberCreditLimitDialogContent-BzaW0nIU.js (removed) 8.47 kB — 🟢 -8.47 kB 🟢 -2.34 kB 🟢 -2.04 kB
assets/nodeTemplates-CnMpnv6Y.js (removed) 8.32 kB — 🟢 -8.32 kB 🟢 -2.85 kB 🟢 -2.52 kB
assets/CloudRunButtonWrapper-CPpmeqyh.js (new) — 8.15 kB 🔴 +8.15 kB 🔴 +2.45 kB 🔴 +2.15 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/WidgetImageCompare-DBzqGOys.js (new) — 8.13 kB 🔴 +8.13 kB 🔴 +2.3 kB 🔴 +2.02 kB
assets/types-BW0xFlcZ.js (removed) 8.09 kB — 🟢 -8.09 kB 🟢 -2.44 kB 🟢 -1.97 kB
assets/WorkspaceSwitcherPopover-Dajr5HzR.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/NightlySurveyController-BB6yPYYr.js (removed) 7.5 kB — 🟢 -7.5 kB 🟢 -2.56 kB 🟢 -2.25 kB
assets/NightlySurveyController-DzT9uiWK.js (new) — 7.5 kB 🔴 +7.5 kB 🔴 +2.56 kB 🔴 +2.26 kB
assets/CloudRunButtonWrapper-D1Py_pyJ.js (removed) 7.44 kB — 🟢 -7.44 kB 🟢 -2.35 kB 🟢 -2.06 kB
assets/LayoutDefault-BarRJsNX.js (removed) 7.41 kB — 🟢 -7.41 kB 🟢 -2.44 kB 🟢 -2.13 kB
assets/LayoutDefault-C8EGpsbD.js (new) — 7.41 kB 🔴 +7.41 kB 🔴 +2.44 kB 🔴 +2.14 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-Z-OOyjT1.js (new) — 6.52 kB 🔴 +6.52 kB 🔴 +2.22 kB 🔴 +1.95 kB
assets/commands-Y1JSBJiJ.js (new) — 6.48 kB 🔴 +6.48 kB 🔴 +1.53 kB 🔴 +1.31 kB
assets/WidgetWithControl-DcmmHeUG.js (removed) 6.46 kB — 🟢 -6.46 kB 🟢 -2.64 kB 🟢 -2.35 kB
assets/WidgetWithControl-P2AHXocz.js (new) — 6.46 kB 🔴 +6.46 kB 🔴 +2.64 kB 🔴 +2.32 kB
assets/AnimationControls-CyyXWCTq.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-ClP-nBLL.js (new) — 6.05 kB 🔴 +6.05 kB 🔴 +2.01 kB 🔴 +1.76 kB
assets/main-D53cWIcW.js (new) — 5.93 kB 🔴 +5.93 kB 🔴 +1.91 kB 🔴 +1.59 kB
assets/main-wYKoz6sj.js (removed) 5.93 kB — 🟢 -5.93 kB 🟢 -1.91 kB 🟢 -1.59 kB
assets/load3dPreviewExtensions-B2G4DJz2.js (new) — 5.88 kB 🔴 +5.88 kB 🔴 +1.81 kB 🔴 +1.6 kB
assets/load3dPreviewExtensions-DuLid5Qv.js (removed) 5.88 kB — 🟢 -5.88 kB 🟢 -1.81 kB 🟢 -1.6 kB
assets/reportError-Drcdq35p.js (new) — 5.69 kB 🔴 +5.69 kB 🔴 +2.22 kB 🔴 +1.88 kB
assets/src-QZ3eoA-H.js (new) — 5.69 kB 🔴 +5.69 kB 🔴 +1.61 kB 🔴 +1.47 kB
assets/src-WmcYp3-y.js (removed) 5.69 kB — 🟢 -5.69 kB 🟢 -1.61 kB 🟢 -1.47 kB
assets/ApiNodesSignInContent-Be5KCdPb.js (new) — 5.68 kB 🔴 +5.68 kB 🔴 +2.02 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-BjxNRlxy.js (new) — 5.58 kB 🔴 +5.58 kB 🔴 +1.89 kB 🔴 +1.64 kB
assets/launchCancellationFlow-BTtAWD_R.js (new) — 5.18 kB 🔴 +5.18 kB 🔴 +1.78 kB 🔴 +1.56 kB
assets/launchCancellationFlow-DSgiibIL.js (removed) 5.18 kB — 🟢 -5.18 kB 🟢 -1.78 kB 🟢 -1.56 kB
assets/CreateWorkspaceDialogContent-CCUdYEal.js (removed) 5.12 kB — 🟢 -5.12 kB 🟢 -1.79 kB 🟢 -1.55 kB
assets/CreateWorkspaceDialogContent-Bmt4MGlE.js (new) — 5.12 kB 🔴 +5.12 kB 🔴 +1.8 kB 🔴 +1.55 kB
assets/CloudNotificationContent--5dCqPXm.js (new) — 5.05 kB 🔴 +5.05 kB 🔴 +1.76 kB 🔴 +1.51 kB
assets/CloudNotificationContent-6U3c6eG5.js (removed) 5.05 kB — 🟢 -5.05 kB 🟢 -1.76 kB 🟢 -1.51 kB
assets/ChangeMemberRoleDialogContent-B6wkbKUG.js (removed) 4.97 kB — 🟢 -4.97 kB 🟢 -1.64 kB 🟢 -1.42 kB
assets/ChangeMemberRoleDialogContent-CXJG80HS.js (new) — 4.97 kB 🔴 +4.97 kB 🔴 +1.64 kB 🔴 +1.43 kB
assets/InviteMemberDialogContent-CCGP6t_F.js (removed) 4.94 kB — 🟢 -4.94 kB 🟢 -1.64 kB 🟢 -1.42 kB
assets/InviteMemberDialogContent-DAL8PhjJ.js (new) — 4.94 kB 🔴 +4.94 kB 🔴 +1.63 kB 🔴 +1.42 kB
assets/EditWorkspaceDialogContent-BY-BEndv.js (removed) 4.94 kB — 🟢 -4.94 kB 🟢 -1.76 kB 🟢 -1.52 kB
assets/EditWorkspaceDialogContent-CFgWBrfo.js (new) — 4.93 kB 🔴 +4.93 kB 🔴 +1.76 kB 🔴 +1.52 kB
assets/PaletteSwatchRow-aXiArJvc.js (removed) 4.86 kB — 🟢 -4.86 kB 🟢 -1.87 kB 🟢 -1.66 kB
assets/PaletteSwatchRow-CO0tc4BW.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-IKG-lde7.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-Cbt6QMFI.js (new) — 4.72 kB 🔴 +4.72 kB 🔴 +1.51 kB 🔴 +1.32 kB
assets/ValueControlPopover-BfmKQCpJ.js (new) — 4.49 kB 🔴 +4.49 kB 🔴 +1.55 kB 🔴 +1.38 kB
assets/ValueControlPopover-BKnL4nPL.js (removed) 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-BSyWz7wy.js (new) — 4.14 kB 🔴 +4.14 kB 🔴 +1.41 kB 🔴 +1.25 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/Slider-Bwp1t1OZ.js (new) — 3.91 kB 🔴 +3.91 kB 🔴 +1.43 kB 🔴 +1.25 kB
assets/DeleteWorkspaceDialogContent-B4-pTpqh.js (removed) 3.85 kB — 🟢 -3.85 kB 🟢 -1.44 kB 🟢 -1.23 kB
assets/DeleteWorkspaceDialogContent-UlQwQnU5.js (new) — 3.84 kB 🔴 +3.84 kB 🔴 +1.44 kB 🔴 +1.24 kB
assets/WidgetBoundingBox-5T-yp9-F.js (removed) 3.76 kB — 🟢 -3.76 kB 🟢 -1.03 kB 🟢 -899 B
assets/WidgetBoundingBox-CyNoUVZl.js (new) — 3.76 kB 🔴 +3.76 kB 🔴 +1.03 kB 🔴 +903 B
assets/RemoveMemberDialogContent-CbUXJXXz.js (removed) 3.76 kB — 🟢 -3.76 kB 🟢 -1.38 kB 🟢 -1.19 kB
assets/RemoveMemberDialogContent-bd74jeJo.js (new) — 3.76 kB 🔴 +3.76 kB 🔴 +1.38 kB 🔴 +1.2 kB
assets/WidgetGalleria-Cf05A0cd.js (removed) 3.75 kB — 🟢 -3.75 kB 🟢 -1.46 kB 🟢 -1.29 kB
assets/WidgetGalleria-CP68mbSI.js (new) — 3.75 kB 🔴 +3.75 kB 🔴 +1.45 kB 🔴 +1.3 kB
assets/RevokeInviteDialogContent-C3mUSCP-.js (removed) 3.67 kB — 🟢 -3.67 kB 🟢 -1.39 kB 🟢 -1.21 kB
assets/RevokeInviteDialogContent-DnUQAuGe.js (new) — 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/LeaveWorkspaceDialogContent-I0i-7g9s.js (new) — 3.67 kB 🔴 +3.67 kB 🔴 +1.38 kB 🔴 +1.19 kB
assets/WidgetToggleSwitch-CmruzlqW.js (new) — 3.56 kB 🔴 +3.56 kB 🔴 +1.3 kB 🔴 +1.16 kB
assets/WidgetToggleSwitch-DAdFQom1.js (removed) 3.56 kB — 🟢 -3.56 kB 🟢 -1.3 kB 🟢 -1.16 kB
assets/InviteMemberUpsellDialogContent-BuMvWnkD.js (new) — 3.47 kB 🔴 +3.47 kB 🔴 +1.24 kB 🔴 +1.07 kB
assets/InviteMemberUpsellDialogContent-C5-pqo2Y.js (removed) 3.47 kB — 🟢 -3.47 kB 🟢 -1.24 kB 🟢 -1.09 kB
assets/SubscribeToRun-CAPJXlqy.js (new) — 3.34 kB 🔴 +3.34 kB 🔴 +1.42 kB 🔴 +1.21 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/Media3DTop-CU6P9cU2.js (new) — 3.21 kB 🔴 +3.21 kB 🔴 +1.27 kB 🔴 +1.1 kB
assets/WidgetInputText-Bwduwb8F.js (removed) 3.1 kB — 🟢 -3.1 kB 🟢 -1.29 kB 🟢 -1.15 kB
assets/WidgetInputText-4CaQyj7J.js (new) — 3.1 kB 🔴 +3.1 kB 🔴 +1.29 kB 🔴 +1.15 kB
assets/MediaVideoTop-dSvpeUiF.js (removed) 2.96 kB — 🟢 -2.96 kB 🟢 -1.19 kB 🟢 -1.04 kB
assets/WidgetMarkdown-BdojeBiE.js (new) — 2.95 kB 🔴 +2.95 kB 🔴 +1.21 kB 🔴 +1.06 kB
assets/WidgetMarkdown-DU9b6pOG.js (removed) 2.95 kB — 🟢 -2.95 kB 🟢 -1.21 kB 🟢 -1.06 kB
assets/signInSchema-BBaoHccE.js (new) — 2.85 kB 🔴 +2.85 kB 🔴 +1.01 kB 🔴 +860 B
assets/load3dAdvanced-B90Tq2D_.js (new) — 2.82 kB 🔴 +2.82 kB 🔴 +1.1 kB 🔴 +954 B
assets/load3dAdvanced-C5DLGKNb.js (removed) 2.82 kB — 🟢 -2.82 kB 🟢 -1.09 kB 🟢 -950 B
assets/ErrorPanelSurveyCta-BbtEFC_T.js (new) — 2.64 kB 🔴 +2.64 kB 🔴 +1.15 kB 🔴 +1.02 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/MediaVideoTop-BUZcsCcx.js (new) — 2.55 kB 🔴 +2.55 kB 🔴 +1.09 kB 🔴 +935 B
assets/LocalRunButtonWrapper-BTTVvAwe.js (removed) 2.49 kB — 🟢 -2.49 kB 🟢 -1.14 kB 🟢 -997 B
assets/LocalRunButtonWrapper-CqSC5WvT.js (new) — 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-TCBWAY9l.js (new) — 2.49 kB 🔴 +2.49 kB 🔴 +1.09 kB 🔴 +970 B
assets/SubscribeToRun-CXsDS5Xd.js (removed) 2.39 kB — 🟢 -2.39 kB 🟢 -1.04 kB 🟢 -908 B
assets/WidgetLayoutField-DfnknucX.js (removed) 2.38 kB — 🟢 -2.38 kB 🟢 -1.03 kB 🟢 -941 B
assets/WidgetLayoutField-rMvycQZ3.js (new) — 2.38 kB 🔴 +2.38 kB 🔴 +1.03 kB 🔴 +903 B
assets/WidgetChart-CrgA0O_i.js (new) — 2.36 kB 🔴 +2.36 kB 🔴 +1 kB 🔴 +865 B
assets/WidgetChart-DuOOZmks.js (removed) 2.36 kB — 🟢 -2.36 kB 🟢 -1 kB 🟢 -866 B
assets/TopBarHeader-CJRMvqnM.js (removed) 2.01 kB — 🟢 -2.01 kB 🟢 -844 B 🟢 -732 B
assets/TopBarHeader-Lvb-PSA3.js (new) — 2.01 kB 🔴 +2.01 kB 🔴 +844 B 🔴 +738 B
assets/WidgetColorPicker-BY5AWUNc.js (new) — 1.99 kB 🔴 +1.99 kB 🔴 +871 B 🔴 +775 B
assets/MediaImageTop-8xPGFsiH.js (removed) 1.95 kB — 🟢 -1.95 kB 🟢 -929 B 🟢 -796 B
assets/MediaImageTop-CqLMaOr5.js (new) — 1.95 kB 🔴 +1.95 kB 🔴 +927 B 🔴 +797 B
assets/TypeformEmbed-BhLkCAed.js (removed) 1.83 kB — 🟢 -1.83 kB 🟢 -816 B 🟢 -715 B
assets/TypeformEmbed-CxTJ9GBT.js (new) — 1.83 kB 🔴 +1.83 kB 🔴 +812 B 🔴 +710 B
assets/MediaTextTop-C4b0vMsG.js (removed) 1.77 kB — 🟢 -1.77 kB 🟢 -854 B 🟢 -730 B
assets/MediaTextTop-hQs8FvvR.js (new) — 1.77 kB 🔴 +1.77 kB 🔴 +856 B 🔴 +729 B
assets/webviewDetection-_NOImfSy.js (new) — 1.69 kB 🔴 +1.69 kB 🔴 +725 B 🔴 +596 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-C6nbof3B.js (new) — 1.64 kB 🔴 +1.64 kB 🔴 +779 B 🔴 +691 B
assets/WidgetColors-CPIq9pJh.js (new) — 1.63 kB 🔴 +1.63 kB 🔴 +807 B 🔴 +713 B
assets/WidgetColors-DsKKaS7z.js (removed) 1.63 kB — 🟢 -1.63 kB 🟢 -805 B 🟢 -711 B
assets/MediaAudioTop-DgnG1-6-.js (new) — 1.62 kB 🔴 +1.62 kB 🔴 +808 B 🔴 +667 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/paymentReturnUrl-Cp781VBn.js (new) — 1.58 kB 🔴 +1.58 kB 🔴 +783 B 🔴 +621 B
assets/Textarea-DJmDZ--Y.js (removed) 1.56 kB — 🟢 -1.56 kB 🟢 -815 B 🟢 -710 B
assets/Textarea-DTy5Nvwy.js (new) — 1.56 kB 🔴 +1.56 kB 🔴 +815 B 🔴 +714 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/menuBarStyles-CCwsS11a.js (new) — 1.52 kB 🔴 +1.52 kB 🔴 +579 B 🔴 +489 B
assets/VideoPlayOverlay-B-Vx3-be.js (removed) 1.46 kB — 🟢 -1.46 kB 🟢 -729 B 🟢 -644 B
assets/VideoPlayOverlay-CJoK_6ZB.js (new) — 1.46 kB 🔴 +1.46 kB 🔴 +729 B 🔴 +643 B
assets/ButtonGroup-Bjm52jSK.js (removed) 1.24 kB — 🟢 -1.24 kB 🟢 -643 B 🟢 -558 B
assets/ButtonGroup-BvZdVvCk.js (new) — 1.24 kB 🔴 +1.24 kB 🔴 +644 B 🔴 +562 B
assets/DialogClose-CEGaWnB5.js (new) — 1.18 kB 🔴 +1.18 kB 🔴 +612 B 🔴 +551 B
assets/DialogClose-VFgffZgT.js (removed) 1.18 kB — 🟢 -1.18 kB 🟢 -611 B 🟢 -551 B
assets/cameraInfo-Bu6heXd2.js (removed) 1.1 kB — 🟢 -1.1 kB 🟢 -573 B 🟢 -496 B
assets/cameraInfo-DTK5cYiK.js (new) — 1.1 kB 🔴 +1.1 kB 🔴 +572 B 🔴 +491 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/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/Load3DAdvanced-CnAbIXa1.js (removed) 761 B — 🟢 -761 B 🟢 -424 B 🟢 -360 B
assets/Load3DAdvanced-Qtv0tVXh.js (new) — 761 B 🔴 +761 B 🔴 +423 B 🔴 +363 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-DeJ-K-hm.js (new) — 504 B 🔴 +504 B 🔴 +330 B 🔴 +272 B
assets/nightlyBadges-BGaJauHM.js (removed) 411 B — 🟢 -411 B 🟢 -269 B 🟢 -263 B
assets/nightlyBadges-Dx2mxm16.js (new) — 411 B 🔴 +411 B 🔴 +269 B 🔴 +229 B
assets/src-Dqel423s.js (new) — 407 B 🔴 +407 B 🔴 +288 B 🔴 +244 B
assets/src-MpLIrc94.js (removed) 407 B — 🟢 -407 B 🟢 -287 B 🟢 -245 B
assets/Load3dViewerContent-BGDqDhtl.js (new) — 137 B 🔴 +137 B 🔴 +103 B 🔴 +93 B
assets/Load3dViewerContent-DZlRhmrR.js (removed) 137 B — 🟢 -137 B 🟢 -103 B 🟢 -85 B
assets/WidgetBoundingBox-BXZta1w5.js (new) — 131 B 🔴 +131 B 🔴 +100 B 🔴 +95 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-BoVgvnWO.js (new) — 125 B 🔴 +125 B 🔴 +103 B 🔴 +121 B
assets/Load3DAdvanced-BcCIHw5b.js (removed) 122 B — 🟢 -122 B 🟢 -97 B 🟢 -88 B
assets/Load3DAdvanced-N9jYa8gT.js (new) — 122 B 🔴 +122 B 🔴 +97 B 🔴 +88 B
assets/LayoutDefault-CrkwhF4m.js (removed) 119 B — 🟢 -119 B 🟢 -92 B 🟢 -84 B
assets/LayoutDefault-DdNftt6r.js (new) — 119 B 🔴 +119 B 🔴 +92 B 🔴 +82 B
assets/WidgetLegacy-Ba2mBGx7.js (removed) 117 B — 🟢 -117 B 🟢 -106 B 🟢 -101 B
assets/WidgetLegacy-UF9sYUeF.js (new) — 117 B 🔴 +117 B 🔴 +106 B 🔴 +101 B
assets/workflowDraftStoreV2-BTaCh1K2.js (new) — 112 B 🔴 +112 B 🔴 +101 B 🔴 +108 B
assets/workflowDraftStoreV2-sEn8Rtux.js (removed) 112 B — 🟢 -112 B 🟢 -101 B 🟢 -111 B
assets/CameraInfo-DvSrWBOk.js (removed) 110 B — 🟢 -110 B 🟢 -93 B 🟢 -91 B
assets/CameraInfo-OlbbQvO1.js (new) — 110 B 🔴 +110 B 🔴 +93 B 🔴 +92 B
assets/Load3D-D5Qdusbm.js (removed) 98 B — 🟢 -98 B 🟢 -89 B 🟢 -85 B
assets/Load3D-Dq7wFgCc.js (new) — 98 B 🔴 +98 B 🔴 +89 B 🔴 +83 B
assets/i18n-BKPIMqpS.js (new) — 97 B 🔴 +97 B 🔴 +92 B 🔴 +87 B
assets/i18n-C28jwicY.js (removed) 97 B — 🟢 -97 B 🟢 -92 B 🟢 -87 B
assets/changeTracker-Dom51aBH.js (removed) 92 B — 🟢 -92 B 🟢 -94 B 🟢 -85 B
assets/changeTracker-ZQI6vMZw.js (new) — 92 B 🔴 +92 B 🔴 +94 B 🔴 +87 B

Status: 171 added / 171 removed / 125 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.4 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 62.5 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 61.5 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 76.4 MB heap
large-graph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 79.4 MB heap
large-graph-pan: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 76.1 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 71.3 MB heap
legacy-node-drag: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 82.4 MB heap
minimap-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 78.1 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 73.4 MB heap
subgraph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 70.8 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 68.6 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 152ms TBT · 98.7 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.8 MB heap
vue-large-graph-idle: · 57.1 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 182.9 MB heap
vue-large-graph-pan: · 55.4 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 28ms TBT · 164.0 MB heap
vue-node-resize-workload: · 56.3 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 458ms TBT · 165.5 MB heap
vue-zoom-out-idle: · 54.6 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 167.6 MB heap
workflow-execution: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.9 MB heap

⚠️ 3 regressions detected

Show regressions
Metric Baseline PR (median) Δ Sig
canvas-mouse-sweep: avg frame time 17ms 17ms +0% ⚠️ z=2.5
viewport-pan-sweep: p95 frame time 17ms 17ms +0% ⚠️ z=2.4
vue-zoom-out-idle: avg frame time 18ms 18ms +3% ⚠️ z=2.0
All metrics
Metric Baseline PR (median) Δ Sig
canvas-idle: avg frame time 17ms 17ms -0% z=-0.8
canvas-idle: p95 frame time 17ms 17ms +0% z=1.0
canvas-idle: layout duration 0ms 0ms +0% —
canvas-idle: style recalc duration 9ms 7ms -16% z=-0.4
canvas-idle: layout count 0 0 +0% —
canvas-idle: style recalc count 9 9 -6% z=0.3
canvas-idle: task duration 505ms 419ms -17% z=-0.5
canvas-idle: script duration 10ms 8ms -16% z=-0.9
canvas-idle: TBT 0ms 0ms +0% —
canvas-idle: heap used 55.8 MB 65.4 MB +17% z=0.9
canvas-idle: DOM nodes -279 -261 -6% z=-0.5
canvas-idle: event listeners -152 -154 +1% z=-0.3
canvas-mouse-sweep: avg frame time 17ms 17ms +0% ⚠️ z=2.5
canvas-mouse-sweep: p95 frame time 17ms 17ms -0% z=0.3
canvas-mouse-sweep: layout duration 5ms 4ms -7% z=-0.8
canvas-mouse-sweep: style recalc duration 42ms 28ms -33% z=-0.5
canvas-mouse-sweep: layout count 14 14 +0% —
canvas-mouse-sweep: style recalc count 77 78 +1% z=1.0
canvas-mouse-sweep: task duration 894ms 846ms -5% z=-0.3
canvas-mouse-sweep: script duration 163ms 165ms +1% z=0.1
canvas-mouse-sweep: TBT 0ms 0ms +0% —
canvas-mouse-sweep: heap used 59.5 MB 62.5 MB +5% z=-0.8
canvas-mouse-sweep: DOM nodes -280 -261 -7% z=1.8
canvas-mouse-sweep: event listeners -150 -171 +14% z=-0.5
canvas-zoom-sweep: avg frame time 17ms 17ms -0% z=-0.9
canvas-zoom-sweep: p95 frame time 17ms 17ms -0% z=0.0
canvas-zoom-sweep: layout duration 1ms 1ms +11% z=0.2
canvas-zoom-sweep: style recalc duration 19ms 15ms -19% z=-0.5
canvas-zoom-sweep: layout count 6 6 +0% —
canvas-zoom-sweep: style recalc count 31 32 +2% z=0.7
canvas-zoom-sweep: task duration 376ms 330ms -12% z=-0.4
canvas-zoom-sweep: script duration 12ms 10ms -13% z=-0.9
canvas-zoom-sweep: TBT 0ms 0ms +0% —
canvas-zoom-sweep: heap used 71.9 MB 61.5 MB -15% z=0.1
canvas-zoom-sweep: DOM nodes 76 76 -1% z=-0.0
canvas-zoom-sweep: event listeners 19 19 +0% z=-0.5
dom-widget-clipping: avg frame time 17ms 17ms +0% z=0.7
dom-widget-clipping: p95 frame time 17ms 17ms -1% z=-2.1
dom-widget-clipping: layout duration 0ms 0ms +0% —
dom-widget-clipping: style recalc duration 7ms 8ms +13% z=0.1
dom-widget-clipping: layout count 0 0 +0% —
dom-widget-clipping: style recalc count 10 11 +10% z=0.5
dom-widget-clipping: task duration 444ms 458ms +3% z=0.3
dom-widget-clipping: script duration 159ms 169ms +6% z=0.4
dom-widget-clipping: TBT 0ms 0ms +0% —
dom-widget-clipping: heap used 60.0 MB 76.4 MB +27% z=0.5
dom-widget-clipping: DOM nodes 16 18 +13% z=0.5
dom-widget-clipping: event listeners 2 2 +0% z=0.8
large-graph-idle: avg frame time 17ms 17ms +0% z=0.6
large-graph-idle: p95 frame time 17ms 17ms -0% z=-1.4
large-graph-idle: layout duration 0ms 0ms +0% —
large-graph-idle: style recalc duration 6ms 4ms -29% z=-1.8
large-graph-idle: layout count 0 0 +0% —
large-graph-idle: style recalc count 6 5 -25% z=-1.1
large-graph-idle: task duration 608ms 592ms -3% z=0.0
large-graph-idle: script duration 36ms 35ms -5% z=-0.0
large-graph-idle: TBT 0ms 0ms +0% —
large-graph-idle: heap used 83.5 MB 79.4 MB -5% z=0.8
large-graph-idle: DOM nodes -266 -249 -6% z=0.5
large-graph-idle: event listeners -148 -153 +3% z=1.6
large-graph-pan: avg frame time 17ms 17ms -0% z=-1.0
large-graph-pan: p95 frame time 17ms 17ms +0% z=0.5
large-graph-pan: layout duration 0ms 0ms +0% —
large-graph-pan: style recalc duration 10ms 13ms +28% z=0.5
large-graph-pan: layout count 0 0 +0% —
large-graph-pan: style recalc count 64 67 +4% z=0.7
large-graph-pan: task duration 1678ms 1669ms -1% z=0.2
large-graph-pan: script duration 847ms 865ms +2% z=0.4
large-graph-pan: TBT 0ms 0ms +0% variance too high
large-graph-pan: heap used 81.3 MB 76.1 MB -6% z=0.4
large-graph-pan: DOM nodes -273 -250 -9% z=-0.9
large-graph-pan: event listeners -148 -152 +3% z=-0.9
large-graph-zoom: avg frame time 17ms 17ms -0% z=-0.7
large-graph-zoom: p95 frame time 17ms 17ms +0% z=1.8
large-graph-zoom: layout duration 12ms 13ms +3% z=-0.7
large-graph-zoom: style recalc duration 10ms 10ms -1% z=-1.5
large-graph-zoom: layout count 60 60 +0% —
large-graph-zoom: style recalc count 60 61 +1% z=-0.7
large-graph-zoom: task duration 1746ms 1691ms -3% z=0.0
large-graph-zoom: script duration 780ms 790ms +1% z=0.1
large-graph-zoom: TBT 0ms 0ms +0% —
large-graph-zoom: heap used 72.7 MB 71.3 MB -2% z=0.6
large-graph-zoom: DOM nodes -279 -129 -54% z=-0.4
large-graph-zoom: event listeners 8 -69 -963% z=-0.3
legacy-node-drag: avg frame time 17ms 17ms -0% z=0.6
legacy-node-drag: p95 frame time 17ms 17ms +0% z=-0.1
legacy-node-drag: layout duration 0ms 0ms +0% —
legacy-node-drag: style recalc duration 5ms 5ms +8% z=-1.7
legacy-node-drag: layout count 0 0 +0% —
legacy-node-drag: style recalc count 40 41 +3% z=-0.5
legacy-node-drag: task duration 1979ms 1915ms -3% z=0.0
legacy-node-drag: script duration 961ms 984ms +2% z=0.1
legacy-node-drag: TBT 0ms 0ms +0% —
legacy-node-drag: heap used 88.6 MB 82.4 MB -7% z=0.2
legacy-node-drag: DOM nodes 0 2 — z=1.9
legacy-node-drag: event listeners 188 188 +0% z=1.2
minimap-idle: avg frame time 17ms 17ms -0% z=-2.5
minimap-idle: p95 frame time 17ms 17ms +0% z=-1.3
minimap-idle: layout duration 0ms 0ms +0% —
minimap-idle: style recalc duration 2ms 6ms +197% z=0.4
minimap-idle: layout count 0 0 +0% —
minimap-idle: style recalc count 2 6 +200% z=0.8
minimap-idle: task duration 553ms 585ms +6% z=-0.0
minimap-idle: script duration 34ms 36ms +6% z=0.0
minimap-idle: TBT 0ms 0ms +0% —
minimap-idle: heap used 83.9 MB 78.1 MB -7% z=0.2
minimap-idle: DOM nodes -274 -252 -8% z=-0.4
minimap-idle: event listeners 6 -169 -2917% z=-0.7
subgraph-dom-widget-clipping: avg frame time 17ms 17ms +0% z=0.5
subgraph-dom-widget-clipping: p95 frame time 17ms 17ms +0% z=0.2
subgraph-dom-widget-clipping: layout duration 0ms 0ms +0% —
subgraph-dom-widget-clipping: style recalc duration 11ms 11ms +2% z=0.3
subgraph-dom-widget-clipping: layout count 0 0 +0% —
subgraph-dom-widget-clipping: style recalc count 46 47 +2% z=1.0
subgraph-dom-widget-clipping: task duration 421ms 413ms -2% z=0.3
subgraph-dom-widget-clipping: script duration 143ms 144ms +1% z=0.2
subgraph-dom-widget-clipping: TBT 0ms 0ms +0% —
subgraph-dom-widget-clipping: heap used 83.7 MB 73.4 MB -12% z=-0.7
subgraph-dom-widget-clipping: DOM nodes 18 20 +11% z=1.0
subgraph-dom-widget-clipping: event listeners 6 7 +17% z=-0.4
subgraph-idle: avg frame time 17ms 17ms -0% z=-1.0
subgraph-idle: p95 frame time 17ms 17ms -0% z=0.4
subgraph-idle: layout duration 0ms 0ms +0% —
subgraph-idle: style recalc duration 10ms 8ms -22% z=-0.7
subgraph-idle: layout count 0 0 +0% —
subgraph-idle: style recalc count 10 9 -10% z=-1.4
subgraph-idle: task duration 490ms 453ms -8% z=-0.4
subgraph-idle: script duration 8ms 7ms -7% z=-1.3
subgraph-idle: TBT 0ms 0ms +0% —
subgraph-idle: heap used 67.5 MB 70.8 MB +5% z=1.0
subgraph-idle: DOM nodes -294 -278 -5% z=-0.5
subgraph-idle: event listeners -226 -200 -12% z=-0.1
subgraph-mouse-sweep: avg frame time 17ms 17ms +0% z=0.6
subgraph-mouse-sweep: p95 frame time 17ms 17ms +0% z=0.2
subgraph-mouse-sweep: layout duration 6ms 6ms -6% z=0.6
subgraph-mouse-sweep: style recalc duration 38ms 29ms -23% z=0.5
subgraph-mouse-sweep: layout count 18 18 +0% —
subgraph-mouse-sweep: style recalc count 77 77 +0% z=-0.8
subgraph-mouse-sweep: task duration 842ms 806ms -4% z=0.2
subgraph-mouse-sweep: script duration 112ms 114ms +1% z=0.3
subgraph-mouse-sweep: TBT 0ms 0ms +0% —
subgraph-mouse-sweep: heap used 58.0 MB 68.6 MB +18% z=1.7
subgraph-mouse-sweep: DOM nodes -295 -277 -6% z=-0.8
subgraph-mouse-sweep: event listeners -196 -217 +11% z=0.0
subgraph-transition-enter: avg frame time 17ms 17ms +0% z=0.1
subgraph-transition-enter: p95 frame time 17ms 17ms -1% z=-0.9
subgraph-transition-enter: layout duration 16ms 14ms -7% z=1.1
subgraph-transition-enter: style recalc duration 33ms 30ms -7% z=0.7
subgraph-transition-enter: layout count 14 5 -64% —
subgraph-transition-enter: style recalc count 18 18 +0% z=0.9
subgraph-transition-enter: task duration 954ms 736ms -23% z=-1.5
subgraph-transition-enter: script duration 33ms 29ms -14% z=-0.5
subgraph-transition-enter: TBT 143ms 152ms +6% z=0.7
subgraph-transition-enter: heap used 100.2 MB 98.7 MB -1% z=0.8
subgraph-transition-enter: DOM nodes 13751 13587 -1% —
subgraph-transition-enter: event listeners 2385 2385 +0% z=-1.2
viewport-pan-sweep: avg frame time 17ms 17ms +0% z=0.9
viewport-pan-sweep: p95 frame time 17ms 17ms +0% ⚠️ z=2.4
viewport-pan-sweep: layout duration 0ms 0ms +0% —
viewport-pan-sweep: style recalc duration 37ms 36ms -3% z=-0.7
viewport-pan-sweep: layout count 0 0 +0% —
viewport-pan-sweep: style recalc count 247 248 +0% z=0.5
viewport-pan-sweep: task duration 5962ms 5784ms -3% z=-0.0
viewport-pan-sweep: script duration 2682ms 2798ms +4% z=0.2
viewport-pan-sweep: TBT 0ms 0ms +0% —
viewport-pan-sweep: heap used 84.9 MB 67.8 MB -20% z=-0.7
viewport-pan-sweep: DOM nodes -272 -236 -13% z=1.4
viewport-pan-sweep: event listeners -162 -153 -6% z=-0.7
vue-large-graph-idle: avg frame time 18ms 17ms -2% z=-0.5
vue-large-graph-idle: p95 frame time 17ms 17ms +0% z=1.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 14304ms -14% z=-0.9
vue-large-graph-idle: script duration 276ms 262ms -5% z=-0.2
vue-large-graph-idle: TBT 0ms 0ms +0% variance too high
vue-large-graph-idle: heap used 171.3 MB 182.9 MB +7% z=1.7
vue-large-graph-idle: DOM nodes -6548 -6546 -0% z=-1.1
vue-large-graph-idle: event listeners -7475 -7481 +0% z=-1.8
vue-large-graph-pan: avg frame time 18ms 18ms +2% z=0.6
vue-large-graph-pan: p95 frame time 17ms 17ms +0% z=1.0
vue-large-graph-pan: layout duration 0ms 0ms +0% —
vue-large-graph-pan: style recalc duration 18ms 18ms +2% z=-0.4
vue-large-graph-pan: layout count 0 0 +0% —
vue-large-graph-pan: style recalc count 170 164 -4% z=0.4
vue-large-graph-pan: task duration 20862ms 20671ms -1% z=0.2
vue-large-graph-pan: script duration 917ms 931ms +2% z=0.4
vue-large-graph-pan: TBT 106ms 28ms -74% variance too high
vue-large-graph-pan: heap used 172.8 MB 164.0 MB -5% z=-1.0
vue-large-graph-pan: DOM nodes -6548 -6542 -0% z=0.3
vue-large-graph-pan: event listeners -7469 -7472 +0% z=1.4
vue-node-resize-workload: avg frame time 18ms 18ms +0% z=0.1
vue-node-resize-workload: p95 frame time 17ms 17ms +0% z=1.5
vue-node-resize-workload: layout duration 28ms 28ms -1% z=1.3
vue-node-resize-workload: style recalc duration 89ms 87ms -2% z=1.2
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 6103ms -0% z=0.4
vue-node-resize-workload: script duration 115ms 135ms +18% z=1.5
vue-node-resize-workload: TBT 383ms 458ms +19% z=0.8
vue-node-resize-workload: heap used 168.0 MB 165.5 MB -1% z=-1.2
vue-node-resize-workload: DOM nodes -6548 -6542 -0% z=-0.3
vue-node-resize-workload: event listeners -7469 -7475 +0% z=0.8
vue-zoom-out-idle: avg frame time 18ms 18ms +3% ⚠️ z=2.0
vue-zoom-out-idle: p95 frame time 17ms 17ms -0% z=-0.3
vue-zoom-out-idle: layout duration 0ms 0ms +0% —
vue-zoom-out-idle: style recalc duration 0ms 0ms +0% —
vue-zoom-out-idle: layout count 0 0 +0% —
vue-zoom-out-idle: style recalc count 0 0 +0% —
vue-zoom-out-idle: task duration 8552ms 8515ms -0% z=0.6
vue-zoom-out-idle: script duration 168ms 145ms -14% z=0.4
vue-zoom-out-idle: TBT 0ms 0ms +0% —
vue-zoom-out-idle: heap used 168.1 MB 167.6 MB -0% z=-0.1
vue-zoom-out-idle: DOM nodes 0 -1 — z=-5.6
vue-zoom-out-idle: event listeners -14 -12 -14% z=-0.2
workflow-execution: avg frame time 17ms 17ms -0% z=1.1
workflow-execution: p95 frame time 17ms 17ms +0% z=0.2
workflow-execution: layout duration 1ms 1ms +68% z=-1.4
workflow-execution: style recalc duration 18ms 23ms +27% z=1.4
workflow-execution: layout count 3 3 +0% z=-0.6
workflow-execution: style recalc count 13 18 +35% z=2.0
workflow-execution: task duration 98ms 122ms +25% z=1.2
workflow-execution: script duration 8ms 13ms +63% z=1.5
workflow-execution: TBT 0ms 0ms +0% —
workflow-execution: heap used 69.9 MB 63.9 MB -9% z=1.5
workflow-execution: DOM nodes 121 134 +11% z=0.7
workflow-execution: event listeners 67 75 +12% z=1.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 8ms 1ms 11.1%
canvas-idle: layout count 0 0 0.0%
canvas-idle: style recalc count 8 1 7.8%
canvas-idle: task duration 450ms 67ms 14.9%
canvas-idle: script duration 10ms 2ms 18.3%
canvas-idle: TBT 0ms 0ms 0.0%
canvas-idle: heap used 62.5 MB 3.2 MB 5.2%
canvas-idle: DOM nodes -238 44 0.0%
canvas-idle: event listeners -146 27 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 5ms 0ms 9.0%
canvas-mouse-sweep: style recalc duration 31ms 4ms 14.6%
canvas-mouse-sweep: layout count 14 0 0.0%
canvas-mouse-sweep: style recalc count 76 2 2.1%
canvas-mouse-sweep: task duration 871ms 86ms 9.9%
canvas-mouse-sweep: script duration 164ms 18ms 11.2%
canvas-mouse-sweep: TBT 0ms 0ms 0.0%
canvas-mouse-sweep: heap used 65.2 MB 3.4 MB 5.3%
canvas-mouse-sweep: DOM nodes -262 1 0.0%
canvas-mouse-sweep: event listeners -166 10 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 9.8%
canvas-zoom-sweep: style recalc duration 16ms 2ms 13.2%
canvas-zoom-sweep: layout count 6 0 0.0%
canvas-zoom-sweep: style recalc count 31 0 1.6%
canvas-zoom-sweep: task duration 346ms 43ms 12.3%
canvas-zoom-sweep: script duration 12ms 2ms 16.7%
canvas-zoom-sweep: TBT 0ms 0ms 0.0%
canvas-zoom-sweep: heap used 61.5 MB 141.3 KB 0.2%
canvas-zoom-sweep: DOM nodes 76 1 0.8%
canvas-zoom-sweep: event listeners 19 1 3.2%
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 8ms 1ms 11.0%
dom-widget-clipping: layout count 0 0 0.0%
dom-widget-clipping: style recalc count 11 1 4.7%
dom-widget-clipping: task duration 446ms 43ms 9.7%
dom-widget-clipping: script duration 163ms 16ms 9.7%
dom-widget-clipping: TBT 0ms 0ms 0.0%
dom-widget-clipping: heap used 76.3 MB 391.8 KB 0.5%
dom-widget-clipping: DOM nodes 17 1 5.8%
dom-widget-clipping: event listeners 2 0 25.9%
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 6ms 1ms 16.8%
large-graph-idle: layout count 0 0 0.0%
large-graph-idle: style recalc count 6 1 20.8%
large-graph-idle: task duration 589ms 65ms 11.0%
large-graph-idle: script duration 35ms 5ms 13.3%
large-graph-idle: TBT 0ms 0ms 0.0%
large-graph-idle: heap used 77.6 MB 2.1 MB 2.7%
large-graph-idle: DOM nodes -250 3 0.0%
large-graph-idle: event listeners -167 9 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 12ms 1ms 9.6%
large-graph-pan: layout count 0 0 0.0%
large-graph-pan: style recalc count 66 1 1.6%
large-graph-pan: task duration 1632ms 162ms 9.9%
large-graph-pan: script duration 834ms 90ms 10.8%
large-graph-pan: TBT 0ms 0ms 387.3%
large-graph-pan: heap used 74.1 MB 5.4 MB 7.3%
large-graph-pan: DOM nodes -189 67 0.0%
large-graph-pan: event listeners -115 42 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 1ms 8.6%
large-graph-zoom: style recalc duration 12ms 1ms 8.7%
large-graph-zoom: layout count 60 0 0.0%
large-graph-zoom: style recalc count 61 1 1.8%
large-graph-zoom: task duration 1685ms 155ms 9.2%
large-graph-zoom: script duration 785ms 80ms 10.2%
large-graph-zoom: TBT 0ms 0ms 0.0%
large-graph-zoom: heap used 70.8 MB 874.4 KB 1.2%
large-graph-zoom: DOM nodes -101 74 0.0%
large-graph-zoom: event listeners -57 45 0.0%
legacy-node-drag: avg frame time 17ms 0ms 0.0%
legacy-node-drag: p95 frame time 17ms 0ms 0.2%
legacy-node-drag: layout duration 0ms 0ms 0.0%
legacy-node-drag: style recalc duration 7ms 1ms 12.2%
legacy-node-drag: layout count 0 0 0.0%
legacy-node-drag: style recalc count 42 1 3.3%
legacy-node-drag: task duration 1910ms 189ms 9.9%
legacy-node-drag: script duration 978ms 99ms 10.2%
legacy-node-drag: TBT 0ms 0ms 0.0%
legacy-node-drag: heap used 81.7 MB 2.9 MB 3.6%
legacy-node-drag: DOM nodes -82 45 0.0%
legacy-node-drag: event listeners 138 42 30.6%
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 5ms 1ms 20.0%
minimap-idle: layout count 0 0 0.0%
minimap-idle: style recalc count 5 1 24.6%
minimap-idle: task duration 587ms 56ms 9.6%
minimap-idle: script duration 36ms 4ms 12.3%
minimap-idle: TBT 0ms 0ms 0.0%
minimap-idle: heap used 77.6 MB 2.1 MB 2.7%
minimap-idle: DOM nodes -238 34 0.0%
minimap-idle: event listeners -142 36 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 11ms 1ms 9.6%
subgraph-dom-widget-clipping: layout count 0 0 0.0%
subgraph-dom-widget-clipping: style recalc count 46 1 1.1%
subgraph-dom-widget-clipping: task duration 402ms 39ms 9.8%
subgraph-dom-widget-clipping: script duration 142ms 13ms 9.4%
subgraph-dom-widget-clipping: TBT 0ms 0ms 0.0%
subgraph-dom-widget-clipping: heap used 73.5 MB 141.2 KB 0.2%
subgraph-dom-widget-clipping: DOM nodes 19 1 5.6%
subgraph-dom-widget-clipping: event listeners 7 1 7.2%
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 8ms 1ms 14.0%
subgraph-idle: layout count 0 0 0.0%
subgraph-idle: style recalc count 10 0 4.9%
subgraph-idle: task duration 475ms 49ms 10.3%
subgraph-idle: script duration 9ms 1ms 15.8%
subgraph-idle: TBT 0ms 0ms 0.0%
subgraph-idle: heap used 65.3 MB 5.6 MB 8.6%
subgraph-idle: DOM nodes -256 40 0.0%
subgraph-idle: event listeners -196 31 0.0%
subgraph-mouse-sweep: avg frame time 17ms 0ms 0.0%
subgraph-mouse-sweep: p95 frame time 17ms 0ms 0.2%
subgraph-mouse-sweep: layout duration 5ms 1ms 12.9%
subgraph-mouse-sweep: style recalc duration 28ms 4ms 13.2%
subgraph-mouse-sweep: layout count 18 0 0.0%
subgraph-mouse-sweep: style recalc count 77 0 0.5%
subgraph-mouse-sweep: task duration 786ms 88ms 11.3%
subgraph-mouse-sweep: script duration 109ms 15ms 13.3%
subgraph-mouse-sweep: TBT 0ms 0ms 0.0%
subgraph-mouse-sweep: heap used 63.4 MB 3.2 MB 5.0%
subgraph-mouse-sweep: DOM nodes -276 1 0.0%
subgraph-mouse-sweep: event listeners -217 10 0.0%
subgraph-transition-enter: avg frame time 17ms 0ms 0.0%
subgraph-transition-enter: p95 frame time 17ms 0ms 0.3%
subgraph-transition-enter: layout duration 13ms 2ms 13.1%
subgraph-transition-enter: style recalc duration 28ms 3ms 10.5%
subgraph-transition-enter: layout count 5 0 0.0%
subgraph-transition-enter: style recalc count 17 1 6.3%
subgraph-transition-enter: task duration 893ms 107ms 12.0%
subgraph-transition-enter: script duration 31ms 6ms 18.4%
subgraph-transition-enter: TBT 138ms 21ms 15.4%
subgraph-transition-enter: heap used 92.5 MB 8.3 MB 9.0%
subgraph-transition-enter: DOM nodes 13587 0 0.0%
subgraph-transition-enter: event listeners 2386 1 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 38ms 4ms 9.3%
viewport-pan-sweep: layout count 0 0 0.0%
viewport-pan-sweep: style recalc count 248 1 0.4%
viewport-pan-sweep: task duration 5786ms 597ms 10.3%
viewport-pan-sweep: script duration 2743ms 280ms 10.2%
viewport-pan-sweep: TBT 0ms 0ms 0.0%
viewport-pan-sweep: heap used 71.2 MB 4.6 MB 6.5%
viewport-pan-sweep: DOM nodes -245 7 0.0%
viewport-pan-sweep: event listeners -146 10 0.0%
vue-large-graph-idle: avg frame time 18ms 0ms 1.3%
vue-large-graph-idle: p95 frame time 17ms 0ms 0.1%
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 15846ms 1781ms 11.2%
vue-large-graph-idle: script duration 270ms 41ms 15.1%
vue-large-graph-idle: TBT 0ms 0ms 387.3%
vue-large-graph-idle: heap used 171.9 MB 6.6 MB 3.9%
vue-large-graph-idle: DOM nodes -6543 3 0.0%
vue-large-graph-idle: event listeners -7479 1 0.0%
vue-large-graph-pan: avg frame time 18ms 0ms 1.9%
vue-large-graph-pan: p95 frame time 17ms 0ms 0.1%
vue-large-graph-pan: layout duration 0ms 0ms 0.0%
vue-large-graph-pan: style recalc duration 20ms 4ms 19.6%
vue-large-graph-pan: layout count 0 0 0.0%
vue-large-graph-pan: style recalc count 155 20 13.1%
vue-large-graph-pan: task duration 20324ms 2236ms 11.0%
vue-large-graph-pan: script duration 895ms 89ms 9.9%
vue-large-graph-pan: TBT 97ms 66ms 68.7%
vue-large-graph-pan: heap used 168.8 MB 4.9 MB 2.9%
vue-large-graph-pan: DOM nodes -6542 1 0.0%
vue-large-graph-pan: event listeners -7474 1 0.0%
vue-node-resize-workload: avg frame time 18ms 0ms 1.4%
vue-node-resize-workload: p95 frame time 17ms 0ms 0.1%
vue-node-resize-workload: layout duration 25ms 2ms 8.9%
vue-node-resize-workload: style recalc duration 78ms 8ms 10.2%
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 5875ms 570ms 9.7%
vue-node-resize-workload: script duration 113ms 15ms 13.6%
vue-node-resize-workload: TBT 372ms 110ms 29.7%
vue-node-resize-workload: heap used 170.4 MB 4.0 MB 2.3%
vue-node-resize-workload: DOM nodes -6509 131 0.0%
vue-node-resize-workload: event listeners -7476 1 0.0%
vue-zoom-out-idle: avg frame time 18ms 0ms 1.8%
vue-zoom-out-idle: p95 frame time 17ms 1ms 8.3%
vue-zoom-out-idle: layout duration 0ms 0ms 0.0%
vue-zoom-out-idle: style recalc duration 0ms 0ms 0.0%
vue-zoom-out-idle: layout count 0 0 0.0%
vue-zoom-out-idle: style recalc count 0 0 0.0%
vue-zoom-out-idle: task duration 7993ms 924ms 11.6%
vue-zoom-out-idle: script duration 138ms 21ms 15.4%
vue-zoom-out-idle: TBT 0ms 0ms 0.0%
vue-zoom-out-idle: heap used 168.0 MB 5.6 MB 3.3%
vue-zoom-out-idle: DOM nodes -0 0 0.0%
vue-zoom-out-idle: event listeners -12 2 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 19.4%
workflow-execution: style recalc duration 20ms 3ms 13.7%
workflow-execution: layout count 3 1 18.6%
workflow-execution: style recalc count 12 3 25.1%
workflow-execution: task duration 103ms 16ms 15.7%
workflow-execution: script duration 10ms 2ms 22.9%
workflow-execution: TBT 0ms 0ms 0.0%
workflow-execution: heap used 62.9 MB 645.4 KB 1.0%
workflow-execution: DOM nodes 129 7 5.3%
workflow-execution: event listeners 51 20 40.1%
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 ▂▃▆▄▅▂▁█▆▄▄▆▅▆▅ 📈 8ms
canvas-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
canvas-idle: style recalc count ▅█▅▅▁▃▅▆▅▄▄▄▅▄▃ ➡️ 8
canvas-idle: task duration ▂▁▅▃▆▄▂▄▄▅▅▅▃▅█ 📈 589ms
canvas-idle: script duration ▃▁▆▁█▂▂▆▃▄▅▅▂▅█ 📈 13ms
canvas-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: heap used ▅█▆▆▆▂▅▃▁▄▂▄█▆▃ ➡️ 60.0 MB
canvas-idle: DOM nodes ██▁▁▁▁█▁▁▁▁▁█▁▁ 📈 -264
canvas-idle: event listeners █▇▃▃▃▁█▁▂▃▂▃█▃▂ 📈 -166
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 ▃▂▅▃█▃▁▅▅▇▅▅▄▆▆ 📈 34ms
canvas-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 14
canvas-mouse-sweep: style recalc count ▁▂▄▃█▂▂▆▅█▄▆▄█▆ ➡️ 77
canvas-mouse-sweep: task duration ▁▁▅▃█▄▂▅▅▆▅▅▃▆▅ ➡️ 895ms
canvas-mouse-sweep: script duration ▁▁▆▅█▅▁▆▆▅▄▆▅▇▅ ➡️ 165ms
canvas-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-mouse-sweep: heap used ▂▄▅▇█▁▂▇▇▄▇██▄▄ ➡️ 63.9 MB
canvas-mouse-sweep: DOM nodes ▅▄▃▃▁▃█▃▂▂▄▅▃▂▄ ➡️ -262
canvas-mouse-sweep: event listeners ▃▄▃▅█▁▃█▅▅███▆▆ ➡️ -164
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 ▃▁▆▃█▃▂▆▅▆▅▆▃▆▆ 📈 18ms
canvas-zoom-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
canvas-zoom-sweep: style recalc count ▄▅▁▅▂▁▂▅▅▅█▅▅▇▇ ➡️ 32
canvas-zoom-sweep: task duration ▂▁▅▄█▄▁▅▆▅▄▆▃▇▇ 📈 389ms
canvas-zoom-sweep: script duration ▄▁▆▁█▂▁▅▄▄▄▆▂▆▇ 📈 15ms
canvas-zoom-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-zoom-sweep: heap used ▇█▅▆▁▅▆▅▅▅▅▄▁▆▅ ➡️ 61.5 MB
canvas-zoom-sweep: DOM nodes ▅▅▅█▁▁▁▅▂▅█▇▅▂▇ ➡️ 76
canvas-zoom-sweep: event listeners ▆█▁▁▃▁▁▁▁▁▁▁▁▃▁ ➡️ 19
dom-widget-clipping: avg frame time ▃▃▃▃▃▃▃▃▆▁██▃▆▆ ➡️ 17ms
dom-widget-clipping: p95 frame time █▁▁▅▁▁▁▁▅█▅██▅▁ ➡️ 17ms
dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: style recalc duration ▁▁▅▅█▄▁▃▇▆▂▆▄▆█ ➡️ 9ms
dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-clipping: style recalc count ▇▇▄█▇▇█▁▇█▂▄▄▅▅ ➡️ 11
dom-widget-clipping: task duration ▁▁▆▅█▅▂█▆▇▅▆▆▇█ 📈 495ms
dom-widget-clipping: script duration ▁▂▇▆▇▆▂█▆▆▅▆▇▇▇ ➡️ 172ms
dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: heap used ▅▂▃▇▃▁▆▂█▇▅▆▇▂▇ ➡️ 76.6 MB
dom-widget-clipping: DOM nodes ▇▇▄█▇▇█▁▇█▂▄▄▅▅ ➡️ 17
dom-widget-clipping: event listeners ▄█▄███▁█▄▄█▄█▄█ ➡️ 2
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 ▆▃▄▁▃▃▂▁▅█▅▅▂▆▆ 📈 7ms
large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-idle: style recalc count █▇▃▂▂▄▆▁▃▂▅▄▃▂▄ 📉 6
large-graph-idle: task duration ▂▁▆▃▆▃▃▆▃▅▅▇▄█▆ 📈 640ms
large-graph-idle: script duration ▁▁▅▁▆▂▁▄▄▅▅▅▄█▇ 📈 41ms
large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: heap used ▁▄▇██▆▂▇██▅▆▆▇▆ ➡️ 77.6 MB
large-graph-idle: DOM nodes ▂█▆▆▆▆▁▂▇▅▃▅▅▄▃ ➡️ -252
large-graph-idle: event listeners ▁▄▃██▆▁▆▆▃▃▆▆▅▃ ➡️ -172
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 ▂▅▁▁▄▄█▃▂▅▅▂▂▇▆ ➡️ 13ms
large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-pan: style recalc count ▄▆▂▃▂▅█▃▃▃▄▁▃▃▂ ➡️ 65
large-graph-pan: task duration ▁▁▅▅▇▅▂▆▅▅▅▇▅█▆ 📈 1704ms
large-graph-pan: script duration ▁▁▆▅▇▆▁▇▅▅▅▇▅█▆ 📈 864ms
large-graph-pan: TBT ▁▁▁▁▁▁▁▁▁▁▁▁█▁▁ 📈 0ms
large-graph-pan: heap used ▅▂▅▅▅▅▁▆▄▅▄▅▂▆█ ➡️ 84.5 MB
large-graph-pan: DOM nodes █▁█▅▂▁▁▁▅▁▅▁▄▁█ ➡️ -86
large-graph-pan: event listeners █▁█▅▅▂▁▂▅▅▄▅▄▄▇ 📉 -56
large-graph-zoom: avg frame time █▃▆▁▆▁▃▆▁▆▃▃▁▃▃ ➡️ 17ms
large-graph-zoom: p95 frame time ▁▁▁▄▄█▁▁▅▁▄▁█▄▅ ➡️ 17ms
large-graph-zoom: layout duration ▂▁▃▂▆▁▁▃▃▇▅▄▁▆█ 📈 16ms
large-graph-zoom: style recalc duration ▄▅▃▂▃▅▄▂▂█▆▃▁▃▆ ➡️ 13ms
large-graph-zoom: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 60
large-graph-zoom: style recalc count ▇█▂▄▁▇▇▂▂▄▄▂▃▁▂ ➡️ 60
large-graph-zoom: task duration ▂▁▇▄█▅▂▅▅▇▅▇▄█▇ ➡️ 1838ms
large-graph-zoom: script duration ▁▁▇▅▇▅▁▆▆▆▆█▆█▇ 📈 834ms
large-graph-zoom: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-zoom: heap used ▁▆▇▂▆▃▇▆▅▄▃▅▇▆█ ➡️ 72.0 MB
large-graph-zoom: DOM nodes ▆▁▆▆█▄▃█▆▃▆▃█▆▆ 📉 -89
large-graph-zoom: event listeners ▄▁▅▅█▁▁█▅▁▅▅█▅▅ 📉 -54
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 ▇▆▁▄▂▅█▃▄▃▁▂▃▃▂ ➡️ 40
legacy-node-drag: task duration ▂▁▇▆█▅▂▇▆▆▆▇▆█▆ 📈 1953ms
legacy-node-drag: script duration ▁▁▇▆▇▆▁▇▇▇▆█▆█▇ 📈 1042ms
legacy-node-drag: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
legacy-node-drag: heap used ▅▁█▇▇▄▇▇▂█▆▇▇▆▆ ➡️ 81.7 MB
legacy-node-drag: DOM nodes ▅█▄▅▄▄▅▁▁▅█▄▅▄▄ 📈 -86
legacy-node-drag: event listeners ███▄▄▄▄▁▁▄█▄▄▄█ 📉 188
minimap-idle: avg frame time █▆▆▃█▃▁▁▃▆▆▆▁▆▃ ➡️ 17ms
minimap-idle: p95 frame time ▃▃▆▃▃▃▁▁▁▃▆▆▃██ ➡️ 17ms
minimap-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: style recalc duration ▇▄▆▄▅▆█▄▆▁▂▄▄▄▇ 📉 6ms
minimap-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
minimap-idle: style recalc count ▆▇▄▄▂▆█▂▄▁▂▄▃▂▄ 📉 5
minimap-idle: task duration ▃▁▆▄█▄▃▄▆▄▃▆▃▇▅ ➡️ 615ms
minimap-idle: script duration ▄▁▇▃▆▃▁▅▄▅▄▅▂█▇ ➡️ 41ms
minimap-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: heap used ▆▁▅▅▆▄▂█▆▇▆▆▆█▆ ➡️ 78.6 MB
minimap-idle: DOM nodes ▂▁▁▁▇▁▁▂▁██▁▁▁▁ ➡️ -253
minimap-idle: event listeners ▂▁▅▁▅▁▁▅▂▅█▅▂▃▂ 📉 -163
subgraph-dom-widget-clipping: avg frame time ▆▆▁▆▅▃▄▃█▄▆▆▄█▆ ➡️ 17ms
subgraph-dom-widget-clipping: p95 frame time ▆▃▃▆▃▁▆▃██▁▃▁▃▆ ➡️ 17ms
subgraph-dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: style recalc duration ▃▃█▅▇▆▁▇▇▇▇█▆█▇ 📈 11ms
subgraph-dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-dom-widget-clipping: style recalc count ▅█▇█▁▆█▆█▆▇▆▇▅▆ ➡️ 46
subgraph-dom-widget-clipping: task duration ▂▁▇▅█▅▂▇▆▆▆▇▅█▇ 📈 427ms
subgraph-dom-widget-clipping: script duration ▂▁▇▆█▆▂█▇▇▇▇▆█▇ 📈 149ms
subgraph-dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: heap used █▃▇▃▇▂▁▇▅▆▄▆▄▇▆ ➡️ 73.5 MB
subgraph-dom-widget-clipping: DOM nodes ▅█▇█▁▆█▆█▆▇▆▇▅▆ ➡️ 19
subgraph-dom-widget-clipping: event listeners ▄▁▁█▄▄▄▁█▁█▁▄▄▁ ➡️ 7
subgraph-idle: avg frame time █▆▃▆▃▃█▆█▃▁▃▃▃▁ ➡️ 17ms
subgraph-idle: p95 frame time █▅▄▁███▅█▁▁▅▄█▁ ➡️ 17ms
subgraph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: style recalc duration ▂▂▇▃█▄▁█▅▄▅▆▄▇▅ ➡️ 8ms
subgraph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-idle: style recalc count ▄█▅▂▂▄▅▅▂▂▇▁▅▄▁ ➡️ 9
subgraph-idle: task duration ▁▁▇▄█▅▃▆▅▅▅▆▄▇▇ ➡️ 530ms
subgraph-idle: script duration ▂▁▇▁█▃▂▅▄▄▄▅▂▅█ ➡️ 11ms
subgraph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: heap used ▆▄▅▅█▁▂▃▃▂▁▅▄▄▅ ➡️ 69.1 MB
subgraph-idle: DOM nodes █▁▁▁█▁▁▁▁█▁▁▁▁▁ ➡️ -276
subgraph-idle: event listeners ▇▃▃▃█▂▂▃▂▇▁▃▂▂▃ ➡️ -200
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 ▃▂▇▃█▅▁▆▅▆▅▇▄▇▇ 📈 32ms
subgraph-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 18
subgraph-mouse-sweep: style recalc count ▄▄▄▄▁▄▄▄█▁▄▅▄▄▂ ➡️ 77
subgraph-mouse-sweep: task duration ▂▁▇▅█▅▃▅▆▆▅▇▄▇▇ 📈 865ms
subgraph-mouse-sweep: script duration ▃▂▇▅█▅▁▆▆▆▅▇▅█▇ 📈 118ms
subgraph-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-mouse-sweep: heap used ▁▂▄▆█▂▃▅▂▁▁▄▆▆▃ ➡️ 62.3 MB
subgraph-mouse-sweep: DOM nodes ▆▃▂▄▁▃█▂▂▃▄▃▂▂▃ ➡️ -276
subgraph-mouse-sweep: event listeners ▄▄▃▃█▃▃█▃▁▁▅█▅▃ ➡️ -222
subgraph-transition-enter: avg frame time ▁▅▅▅▁▅█▅▅▁▅█▄▅▅ ➡️ 17ms
subgraph-transition-enter: p95 frame time ▁▁█▁▁█▁██▁▁█▁██ ➡️ 17ms
subgraph-transition-enter: layout duration ▂▁▆▅▇▅▂▆▆▇▅▅▆█▅ 📈 13ms
subgraph-transition-enter: style recalc duration ▂▁▆▅█▆▃▆▆▆▅▆▆█▆ ➡️ 30ms
subgraph-transition-enter: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 5
subgraph-transition-enter: style recalc count ▅▆▆▅▁▆█▃▅▅▃▆▃▃▅ ➡️ 17
subgraph-transition-enter: task duration ▂▁▄▄█▄▂▆▄▆▆▅▅▇▅ 📈 937ms
subgraph-transition-enter: script duration ▂▁█▄▆▃▂▅▄▄▄▄▄▆▄ ➡️ 32ms
subgraph-transition-enter: TBT ▁▁▆▆▇▆▅▇▅▆▅▆▆█▆ 📈 141ms
subgraph-transition-enter: heap used █▁▆▇█▇█▁▆▇▇▇▁██ ➡️ 98.8 MB
subgraph-transition-enter: DOM nodes ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 13587
subgraph-transition-enter: event listeners ▁▁█████▁▁████▁▁ ➡️ 2385
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 ▄▄▄▂▆▃▁▄▄▆▅▅▃▅█ ➡️ 46ms
viewport-pan-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
viewport-pan-sweep: style recalc count ▇█▅▄▁▅▆▄▄▃▄▄▄▂▄ ➡️ 247
viewport-pan-sweep: task duration ▂▁▆▄█▅▂▇▆▆▅▇▅█▇ 📈 6283ms
viewport-pan-sweep: script duration ▂▁▇▅█▆▁▇▆▆▅▇▆█▇ 📈 2891ms
viewport-pan-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
viewport-pan-sweep: heap used ▂▃▁▃▄▅█▃▄▁▃▃▄▅▄ ➡️ 71.2 MB
viewport-pan-sweep: DOM nodes ▆█▃▄▁▅▁▂▂▂▂▃▂▁▂ ➡️ -248
viewport-pan-sweep: event listeners ▆▁▅▅█▃▃▅▅▅▃█▇█▇ ➡️ -136
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 ▂▃▇▅█▅▁▅▆█▇▃▅▆█ 📈 18117ms
vue-large-graph-idle: script duration ▃▁▆▄█▄▁▄▅▇▆▄▄▇▇ 📈 322ms
vue-large-graph-idle: TBT ▁▁▁▁▁▁▁▁▁▁▁▁▁▁█ 📈 2ms
vue-large-graph-idle: heap used ▅▆▂▁▅▃▁▅▄▅▅▆▅▄█ ➡️ 185.3 MB
vue-large-graph-idle: DOM nodes ▆▁██████████▆██ ➡️ -6542
vue-large-graph-idle: event listeners ▃▅▅▆▆▄▁▄█▄▅▃▆▅▃ ➡️ -7480
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 ▂▁▄▂█▃▁▅▄▇▆▅▃▅█ 📈 26ms
vue-large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
vue-large-graph-pan: style recalc count ▃▄▆▇█▇▁▆▆▇▆▆▇▆▇ 📈 172
vue-large-graph-pan: task duration ▂▂▆▄█▅▁▆▅█▆▆▅▅█ 📈 23124ms
vue-large-graph-pan: script duration ▁▁▆▅█▆▄▆▆▇▆▆▅▆▇ ➡️ 952ms
vue-large-graph-pan: TBT ▁▁▄▃▆▂▂▃▄█▅▇▃▃▇ 📈 194ms
vue-large-graph-pan: heap used ▆▂▆▂▆▆▂█▆▅▃▃█▃▁ ➡️ 161.5 MB
vue-large-graph-pan: DOM nodes ▂▇▇█▇▇▇▇▇▇▇▇▁▇▇ ➡️ -6542
vue-large-graph-pan: event listeners ▅▂█▇▇▆▁█▇██▇▆▆█ ➡️ -7473
vue-node-resize-workload: avg frame time ▇▅▄▄▅▂▁▇▅█▄▅▄▅█ ➡️ 18ms
vue-node-resize-workload: p95 frame time ▅▁▄█▄▁▅▁▄▅▄▁█▅█ ➡️ 17ms
vue-node-resize-workload: layout duration ▃▁▅▃█▁▁▆▃▆▅▃▂▆█ ➡️ 29ms
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 ▄▃▅▅█▅▁▇▆█▄▇▆█▇ 📈 6223ms
vue-node-resize-workload: script duration ▂▁▅▅█▆▁▇▆▇▅▆▄█▇ 📈 128ms
vue-node-resize-workload: TBT ▄▃▆▆█▆▁▇█▇▄▇▆█▇ 📈 429ms
vue-node-resize-workload: heap used ▃▄▄▃▁▂▃▄▆▂▅█▃▅▃ ➡️ 168.2 MB
vue-node-resize-workload: DOM nodes ▁▁▁▁▁▁█▁▁▁▁▁▁▁▁ ➡️ -6544
vue-node-resize-workload: event listeners ▃▅▂▄▄█▁▄▄▅▂▄▅▇▄ ➡️ -7476
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 ▃▂▃▃█▅▁▇▆▇▇▆▄▇█ 📈 9171ms
vue-zoom-out-idle: script duration ▂▁▅▃█▆▂▆▄▆▅█▄▆▇ 📈 157ms
vue-zoom-out-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
vue-zoom-out-idle: heap used ▄▁▅▇▅▄▄▃▁█▄▄█▆▆ ➡️ 170.4 MB
vue-zoom-out-idle: DOM nodes █▁█████████████ 📉 0
vue-zoom-out-idle: event listeners ▇█▅▄▃▄▇▅▄▃▄▃▅▃▁ 📈 -15
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 ▃▅▅▃▄▁▅█▂▅▃▁▅▅▄ ➡️ 12
workflow-execution: task duration ▂▃▄▃▆▁▄█▂▆▄▃▅▇▅ 📈 109ms
workflow-execution: script duration ▂▃▅▂▅▁▃█▂▅▂▃▃▆▅ ➡️ 11ms
workflow-execution: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
workflow-execution: heap used ▄▇▃▄▄▁▆█▁▆▃▂▅▇▄ ➡️ 62.8 MB
workflow-execution: DOM nodes ▄▂▄▄▆▄▅█▄▃▄▁▅▄▆ ➡️ 135
workflow-execution: event listeners ▄▇▄▃▄▁▆█▁▆▄▃▆▇▃ ➡️ 38
Raw data
{
  "timestamp": "2026-09-16T13:54:59.575Z",
  "gitSha": "46ecc7d69cdfd9a07f314fb8d50e841469688c18",
  "branch": "jaewon/fe-2218-billing-web-ci-unit",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2021.788000000015,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.7029999999999985,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 387.68899999999996,
      "heapDeltaBytes": 3458592,
      "heapUsedBytes": 65783452,
      "domNodes": -263,
      "jsHeapTotalBytes": 4710400,
      "scriptDurationMs": 7.595000000000001,
      "eventListeners": -154,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-idle",
      "durationMs": 2005.8410000000322,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.907999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 450.1789999999999,
      "heapDeltaBytes": 9270896,
      "heapUsedBytes": 71314836,
      "domNodes": -259,
      "jsHeapTotalBytes": 4710400,
      "scriptDurationMs": 8.390000000000002,
      "eventListeners": -154,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1842.409000000032,
      "styleRecalcs": 79,
      "styleRecalcDurationMs": 29.894000000000005,
      "layouts": 14,
      "layoutDurationMs": 4.253,
      "taskDurationMs": 857.6870000000001,
      "heapDeltaBytes": 8854452,
      "heapUsedBytes": 71222712,
      "domNodes": -260,
      "jsHeapTotalBytes": 5758976,
      "scriptDurationMs": 165.656,
      "eventListeners": -156,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1813.6570000000347,
      "styleRecalcs": 76,
      "styleRecalcDurationMs": 26.554999999999996,
      "layouts": 14,
      "layoutDurationMs": 4.458,
      "taskDurationMs": 835.2890000000001,
      "heapDeltaBytes": -1153960,
      "heapUsedBytes": 59814996,
      "domNodes": -261,
      "jsHeapTotalBytes": 6021120,
      "scriptDurationMs": 164.44,
      "eventListeners": -186,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1707.583999999997,
      "styleRecalcs": 32,
      "styleRecalcDurationMs": 14.735,
      "layouts": 6,
      "layoutDurationMs": 1.29,
      "taskDurationMs": 326.02799999999996,
      "heapDeltaBytes": 2154576,
      "heapUsedBytes": 64399864,
      "domNodes": 75,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 10.050999999999997,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1725.0229999999647,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 15.747999999999998,
      "layouts": 6,
      "layoutDurationMs": 1.257,
      "taskDurationMs": 334.33000000000004,
      "heapDeltaBytes": 2108260,
      "heapUsedBytes": 64540216,
      "domNodes": 76,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 10.783000000000001,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 662.871999999993,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 8.687,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 462.27,
      "heapDeltaBytes": 17904516,
      "heapUsedBytes": 80311496,
      "domNodes": 20,
      "jsHeapTotalBytes": 5767168,
      "scriptDurationMs": 169.073,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 657.4980000000323,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 6.98,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 453.81399999999996,
      "heapDeltaBytes": 17848920,
      "heapUsedBytes": 80000124,
      "domNodes": 16,
      "jsHeapTotalBytes": 6291456,
      "scriptDurationMs": 168.937,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2037.776000000008,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 4.900999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 579.5580000000001,
      "heapDeltaBytes": 3414252,
      "heapUsedBytes": 82820492,
      "domNodes": -247,
      "jsHeapTotalBytes": -270336,
      "scriptDurationMs": 34.236000000000004,
      "eventListeners": -154,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2022.630999999933,
      "styleRecalcs": 4,
      "styleRecalcDurationMs": 3.5570000000000013,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 604.498,
      "heapDeltaBytes": 4046620,
      "heapUsedBytes": 83678180,
      "domNodes": -251,
      "jsHeapTotalBytes": -270336,
      "scriptDurationMs": 34.76899999999999,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2303.4019999999487,
      "styleRecalcs": 66,
      "styleRecalcDurationMs": 11.421000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1678.909,
      "heapDeltaBytes": -1120368,
      "heapUsedBytes": 79784360,
      "domNodes": -251,
      "jsHeapTotalBytes": 1265664,
      "scriptDurationMs": 866.3770000000001,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2280.1020000000563,
      "styleRecalcs": 67,
      "styleRecalcDurationMs": 13.662999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1658.34,
      "heapDeltaBytes": 15239588,
      "heapUsedBytes": 79875972,
      "domNodes": -248,
      "jsHeapTotalBytes": 1798144,
      "scriptDurationMs": 864.5849999999999,
      "eventListeners": -152,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3562.0930000000044,
      "styleRecalcs": 60,
      "styleRecalcDurationMs": 9.719999999999995,
      "layouts": 60,
      "layoutDurationMs": 12.931,
      "taskDurationMs": 1683.802,
      "heapDeltaBytes": 7653292,
      "heapUsedBytes": 74388332,
      "domNodes": 0,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 791.298,
      "eventListeners": 10,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3597.7799999999434,
      "styleRecalcs": 61,
      "styleRecalcDurationMs": 10.642999999999995,
      "layouts": 60,
      "layoutDurationMs": 12.849,
      "taskDurationMs": 1697.6360000000002,
      "heapDeltaBytes": 9792016,
      "heapUsedBytes": 75072936,
      "domNodes": -257,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 788.569,
      "eventListeners": -148,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 3090.0709999999663,
      "styleRecalcs": 40,
      "styleRecalcDurationMs": 4.695000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1891.6100000000001,
      "heapDeltaBytes": 18917304,
      "heapUsedBytes": 85559980,
      "domNodes": 0,
      "jsHeapTotalBytes": 942080,
      "scriptDurationMs": 964.68,
      "eventListeners": 188,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66999999999998,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 3140.5309999998963,
      "styleRecalcs": 42,
      "styleRecalcDurationMs": 6.034999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1937.93,
      "heapDeltaBytes": 20544820,
      "heapUsedBytes": 87196580,
      "domNodes": 4,
      "jsHeapTotalBytes": 679936,
      "scriptDurationMs": 1002.6980000000001,
      "eventListeners": 188,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2037.5460000000203,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 7.064000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 603.897,
      "heapDeltaBytes": -8203708,
      "heapUsedBytes": 79528876,
      "domNodes": -254,
      "jsHeapTotalBytes": -757760,
      "scriptDurationMs": 34.511,
      "eventListeners": -184,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2003.9050000000316,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 3.9730000000000008,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 566.0780000000001,
      "heapDeltaBytes": 20101040,
      "heapUsedBytes": 84217872,
      "domNodes": -250,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 38.328,
      "eventListeners": -154,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 587.1039999999539,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 9.600999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 408.781,
      "heapDeltaBytes": 13932208,
      "heapUsedBytes": 76879380,
      "domNodes": 18,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 144.483,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 606.2580000000253,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 12.161999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 417.53700000000003,
      "heapDeltaBytes": 13415100,
      "heapUsedBytes": 77078668,
      "domNodes": 22,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 144.098,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2000.8429999999748,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.383000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 454.557,
      "heapDeltaBytes": 12152452,
      "heapUsedBytes": 75746624,
      "domNodes": -277,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 7.046,
      "eventListeners": -200,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2023.2570000000578,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.7,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 450.936,
      "heapDeltaBytes": 9116740,
      "heapUsedBytes": 72683828,
      "domNodes": -279,
      "jsHeapTotalBytes": 4710400,
      "scriptDurationMs": 6.872,
      "eventListeners": -200,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1741.6170000000193,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 30.705000000000002,
      "layouts": 18,
      "layoutDurationMs": 6.098,
      "taskDurationMs": 814.904,
      "heapDeltaBytes": 2857780,
      "heapUsedBytes": 66321972,
      "domNodes": -276,
      "jsHeapTotalBytes": 4448256,
      "scriptDurationMs": 113.19000000000001,
      "eventListeners": -232,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1706.8209999999908,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 27.902000000000005,
      "layouts": 18,
      "layoutDurationMs": 5.532,
      "taskDurationMs": 797.709,
      "heapDeltaBytes": 14235292,
      "heapUsedBytes": 77629052,
      "domNodes": -277,
      "jsHeapTotalBytes": 5758976,
      "scriptDurationMs": 114.64099999999999,
      "eventListeners": -202,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 949.2240000000152,
      "styleRecalcs": 18,
      "styleRecalcDurationMs": 30.470999999999997,
      "layouts": 5,
      "layoutDurationMs": 14.463000000000005,
      "taskDurationMs": 736.3459999999999,
      "heapDeltaBytes": 19990684,
      "heapUsedBytes": 103497540,
      "domNodes": 13587,
      "jsHeapTotalBytes": 11272192,
      "scriptDurationMs": 28.702000000000005,
      "eventListeners": 2385,
      "totalBlockingTimeMs": 152,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8475.555999999982,
      "styleRecalcs": 248,
      "styleRecalcDurationMs": 35.951,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5793.359,
      "heapDeltaBytes": -13189708,
      "heapUsedBytes": 66737444,
      "domNodes": -227,
      "jsHeapTotalBytes": 3661824,
      "scriptDurationMs": 2824.013,
      "eventListeners": -168,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8320.296999999982,
      "styleRecalcs": 248,
      "styleRecalcDurationMs": 35.384,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 5774.146,
      "heapDeltaBytes": -4246368,
      "heapUsedBytes": 75419096,
      "domNodes": -245,
      "jsHeapTotalBytes": -77824,
      "scriptDurationMs": 2771.9770000000003,
      "eventListeners": -138,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 12649.593000000039,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 11855.869999999999,
      "heapDeltaBytes": -6388284,
      "heapUsedBytes": 190643444,
      "domNodes": -6550,
      "jsHeapTotalBytes": 4083712,
      "scriptDurationMs": 219.17399999999998,
      "eventListeners": -7482,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.223333333333237,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 17271.54399999995,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 16752.741,
      "heapDeltaBytes": -8758852,
      "heapUsedBytes": 193001280,
      "domNodes": -6542,
      "jsHeapTotalBytes": -581632,
      "scriptDurationMs": 305.72599999999994,
      "eventListeners": -7480,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 21316.237999999998,
      "styleRecalcs": 168,
      "styleRecalcDurationMs": 17.817,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 20888.571,
      "heapDeltaBytes": -44197580,
      "heapUsedBytes": 177656368,
      "domNodes": -6542,
      "jsHeapTotalBytes": -5443584,
      "scriptDurationMs": 909.2750000000001,
      "eventListeners": -7472,
      "totalBlockingTimeMs": 44,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 20715.97299999996,
      "styleRecalcs": 159,
      "styleRecalcDurationMs": 18.586999999999993,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 20452.756,
      "heapDeltaBytes": -36183484,
      "heapUsedBytes": 166312484,
      "domNodes": -6542,
      "jsHeapTotalBytes": -1368064,
      "scriptDurationMs": 953.1619999999999,
      "eventListeners": -7472,
      "totalBlockingTimeMs": 11,
      "frameDurationMs": 18.330000000000048,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 6171.7310000000225,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 83.90099999999998,
      "layouts": 20,
      "layoutDurationMs": 25.056999999999995,
      "taskDurationMs": 6050.181,
      "heapDeltaBytes": -34547888,
      "heapUsedBytes": 179391288,
      "domNodes": -6542,
      "jsHeapTotalBytes": 17260544,
      "scriptDurationMs": 112.342,
      "eventListeners": -7474,
      "totalBlockingTimeMs": 348,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "vue-node-resize-workload",
      "durationMs": 6254.143999999997,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 91.083,
      "layouts": 20,
      "layoutDurationMs": 30.364,
      "taskDurationMs": 6154.924999999999,
      "heapDeltaBytes": -53656100,
      "heapUsedBytes": 167652052,
      "domNodes": -6542,
      "jsHeapTotalBytes": 7536640,
      "scriptDurationMs": 158.33399999999997,
      "eventListeners": -7476,
      "totalBlockingTimeMs": 567,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 8799.47500000003,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 8542.361,
      "heapDeltaBytes": -6363464,
      "heapUsedBytes": 182352032,
      "domNodes": 0,
      "jsHeapTotalBytes": 2359296,
      "scriptDurationMs": 145.76100000000002,
      "eventListeners": -12,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.77333333333336,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-zoom-out-idle",
      "durationMs": 8814.349999999991,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 8487.087,
      "heapDeltaBytes": 10747024,
      "heapUsedBytes": 169183316,
      "domNodes": -1,
      "jsHeapTotalBytes": -3670016,
      "scriptDurationMs": 144.43499999999997,
      "eventListeners": -12,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 18.886666666666617,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "workflow-execution",
      "durationMs": 480.60600000002296,
      "styleRecalcs": 22,
      "styleRecalcDurationMs": 29.898,
      "layouts": 4,
      "layoutDurationMs": 1.954,
      "taskDurationMs": 143.98100000000002,
      "heapDeltaBytes": 5255816,
      "heapUsedBytes": 67110036,
      "domNodes": 149,
      "jsHeapTotalBytes": 524288,
      "scriptDurationMs": 16.844,
      "eventListeners": 83,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "workflow-execution",
      "durationMs": 450.4459999999426,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 16.883,
      "layouts": 2,
      "layoutDurationMs": 0.5119999999999999,
      "taskDurationMs": 100.21199999999999,
      "heapDeltaBytes": 4741864,
      "heapUsedBytes": 66855072,
      "domNodes": 119,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 9.337000000000002,
      "eventListeners": 67,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    }
  ]
}

🔬 E2E Coverage

Metric Covered Total Pct
Lines 51018 77297 66.0% 🟡
Functions 0 0 — —
Branches 0 0 — —
Top 10 files by uncovered lines
File Coverage Missed
src/LGraphCanvas.ts 67.7% 1159
src/LGraphNode.ts 69.9% 388
src/extensions/core/cameraInfo/CameraInfoViewport.ts 2.0% 343
src/renderer/extensions/layerEditor/composables/useLayerEditorSession.ts 40.1% 332
src/platform/workspace/stores/workspaceAuthStore.ts 33.1% 331
src/platform/workspace/stores/billingOperationStore.ts 7.9% 313
src/LGraph.ts 79.1% 263
src/platform/workspace/stores/teamWorkspaceStore.ts 38.9% 256
src/scripts/app.ts 71.7% 255
src/core/billing/operationLifecycle.ts 0.9% 226

@coderabbitai

coderabbitai Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: ca84f002-6e74-4f83-be9a-9343c3889ebb

📥 Commits

Reviewing files that changed from the base of the PR and between c36abdc and b6c7d7b.

📒 Files selected for processing (3)
  • .github/actions/changes-filter/action.yaml
  • .github/workflows/ci-billing-web-unit.yaml
  • codecov.yml

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


📝 Walkthrough

Walkthrough

The changes add billing web path detection, a conditional unit-test workflow, a required workflow gate, and a dedicated Codecov flag for billing web coverage.

Changes

Billing web CI

Layer / File(s) Summary
Billing web change detection
.github/actions/changes-filter/action.yaml
The local action adds the app-billing-web-changes output and detects changes under apps/billing-web/** or shared dependencies.
Billing web unit workflow
.github/workflows/ci-billing-web-unit.yaml
The workflow runs billing web coverage tests when app or package changes exist. It uploads LCOV data to Codecov and validates skipped or completed test jobs through an unconditional gate.
Billing web coverage configuration
codecov.yml
The billing-web flag limits coverage paths to apps/billing-web/src/** and disables carryforward.

Priority: ⬇️ Low

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

Change: Other

Sequence Diagram(s)

sequenceDiagram
  participant GitHubEvent
  participant ChangesFilter
  participant BillingWebUnit
  participant Codecov
  participant BillingWebGate
  GitHubEvent->>ChangesFilter: trigger workflow and detect changed paths
  ChangesFilter-->>BillingWebUnit: app and package change outputs
  BillingWebUnit->>BillingWebUnit: run billing-web test:coverage
  BillingWebUnit->>Codecov: upload lcov.info with billing-web flag
  BillingWebUnit-->>BillingWebGate: unit job result
  ChangesFilter-->>BillingWebGate: filter job result and change outputs
  BillingWebGate->>BillingWebGate: validate success or valid skip
Loading

Merge Risk: ⚪ Minimal · up to b6c7d

The billing-web CI coverage workflow and its stable gate are ready to merge.

🚥 Pre-merge checks | ✅ 7
✅ Passed checks (7 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely states the main change: running billing-web unit tests on pull requests.
Description check ✅ Passed The description provides a detailed summary, implementation changes, review considerations, testing results, scope boundaries, and CI behavior. It does not use the repository template headings exactly…
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 title and commit subject use CI language, not bug-fix language. The changed files are limited to CI workflow/action configuration and Codecov configuration. The custom check explicitly excludes…
Website End-To-End Regression Coverage ✅ Passed The pull request changes only CI and Codecov configuration files: .github/actions/changes-filter/action.yaml, .github/workflows/ci-billing-web-unit.yaml, and codecov.yml. It does not change file…
Adr Compliance For Entity/Litegraph Changes ✅ Passed The changed files are .github/actions/changes-filter/action.yaml, .github/workflows/ci-billing-web-unit.yaml, and codecov.yml. None are under src/lib/litegraph/, src/ecs/, or related to grap…
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jaewon/fe-2218-billing-web-ci-unit

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

@codecov

codecov Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##             main   #17827      +/-   ##
==========================================
+ Coverage   82.59%   83.59%   +1.00%     
==========================================
  Files        2842     2185     -657     
  Lines      141828   125825   -16003     
  Branches    38333    32029    -6304     
==========================================
- Hits       117140   105185   -11955     
+ Misses      23481    20350    -3131     
+ Partials     1207      290     -917     
Flag Coverage Δ
e2e 66.00% <ø> (-0.03%) ⬇️
unit 78.64% <ø> (ø)
website-unit ?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 666 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 16, 2026
…e change as superseded (Comfy-Org#17828)

Linear FE-2331. Follow-up from the Comfy-Org#17798 review.

## Why

A billing read that fails is still an answer about the scope it was
issued for. When the host switches workspace or disposes the reader
while the request is in flight, the credits, status, and capabilities
readers hand the caller back the original failure code —
`REQUEST_FAILED`, `NOT_FOUND`, `CONFLICT` — instead of `SUPERSEDED`. A
caller that distinguishes "this read no longer applies" from "this read
failed" then retries, reports, or surfaces an error banner for a
workspace the user already left.

The same gap was fixed for `plans.ts` and `paymentMethods.ts` in Comfy-Org#17798;
these three readers were written before that and kept the old shape.

## Root cause

The lifecycle fence ran only on the success path:

```ts
const result = await requestBalance(scope)
if (result.status !== 'ok') {
  if (result.code === 'ACCESS_DENIED' && scopeTracker.isCurrent(context)) {
    snapshot = undefined
  }
  return result            // <- returns before the fence
}

if (lifetime.disposed || !scopeTracker.isCurrent(context)) {
  return { status: 'error', code: 'SUPERSEDED' }
}
```

Because the failure branch returned early, the failure never reached the
fence. The `ACCESS_DENIED` snapshot drop compensated with its own
`isCurrent` check, which is why the stale-scope case was handled for the
cache but not for the returned result.

## How

Move the fence to run immediately after the request settles, before
`result.status` is inspected, in `credits.ts`, `status.ts`, and
`capabilities.ts`. Any result — ok or error — that lands after a dispose
or a scope change is now reported as `SUPERSEDED`. The denial drop keeps
working for the current scope, and its now-redundant `isCurrent` guard
is removed since the fence has already returned for a stale one.

`capabilities.ts` is included because it carried the identical gap;
`plans.ts` and `paymentMethods.ts` already have this shape from Comfy-Org#17798.

## AS-IS / TO-BE

No UI change. This is SDK-internal error-code behavior on
`packages/account`:

| | AS-IS | TO-BE |
| --- | --- | --- |
| 500 lands after a workspace change | `{ code: 'REQUEST_FAILED',
httpStatus: 500 }` | `{ code: 'SUPERSEDED' }` |
| 500 lands after `dispose()` | `{ code: 'REQUEST_FAILED', httpStatus:
500 }` | `{ code: 'SUPERSEDED' }` |
| 500 lands in the current scope | `{ code: 'REQUEST_FAILED',
httpStatus: 500 }` | unchanged |
| 403 lands in the current scope | drops the snapshot | unchanged |

## Testing

- Added an `it.for` over two rows — the workspace changes, the reader is
disposed — to each of `credits.test.ts`, `status.test.ts`, and
`capabilities.test.ts`, gating a 500 behind the existing release-gate
transport helper so the failure settles after the supersede.
- All six new rows fail against the pre-fix source (`expected { status:
'error', code: 'REQUEST_FAILED', httpStatus: 500 } to deeply equal {
status: 'error', code: 'SUPERSEDED' }`) and pass with the fence moved.
- `packages/account` suite: 39 files, 634 tests passing.
- `pnpm typecheck`, `pnpm lint`, `pnpm format:check`, `pnpm knip`, and
`fallow audit --changed-since origin/main` all clean.
## Where this sits in the plan

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (Comfy-Org#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (Comfy-Org#17662, Comfy-Org#17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (Comfy-Org#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (Comfy-Org#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | open (Comfy-Org#17783) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (Comfy-Org#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | local, opens after Comfy-Org#17783 and Comfy-Org#17794 |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (Comfy-Org#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (Comfy-Org#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (Comfy-Org#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | open
(Comfy-Org#17798, whole Phase 8) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | in Comfy-Org#17798 |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| in Comfy-Org#17798 |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | open (Comfy-Org#17827) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | open (cloud PR 9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | in Comfy-Org#17798 |
| 7 | npm publish (`ingest-types`, `account-core`, `billing-contract`),
Platform install, billing-web live top-up | FE-2218 | todo |
| 6 | Contract tests + live E2E per flow × consumer | FE-2217 | todo |
| 5 slice 2 | Subscription flows through the SDK | FE-2216 | todo
(plan-change decision) |
| follow-up | One `needsCustomerAttention` predicate (from the Comfy-Org#17665
review) | FE-2216 | merged (Comfy-Org#17792) |
| follow-up | Opaque `BillingServerCode` (from the Comfy-Org#17656 review) |
FE-2227 | open (Comfy-Org#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the Comfy-Org#17799
review) | FE-2215 | open (Comfy-Org#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the Comfy-Org#17798 review) | FE-2331 | **this PR**
|

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6["Phase 6 evidence"]
  S2["Phase 5 slice 2 subscription"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style FU13 stroke:#0366d6,stroke-width:4px
```
@huang47

huang47 commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Reviewed at head b6c7d7bd2e33bfb464c33e56dc3cab5c3d3c11f9.

This PR changes CI configuration only, so there is no UI behavior to capture. The directly relevant proof is the suite the new workflow will run. Setup caveat: run locally rather than in Actions, on a checkout whose apps/billing-web tree is byte-identical to this head (git diff b6c7d7b -- apps/billing-web is empty, since this PR touches no app source).

$ pnpm --filter @comfyorg/billing-web test:coverage

 RUN  v4.1.11 /Users/shh/proj/comfy-org/ComfyUI_frontend/apps/billing-web
      Coverage enabled with v8

 Test Files  2 passed (2)
      Tests  7 passed (7)
   Duration  1.01s

 % Coverage report from v8
-------------------|---------|----------|---------|---------|-------------------
File               | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------|---------|----------|---------|---------|-------------------
All files          |   98.33 |      100 |      90 |   98.27 |
 src/components    |   98.07 |      100 |    87.5 |      98 |
  ...dCheckout.vue |   98.07 |      100 |    87.5 |      98 | 262
-------------------|---------|----------|---------|---------|-------------------

Statements   : 98.33% ( 59/60 )
Branches     : 100% ( 35/35 )
Functions    : 90% ( 9/10 )
Lines        : 98.27% ( 57/58 )

The generated apps/billing-web/coverage/lcov.info contains all five source files with relative SF: paths (src/App.vue, src/i18n.ts, src/router.ts, src/components/EmbeddedCheckout.vue, src/views/BillingHomeView.vue), so network_prefix: apps/billing-web/ re-roots them onto the flag's apps/billing-web/src/** correctly.

Also checked and clear: node_cache is correctly left at its default here (the node_cache: 'false' convention applies to the e2e, custom-nodes and ecosystem workflows that execute third-party code); the fork handling and fail_ci_if_error expression match ci-website-unit.yaml verbatim; and lint / typecheck already cover billing-web through the root scripts, so restricting this PR to unit tests is the right scope.

The inline comments below are optional follow-ups, not merge blockers.

@huang47 huang47 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. I verified the suite this workflow will actually run — see the evidence comment above (2 files / 7 tests, 98.33% statements, lcov paths re-root correctly under network_prefix) — and the workflow itself mirrors ci-website-unit.yaml closely enough that the fork handling, token handling and node_cache default are all right. Single commit, message and title match the diff, no runtime behavior touched.

Three optional follow-ups inline. None of them need to hold this merge.

- 'scripts/cicd/prepare-website-e2e-report.sh'
- 'scripts/cicd/check-website-e2e-result.sh'
app_billing_web:
- 'apps/billing-web/**'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this filter also list .github/workflows/ci-billing-web-unit.yaml, the way app_website just above lists ci-website-e2e.yaml and its two scripts? The consequence is visible on this very PR: run 35103654522 / 35103654481 shows billing-web-unit skipped and billing-web-unit-gate passing through the skip branch, so the job this PR adds has never executed once. The merge queue would still exercise it before anything lands on main, so this is fine to do as a follow-up.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, and the fix is prepared: app_billing_web also matches .github/workflows/ci-billing-web-unit.yaml, so a change to the workflow runs the job it defines instead of skipping past it.

Not pushed to this branch: the PR is at merge-queue position 1 (enqueued 16:04:18Z) and the branch is push-protected while queued, so landing it here would mean dequeuing and dropping your approval. It goes out as a follow-up PR together with the two codecov points below.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes — fixed in #17844, which adds .github/workflows/ci-billing-web-unit.yaml to app_billing_web.

Your diagnosis holds exactly as written: run 35103654481 shows billing-web-unit skipped and billing-web-unit-gate green through the skip branch, so this PR merged without ever executing the job it added. The first execution was the post-merge push run on main (35121739924), which ran only because every filter output defaults to 'true' off pull_request.

One nuance on the precedent you cited: app_website lists ci-website-e2e.yaml, but not ci-website-unit.yaml. So the existing unit-workflow convention is actually 'do not self-list', and what landed here matched it. I still think self-listing is the right call — the gate is only meaningful if the workflow that defines it is in scope — so #17844 changes billing-web and leaves app_website alone rather than quietly altering website CI. Worth the matching one-liner for ci-website-unit.yaml, or do you prefer that asymmetry left as-is?

Comment thread codecov.yml
billing-web:
paths:
- apps/billing-web/src/**
carryforward: false

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want matching project.billing-web and patch.billing-web entries under coverage.status too? The website flag has both, scoped to apps/website/src/** with flag_coverage_not_uploaded_behavior: pass — which is why this PR shows live codecov/patch/website and codecov/project/website checks and no billing-web counterparts. As it stands the new upload arrives with no dedicated status of its own.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. The follow-up adds project.billing-web and patch.billing-web mirroring the website pair — paths: apps/billing-web/src/**, flags: [billing-web-unit], informational: true, flag_coverage_not_uploaded_behavior: pass — so the new upload reports under a status of its own instead of only feeding the comment.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes — added in #17844. project.billing-web and patch.billing-web now mirror the website entries verbatim apart from the path and flag: scoped to apps/billing-web/src/**, informational: true, and flag_coverage_not_uploaded_behavior: pass so a skipped job cannot fail the status.

Verified with Codecov's own validator (curl -X POST --data-binary @codecov.yml https://codecov.io/validate → Valid!); both statuses resolve to flag billing-web and path (?s:apps/billing\-web/src/.*)\Z.

Comment thread codecov.yml
paths:
- apps/website/src/**
carryforward: false
billing-web:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is billing-web the name we want sitting next to website-unit a few lines up? Renaming a flag later costs its coverage history, so this is the cheapest moment to settle whether the convention is <app> or <app>-unit.

@dante01yoon dante01yoon Sep 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

billing-web-unit, matching website-unit and leaving billing-web-e2e free for later. Renamed in the follow-up, in both places the flag appears: the codecov.yml flags: entry, and this workflow's Codecov flags: input.

Nothing is lost by doing it now rather than at merge: as your other comment shows, the job has never executed, so no coverage has ever been uploaded under billing-web. It does want to land before #17798, which adds ~10 billing-web test files and would be the first real upload.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed on the convention — website-unit is the only other app flag, and ci-website-unit.yaml uploads under that name, so billing-web-unit is the consistent choice. Your point about the cost of a late rename is the operative one: the flag currently holds exactly one upload (the post-merge push run), so this is as cheap as it will ever be.

It is not in #17844, and only for a mechanical reason. The rename has to move flags: in ci-billing-web-unit.yaml and both new status entries in a single commit — split across two, the upload and the config disagree and the statuses silently receive no data. The token I have carries no workflow scope, so pushing .github/workflows/ is refused outright (refusing to allow a Personal Access Token to create or update workflow ... without 'workflow' scope), and the Contents API is gated the same way.

So it needs a push from a workflow-scoped credential. Three lines, all verified locally against the Codecov validator before I had to drop them:

  • ci-billing-web-unit.yaml: flags: billing-web → flags: billing-web-unit
  • codecov.yml: flags.billing-web → flags.billing-web-unit
  • codecov.yml: the flags: list under both project.billing-web and patch.billing-web → billing-web-unit

Happy to fold it into #17844 if you or @dante01yoon re-push that branch; otherwise it should get its own PR before more history accrues under billing-web. Leaving the status-name keys as billing-web either way, matching website keying website-unit.

@huang47 huang47 assigned dante01yoon and unassigned huang47 Sep 16, 2026
@dante01yoon
dante01yoon added this pull request to the merge queue Sep 16, 2026
Merged via the queue into main with commit 50268d9 Sep 16, 2026
106 checks passed
@dante01yoon
dante01yoon deleted the jaewon/fe-2218-billing-web-ci-unit branch September 16, 2026 16:24
dante01yoon added a commit that referenced this pull request Sep 16, 2026
… a status

Two follow-ups from the #17827 review.

`app_billing_web` did not list `ci-billing-web-unit.yaml`, so a PR that only
touches the workflow left `billing-web-unit` skipped and `billing-web-unit-gate`
passing through its skip branch. #17827 itself merged that way: run 35103654481
never executed the job it added. Listing the workflow in its own filter makes it
self-testing on pull requests. The merge queue already ran it unconditionally,
because every filter output defaults to 'true' off `pull_request`.

`coverage.status` had no `project.billing-web` or `patch.billing-web`, so the
upload arrived with no dedicated status while the website flag has both. Both
now mirror the website entries: scoped to `apps/billing-web/src/**`,
informational, and `flag_coverage_not_uploaded_behavior: pass`.

The third review point — renaming the flag to `billing-web-unit` to match
`website-unit` — is left out. It has to change `flags:` in the workflow and both
new status entries in one commit, or the upload and the config disagree, and the
token available here cannot push `.github/workflows/`.
dante01yoon added a commit that referenced this pull request Sep 16, 2026
… a status

Two follow-ups from the #17827 review.

`app_billing_web` did not list `ci-billing-web-unit.yaml`, so a PR that only
touches the workflow left `billing-web-unit` skipped and `billing-web-unit-gate`
passing through its skip branch. #17827 itself merged that way: run 35103654481
never executed the job it added. Listing the workflow in its own filter makes it
self-testing on pull requests. The merge queue already ran it unconditionally,
because every filter output defaults to 'true' off `pull_request`.

`coverage.status` had no `project.billing-web` or `patch.billing-web`, so the
upload arrived with no dedicated status while the website flag has both. Both
now mirror the website entries: scoped to `apps/billing-web/src/**`,
informational, and `flag_coverage_not_uploaded_behavior: pass`.

The third review point — renaming the flag to `billing-web-unit` to match
`website-unit` — is left out. It has to change `flags:` in the workflow and both
new status entries in one commit, or the upload and the config disagree, and the
token available here cannot push `.github/workflows/`.
dante01yoon added a commit that referenced this pull request Sep 16, 2026
The third review point on #17827: the flag was `billing-web` while the
website's is `website-unit`, so the two apps named the same kind of upload
differently. Renaming now, before more history accrues under the old name —
a later rename discards the flag's coverage history.

One commit on purpose. The name lives in three places: `flags:` on the
codecov upload step in `ci-billing-web-unit.yaml`, `flags.billing-web-unit`
in `codecov.yml`, and the `flags:` list inside each of the two statuses
this PR added. Split across commits, the upload would carry one name while
the config expected the other, and the statuses would silently receive no
data for every commit in between.

The two status keys move to `billing-web-unit` as well, so the check names
match the flag they report on.
dante01yoon added a commit that referenced this pull request Sep 16, 2026
…the SDK rail behind billing_sdk_subscription_enabled (#17853)

Stacked on #17783 (base branch
`jaewon/fe-2210-hosted-destination-port`); merge that first.

## Why

Phase 5 slice 1 (#17665) moved top-up onto the Billing SDK behind
`billing_sdk_topup_enabled`. The subscription actions the host already
owns — cancel, resubscribe, and opening the payment portal — still call
the workspace API directly and rely on the legacy poller for settlement
and telemetry. This slice moves those three onto the SDK's commands
behind their own server flag, `billing_sdk_subscription_enabled`
(already on `/api/features` via Comfy-Org/cloud#9248, PostHog at 0%), so
the eight-state lifecycle, idempotency, recovery and telemetry come from
one implementation. Subscribe and plan change are slice 2b, stacked on
this PR.

## How

- **Rail switch.** `billingSdkSubscriptionRailEnabled` =
`billing_sdk_subscription_enabled` AND `unified_cloud_auth`, exactly
like the top-up rail. `useSubscriptionRail()` reads it once,
synchronously, at the start of an action, so a flag flip mid-flow cannot
issue on one rail and observe on the other.
- **Three actions, one adapter.**
`useWorkspaceBilling.cancelSubscription / resubscribe /
manageSubscription` try the rail first; the store runs
`sdk.commands.cancelSubscription()`, `resubscribe()`,
`openPaymentPortal({ returnUrl })` and projects the result onto what the
adapter already does with the legacy calls: settle, or throw a
`WorkspaceApiError` (message is the host's, since the SDK never carries
server text; `serverCode` lands in `.code`). A command that settles in
any phase but `succeeded` is a failure, matching the poller. The refresh
after success mirrors the poller's: cancel → status + balance +
capabilities; resubscribe → `reconcileSubscriptionSuccess` +
capabilities.
- **Fallback.** A 404 (backend gate closed while the client flag is on)
projects to `unavailable`: the adapter runs its legacy body for that
action, and the store latches the route as unavailable for the tab so
later actions go straight to legacy without another failed round trip.
Every other failure — including `SUPERSEDED` — is thrown, never retried
on legacy, so a late or superseded result cannot double-issue.
- **Telemetry.** Lifecycle events are now reported for non-topup
operations (top-up keeps its resumed-only filter because its dialog
reports). `toBillingTelemetryEvent` already emits the poller's payload
shape, so dashboards cannot tell the rails apart.
- **No client-derived server state.** Eligibility and already-held
answers come from the SDK and the server, as for top-up. `subscribe`,
`previewSubscribe`, `useSubscriptionCheckout` and `useLegacyBilling` are
untouched.

## AS-IS / TO-BE

| State | AS-IS (flag off) | TO-BE (flag on) |
| --- | --- | --- |
| Cancel dialog at rest | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-cancel-dialog.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-cancel-dialog.png">
|
| Cancel in flight | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-cancel-in-flight.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-cancel-in-flight.png">
|
| Cancel settled (success toast) | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-cancel-settled.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-cancel-settled.png">
|
| Cancel failed (error toast) | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-cancel-failed.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-cancel-failed.png">
|
| User popover after cancel (cancelled state) | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-panel-after-cancel.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-panel-after-cancel.png">
|
| Cancel request recorded | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-network.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-network.png">
|
| Settings billing panel | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-billing-panel.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-billing-panel.png">
|
| Resubscribe (Resume Pro) | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-resubscribe.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-resubscribe.png">
|
| Resubscribe request recorded | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-resubscribe-network.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-resubscribe-network.png">
|
| Payment-portal request recorded | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-portal-network.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-portal-network.png">
|

- AS-IS (flag off): cancel / resubscribe / portal POST the workspace API
directly; settlement and telemetry come from the legacy poller.
- TO-BE (flag on): the same dialogs and toasts, the POSTs go through the
SDK transport (`Idempotency-Key` on the request), settlement through the
operation lifecycle; a 404 falls back to the legacy call.

## Testing

| Gate | Result |
| --- | --- |
| `vitest run src/platform/workspace/billing src/composables/billing
src/platform/workspace/composables src/platform/workspace/stores
src/composables/useFeatureFlags` | 41 files, 1138 tests (12 new
projection tests, 13 new adapter rail tests, +5 store tests) |
| `pnpm typecheck`, `pnpm typecheck:browser`, `lint`, `format:check`,
`knip` | exit 0 |
| `fallow audit --changed-since
origin/jaewon/fe-2210-hosted-destination-port` | no issues in 11 changed
files, complexity 0, duplication 0 |
| Playwright
`browser_tests/tests/dialogs/cancelSubscriptionSdkRail.spec.ts` (cloud
project) | **3 passed** against a served cloud dev build —
`PLAYWRIGHT_TEST_URL=http://localhost:5173 pnpm exec playwright test
--project=cloud
browser_tests/tests/dialogs/cancelSubscriptionSdkRail.spec.ts
--reporter=list`. Flag off → legacy request, flow unchanged; flag on →
SDK request (`Idempotency-Key`), same dialog outcome; flag on + 404 →
legacy fallback. |

## Where this sits in the plan

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (#17662, #17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | #17783 (review; parent of this PR) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | #17851 (review) |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | #17798
(queued) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | #17798 (queued) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| #17798 (queued) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (#17827); #17844 (queued) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | merged (Comfy-Org/cloud#9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | #17798 (queued) |
| 7 | npm publish (`ingest-types`, `account-core`, `billing-contract`),
Platform install, billing-web live top-up | FE-2218 | todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
#17829 (review) |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2a | Cancel, resubscribe and payment portal through the SDK
behind `billing_sdk_subscription_enabled` | FE-2216 | **this PR** |
| 5 slice 2b | Subscribe / plan change through the SDK
(`previewSubscribe` quote, then subscribe; the SDK stops
short-circuiting an active plan) | FE-2216 | next, stacked on this PR |
| follow-up | One `needsCustomerAttention` predicate (from the #17665
review) | FE-2216 | merged (#17792) |
| follow-up | Opaque `BillingServerCode` (from the #17656 review) |
FE-2227 | merged (#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the #17799
review) | FE-2215 | merged (#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the #17798 review) | FE-2331 | merged
(#17828) |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2A["Phase 5 slice 2a cancel / resubscribe / portal rail"]
  S2B["Phase 5 slice 2b subscribe + plan change"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2B
  HD --> S2A
  S2A --> S2B
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style FU11 fill:#d4edda,stroke:#155724
  style FU12 fill:#d4edda,stroke:#155724
  style FU13 fill:#d4edda,stroke:#155724
  style CORS fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style S2A stroke:#0366d6,stroke-width:4px
```
pull Bot pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Sep 16, 2026
… a status (Comfy-Org#17844)

Follow-up to Comfy-Org#17827, from @huang47's review.

## Why

Two of the three review points, both in files Comfy-Org#17827 touched.

**1. The workflow does not gate on itself**
([comment](Comfy-Org#17827 (comment))).
`app_billing_web` listed only `apps/billing-web/**`, so a PR that
changes nothing but `ci-billing-web-unit.yaml` leaves `billing-web-unit`
skipped and `billing-web-unit-gate` passing through its skip branch.
Comfy-Org#17827 merged exactly that way — run
[35103654481](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/35103654481)
never executed the job it added. Only the post-merge push run on `main`
([35121739924](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/35121739924))
did, because every filter output defaults to `'true'` off
`pull_request`.

**2. The flag has no status of its own**
([comment](Comfy-Org#17827 (comment))).
`codecov.yml` declared the `billing-web` flag but no
`project.billing-web` / `patch.billing-web` under `coverage.status`,
while the website flag has both. The upload arrived with nothing
attributing it, which is why Comfy-Org#17827 showed live `codecov/patch/website`
and `codecov/project/website` checks and no billing-web counterparts.

## How

- `app_billing_web` now lists
`.github/workflows/ci-billing-web-unit.yaml`, the way `app_website`
lists `ci-website-e2e.yaml` and its two scripts. Output description
updated to match.
- `project.billing-web` and `patch.billing-web` mirror the website
entries verbatim apart from the path and flag: scoped to
`apps/billing-web/src/**`, `informational: true`,
`flag_coverage_not_uploaded_behavior: pass`, so a skipped job does not
fail the status.

## Also in this PR (added after the first push)

**The flag rename** (`billing-web` → `billing-web-unit`, @huang47's
third point) landed as a second commit, 089a852. It changes `flags:`
in `ci-billing-web-unit.yaml`, the `flags:` list of both new status
entries and the `flags.` block in `codecov.yml` in one commit, so the
upload and the config never disagree. The status keys stay `billing-web`
(check names `codecov/project/billing-web`,
`codecov/patch/billing-web`), mirroring how the website keeps status key
`website` with flag `website-unit`. The first push could not include it
because that session's token lacked the `workflow` scope; this push has
it.

Deliberately unchanged: `app_website` still does **not** list
`ci-website-unit.yaml` (only the e2e workflow and its two scripts), so
the website *unit* workflow keeps the blind spot this PR fixes for
billing-web. @huang47 — worth the matching one-liner, or do you want the
asymmetry left alone?

## AS-IS / TO-BE

No UI change; CI configuration only.

- AS-IS: a `ci-billing-web-unit.yaml`-only PR skips the suite and
reports a green gate. The `billing-web` flag uploads with no dedicated
status.
- TO-BE: that PR runs the suite. The upload gets
`codecov/project/billing-web` and `codecov/patch/billing-web`.

## Testing

- `curl -X POST --data-binary @codecov.yml https://codecov.io/validate`
→ `Valid!`. Both new statuses resolve to flag `billing-web` and path
`(?s:apps/billing\-web/src/.*)\Z`.
- Cross-checked the three places the flag name appears — the workflow's
`flags:`, `flags.billing-web`, and both status entries — all read
`billing-web`, so the upload is attributed.
- Both changed files parse as YAML; `app_billing_web` resolves to
`['apps/billing-web/**', '.github/workflows/ci-billing-web-unit.yaml']`.
- Not demonstrated end-to-end: this PR touches neither
`apps/billing-web/**` nor the workflow, so `billing-web-unit` is
expected to **skip** here too. The self-test behaviour can only be
observed on a PR that edits the workflow file, which is the push this
token cannot make. The mechanism is the same glob matching that already
makes `app_website` react to `ci-website-e2e.yaml`.

## Where this sits in the plan

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (Comfy-Org#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (Comfy-Org#17662, Comfy-Org#17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (Comfy-Org#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (Comfy-Org#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | Comfy-Org#17783 (review) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (Comfy-Org#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | todo (after Comfy-Org#17783, Comfy-Org#17794) |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (Comfy-Org#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (Comfy-Org#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (Comfy-Org#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | Comfy-Org#17798
(review) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | Comfy-Org#17798 (review) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| Comfy-Org#17798 (review) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (Comfy-Org#17827); **this PR** (Comfy-Org#17844) self-tests the workflow
and adds the flag statuses |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | Comfy-Org/cloud#9512 (approved
x2, CI rerun) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | Comfy-Org#17798 (review) |
| 7 | npm publish (`ingest-types`, `account-core`, `billing-contract`),
Platform install, billing-web live top-up | FE-2218 | todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
Comfy-Org#17829 (review) |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2 | Subscription flows through the SDK | FE-2216 | todo
(plan-change decision) |
| follow-up | One `needsCustomerAttention` predicate (from the Comfy-Org#17665
review) | FE-2216 | merged (Comfy-Org#17792) |
| follow-up | Opaque `BillingServerCode` (from the Comfy-Org#17656 review) |
FE-2227 | Comfy-Org#17794 (review) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the Comfy-Org#17799
review) | FE-2215 | merged (Comfy-Org#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the Comfy-Org#17798 review) | FE-2331 | merged
(Comfy-Org#17828) |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  CI["billing-web unit CI: PR 17827 (merged) + PR 17844 follow-up"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2["Phase 5 slice 2 subscription"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  BWS --> CI
  CI --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style CI stroke:#0366d6,stroke-width:4px
```
pull Bot pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Sep 16, 2026
… billing reads (Comfy-Org#17852)

Stacked on Comfy-Org#17798 (base branch
`jaewon/fe-2331-plans-payment-methods-readers`); merge that first.
Comfy-Org#17851 (the `account-core` rename) sits on the same parent: whichever of
the two lands second is re-based mechanically (the rename has a replay
script).

## Why

`fallow audit` on Comfy-Org#17798 reported a clone family across the five billing
readers: `credits.ts`, `status.ts`, `capabilities.ts`, `plans.ts` and
`paymentMethods.ts` each re-implemented the same fetch-and-fence shape —
capture the scope, share one request per scope, release a caller on its
own signal, report a late answer (success or failure) as `SUPERSEDED`,
and drop a published snapshot on a denial unless the request predates a
change the host fenced. Five copies of that logic is five places the
Comfy-Org#17828 late-failure fence had to be applied, and the next reader would
have been a sixth.

## How

One skeleton, `createScopedReader`, owns the request sharing, the caller
release, the publish fence and the denial drop. A reader supplies only
its route, decoder (`parse`) and projection into a snapshot, plus two
optional hooks that absorb the real variants: `cached` (capabilities'
freshness window) and `publish` (payment-methods' fenced list,
capabilities' publish-as-stale). `setSnapshot` and `fenceInFlight({
detach })` let each reader assemble its own `invalidate` — capabilities
fences without detaching, payment methods fences and detaches.

The public API of every reader is unchanged in shape and semantics:
`index.ts` is untouched and no consumer in `account-ui`, `billing-web`
or `src/platform/workspace/billing` changed. Per-reader production size:
credits 158→80, status 137→64, plans 163→78, paymentMethods 197→94,
capabilities 317→235 lines.

Tests: the fence family is proven once in `scopedReader.test.ts` with a
five-reader case table (sparse filters for the one reader that paces
itself), and each reader keeps only the tests of its own projection —
capabilities' freshness, denials, revision invalidation and
`resolved_for` checks; payment-methods' three invalidation cases.
Coverage went up: status gained the signed-out-in-flight case, plans and
payment methods gained dispose, all five gained sign-out-then-read.

## AS-IS / TO-BE

No user-facing change; core package internals only.

- AS-IS: five readers, each with its own copy of the scope fence; fallow
reports 2 clone groups / 46 lines across three of them plus 4 groups
spanning all four non-paced readers.
- TO-BE: one skeleton, five thin readers; `fallow audit --changed-since
<parent>` reports duplication 0 and no clone group above the 3-instance
threshold.

## Testing

| Gate | Result |
| --- | --- |
| `packages/account` vitest | 42 files, 659 tests (67 new shared cases
replace 82 per-reader copies) |
| `packages/account-ui` vitest | 9 files, 41 tests |
| `@comfyorg/billing-web` test:unit | 10 files, 90 tests |
| `pnpm typecheck`, `lint`, `format`, `knip` | exit 0 |
| `fallow audit --changed-since
origin/jaewon/fe-2331-plans-payment-methods-readers` | no issues in 13
changed files |

## Where this sits in the plan

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (Comfy-Org#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (Comfy-Org#17662, Comfy-Org#17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (Comfy-Org#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (Comfy-Org#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | Comfy-Org#17783 (review) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (Comfy-Org#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | Comfy-Org#17851 (review, sibling of this PR on Comfy-Org#17798) |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (Comfy-Org#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (Comfy-Org#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (Comfy-Org#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | Comfy-Org#17798
(review) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | Comfy-Org#17798 (review) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| Comfy-Org#17798 (review) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (Comfy-Org#17827); Comfy-Org#17844 follow-up (review) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | merged (Comfy-Org/cloud#9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | Comfy-Org#17798 (review) |
| 7 | npm publish (`ingest-types`, `account-core`, `billing-contract`),
Platform install, billing-web live top-up | FE-2218 | todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
Comfy-Org#17829 (review) |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2 | Subscription flows through the SDK | FE-2216 | todo
(plan-change decision) |
| follow-up | One `needsCustomerAttention` predicate (from the Comfy-Org#17665
review) | FE-2216 | merged (Comfy-Org#17792) |
| follow-up | Opaque `BillingServerCode` (from the Comfy-Org#17656 review) |
FE-2227 | merged (Comfy-Org#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the Comfy-Org#17799
review) | FE-2215 | merged (Comfy-Org#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the Comfy-Org#17798 review) | FE-2331 | merged
(Comfy-Org#17828) |
| follow-up | one scoped-reader skeleton behind the five billing reads
(from the Comfy-Org#17798 fallow report) | FE-2331 | **this PR** |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2["Phase 5 slice 2 subscription"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  FU14["scoped reader skeleton"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  P8RD --> FU14
  FU13 --> FU14
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style FU11 fill:#d4edda,stroke:#155724
  style FU12 fill:#d4edda,stroke:#155724
  style FU13 fill:#d4edda,stroke:#155724
  style CORS fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style FU14 stroke:#0366d6,stroke-width:4px
```
dante01yoon added a commit that referenced this pull request Sep 17, 2026
…the SDK rail behind billing_sdk_subscription_enabled (#17853)

Stacked on #17783 (base branch
`jaewon/fe-2210-hosted-destination-port`); merge that first.

Phase 5 slice 1 (#17665) moved top-up onto the Billing SDK behind
`billing_sdk_topup_enabled`. The subscription actions the host already
owns — cancel, resubscribe, and opening the payment portal — still call
the workspace API directly and rely on the legacy poller for settlement
and telemetry. This slice moves those three onto the SDK's commands
behind their own server flag, `billing_sdk_subscription_enabled`
(already on `/api/features` via Comfy-Org/cloud#9248, PostHog at 0%), so
the eight-state lifecycle, idempotency, recovery and telemetry come from
one implementation. Subscribe and plan change are slice 2b, stacked on
this PR.

- **Rail switch.** `billingSdkSubscriptionRailEnabled` =
`billing_sdk_subscription_enabled` AND `unified_cloud_auth`, exactly
like the top-up rail. `useSubscriptionRail()` reads it once,
synchronously, at the start of an action, so a flag flip mid-flow cannot
issue on one rail and observe on the other.
- **Three actions, one adapter.**
`useWorkspaceBilling.cancelSubscription / resubscribe /
manageSubscription` try the rail first; the store runs
`sdk.commands.cancelSubscription()`, `resubscribe()`,
`openPaymentPortal({ returnUrl })` and projects the result onto what the
adapter already does with the legacy calls: settle, or throw a
`WorkspaceApiError` (message is the host's, since the SDK never carries
server text; `serverCode` lands in `.code`). A command that settles in
any phase but `succeeded` is a failure, matching the poller. The refresh
after success mirrors the poller's: cancel → status + balance +
capabilities; resubscribe → `reconcileSubscriptionSuccess` +
capabilities.
- **Fallback.** A 404 (backend gate closed while the client flag is on)
projects to `unavailable`: the adapter runs its legacy body for that
action, and the store latches the route as unavailable for the tab so
later actions go straight to legacy without another failed round trip.
Every other failure — including `SUPERSEDED` — is thrown, never retried
on legacy, so a late or superseded result cannot double-issue.
- **Telemetry.** Lifecycle events are now reported for non-topup
operations (top-up keeps its resumed-only filter because its dialog
reports). `toBillingTelemetryEvent` already emits the poller's payload
shape, so dashboards cannot tell the rails apart.
- **No client-derived server state.** Eligibility and already-held
answers come from the SDK and the server, as for top-up. `subscribe`,
`previewSubscribe`, `useSubscriptionCheckout` and `useLegacyBilling` are
untouched.

| State | AS-IS (flag off) | TO-BE (flag on) |
| --- | --- | --- |
| Cancel dialog at rest | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-cancel-dialog.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-cancel-dialog.png">
|
| Cancel in flight | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-cancel-in-flight.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-cancel-in-flight.png">
|
| Cancel settled (success toast) | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-cancel-settled.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-cancel-settled.png">
|
| Cancel failed (error toast) | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-cancel-failed.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-cancel-failed.png">
|
| User popover after cancel (cancelled state) | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-panel-after-cancel.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-panel-after-cancel.png">
|
| Cancel request recorded | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-network.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-network.png">
|
| Settings billing panel | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-billing-panel.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-billing-panel.png">
|
| Resubscribe (Resume Pro) | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-resubscribe.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-resubscribe.png">
|
| Resubscribe request recorded | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-resubscribe-network.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-resubscribe-network.png">
|
| Payment-portal request recorded | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-portal-network.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-portal-network.png">
|

- AS-IS (flag off): cancel / resubscribe / portal POST the workspace API
directly; settlement and telemetry come from the legacy poller.
- TO-BE (flag on): the same dialogs and toasts, the POSTs go through the
SDK transport (`Idempotency-Key` on the request), settlement through the
operation lifecycle; a 404 falls back to the legacy call.

| Gate | Result |
| --- | --- |
| `vitest run src/platform/workspace/billing src/composables/billing
src/platform/workspace/composables src/platform/workspace/stores
src/composables/useFeatureFlags` | 41 files, 1138 tests (12 new
projection tests, 13 new adapter rail tests, +5 store tests) |
| `pnpm typecheck`, `pnpm typecheck:browser`, `lint`, `format:check`,
`knip` | exit 0 |
| `fallow audit --changed-since
origin/jaewon/fe-2210-hosted-destination-port` | no issues in 11 changed
files, complexity 0, duplication 0 |
| Playwright
`browser_tests/tests/dialogs/cancelSubscriptionSdkRail.spec.ts` (cloud
project) | **3 passed** against a served cloud dev build —
`PLAYWRIGHT_TEST_URL=http://localhost:5173 pnpm exec playwright test
--project=cloud
browser_tests/tests/dialogs/cancelSubscriptionSdkRail.spec.ts
--reporter=list`. Flag off → legacy request, flow unchanged; flag on →
SDK request (`Idempotency-Key`), same dialog outcome; flag on + 404 →
legacy fallback. |

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (#17662, #17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | #17783 (review; parent of this PR) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | #17851 (review) |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | #17798
(queued) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | #17798 (queued) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| #17798 (queued) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (#17827); #17844 (queued) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | merged (Comfy-Org/cloud#9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | #17798 (queued) |
| 7 | npm publish (`ingest-types`, `account-core`, `billing-contract`),
Platform install, billing-web live top-up | FE-2218 | todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2a | Cancel, resubscribe and payment portal through the SDK
behind `billing_sdk_subscription_enabled` | FE-2216 | **this PR** |
| 5 slice 2b | Subscribe / plan change through the SDK
(`previewSubscribe` quote, then subscribe; the SDK stops
short-circuiting an active plan) | FE-2216 | next, stacked on this PR |
| follow-up | One `needsCustomerAttention` predicate (from the #17665
review) | FE-2216 | merged (#17792) |
| follow-up | Opaque `BillingServerCode` (from the #17656 review) |
FE-2227 | merged (#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the #17799
review) | FE-2215 | merged (#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the #17798 review) | FE-2331 | merged
(#17828) |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2A["Phase 5 slice 2a cancel / resubscribe / portal rail"]
  S2B["Phase 5 slice 2b subscribe + plan change"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2B
  HD --> S2A
  S2A --> S2B
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style FU11 fill:#d4edda,stroke:#155724
  style FU12 fill:#d4edda,stroke:#155724
  style FU13 fill:#d4edda,stroke:#155724
  style CORS fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style S2A stroke:#0366d6,stroke-width:4px
```
dante01yoon added a commit that referenced this pull request Sep 17, 2026
…the SDK rail behind billing_sdk_subscription_enabled (#17853)

Stacked on #17783 (base branch
`jaewon/fe-2210-hosted-destination-port`); merge that first.

Phase 5 slice 1 (#17665) moved top-up onto the Billing SDK behind
`billing_sdk_topup_enabled`. The subscription actions the host already
owns — cancel, resubscribe, and opening the payment portal — still call
the workspace API directly and rely on the legacy poller for settlement
and telemetry. This slice moves those three onto the SDK's commands
behind their own server flag, `billing_sdk_subscription_enabled`
(already on `/api/features` via Comfy-Org/cloud#9248, PostHog at 0%), so
the eight-state lifecycle, idempotency, recovery and telemetry come from
one implementation. Subscribe and plan change are slice 2b, stacked on
this PR.

- **Rail switch.** `billingSdkSubscriptionRailEnabled` =
`billing_sdk_subscription_enabled` AND `unified_cloud_auth`, exactly
like the top-up rail. `useSubscriptionRail()` reads it once,
synchronously, at the start of an action, so a flag flip mid-flow cannot
issue on one rail and observe on the other.
- **Three actions, one adapter.**
`useWorkspaceBilling.cancelSubscription / resubscribe /
manageSubscription` try the rail first; the store runs
`sdk.commands.cancelSubscription()`, `resubscribe()`,
`openPaymentPortal({ returnUrl })` and projects the result onto what the
adapter already does with the legacy calls: settle, or throw a
`WorkspaceApiError` (message is the host's, since the SDK never carries
server text; `serverCode` lands in `.code`). A command that settles in
any phase but `succeeded` is a failure, matching the poller. The refresh
after success mirrors the poller's: cancel → status + balance +
capabilities; resubscribe → `reconcileSubscriptionSuccess` +
capabilities.
- **Fallback.** A 404 (backend gate closed while the client flag is on)
projects to `unavailable`: the adapter runs its legacy body for that
action, and the store latches the route as unavailable for the tab so
later actions go straight to legacy without another failed round trip.
Every other failure — including `SUPERSEDED` — is thrown, never retried
on legacy, so a late or superseded result cannot double-issue.
- **Telemetry.** Lifecycle events are now reported for non-topup
operations (top-up keeps its resumed-only filter because its dialog
reports). `toBillingTelemetryEvent` already emits the poller's payload
shape, so dashboards cannot tell the rails apart.
- **No client-derived server state.** Eligibility and already-held
answers come from the SDK and the server, as for top-up. `subscribe`,
`previewSubscribe`, `useSubscriptionCheckout` and `useLegacyBilling` are
untouched.

| State | AS-IS (flag off) | TO-BE (flag on) |
| --- | --- | --- |
| Cancel dialog at rest | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-cancel-dialog.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-cancel-dialog.png">
|
| Cancel in flight | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-cancel-in-flight.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-cancel-in-flight.png">
|
| Cancel settled (success toast) | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-cancel-settled.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-cancel-settled.png">
|
| Cancel failed (error toast) | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-cancel-failed.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-cancel-failed.png">
|
| User popover after cancel (cancelled state) | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-panel-after-cancel.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-panel-after-cancel.png">
|
| Cancel request recorded | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-network.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-network.png">
|
| Settings billing panel | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-billing-panel.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-billing-panel.png">
|
| Resubscribe (Resume Pro) | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-resubscribe.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-resubscribe.png">
|
| Resubscribe request recorded | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-resubscribe-network.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-resubscribe-network.png">
|
| Payment-portal request recorded | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/as-is-portal-network.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17853-screenshots/screenshots/to-be-portal-network.png">
|

- AS-IS (flag off): cancel / resubscribe / portal POST the workspace API
directly; settlement and telemetry come from the legacy poller.
- TO-BE (flag on): the same dialogs and toasts, the POSTs go through the
SDK transport (`Idempotency-Key` on the request), settlement through the
operation lifecycle; a 404 falls back to the legacy call.

| Gate | Result |
| --- | --- |
| `vitest run src/platform/workspace/billing src/composables/billing
src/platform/workspace/composables src/platform/workspace/stores
src/composables/useFeatureFlags` | 41 files, 1138 tests (12 new
projection tests, 13 new adapter rail tests, +5 store tests) |
| `pnpm typecheck`, `pnpm typecheck:browser`, `lint`, `format:check`,
`knip` | exit 0 |
| `fallow audit --changed-since
origin/jaewon/fe-2210-hosted-destination-port` | no issues in 11 changed
files, complexity 0, duplication 0 |
| Playwright
`browser_tests/tests/dialogs/cancelSubscriptionSdkRail.spec.ts` (cloud
project) | **3 passed** against a served cloud dev build —
`PLAYWRIGHT_TEST_URL=http://localhost:5173 pnpm exec playwright test
--project=cloud
browser_tests/tests/dialogs/cancelSubscriptionSdkRail.spec.ts
--reporter=list`. Flag off → legacy request, flow unchanged; flag on →
SDK request (`Idempotency-Key`), same dialog outcome; flag on + 404 →
legacy fallback. |

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (#17662, #17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | #17783 (review; parent of this PR) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | #17851 (review) |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | #17798
(queued) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | #17798 (queued) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| #17798 (queued) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (#17827); #17844 (queued) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | merged (Comfy-Org/cloud#9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | #17798 (queued) |
| 7 | npm publish (`ingest-types`, `account-core`, `billing-contract`),
Platform install, billing-web live top-up | FE-2218 | todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2a | Cancel, resubscribe and payment portal through the SDK
behind `billing_sdk_subscription_enabled` | FE-2216 | **this PR** |
| 5 slice 2b | Subscribe / plan change through the SDK
(`previewSubscribe` quote, then subscribe; the SDK stops
short-circuiting an active plan) | FE-2216 | next, stacked on this PR |
| follow-up | One `needsCustomerAttention` predicate (from the #17665
review) | FE-2216 | merged (#17792) |
| follow-up | Opaque `BillingServerCode` (from the #17656 review) |
FE-2227 | merged (#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the #17799
review) | FE-2215 | merged (#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the #17798 review) | FE-2331 | merged
(#17828) |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2A["Phase 5 slice 2a cancel / resubscribe / portal rail"]
  S2B["Phase 5 slice 2b subscribe + plan change"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2B
  HD --> S2A
  S2A --> S2B
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style FU11 fill:#d4edda,stroke:#155724
  style FU12 fill:#d4edda,stroke:#155724
  style FU13 fill:#d4edda,stroke:#155724
  style CORS fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style S2A stroke:#0366d6,stroke-width:4px
```
pull Bot pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Sep 17, 2026
…unt-core (Comfy-Org#17851)

Stacked on Comfy-Org#17798 (base branch
`jaewon/fe-2331-plans-payment-methods-readers`); merge that first, then
this rebases to `main` with no content change.

## Why

Phase 7 (FE-2218) publishes the framework-free billing core to npm so
Platform can install it from a clean non-workspace checkout, and the
plan fixes the physical `account-core` / `account-ui` split as the
boundary that gets published, not the transitional `packages/account`.
The view package `@comfyorg/account-ui` already exists; the core still
carries the old name. This is the one mechanical rename PR the plan
schedules after Phase 5 slice 1 and before the first publish.

## How

Two commits so the review is trivial:

1. `git mv packages/account packages/account-core` — 95 files, 0
insertions, 0 deletions, every path a 100% rename.
2. The specifier and config edits — package name `@comfyorg/account` →
`@comfyorg/account-core`, every `workspace:*` dependency (root,
`apps/billing-web`, `apps/website`, `packages/account-ui`), every import
specifier under `src/`, `packages/`, `apps/`, `browser_tests/`, the root
`typecheck` / `lint` scripts (`typecheck:account` →
`typecheck:account-core`), `knip.config.ts`, `eslint.config.ts`, the
per-package loop and codecov file list in `ci-tests-unit.yaml`, the
lockfile importer keys, and the two ADRs that name the package in prose.
The delta over a 1:1 swap is oxfmt reflowing import lines the five extra
characters pushed past 80 columns.

Left alone on purpose: the `./vue` entry (the auth Vue pieces move to
`account-ui` in the next PR of this stack), the Firebase app name
`comfy-account` in ADR-0028, and the ADR filenames and headings
(renaming those would break the ADR index and inbound links). `git grep
"@comfyorg/account\b"` and `git grep "packages/account/"` return nothing
after this change.

The replay script lives under `temp/scripts/rename-account-core.sh`
(gitignored); if a sibling PR merges first, re-running it on a fresh
base reproduces this diff.

## AS-IS / TO-BE

No user-facing change; package boundary only.

- AS-IS: `packages/account` publishes as `@comfyorg/account` and is the
name Platform would have to install, while the view layer is already
`@comfyorg/account-ui`.
- TO-BE: `packages/account-core` publishes as `@comfyorg/account-core`;
`account-ui` and `billing-web` depend on it by the final name.

## Testing

| Gate | Result |
| --- | --- |
| `pnpm install --frozen-lockfile` | resolves with the new name |
| `packages/account-core` vitest | 41 files, 674 tests |
| `packages/account-ui` vitest | 9 files, 41 tests |
| `@comfyorg/billing-web` test:unit / build | 10 files, 90 tests / built
|
| `@comfyorg/website` typecheck | 0 errors |
| root `pnpm typecheck`, `lint`, `format`, `knip` | all exit 0 |
| `vitest run src/platform/workspace/billing` | 5 files, 50 tests |
| `pnpm typecheck:browser`, `typecheck:website` (pre-commit) | green |

## Where this sits in the plan

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (Comfy-Org#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (Comfy-Org#17662, Comfy-Org#17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (Comfy-Org#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (Comfy-Org#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | Comfy-Org#17783 (review) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (Comfy-Org#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | **this PR** |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (Comfy-Org#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (Comfy-Org#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (Comfy-Org#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | Comfy-Org#17798
(review) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | Comfy-Org#17798 (review) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| Comfy-Org#17798 (review) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (Comfy-Org#17827); Comfy-Org#17844 follow-up (review) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | merged (Comfy-Org/cloud#9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | Comfy-Org#17798 (review) |
| 7 | npm publish (`ingest-types`, `account-core`, `billing-contract`),
Platform install, billing-web live top-up | FE-2218 | todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
Comfy-Org#17829 (review) |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2 | Subscription flows through the SDK | FE-2216 | todo
(plan-change decision) |
| follow-up | One `needsCustomerAttention` predicate (from the Comfy-Org#17665
review) | FE-2216 | merged (Comfy-Org#17792) |
| follow-up | Opaque `BillingServerCode` (from the Comfy-Org#17656 review) |
FE-2227 | merged (Comfy-Org#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the Comfy-Org#17799
review) | FE-2215 | merged (Comfy-Org#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the Comfy-Org#17798 review) | FE-2331 | merged
(Comfy-Org#17828) |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2["Phase 5 slice 2 subscription"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style FU11 fill:#d4edda,stroke:#155724
  style FU12 fill:#d4edda,stroke:#155724
  style FU13 fill:#d4edda,stroke:#155724
  style CORS fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style RN stroke:#0366d6,stroke-width:4px
```
pull Bot pushed a commit to Mu-L/ComfyUI_frontend that referenced this pull request Sep 17, 2026
…ling core (Comfy-Org#17854)

Stacked on Comfy-Org#17851 (base branch `jaewon/fe-2218-account-core-rename`),
which stacks on Comfy-Org#17798; merge those first.

## Why

The plan's first decision was that the Vue layer leaves the account
package: composables and unstyled components ship from
`@comfyorg/account-ui`, and the core keeps zero Vue coupling by
construction rather than by an import-guard test. The auth Vue pieces
(`PasswordRules`, `SocialAuthButtons`, `TurnstileWidget`, the region and
Turnstile gates, the lifecycle scope and generation guard) had shipped
in the core's `./vue` entry days before that decision and were
deliberately left for a later follow-up so the fresh auth stack was not
destabilised. With the rename in Comfy-Org#17851 fixing `account-core` as the
boundary that gets published (Phase 7), this is that follow-up: the
published core must not drag `vue`, `@vueuse/core` or a `.vue` entry to
Platform.

## How

- `packages/account-core/src/vue/**` → `packages/account-ui/src/auth/**`
with `git mv` (7 modules + their 7 tests; git records every file as a
rename). The framework-free helpers stay in the core and keep their
public subpaths (`/signInSchemas`, `/turnstileScript`,
`/boundedOperation`); the moved files reach them through those.
- `@comfyorg/account-ui` gains per-module `./auth/*` exports (mirroring
how consumers already import these individually and how the app-side
test mocks target one module each) plus the two workspace deps the moved
files need (`@comfyorg/shared-frontend-utils`,
`@comfyorg/tailwind-utils`; both fine in the view package, neither
allowed in the core).
- The core drops the `./vue/*` exports, `vue`, `@vueuse/core`,
`vue-tsc`, `@vitejs/plugin-vue`, `@testing-library/vue|user-event`,
`@comfyorg/tailwind-utils` and the `peerDependenciesMeta` block;
`typecheck` becomes `tsc --noEmit`; the vitest `account-vue` project
becomes `account-firebase` (happy-dom for `src/firebase/**` only).
- `vueBoundary.test.ts` now proves the boundary three ways: no `vue` /
`@vueuse` import anywhere under `src` (the old `vue/` carve-out is
gone), no Vue dependency in any manifest field, and no `.vue` file
behind any export.
- 17 import sites in 13 files repointed (`apps/billing-web`,
`apps/website`, `src/`); root and `apps/website` gain
`@comfyorg/account-ui: workspace:*`.

A pure `git mv` commit was not possible: the pre-commit hook lints and
type-checks the staged tree, and a rename without repoints leaves 17
unresolved imports. Commit 1 is therefore the rename plus the mechanical
repoints; commit 2 is the boundary guard.

## AS-IS / TO-BE

No user-facing change; package boundary only.

- AS-IS: `@comfyorg/account-core` exports `./vue/*` and depends on
`vue`; a Platform install of the core would pull Vue and `.vue` files.
- TO-BE: `@comfyorg/account-core` has no view entry and no Vue
dependency; the sign-in pieces ship from `@comfyorg/account-ui/auth/*`
next to `./billing`.

## Testing

| Gate | Result |
| --- | --- |
| `packages/account-core` vitest | 34 files, 638 tests |
| `packages/account-ui` vitest | 16 files, 79 tests (7 moved suites) |
| `@comfyorg/billing-web` test:unit / build | 10 files, 90 tests / built
|
| `@comfyorg/website` typecheck | 0 errors |
| root `pnpm typecheck`, `lint`, `format`, `knip` | exit 0 |
| `vitest run src/components/dialog/content/signin src/components/auth
src/platform/workspace/billing` | 11 files, 94 tests |
| `git grep "account-core/vue"` | no matches |

## Where this sits in the plan

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (Comfy-Org#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (Comfy-Org#17662, Comfy-Org#17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (Comfy-Org#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (Comfy-Org#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | Comfy-Org#17783 (review) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (Comfy-Org#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | Comfy-Org#17851 (review; parent of this PR) |
| 4 follow-up | auth Vue pieces leave the core for
`@comfyorg/account-ui` (`./auth/*`) | FE-2215 | **this PR** |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (Comfy-Org#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (Comfy-Org#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (Comfy-Org#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | Comfy-Org#17798
(queued) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | Comfy-Org#17798 (queued) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| Comfy-Org#17798 (queued) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (Comfy-Org#17827); Comfy-Org#17844 (queued) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | merged (Comfy-Org/cloud#9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | Comfy-Org#17798 (queued) |
| 7 | npm publish (`ingest-types`, `account-core`, `billing-contract`),
Platform install, billing-web live top-up | FE-2218 | todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
Comfy-Org#17829 (review) |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2 | Subscription flows through the SDK | FE-2216 | todo
(plan-change decision) |
| follow-up | One `needsCustomerAttention` predicate (from the Comfy-Org#17665
review) | FE-2216 | merged (Comfy-Org#17792) |
| follow-up | Opaque `BillingServerCode` (from the Comfy-Org#17656 review) |
FE-2227 | merged (Comfy-Org#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the Comfy-Org#17799
review) | FE-2215 | merged (Comfy-Org#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the Comfy-Org#17798 review) | FE-2331 | merged
(Comfy-Org#17828) |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["PR 17851 account-core rename"]
  VUE["auth Vue pieces to account-ui"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2["Phase 5 slice 2 subscription"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RN --> VUE
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style FU11 fill:#d4edda,stroke:#155724
  style FU12 fill:#d4edda,stroke:#155724
  style FU13 fill:#d4edda,stroke:#155724
  style CORS fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style VUE stroke:#0366d6,stroke-width:4px
```
dante01yoon added a commit that referenced this pull request Sep 17, 2026
…act when the hosted destination says billing_web (#17860)

Stacked on #17856 (base branch `jaewon/fe-2216-plan-change`) → #17853 →
#17783; merge those first.

## Why

Rollout layer C (`hosted_billing_destination`, `stripe` | `billing_web`,
PostHog at 100% `stripe`) decides where a hosted billing action lands.
The plan says the host reads the flag, hands it to the SDK (#17783) and,
when it says `billing_web`, mints a `/v1/<intent>` entry with
`return_to` from `@comfyorg/billing-contract`, the one definition of
that route surface (#17795); when it says `stripe`, the backend's URL is
opened unchanged. Today the host only opens the bare billing-web origin
from the user popover (#17716) with no intent and no `return_to`, and
"Billing & invoices" in the settings panel always goes to the Stripe
portal. This is the last un-opened code item before the Phase 7 host
proof.

## How

- `src/platform/workspace/billing/hostedBillingRoutes.ts`:
`hostedBillingRoute(destination, intent)` returns `{ kind:
'billing_web', url }` built by `buildBillingEntryUrl({ billingOrigin,
intent, product: 'comfyui', returnTo: 'comfyui_workspace' })`, or `{
kind: 'provider' }` meaning "use the server's URL". The environment is
derived, not hardcoded: the cloud base URL's hostname through the
existing `resolveDeployEnv` map (`prod-v2 | stg-v2 | test-v2` →
`production | staging | test`), which also classifies a local dev
session by the backend it talks to. Fails closed to the provider on: no
configured origin, an unknown backend family, a return target with no
destination in that family, or an entry the contract refuses. A
path-prefixed `VITE_BILLING_WEB_URL` keeps its prefix under the minted
route.
- Consumers: the popover's "Plans and pricing" mints the `pricing`
intent (billing-web routes it to the subscription view; the in-app
dialog stays the `stripe` behaviour and the popup-blocked fallback);
`useWorkspaceBilling.manageSubscription()` mints `payment-methods`
**before** either rail is consulted, so on `billing_web` no portal URL
is requested on the SDK rail or the legacy one, and `openPortalWindow` +
`refreshOnPortalReturn` still run so the return re-reads status, balance
and capabilities.
- Also fixed on the way: the popover treated a falsy `window.open(…,
"noopener,noreferrer")` result as a blocked popup and showed the in-app
pricing dialog as a fallback. Per the HTML spec `noopener` always
returns `null`, so on `billing_web` the tab and the dialog opened
together — a latent defect inherited from #17370 on `main`, caught by
this PR's evidence run. The fallback is gone; the E2E `window.open` stub
now returns `null` for `noopener` like a browser does, and a popover
case covers both destinations.
- Left on the provider on purpose:
`useSubscriptionCheckout.recoverOutstandingPayment` and the
`payment_method_url` steps inside an operation are mid-checkout provider
steps, not hosted management; `invoices` and `result` are not served by
billing-web yet (`ComingSoonView`), so nothing mints them; the legacy
`/customers` rail's `accessBillingPortal` is being retired by the
personal-billing flip and is not touched.
- `@comfyorg/billing-contract` becomes a root `workspace:*` dependency.
The CI cloud build for E2E (`.github/actions/build-cloud-frontend`, used
only by `ci-tests-e2e.yaml` and
`pr-update-playwright-expectations.yaml`, never by a deploy) gets
`VITE_BILLING_WEB_URL=https://billing-web.example`, a reserved origin
the spec stubs, reachable only when the server flag says `billing_web`.
- No frontend-derived server state: the destination is the flag as-is;
the host chooses only the URL shape.

## AS-IS / TO-BE

| AS-IS — `hosted_billing_destination: stripe` | TO-BE —
`hosted_billing_destination: billing_web` |
| --- | --- |
| **1. User popover, "Plans and pricing" hovered**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/as-is-popover-plans.png"><br>Same
menu item, unchanged by the flag. | **1. User popover, "Plans and
pricing" hovered**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/to-be-popover-plans.png"><br>Same
menu item, unchanged by the flag. |
| **2. After clicking "Plans and pricing"**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/as-is-plans-result.png"><br>In-app
"Choose a Plan" dialog, no tab opened. | **2. After clicking "Plans and
pricing"**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/to-be-plans-result.png"><br>`billing-web.example/v1/pricing?product=comfyui&return_to=comfyui_workspace`
tab opens and nothing else: `window.open` returns `null` under
`noopener` as the spec requires, and no in-app dialog is left behind. |
| **3. Settings ▸ Workspace ▸ Plan & Credits, before clicking "Billing &
invoices"**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/as-is-settings-billing.png"><br>Identical
panel; the destination is only read on click. | **3. Settings ▸
Workspace ▸ Plan & Credits, before clicking "Billing &
invoices"**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/to-be-settings-billing.png"><br>Identical
panel; the destination is only read on click. |
| **4. After clicking "Billing & invoices"**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/as-is-manage-result.png"><br>`POST
/api/billing/payment-portal` recorded, and the URL it returned
(`https://billing.example/portal`) opened. | **4. After clicking
"Billing & invoices"**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/to-be-manage-result.png"><br>No
request to `/api/billing/payment-portal` on either rail;
`billing-web.example/v1/payment-methods?product=comfyui&return_to=comfyui_workspace`
minted and opened. |
| **5. Return trip — refocusing the app tab after the hosted tab
opened**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/as-is-return-refresh.png"><br>`/api/billing/status`,
`/balance` and `/capabilities` re-read. | **5. Return trip — refocusing
the app tab after the hosted tab opened**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/to-be-return-refresh.png"><br>Same
three reads; `openPortalWindow` + `refreshOnPortalReturn` still run on
the minted route. |

- AS-IS (`stripe`, today's default): popover → in-app pricing dialog;
settings → Stripe portal via `POST /billing/payment-portal`.
- TO-BE (`billing_web`): popover →
`<billing-web>/v1/pricing?product=comfyui&return_to=comfyui_workspace`;
settings → `<billing-web>/v1/payment-methods?…`, no portal request on
either rail; the app re-reads billing state on return.

## Testing

| Gate | Result |
| --- | --- |
| `vitest run src/platform/workspace src/composables/billing
src/composables/useFeatureFlags src/config` | 91 files, 1890 tests (19
new route cases: intent × destination × env × prefix × each fail-closed
branch; 3 new adapter cases; 3 popover cases re-pointed) |
| `packages/billing-contract` vitest | 3 files, 62 tests |
| `pnpm typecheck`, `typecheck:browser`, `lint`, `format`, `knip` | exit
0 |
| `fallow audit --changed-since origin/jaewon/fe-2216-plan-change` | no
issues in 10 changed files |
| `PLAYWRIGHT_TEST_URL=http://localhost:5431 pnpm exec playwright test
--project=cloud
browser_tests/tests/dialogs/hostedBillingDestination.spec.ts
--reporter=list`, against
`VITE_BILLING_WEB_URL=https://billing-web.example pnpm dev:cloud` | `4
passed (4.6s)` — settings on both destinations, plus the two new
avatar-menu cases: `opens the in-app pricing table from the avatar menu
while the destination is stripe` and `opens the billing-web pricing
entry alone from the avatar menu while the destination is billing_web` |

## Where this sits in the plan

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (#17662, #17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | #17783 (review) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | #17851 (review) |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | merged
(#17798) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | merged (#17798) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| merged (#17798) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (#17827, #17844) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | merged (Comfy-Org/cloud#9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | merged (#17798) |
| 7 | npm publish (`ingest-types`, `account-core`, `billing-contract`),
Platform install, billing-web live top-up | FE-2218 | todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
#17829 (review) |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2a | Cancel, resubscribe and payment portal through the SDK
behind `billing_sdk_subscription_enabled` | FE-2216 | #17853 (review) |
| 5 slice 2b | Subscribe and plan change through the SDK, priced by the
server | FE-2216 | #17856 (review; parent of this PR) |
| 7 / rollout C | Host mints billing-web `/v1/<intent>` entries with
`return_to` when `hosted_billing_destination` is `billing_web` | FE-2218
| **this PR** |
| follow-up | One `needsCustomerAttention` predicate (from the #17665
review) | FE-2216 | merged (#17792) |
| follow-up | Opaque `BillingServerCode` (from the #17656 review) |
FE-2227 | merged (#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the #17799
review) | FE-2215 | merged (#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the #17798 review) | FE-2331 | merged
(#17828) |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2A["PR 17853 slice 2a cancel / resubscribe / portal rail"]
  S2B["PR 17856 slice 2b subscribe + plan change"]
  LC["Layer C: host mints billing-web entries"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2B
  HD --> S2A
  S2A --> S2B
  S2B --> LC
  RB --> LC
  HD --> LC
  LC --> P7
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style BWV fill:#d4edda,stroke:#155724
  style BWS fill:#d4edda,stroke:#155724
  style P8 fill:#d4edda,stroke:#155724
  style P8RD fill:#d4edda,stroke:#155724
  style CORS fill:#d4edda,stroke:#155724
  style FU13 fill:#d4edda,stroke:#155724
  style FU12 fill:#d4edda,stroke:#155724
  style FU11 fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style LC stroke:#0366d6,stroke-width:4px
```
dante01yoon added a commit that referenced this pull request Sep 17, 2026
…act when the hosted destination says billing_web (#17860)

Stacked on #17856 (base branch `jaewon/fe-2216-plan-change`) → #17853 →

Rollout layer C (`hosted_billing_destination`, `stripe` | `billing_web`,
PostHog at 100% `stripe`) decides where a hosted billing action lands.
The plan says the host reads the flag, hands it to the SDK (#17783) and,
when it says `billing_web`, mints a `/v1/<intent>` entry with
`return_to` from `@comfyorg/billing-contract`, the one definition of
that route surface (#17795); when it says `stripe`, the backend's URL is
opened unchanged. Today the host only opens the bare billing-web origin
from the user popover (#17716) with no intent and no `return_to`, and
"Billing & invoices" in the settings panel always goes to the Stripe
portal. This is the last un-opened code item before the Phase 7 host
proof.

- `src/platform/workspace/billing/hostedBillingRoutes.ts`:
`hostedBillingRoute(destination, intent)` returns `{ kind:
'billing_web', url }` built by `buildBillingEntryUrl({ billingOrigin,
intent, product: 'comfyui', returnTo: 'comfyui_workspace' })`, or `{
kind: 'provider' }` meaning "use the server's URL". The environment is
derived, not hardcoded: the cloud base URL's hostname through the
existing `resolveDeployEnv` map (`prod-v2 | stg-v2 | test-v2` →
`production | staging | test`), which also classifies a local dev
session by the backend it talks to. Fails closed to the provider on: no
configured origin, an unknown backend family, a return target with no
destination in that family, or an entry the contract refuses. A
path-prefixed `VITE_BILLING_WEB_URL` keeps its prefix under the minted
route.
- Consumers: the popover's "Plans and pricing" mints the `pricing`
intent (billing-web routes it to the subscription view; the in-app
dialog stays the `stripe` behaviour and the popup-blocked fallback);
`useWorkspaceBilling.manageSubscription()` mints `payment-methods`
**before** either rail is consulted, so on `billing_web` no portal URL
is requested on the SDK rail or the legacy one, and `openPortalWindow` +
`refreshOnPortalReturn` still run so the return re-reads status, balance
and capabilities.
- Also fixed on the way: the popover treated a falsy `window.open(…,
"noopener,noreferrer")` result as a blocked popup and showed the in-app
pricing dialog as a fallback. Per the HTML spec `noopener` always
returns `null`, so on `billing_web` the tab and the dialog opened
together — a latent defect inherited from #17370 on `main`, caught by
this PR's evidence run. The fallback is gone; the E2E `window.open` stub
now returns `null` for `noopener` like a browser does, and a popover
case covers both destinations.
- Left on the provider on purpose:
`useSubscriptionCheckout.recoverOutstandingPayment` and the
`payment_method_url` steps inside an operation are mid-checkout provider
steps, not hosted management; `invoices` and `result` are not served by
billing-web yet (`ComingSoonView`), so nothing mints them; the legacy
`/customers` rail's `accessBillingPortal` is being retired by the
personal-billing flip and is not touched.
- `@comfyorg/billing-contract` becomes a root `workspace:*` dependency.
The CI cloud build for E2E (`.github/actions/build-cloud-frontend`, used
only by `ci-tests-e2e.yaml` and
`pr-update-playwright-expectations.yaml`, never by a deploy) gets
`VITE_BILLING_WEB_URL=https://billing-web.example`, a reserved origin
the spec stubs, reachable only when the server flag says `billing_web`.
- No frontend-derived server state: the destination is the flag as-is;
the host chooses only the URL shape.

| AS-IS — `hosted_billing_destination: stripe` | TO-BE —
`hosted_billing_destination: billing_web` |
| --- | --- |
| **1. User popover, "Plans and pricing" hovered**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/as-is-popover-plans.png"><br>Same
menu item, unchanged by the flag. | **1. User popover, "Plans and
pricing" hovered**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/to-be-popover-plans.png"><br>Same
menu item, unchanged by the flag. |
| **2. After clicking "Plans and pricing"**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/as-is-plans-result.png"><br>In-app
"Choose a Plan" dialog, no tab opened. | **2. After clicking "Plans and
pricing"**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/to-be-plans-result.png"><br>`billing-web.example/v1/pricing?product=comfyui&return_to=comfyui_workspace`
tab opens and nothing else: `window.open` returns `null` under
`noopener` as the spec requires, and no in-app dialog is left behind. |
| **3. Settings ▸ Workspace ▸ Plan & Credits, before clicking "Billing &
invoices"**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/as-is-settings-billing.png"><br>Identical
panel; the destination is only read on click. | **3. Settings ▸
Workspace ▸ Plan & Credits, before clicking "Billing &
invoices"**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/to-be-settings-billing.png"><br>Identical
panel; the destination is only read on click. |
| **4. After clicking "Billing & invoices"**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/as-is-manage-result.png"><br>`POST
/api/billing/payment-portal` recorded, and the URL it returned
(`https://billing.example/portal`) opened. | **4. After clicking
"Billing & invoices"**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/to-be-manage-result.png"><br>No
request to `/api/billing/payment-portal` on either rail;
`billing-web.example/v1/payment-methods?product=comfyui&return_to=comfyui_workspace`
minted and opened. |
| **5. Return trip — refocusing the app tab after the hosted tab
opened**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/as-is-return-refresh.png"><br>`/api/billing/status`,
`/balance` and `/capabilities` re-read. | **5. Return trip — refocusing
the app tab after the hosted tab opened**<br><img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17860-screenshots/screenshots/to-be-return-refresh.png"><br>Same
three reads; `openPortalWindow` + `refreshOnPortalReturn` still run on
the minted route. |

- AS-IS (`stripe`, today's default): popover → in-app pricing dialog;
settings → Stripe portal via `POST /billing/payment-portal`.
- TO-BE (`billing_web`): popover →
`<billing-web>/v1/pricing?product=comfyui&return_to=comfyui_workspace`;
settings → `<billing-web>/v1/payment-methods?…`, no portal request on
either rail; the app re-reads billing state on return.

| Gate | Result |
| --- | --- |
| `vitest run src/platform/workspace src/composables/billing
src/composables/useFeatureFlags src/config` | 91 files, 1890 tests (19
new route cases: intent × destination × env × prefix × each fail-closed
branch; 3 new adapter cases; 3 popover cases re-pointed) |
| `packages/billing-contract` vitest | 3 files, 62 tests |
| `pnpm typecheck`, `typecheck:browser`, `lint`, `format`, `knip` | exit
0 |
| `fallow audit --changed-since origin/jaewon/fe-2216-plan-change` | no
issues in 10 changed files |
| `PLAYWRIGHT_TEST_URL=http://localhost:5431 pnpm exec playwright test
--project=cloud
browser_tests/tests/dialogs/hostedBillingDestination.spec.ts
--reporter=list`, against
`VITE_BILLING_WEB_URL=https://billing-web.example pnpm dev:cloud` | `4
passed (4.6s)` — settings on both destinations, plus the two new
avatar-menu cases: `opens the in-app pricing table from the avatar menu
while the destination is stripe` and `opens the billing-web pricing
entry alone from the avatar menu while the destination is billing_web` |

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (#17662, #17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | #17783 (review) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | #17851 (review) |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | merged
(#17798) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | merged (#17798) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| merged (#17798) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (#17827, #17844) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | merged (Comfy-Org/cloud#9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | merged (#17798) |
| 7 | npm publish (`ingest-types`, `account-core`, `billing-contract`),
Platform install, billing-web live top-up | FE-2218 | todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2a | Cancel, resubscribe and payment portal through the SDK
behind `billing_sdk_subscription_enabled` | FE-2216 | #17853 (review) |
| 5 slice 2b | Subscribe and plan change through the SDK, priced by the
server | FE-2216 | #17856 (review; parent of this PR) |
| 7 / rollout C | Host mints billing-web `/v1/<intent>` entries with
`return_to` when `hosted_billing_destination` is `billing_web` | FE-2218
| **this PR** |
| follow-up | One `needsCustomerAttention` predicate (from the #17665
review) | FE-2216 | merged (#17792) |
| follow-up | Opaque `BillingServerCode` (from the #17656 review) |
FE-2227 | merged (#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the #17799
review) | FE-2215 | merged (#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the #17798 review) | FE-2331 | merged
(#17828) |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2A["PR 17853 slice 2a cancel / resubscribe / portal rail"]
  S2B["PR 17856 slice 2b subscribe + plan change"]
  LC["Layer C: host mints billing-web entries"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2B
  HD --> S2A
  S2A --> S2B
  S2B --> LC
  RB --> LC
  HD --> LC
  LC --> P7
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style BWV fill:#d4edda,stroke:#155724
  style BWS fill:#d4edda,stroke:#155724
  style P8 fill:#d4edda,stroke:#155724
  style P8RD fill:#d4edda,stroke:#155724
  style CORS fill:#d4edda,stroke:#155724
  style FU13 fill:#d4edda,stroke:#155724
  style FU12 fill:#d4edda,stroke:#155724
  style FU11 fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style LC stroke:#0366d6,stroke-width:4px
```
pull Bot pushed a commit to Mu-L/ComfyUI_frontend that referenced this pull request Sep 17, 2026
…contract and ingest-types (Comfy-Org#17882)

## Why

`@comfyorg/account-core`, `@comfyorg/billing-contract` and
`@comfyorg/ingest-types` are about to be installed by Platform from the
public registry, and today none of them can be packed: `exports` point
at `src/*.ts`, there is no `files` allowlist, no build, and the core
still reaches into a private workspace utility. The release workflows on
Comfy-Org#17881 assume `build` and `smoke:pack` exist; this PR is the part that
makes a tarball installable in plain Node.

Built on Comfy-Org#17854 (auth Vue surface → `account-ui`, now merged) so the
core builds from a Vue-free tree, and it reproduces Maanil's Comfy-Org#17838 /
Comfy-Org#17839 / Comfy-Org#17840 on the renamed tree as agreed in the review thread
there. Base is `main`.

## How

- **Private-utility cut** — the one remaining reach out of the core was
`turnstileScript.ts` →
`@comfyorg/shared-frontend-utils/loadExternalScript`. The loader is now
package-owned (`packages/account-core/src/loadExternalScript.ts`,
byte-identical) and `@comfyorg/shared-frontend-utils` leaves the core's
dependencies. `publishBoundary.test.ts` fails on any future `workspace:`
dependency that is not itself published (`@comfyorg/ingest-types` is the
only allowed one).
- **Manifests** — `files: ["dist"]`, `sideEffects: false`,
`repository`/`homepage`/`author`, MIT `LICENSE` per package,
`publishConfig.exports` mapping every dev `exports` entry to `dist/*.js`
+ `.d.ts`, `./package.json` export, `access: public`.
`@comfyorg/ingest-types` moves `zod` to a peer so a consumer never gets
two zod copies. `private: true` stays on all three (`ingest-types` had
no `private` at all; it now has the latch). Flipping `private` is a
one-line change per manifest in a later reviewed PR.
- **Build** — `tsconfig.build.json` per package (`declaration`,
`noEmitOnError`, `types: []`, tests and fixtures excluded), `build` =
`clean` + `tsc -p`, `prepack` runs it. Relative imports carry `.js` so
the emitted ESM resolves under `nodenext`; `openapi-ts.config.ts` sets
`importFileExtension: '.js'` so regeneration keeps it.
- **Smoke pack** — `scripts/smokePack.ts` (run as `pnpm --filter
@comfyorg/account-core smoke:pack`) packs all three, checks each tarball
(no source/test/fixture files, every export target present, no
unrewritten `catalog:`/`workspace:`), installs them into a throwaway npm
project, imports all 21 entries from plain Node ESM, and type-checks a
`nodenext` consumer. Dropping one `.js` extension makes the typed step
fail with `TS2835`, which the plain-Node step alone would not catch.
- **CI** — `ci-packages-pack.yaml` on `pull_request` for the three
package paths: matrix job per package (typecheck → build → `check:pack`)
plus one `smoke-consumer` job. The tarball rules live in one pure
module, `publishableTarball.ts`, with its own test file; the CLI and the
smoke test are two entry points onto it, so CI and the smoke test cannot
drift.

Deliberate divergences from Comfy-Org#17839: no `region` export and no deletion
in `shared-frontend-utils/networkUtil.ts` (the region gate moved to
`account-ui` with the Vue surface and three app suites still import it);
`createScriptLoader` stays in the shared package for its three
`src/platform` callers.

Open point: the root `LICENSE` is GPL-3.0 while all three manifests
already declare MIT (as `@comfyorg/design-system` publishes). Without a
per-package file pnpm would inject the GPL text into a tarball whose
manifest says MIT, so the MIT files fix the actual defect; whether the
SDK packages should be MIT at all is a call for the reviewer to confirm.

## AS-IS / TO-BE

No UI change; packages, scripts and CI only.

- AS-IS: `pnpm pack` on any of the three ships `src/*.ts` (or nothing)
with `exports` a consumer cannot resolve, and the core depends on a
private workspace package.
- TO-BE: `smoke:pack` proves the three tarballs install and import from
plain Node with types, and CI runs that proof on every change to the
packages.

## Testing

| Check | Result |
| --- | --- |
| `build` account-core / billing-contract / ingest-types | 92 / 18 / 6
dist files |
| `smoke:pack` | 3 packed, 21 entries imported under Node ESM,
`nodenext` tsc clean |
| vitest account-core / account-ui / billing-contract / billing-web |
675 / 79 / 62 / 90 pass |
| `pnpm typecheck`, `pnpm lint`, `pnpm format:check`, `pnpm knip` (with
`dist` on disk) | exit 0 |
| `yamllint` on the new workflow | clean |

## Where this sits in the plan

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (Comfy-Org#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (Comfy-Org#17662, Comfy-Org#17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (Comfy-Org#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (Comfy-Org#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | Comfy-Org#17783 (review, carries slice 2a) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (Comfy-Org#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | merged (Comfy-Org#17851) |
| 7 prep | Auth Vue surface → `account-ui`; core Vue-free by
construction | FE-2215 | merged (Comfy-Org#17854) |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (Comfy-Org#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (Comfy-Org#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (Comfy-Org#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | merged
(Comfy-Org#17798) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | merged (Comfy-Org#17798) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| merged (Comfy-Org#17798) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (Comfy-Org#17827, Comfy-Org#17844) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | merged (Comfy-Org/cloud#9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | merged (Comfy-Org#17798) |
| 7 | Package release workflows + versioning ADR (bump PR → publish on
merge, snapshots) | FE-2218 | Comfy-Org#17881 (review) |
| 7 | Publish readiness: dist build, files allowlist, pack smoke test,
private-utility cut | FE-2218 | **this PR** |
| 7 | First publish (`private` off), Platform install, billing-web live
top-up | FE-2218 | todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
Comfy-Org#17829 (review) |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2 | Subscription flows through the SDK | FE-2216 | Comfy-Org#17856 /
Comfy-Org#17860 (review) |
| follow-up | One `needsCustomerAttention` predicate (from the Comfy-Org#17665
review) | FE-2216 | merged (Comfy-Org#17792) |
| follow-up | Opaque `BillingServerCode` (from the Comfy-Org#17656 review) |
FE-2227 | merged (Comfy-Org#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the Comfy-Org#17799
review) | FE-2215 | merged (Comfy-Org#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the Comfy-Org#17798 review) | FE-2331 | merged
(Comfy-Org#17828) |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename (merged)"]
  AV["auth Vue surface to account-ui (merged)"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  RW["PR 17881 release workflows + ADR"]
  PR["publish readiness: dist, files, smoke pack"]
  PUB["first publish account-core / billing-contract / ingest-types"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2["Phase 5 slice 2 subscription"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> AV
  AV --> PR
  RW --> PUB
  PR --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style BWV fill:#d4edda,stroke:#155724
  style BWS fill:#d4edda,stroke:#155724
  style P8 fill:#d4edda,stroke:#155724
  style P8RD fill:#d4edda,stroke:#155724
  style CORS fill:#d4edda,stroke:#155724
  style FU13 fill:#d4edda,stroke:#155724
  style FU12 fill:#d4edda,stroke:#155724
  style FU11 fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style RN fill:#d4edda,stroke:#155724
  style AV fill:#d4edda,stroke:#155724
  style PR stroke:#0366d6,stroke-width:4px
```
pull Bot pushed a commit to Mu-L/ComfyUI_frontend that referenced this pull request Sep 17, 2026
…codes (Comfy-Org#17829)

Linear FE-2217.

## Why

The billing SDK core decodes generated zod schemas from
`@comfyorg/ingest-types/zod`, which a bot regenerates from the cloud
OpenAPI whenever the backend moves. Today a regen that renames a field,
drops it, or widens an enum the reducer switches on surfaces either as a
typecheck error somewhere deep in the core or, worse, as a runtime
`MALFORMED_RESPONSE` in front of a customer mid-payment. Nothing states,
in one readable place, which fields of which schema the SDK actually
depends on.

This adds a contract test per generated schema the core decodes. Each
pins the fields the core reads and the enum members it branches on, at
the type level and at parse time, so a regen that changes one of them
fails a named block whose name says what broke — the parse rows under
`vitest run`, the `expectTypeOf` exhaustiveness pins under the package
typecheck. A failure here means the backend contract moved: fix the SDK,
not the test.

These are pins, not behaviour: reader and command behaviour stays
covered by the existing `credits.test.ts`, `status.test.ts`,
`capabilities.test.ts`, `operationState.test.ts`,
`subscriptionCommands.test.ts`, and `topup.test.ts`.

## How

New folder `packages/account-core/src/core/billing/contracts/`, one file
per endpoint contract, picked up by the package's existing
`src/core/**/*.{test,spec}.ts` include. Each file holds a canonical
fixture typed as `z.input<typeof schema>` built by a small typed builder
(no casts), parses it with `safeParse`, pins the output type with
`expectTypeOf`, and runs one `it.for` row per enum value the SDK
branches on.

| Schema | Module that decodes it | Fields pinned |
| --- | --- | --- |
| `zBillingBalanceResponse` | `credits.ts` (read by `topup.ts`,
`balanceWatch.ts`) | `amount_micros` as a number; the four optional
breakdown micros |
| `zBillingStatusResponse` | `status.ts` (read by
`operationLifecycle.ts`, `subscriptionCommands.ts`, `presentation.ts`) |
`billing_rail` (3), `pending_billing_op_id`, `pending_billing_op_type`
(2), `action_url`, `payment_intent_client_secret`, `is_active`,
`subscription_tier` (7), `subscription_status` (3) |
| `zBillingCapabilitiesResponse`, `zBillingCapabilities`,
`zBillingCapabilityScope`, `zBillingCapabilityRolloutDefaults` |
`capabilities.ts` (which parses the three named pieces, not the response
schema) | the five response keys the reader recomposes into its own
schema, reading `expires_at` as a plain string and `revision` as a
number; all seven capability booleans; `resolved_for.user_id` /
`workspace_id`; `expires_at`; `revision` as an int64 bounded to the
JavaScript-safe range the reader reads it back as a number over;
`denied_reasons` absent from the contract, which is why
`capabilityDenials.ts` decodes it off the raw body |
| `zBillingOpStatusResponse` | `operationLifecycle.ts`,
`operationState.ts` | `id`; `status` (the 4 the reducer handles);
`authentication_state` (the 5 it reads or assigns); `decline_reason` (8,
incl. the `generic` fallback); `recovery_action` (4); `phase` (3);
`action_url`; `payment_intent_client_secret`; `retryable` optional |
| `zErrorResponse` | `billingErrorBody.ts` | `code` as an open string
the commands match against their own closed set; a body without
`message` yields no code |
| `zSubscribeRequest`, `zSubscribeResponse` | `subscriptionCommands.ts`
| `confirmation_token`, `saved_payment_method_id` (`pm_` prefix),
`idempotency_key`, `confirm_reactivation`; `billing_op_id`, `status`
(3), optional `payment_method_url` |
| `zResubscribeResponse` | `subscriptionCommands.ts` | `billing_op_id`
regardless of `status` (2) |
| `zCancelSubscriptionResponse2` | `subscriptionCommands.ts` |
`billing_op_id` on both members of the response union |
| `zPaymentPortalResponse` | `subscriptionCommands.ts` | `url` required,
and not https-checked by the schema, which is why the command re-checks
it |
| `zPreviewSubscribeRequest`, `zPreviewSubscribeResponse` |
`subscriptionCommands.ts` | `plan_slug` required and the three optional
request fields; `allowed`, `is_immediate`, `effective_at`,
`transition_type` (4), the int64 money fields and their JSON-number
coercion, `discounts`, `requires_reactivation_confirmation` |
| `zCreateTopupRequest`, `zCreateTopupResponse` | `topup.ts` |
`amount_cents` minimum and its int64 coercion of the JSON number the
command validates but does not send; `idempotency_key`; `billing_op_id`
regardless of `status` (3) |
| `zCreateTopupCheckoutRequest`, `zCreateTopupCheckoutResponse` |
`topup.ts` | the amount bounds and the `return_url` URL rule, pinned by
the issue **path** the command reads to tell the two apart;
`checkout_url` required, `session_id` optional |

`capabilityDenials.ts` is the one billing module that decodes without a
generated schema — deliberately, since a strict enum parse would lose
the whole capability set the first time the server names an unfamiliar
policy branch. Its absence from the generated contract is pinned in
`billingCapabilities.contract.test.ts`.

## AS-IS / TO-BE

No UI. A regenerated `zBillingOpStatusResponse` that adds a fifth
`status`:

- AS-IS: the new value falls through `terminalFromStatus` into the
pending branch; the operation polls until its budget runs out and
reports `timed_out`.
- TO-BE: `billingOpStatus.contract.test.ts` fails on the regen PR,
naming the reducer as what needs updating. Two gates, and which one
fires depends on the pin: the enum rows (`accepts the %s status`) fail
under `vitest run`, while the exhaustiveness pin at
`billingOpStatus.contract.test.ts:36` sits at module scope and fails as
a TS2344 under the package typecheck, not in the test run.

## Testing

- `cd packages/account-core && vitest run src/core/billing/contracts` —
12 files, 90 tests, all passing. The type pins are not among them: they
sit at module scope and fail `pnpm --filter @comfyorg/account-core
typecheck` instead, because nothing here runs `vitest --typecheck`.
- `cd packages/account-core && tsc --noEmit` — clean
- `pnpm typecheck` — passing; verified the type pins bite by injecting a
spurious enum member and watching `expectTypeOf` fail with TS2344
- `pnpm lint`, `pnpm format`, `pnpm knip` — passing
- `fallow audit --changed-since origin/main` — no issues in the 13
changed files
## Where this sits in the plan

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (Comfy-Org#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (Comfy-Org#17662, Comfy-Org#17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (Comfy-Org#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (Comfy-Org#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | open (Comfy-Org#17783, carries slice 2a) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (Comfy-Org#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | merged (Comfy-Org#17851) — this PR sits on it |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (Comfy-Org#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (Comfy-Org#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (Comfy-Org#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | merged
(Comfy-Org#17798) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | merged (Comfy-Org#17798) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| merged (Comfy-Org#17798) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (Comfy-Org#17827, Comfy-Org#17844) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | merged (Comfy-Org/cloud#9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | merged (Comfy-Org#17798) |
| 7 | Publish readiness: dist build, files allowlist, pack smoke test |
FE-2218 | merged (Comfy-Org#17882) |
| 7 | Package release workflows + versioning ADR | FE-2218 | open
(Comfy-Org#17881) |
| 7 | First publish (`private` off), Platform install, billing-web live
top-up | FE-2218 | todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
**this PR** |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2 | Subscription flows through the SDK | FE-2216 | open
(Comfy-Org#17856, Comfy-Org#17860) |
| follow-up | One `needsCustomerAttention` predicate (from the Comfy-Org#17665
review) | FE-2216 | merged (Comfy-Org#17792) |
| follow-up | Opaque `BillingServerCode` (from the Comfy-Org#17656 review) |
FE-2227 | merged (Comfy-Org#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the Comfy-Org#17799
review) | FE-2215 | merged (Comfy-Org#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the Comfy-Org#17798 review) | FE-2331 | open
(Comfy-Org#17828) |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2["Phase 5 slice 2 subscription"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style P6C stroke:#0366d6,stroke-width:4px
```
pull Bot pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Sep 17, 2026
…ced by the server (Comfy-Org#17856)

Stacked on Comfy-Org#17853 (base branch `jaewon/fe-2216-subscription-rail`),
which stacks on Comfy-Org#17783; merge those first.

## Why

Slice 2a (Comfy-Org#17853) put cancel, resubscribe and the payment portal on the
SDK rail. Subscribe — new subscriptions and plan changes — was left on
the legacy call because the SDK's `subscribe` refused an active
subscription on the client (`active → ALREADY_HELD`) and routed a
scheduled cancel to `resubscribe()`, which carries no plan. Both
contradict what the host already does: `useWorkspaceBilling.subscribe`
posts `/billing/subscribe` whatever the subscription state,
`useSubscriptionCheckout` quotes the change first with
`previewSubscribe`, and the server prices the change, reactivates or
refuses (`REACTIVATION_CONFIRMATION_REQUIRED` exists for exactly that).
Decision (2026-09-16): mirror the host; no product change.

## How

- **Core.** `subscribe()` issues `POST /billing/subscribe` for every
subscription state and never short-circuits; the client-side eligibility
switch, `eligibilityOf` and its type are gone (nothing else read them).
`resubscribe()` stays the explicit "resume" command.
`docs/billing-command-eligibility.md` (the path the module doc already
referenced) now records the route per command and that the status read
decides nothing for subscribe.
- **Core, quote decoding.** The generated zod for the preview coerces
every int64 to `bigint` while the generated TS type for the same fields
is `number`, so the SDK's quote was not assignable to the host's
`PreviewSubscribeResponse`. The cents fields are decoded as `z.number()`
via `.extend` on the generated schemas (the precedent `capabilities.ts`
sets for `revision`; money on this route is bounded to cents well inside
the safe range). The two types are now structurally identical and `pnpm
typecheck` proves the assignment with no hand-written projection.
- **Host.** On the rail (read once per action, as in 2a)
`useWorkspaceBilling.subscribe` maps `SubscribeOptions → SubscribeInput`
field for field (`confirmationToken` / `savedPaymentMethodId` empty →
dropped, as the workspace client does; nothing dropped otherwise) and
runs `sdk.commands.subscribe`; `previewSubscribe` runs
`sdk.commands.previewSubscribe`. Both share 2a's route latch (404 →
legacy once), and every other failure is thrown as a `WorkspaceApiError`
whose `.code` carries the server code verbatim, so
`useSubscriptionCheckout` and `useDowngradeToPersonal` keep branching on
`REACTIVATION_CONFIRMATION_REQUIRED`, `SUBSCRIPTION_PAYMENT_REQUIRED`,
`OUTSTANDING_PAYMENT_REQUIRED`, `TRANSITION_NOT_ALLOWED`,
`PRORATION_QUOTE_EXPIRED`, `SUBSCRIPTION_QUOTE_STALE` unchanged.
- **Customer steps.** The SDK settles the operation inside
`subscribe()`, so nothing else watches it: the store's lifecycle
subscriber now handles non-topup pending states — the existing in-page
challenge driver, and a once-per-operation `window.open(actionUrl)` with
the same popup-blocked toast the checkout shows. Without both, a 3DS
plan change or a `needs_payment_method` answer would time out with
nothing on screen.
- **Settled response.** A settled subscribe projects to the `{
billing_op_id, status: 'subscribed' }` body `handleSubscribeResponse`
already handles; `needs_payment_method` / `pending_payment` never reach
the host because the lifecycle drove them first.
- Not on the rail: `teamSubscriptionCheckoutUtil.ts` calls
`workspaceApi.subscribe` directly and stays legacy on both rails;
`savePendingSubscriptionCheckout` and checkout-journey `billing_op_id`
linking run after settlement rather than at issue, because the SDK does
not surface the issued operation (recovery across reloads is the
lifecycle's `recover()`).

## AS-IS / TO-BE

Same journey on both: `?pricing=creator&cycle=yearly` against an active
`standard-annual` subscription on the `stripe` rail, 1280×800, every
endpoint mocked.

| State | AS-IS — `billing_sdk_subscription_enabled: false` | TO-BE —
`billing_sdk_subscription_enabled: true` |
| --- | --- | --- |
| "Confirm your upgrade" with the quote | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17856-screenshots/screenshots/as-is-confirm-upgrade.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17856-screenshots/screenshots/to-be-confirm-upgrade.png">
|
| "You're all set" after confirming | <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17856-screenshots/screenshots/as-is-all-set.png">
| <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17856-screenshots/screenshots/to-be-all-set.png">
|
| Recorded `subscribe` request (quote above it carries no key on either
rail) | no `Idempotency-Key` <br> <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17856-screenshots/screenshots/as-is-subscribe-headers.png">
| `Idempotency-Key` present and echoed as `idempotency_key` <br> <img
width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17856-screenshots/screenshots/to-be-subscribe-headers.png">
|
| `POST /billing/subscribe` answers 404 | one POST, the click fails
("Request failed with status code 404") <br> <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17856-screenshots/screenshots/as-is-404-fallback.png">
| two POSTs from one click — first with the key → 404, second without →
200, "You're all set" <br> <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17856-screenshots/screenshots/to-be-404-fallback.png">
|
| Server answers `REACTIVATION_CONFIRMATION_REQUIRED` | re-quotes, shows
the reactivation panel and the coded toast <br> <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17856-screenshots/screenshots/as-is-reactivation-required.png">
| identical panel, toast and CTA on the rail <br> <img width="480"
src="https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/assets/pr-17856-screenshots/screenshots/to-be-reactivation-required.png">
|

- AS-IS (flag off): quote and subscribe go through the workspace API; a
3DS or payment-method step is driven by the checkout composable off the
raw response.
- TO-BE (flag on): the same screens and copy; quote and subscribe go
through the SDK transport (`Idempotency-Key` on the subscribe POST),
settlement through the operation lifecycle; a 404 falls back to the
legacy call.

## Testing

| Gate | Result |
| --- | --- |
| `packages/account` vitest | 39 files, 634 tests (new: active plan
change issues the request; canceled carries `plan_slug` +
`confirm_reactivation`; `REACTIVATION_CONFIRMATION_REQUIRED` surfaces
coded) |
| host vitest (billing sdk, composables/billing, workspace composables +
stores, feature flags) | 41 files, 1151 tests |
| `pnpm typecheck`, `typecheck:browser`, `lint`, `format`, `knip` | exit
0 |
| `fallow audit --changed-since origin/jaewon/fe-2216-subscription-rail`
| no issues in 10 changed files, complexity 0, duplication 0 |
| Playwright cloud: `planChangeSdkRail.spec.ts` (3) +
`cancelSubscriptionSdkRail.spec.ts` (3) | `6 passed (11.5s)` —
`PLAYWRIGHT_TEST_URL=http://localhost:5173 pnpm exec playwright test
--project=cloud browser_tests/tests/dialogs/planChangeSdkRail.spec.ts
browser_tests/tests/dialogs/cancelSubscriptionSdkRail.spec.ts
--reporter=list` against a `pnpm dev:cloud` vite server, all endpoints
mocked |

## Where this sits in the plan

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (Comfy-Org#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (Comfy-Org#17662, Comfy-Org#17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (Comfy-Org#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (Comfy-Org#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | Comfy-Org#17783 (review) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (Comfy-Org#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | Comfy-Org#17851 (review) |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (Comfy-Org#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (Comfy-Org#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (Comfy-Org#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | merged
(Comfy-Org#17798) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | merged (Comfy-Org#17798) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| merged (Comfy-Org#17798) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (Comfy-Org#17827, Comfy-Org#17844) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | merged (Comfy-Org/cloud#9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | merged (Comfy-Org#17798) |
| 7 | npm publish (`ingest-types`, `account-core`, `billing-contract`),
Platform install, billing-web live top-up | FE-2218 | todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
Comfy-Org#17829 (review) |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2a | Cancel, resubscribe and payment portal through the SDK
behind `billing_sdk_subscription_enabled` | FE-2216 | Comfy-Org#17853 (review;
parent of this PR) |
| 5 slice 2b | Subscribe and plan change through the SDK: quote, then
subscribe; the SDK never short-circuits on the client | FE-2216 | **this
PR** |
| follow-up | One `needsCustomerAttention` predicate (from the Comfy-Org#17665
review) | FE-2216 | merged (Comfy-Org#17792) |
| follow-up | Opaque `BillingServerCode` (from the Comfy-Org#17656 review) |
FE-2227 | merged (Comfy-Org#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the Comfy-Org#17799
review) | FE-2215 | merged (Comfy-Org#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the Comfy-Org#17798 review) | FE-2331 | merged
(Comfy-Org#17828) |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2A["PR 17853 slice 2a cancel / resubscribe / portal rail"]
  S2B["Phase 5 slice 2b subscribe + plan change"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2B
  HD --> S2A
  S2A --> S2B
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style BWV fill:#d4edda,stroke:#155724
  style BWS fill:#d4edda,stroke:#155724
  style P8 fill:#d4edda,stroke:#155724
  style P8RD fill:#d4edda,stroke:#155724
  style CORS fill:#d4edda,stroke:#155724
  style FU13 fill:#d4edda,stroke:#155724
  style FU12 fill:#d4edda,stroke:#155724
  style FU11 fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style S2B stroke:#0366d6,stroke-width:4px
```
pull Bot pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Sep 17, 2026
…Rs, with the versioning ADR (Comfy-Org#17881)

## Why

`@comfyorg/account-core`, `@comfyorg/billing-contract` and
`@comfyorg/ingest-types` are about to be installed by Platform from the
public registry, and the plan had nothing on how their versions are cut.
The monorepo already releases one package (`@comfyorg/design-system`)
through a version-bump PR that publishes on merge; the decision
(2026-09-16) is to follow that pattern for the SDK packages, generalized
over a package input rather than copied, and to defer Changesets with
the revisit conditions written down.

## How

- `version-bump-package.yaml` — `workflow_dispatch` with `package`
(account-core / billing-contract / ingest-types), `version_type`,
`pre_release`; bumps on `main` and opens a `Release`-labelled PR titled
`<package> <version>` (same pinned `create-pull-request` action as the
design-system workflow).
- `publish-package.yaml` — reusable (`workflow_dispatch` +
`workflow_call`): name/version match, an explicit failure while
`"private": true`, `build` and `smoke:pack` via `--if-present` (works
before and after the publish-readiness PR lands), `npm view` skip on an
existing version, `pnpm publish --access public --tag … --provenance`
under `id-token: write`.
- `publish-package-on-merge.yaml` — on a merged `Release` PR touching
one of the three manifests, publishes every package whose `version`
changed against the first parent (matrix), posts the release-links
comment per package and the Slack notice.
- `.github/actions/comment-release-links` — three additive cases so each
package's summary has its own section.
- `packages/{account-core,billing-contract,ingest-types}/package.json` —
`"private": true` removed. Comfy-Org#17882 is merged and its smoke test proves
the three tarballs install from plain Node, so the latch comes off here,
in the same reviewed PR as the machinery that checks it. Nothing
publishes on this merge: the on-merge job needs a `Release` label and a
version change, and neither is present.
-
`docs/adr/RELEASES-PACKAGES-0033-sdk-packages-release-through-version-bump-prs.md`
(+ index): context, the decision and each workflow's rationale, the
versioning policy (`1.0.0-alpha.N` on `next` until the Phase 7 host
proof, then `1.0.0`; generated-contract additions minor, removals major,
decided on the regeneration PR), alternatives (Changesets,
release-please, semantic-release, per-package copies) and the explicit
"when to revisit Changesets" list.

Written against the post-rename names (`packages/account-core`); the
on-merge path filter matches once Comfy-Org#17851 lands. Design-system workflows
are untouched.

Not in this PR, on purpose: the `ingest-types` regeneration bump — the
generator lives in Comfy-Org/cloud; the one-step change needed there is
recorded in the ADR's follow-ups.

**Snapshot publishing is not in this PR.** A `pull_request` run executes
the workflow definition from the pull request's own merge ref, so a
publish step triggered that way is PR-authored code holding `NPM_TOKEN`,
and on `main` today no `pull_request` workflow reaches that secret. It
returns in its own PR, publishing from a `workflow_run` job that runs
the default branch's definition over an artifact the pull-request job
produces.

## AS-IS / TO-BE

No UI change; CI and docs only.

- AS-IS: only `@comfyorg/design-system` has a release path; the SDK
packages have no bump, no publish, no policy.
- TO-BE: one dispatch bumps any of the three, the merged `Release` PR
publishes with provenance, and the ADR records why Changesets waits and
what the snapshot follow-up has to satisfy.

## Testing

| Check | Result |
| --- | --- |
| `actionlint` on the four workflows | 0 findings |
| `zizmor --min-severity medium` | clean apart from the repo-exempt
`actions/checkout@v7` / `setup-node@v6` pins (`.pinact.yaml`);
workflow-level `permissions: contents: read` added after its finding |
| `yamllint` (as `ci-yaml-validation.yaml` runs it) | clean |
| `pnpm adr:check`, `pnpm lint`, `pnpm format:check`, `pnpm knip` | exit
0 |

After the second review round (860ef8a, 8f7972f, 41793c7):
`publish-package.yaml` rejects a prerelease on `latest` and reports
whether it published or skipped, and `version-bump-package.yaml` holds
`account-core` and `billing-contract` on the `1.0.0-alpha.N` line, since
`patch`, `minor` and `major` all turn `1.0.0-alpha.0` into `1.0.0`. The
hardening that round added to the snapshot workflow left with it in
25b09c3.

After the first review round (23b854e, 5985af7): the manual
publish no longer takes a caller-supplied `ref` (it publishes the ref it
was dispatched on), and the ADR scopes the prerelease-first gate to the
hand-written packages, putting `ingest-types` outside it.

The Slack notice posts to `#proj-billing` (`C0BNGQG2LCW`), not the
design-system channel. Open points for review: `--provenance` is new
relative to the design-system publish and is confirmed on the first real
run; Follow-ups, not in this PR: a protected `environment` with required
reviewers and an environment-scoped `NPM_TOKEN` on the publish job (repo
configuration), and the same `ref` removal on
`publish-design-system.yaml`.

## Where this sits in the plan

Billing SDK track FE-2210 ([implementation plan
V2](https://app.notion.com/p/3d86d73d36508152b92cdbdfdfe83ac8)). Hybrid
model: top-up in-app, subscription management / invoices / payment
methods on the hosted billing app.

| Phase | Item | Ticket | Status |
| --- | --- | --- | --- |
| 1-2 | Session core, transport, readers | FE-2211/2212/2213 | merged |
| 3 | Operation lifecycle, commands, eight-state projection |
FE-2227/2214/2223 | merged (Comfy-Org#17655) |
| 4 | `@comfyorg/account-ui` composables + `CheckoutSteps` | FE-2215 |
merged (Comfy-Org#17662, Comfy-Org#17663) |
| 5 slice 1 | Top-up through the SDK behind `billing_sdk_topup_enabled`
| FE-2216 | merged (Comfy-Org#17665) |
| rollout C | `hosted_billing_destination` server flag read by the host
| FE-2218 | merged (Comfy-Org#17716) |
| rollout C | `hostedDestination` port on the lifecycle, value on
operation state | FE-2210/2218 | Comfy-Org#17783 (review, carries slice 2a) |
| 7 prep | Scope-source port + credentialed transport (BFF / cookie
hosts) | FE-2218 | merged (Comfy-Org#17782) |
| 7 prep | `@comfyorg/account` → `@comfyorg/account-core` rename |
FE-2218 | Comfy-Org#17851 (queued) |
| 7 prep | `billing-contract` route builder + `return_to` registry |
FE-2218 | merged (Comfy-Org#17795) |
| 3A-3 | Workshop adapter over `createHostedTopupCheckout` | FE-2214 |
merged (Comfy-Org#17793) |
| 8 core | `previewSubscribe` command | FE-2331 | merged (Comfy-Org#17797) |
| 8 core | Plans + saved payment-methods readers | FE-2331 | merged
(Comfy-Org#17798) |
| 8 ui | account-ui composables (`usePlans`, `usePaymentMethods`,
`usePreviewSubscribe`) | FE-2331 | merged (Comfy-Org#17798) |
| 7 | billing-web own-origin session, sign-in, SDK composition | FE-2218
| merged (Comfy-Org#17798) |
| 7 | billing-web unit tests in CI (`ci-billing-web-unit.yaml`) |
FE-2218 | merged (Comfy-Org#17827, Comfy-Org#17844) |
| 7 | ingest CORS + top-up return hosts for billing.comfy.org and its
previews (Comfy-Org/cloud) | FE-2218 | merged (Comfy-Org/cloud#9512) |
| 8 ui | billing-web `/v1` entry routing + subscription / payment-method
surfaces | FE-2331 | merged (Comfy-Org#17798) |
| 7 | Package release workflows + versioning ADR (bump dispatch →
publish on merge) | FE-2218 | **this PR** |
| 7 | Pre-merge snapshots from a default-branch `workflow_run` job |
FE-2218 | todo (split out of this PR) |
| 7 | Publish readiness: dist build, files allowlist, pack smoke test,
private-utility cut | FE-2218 | merged (Comfy-Org#17882) |
| 7 | `private` off on the three manifests | FE-2218 | **this PR** |
| 7 | First publish (bump PRs: ingest-types, then billing-contract,
account-core), Platform install, billing-web live top-up | FE-2218 |
todo |
| 6 | Contract tests per generated schema (package layer) | FE-2217 |
Comfy-Org#17829 (review) |
| 6 | Live E2E per flow × consumer + evidence table | FE-2217 | todo
(needs staging flags) |
| 5 slice 2 | Subscription flows through the SDK | FE-2216 | Comfy-Org#17856 /
Comfy-Org#17860 (review) |
| follow-up | One `needsCustomerAttention` predicate (from the Comfy-Org#17665
review) | FE-2216 | merged (Comfy-Org#17792) |
| follow-up | Opaque `BillingServerCode` (from the Comfy-Org#17656 review) |
FE-2227 | merged (Comfy-Org#17794) |
| follow-up | `useCredits` clears on `SUPERSEDED` (from the Comfy-Org#17799
review) | FE-2215 | merged (Comfy-Org#17824) |
| follow-up | credits / status / capabilities readers fence a late
failure as `SUPERSEDED` (from the Comfy-Org#17798 review) | FE-2331 | merged
(Comfy-Org#17828) |

```mermaid
flowchart LR
  P3["Phase 3 core lifecycle (merged)"]
  P4["Phase 4 account-ui (merged)"]
  P5["Phase 5 slice 1 top-up flag (merged)"]
  FC["PR 17716 hosted_billing_destination flag (merged)"]
  HD["PR 17783 hostedDestination port"]
  SS["PR 17782 scope-source port + credentialed transport"]
  RN["account-core rename"]
  RB["billing-contract route builder + return_to"]
  WS["Workshop adapter"]
  P8PV["previewSubscribe command"]
  P8RD["plans + payment-methods readers"]
  P8["account-ui hosted composables"]
  BWS["billing-web session + sign-in"]
  BWV["billing-web /v1 surfaces"]
  CORS["cloud PR 9512 ingest CORS + return hosts"]
  RW["release workflows + ADR"]
  PUB["npm publish account-core / billing-contract"]
  P7["Phase 7 host proof: Platform + billing-web live"]
  P6C["Phase 6 contract tests"]
  P6["Phase 6 live evidence"]
  S2["Phase 5 slice 2 subscription"]
  FU9["customer-attention predicate"]
  FU11["opaque BillingServerCode"]
  FU12["useCredits clears on SUPERSEDED"]
  FU13["reader late-failure fence"]
  P3 --> HD
  FC --> HD
  HD --> RB
  P3 --> SS
  SS --> P7
  RB --> P7
  P3 --> RN
  RN --> PUB
  RW --> PUB
  RB --> PUB
  PUB --> P7
  P3 --> P8PV
  P3 --> P8RD
  P8PV --> P8
  P8RD --> P8
  P4 --> P8
  P8 --> S2
  P8 --> BWS
  BWS --> BWV
  RB --> BWV
  BWV --> P7
  CORS --> P7
  P5 --> P6
  P3 --> P6C
  P5 --> WS
  P5 --> FU9
  P3 --> FU11
  P4 --> FU12
  P3 --> FU13
  style P3 fill:#d4edda,stroke:#155724
  style P4 fill:#d4edda,stroke:#155724
  style P5 fill:#d4edda,stroke:#155724
  style FC fill:#d4edda,stroke:#155724
  style SS fill:#d4edda,stroke:#155724
  style RB fill:#d4edda,stroke:#155724
  style WS fill:#d4edda,stroke:#155724
  style FU9 fill:#d4edda,stroke:#155724
  style BWV fill:#d4edda,stroke:#155724
  style BWS fill:#d4edda,stroke:#155724
  style P8 fill:#d4edda,stroke:#155724
  style P8RD fill:#d4edda,stroke:#155724
  style CORS fill:#d4edda,stroke:#155724
  style FU13 fill:#d4edda,stroke:#155724
  style FU12 fill:#d4edda,stroke:#155724
  style FU11 fill:#d4edda,stroke:#155724
  style P8PV fill:#d4edda,stroke:#155724
  style RW stroke:#0366d6,stroke-width:4px
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:xhigh PR risk grade (advisory shadow check; grader-owned)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants