Skip to content

billing: consume the remaining workspace capabilities - #15675

Merged
wei-hai merged 59 commits into
mainfrom
wei/be-8841-remaining-billing-capabilities
Aug 26, 2026
Merged

wei-hai merged 59 commits into
mainfrom
wei/be-8841-remaining-billing-capabilities

Conversation

@wei-hai

@wei-hai wei-hai commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

Migrates the last five Cloud billing surfaces onto server-resolved capabilities: cancellation, reactivation, plan and seat changes, member invitations, and Team-to-personal downgrade.

Each reads its matching capability behind the isCloud ? capability : permissions split already established in this stack, and useWorkspaceUI sheds the fields the server now owns.

Review fixes applied

  • Free-tier cancel guard — can_cancel encodes role, subscription presence/status and a scheduled cancellation, but not tier: it stays true for an active FREE plan. Re-applied !isFreeTier on top of the capability. The other three predicates the migration dropped are encoded server-side, so re-adding them would have been redundant. The backend now owns this too (cloud#7342), making the guard removable as a follow-up.
  • Non-Cloud permission path — every capability except canTopUp is hard-false off Cloud, so the cancel dialog and pricing table had lost their Local/Desktop path. Restored across seven CTA paths, not the four first identified: personal and team each have their own subscribe, reactivate and change-plan branch.
  • Capability mocks no longer alias the permission they replace — six test files derived the new capability from the old permission, so reverting a consumer to the permission guard left the suites green. Each split, with a client owner permission = true / server capability = false case per migrated branch, every one verified to fail under a reverted consumer.
  • Guard tested from both sides — the popover's !isCloud menu-item guard had only same-distribution cases.

Deferred, with reasons on the thread

  • Three surfaces still gating on role permissions (SubscribeToRun.vue, usePricingTableUrlLoader, the popover's Plans & pricing entry). None is broken today. Notably the suggested canReactivate mapping for SubscribeToRun.vue would have introduced a bug — that button also renders for never-subscribed and free-tier-exhausted users, who have can_reactivate = false.
  • canPerformCheckout('change') gating on can_change_seats. Not the right long-term semantic — every path it guards ends at the subscribe endpoint — but collapsing it to can_subscribe_self_serve must wait until the rollout flags are on, or it blocks every plan change today.

Release dependency

showSubscribeAction and canPerformCheckout('new') gate on can_subscribe_self_serve, which the rollout handler forces false on the wire while its flag is off — the current default. Subscribe and reactivate entry points go dark on Cloud unless that flag is enabled first. can_downgrade_to_personal is gated the same way. Both are on the checklist in #15804.

Verification

pnpm typecheck, typecheck:browser, lint clean. Full unit suite: 17,758 passed; the 12 check-binary-size failures are pre-existing and environmental.

@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Aug 23, 2026
@github-actions

github-actions Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

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

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

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 08/26/2026, 01:19:12 AM UTC

Links

📦 Bundle: 9.37 MB gzip 🔴 +500 B

Details

Summary

  • Raw size: 39.7 MB baseline 39.7 MB — 🔴 +2.37 kB
  • Gzip: 9.37 MB baseline 9.37 MB — 🔴 +500 B
  • Brotli: 6.57 MB baseline 6.57 MB — 🔴 +477 B
  • Bundles: 446 current • 446 baseline • 151 added / 151 removed

Category Glance
Other 🔴 +2.19 kB (15.1 MB) · Data & Services 🔴 +93 B (3.53 MB) · Utilities & Hooks 🔴 +92 B (555 kB) · Vendor & Third-Party ⚪ 0 B (18.1 MB) · Graph Workspace ⚪ 0 B (1.4 MB) · Panels & Settings ⚪ 0 B (592 kB) · + 5 more

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

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-CSxVLO7W.js (new) — 3.78 kB 🔴 +3.78 kB 🔴 +1.9 kB 🔴 +1.64 kB
assets/index-DMtefsEL.js (removed) 3.78 kB — 🟢 -3.78 kB 🟢 -1.89 kB 🟢 -1.64 kB

Status: 1 added / 1 removed

Graph Workspace — 1.4 MB (baseline 1.4 MB) • ⚪ 0 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-CMky4wPF.js (removed) 1.39 MB — 🟢 -1.39 MB 🟢 -305 kB 🟢 -229 kB
assets/GraphView-DbRLj23N.js (new) — 1.39 MB 🔴 +1.39 MB 🔴 +305 kB 🔴 +229 kB
assets/WidgetCompositor-BOmYQMUE.js (new) — 8.17 kB 🔴 +8.17 kB 🔴 +2.76 kB 🔴 +2.46 kB
assets/WidgetCompositor-DcP9oF1i.js (removed) 8.17 kB — 🟢 -8.17 kB 🟢 -2.76 kB 🟢 -2.46 kB

Status: 2 added / 2 removed / 1 unchanged

Views & Navigation — 124 kB (baseline 124 kB) • ⚪ 0 B

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-BeSA7LQA.js (new) — 25 kB 🔴 +25 kB 🔴 +6.25 kB 🔴 +5.53 kB
assets/CloudSurveyView-Cppoi9A5.js (removed) 25 kB — 🟢 -25 kB 🟢 -6.24 kB 🟢 -5.53 kB
assets/CloudLayoutView-BFCE8bFq.js (new) — 21.8 kB 🔴 +21.8 kB 🔴 +6.56 kB 🔴 +5.76 kB
assets/CloudLayoutView-BsBHKTXj.js (removed) 21.8 kB — 🟢 -21.8 kB 🟢 -6.56 kB 🟢 -5.74 kB
assets/UserCheckView-2Ob_FdnG.js (new) — 8.75 kB 🔴 +8.75 kB 🔴 +2.19 kB 🔴 +1.9 kB
assets/UserCheckView-BypqypCY.js (removed) 8.75 kB — 🟢 -8.75 kB 🟢 -2.19 kB 🟢 -1.91 kB
assets/CloudLoginView-B7a3AKdn.js (removed) 8.74 kB — 🟢 -8.74 kB 🟢 -2.55 kB 🟢 -2.25 kB
assets/CloudLoginView-CRyRsuWj.js (new) — 8.74 kB 🔴 +8.74 kB 🔴 +2.55 kB 🔴 +2.25 kB
assets/useCloudAuthPage-D9TxSPCU.js (new) — 7.08 kB 🔴 +7.08 kB 🔴 +2.52 kB 🔴 +2.2 kB
assets/useCloudAuthPage-ggtnDlQ2.js (removed) 7.08 kB — 🟢 -7.08 kB 🟢 -2.51 kB 🟢 -2.2 kB
assets/CloudSignupView-Ck-HLZs5.js (removed) 6.96 kB — 🟢 -6.96 kB 🟢 -2.28 kB 🟢 -2 kB
assets/CloudSignupView-ngUJ-Sap.js (new) — 6.96 kB 🔴 +6.96 kB 🔴 +2.28 kB 🔴 +2 kB
assets/WidgetTextPreview-Btr3IKka.js (new) — 6.07 kB 🔴 +6.07 kB 🔴 +2.13 kB 🔴 +1.89 kB
assets/WidgetTextPreview-ByCmBa_Y.js (removed) 6.07 kB — 🟢 -6.07 kB 🟢 -2.13 kB 🟢 -1.9 kB
assets/CloudSubscriptionRedirectView-CYz9lTmd.js (new) — 5.69 kB 🔴 +5.69 kB 🔴 +1.93 kB 🔴 +1.7 kB
assets/CloudSubscriptionRedirectView-j8P3werk.js (removed) 5.69 kB — 🟢 -5.69 kB 🟢 -1.93 kB 🟢 -1.7 kB
assets/UserSelectView-BnxgdrH8.js (removed) 5.49 kB — 🟢 -5.49 kB 🟢 -1.95 kB 🟢 -1.71 kB
assets/UserSelectView-DHz9SAAw.js (new) — 5.49 kB 🔴 +5.49 kB 🔴 +1.96 kB 🔴 +1.71 kB
assets/CloudForgotPasswordView-CWluRNzv.js (removed) 4.97 kB — 🟢 -4.97 kB 🟢 -1.72 kB 🟢 -1.49 kB
assets/CloudForgotPasswordView-MtE-Xz6q.js (new) — 4.97 kB 🔴 +4.97 kB 🔴 +1.72 kB 🔴 +1.49 kB
assets/CloudAuthTimeoutView-Cg7GjUaq.js (removed) 4.43 kB — 🟢 -4.43 kB 🟢 -1.54 kB 🟢 -1.34 kB
assets/CloudAuthTimeoutView-D_Ihhyai.js (new) — 4.43 kB 🔴 +4.43 kB 🔴 +1.54 kB 🔴 +1.34 kB
assets/OAuthLayoutView-_EJT2N9R.js (removed) 1.31 kB — 🟢 -1.31 kB 🟢 -700 B 🟢 -588 B
assets/OAuthLayoutView-K5zDoAA6.js (new) — 1.31 kB 🔴 +1.31 kB 🔴 +701 B 🔴 +586 B
assets/WidgetTextPreview-BgWsph1d.js (removed) 131 B — 🟢 -131 B 🟢 -100 B 🟢 -88 B
assets/WidgetTextPreview-BlSrkaBs.js (new) — 131 B 🔴 +131 B 🔴 +100 B 🔴 +88 B

Status: 13 added / 13 removed / 4 unchanged

Panels & Settings — 592 kB (baseline 592 kB) • ⚪ 0 B

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/KeybindingPanel-CMbXcqrY.js (new) — 49.4 kB 🔴 +49.4 kB 🔴 +9.94 kB 🔴 +8.79 kB
assets/KeybindingPanel-y7kOP7fP.js (removed) 49.4 kB — 🟢 -49.4 kB 🟢 -9.94 kB 🟢 -8.79 kB
assets/CreditsPanel-BayWxC0o.js (removed) 36.9 kB — 🟢 -36.9 kB 🟢 -8.94 kB 🟢 -7.84 kB
assets/CreditsPanel-DYRW0XrX.js (new) — 36.9 kB 🔴 +36.9 kB 🔴 +8.94 kB 🔴 +7.84 kB
assets/SecretsPanel-DE37AIq_.js (new) — 33.7 kB 🔴 +33.7 kB 🔴 +7.87 kB 🔴 +6.91 kB
assets/SecretsPanel-DJ1n-eBS.js (removed) 33.7 kB — 🟢 -33.7 kB 🟢 -7.87 kB 🟢 -6.89 kB
assets/AboutPanel-B66KqdRL.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.13 kB 🔴 +2.81 kB
assets/AboutPanel-CnsW18Ir.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.12 kB 🟢 -2.81 kB
assets/ExtensionPanel-a-anJN6w.js (removed) 9.19 kB — 🟢 -9.19 kB 🟢 -2.51 kB 🟢 -2.22 kB
assets/ExtensionPanel-C2FhXYJe.js (new) — 9.19 kB 🔴 +9.19 kB 🔴 +2.51 kB 🔴 +2.22 kB
assets/ServerConfigPanel-6nuYMSog.js (new) — 6.09 kB 🔴 +6.09 kB 🔴 +1.94 kB 🔴 +1.72 kB
assets/ServerConfigPanel-D6ydJYuV.js (removed) 6.09 kB — 🟢 -6.09 kB 🟢 -1.94 kB 🟢 -1.72 kB
assets/UserPanel-Bi7evMgB.js (new) — 5.73 kB 🔴 +5.73 kB 🔴 +1.78 kB 🔴 +1.54 kB
assets/UserPanel-vzJka4cm.js (removed) 5.73 kB — 🟢 -5.73 kB 🟢 -1.79 kB 🟢 -1.54 kB
assets/refreshRemoteConfig-B_PnD1bq.js (removed) 4.24 kB — 🟢 -4.24 kB 🟢 -1.51 kB 🟢 -1.33 kB
assets/refreshRemoteConfig-PkvuWaYT.js (new) — 4.24 kB 🔴 +4.24 kB 🔴 +1.51 kB 🔴 +1.33 kB
assets/cloudRemoteConfig-BhNe2avr.js (removed) 951 B — 🟢 -951 B 🟢 -513 B 🟢 -422 B
assets/cloudRemoteConfig-CfZ2args.js (new) — 951 B 🔴 +951 B 🔴 +512 B 🔴 +418 B
assets/CreditsPanel-CWHDkKeF.js (new) — 116 B 🔴 +116 B 🔴 +95 B 🔴 +89 B
assets/CreditsPanel-DwKSu0lh.js (removed) 116 B — 🟢 -116 B 🟢 -95 B 🟢 -83 B
assets/refreshRemoteConfig-C6VxQJKd.js (new) — 110 B 🔴 +110 B 🔴 +89 B 🔴 +82 B
assets/refreshRemoteConfig-IMA-2ejU.js (removed) 110 B — 🟢 -110 B 🟢 -89 B 🟢 -87 B

Status: 11 added / 11 removed / 16 unchanged

User & Accounts — 27.5 kB (baseline 27.5 kB) • ⚪ 0 B

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SignUpForm-BGL03dwQ.js (removed) 13.3 kB — 🟢 -13.3 kB 🟢 -4.52 kB 🟢 -3.94 kB
assets/SignUpForm-uOq0dEB5.js (new) — 13.3 kB 🔴 +13.3 kB 🔴 +4.52 kB 🔴 +3.93 kB
assets/auth-aUaHAeF8.js (removed) 3.48 kB — 🟢 -3.48 kB 🟢 -1.2 kB 🟢 -1.01 kB
assets/auth-DPhOPNuh.js (new) — 3.48 kB 🔴 +3.48 kB 🔴 +1.21 kB 🔴 +1.01 kB
assets/UpdatePasswordContent-2CVt69j2.js (removed) 1.85 kB — 🟢 -1.85 kB 🟢 -842 B 🟢 -734 B
assets/UpdatePasswordContent-D3F6T_nw.js (new) — 1.85 kB 🔴 +1.85 kB 🔴 +841 B 🔴 +734 B
assets/authStore-B9sbyUpn.js (removed) 128 B — 🟢 -128 B 🟢 -107 B 🟢 -106 B
assets/authStore-BfEA_7iH.js (new) — 128 B 🔴 +128 B 🔴 +107 B 🔴 +104 B
assets/workspaceAuthStore-B57TR5t1.js (removed) 108 B — 🟢 -108 B 🟢 -99 B 🟢 -107 B
assets/workspaceAuthStore-wTduI684.js (new) — 108 B 🔴 +108 B 🔴 +99 B 🔴 +109 B
assets/auth-BW7icpHD.js (new) — 105 B 🔴 +105 B 🔴 +96 B 🔴 +93 B
assets/auth-KrE1rjWY.js (removed) 105 B — 🟢 -105 B 🟢 -96 B 🟢 -87 B

Status: 6 added / 6 removed / 5 unchanged

Editors & Dialogs — 126 kB (baseline 126 kB) • ⚪ 0 B

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyHubPublishDialog-CGcp1ge0.js (removed) 90.1 kB — 🟢 -90.1 kB 🟢 -19.3 kB 🟢 -16.5 kB
assets/ComfyHubPublishDialog-DBs8jcJg.js (new) — 90.1 kB 🔴 +90.1 kB 🔴 +19.3 kB 🔴 +16.5 kB
assets/useShareDialog-bEHCP4A_.js (new) — 23.9 kB 🔴 +23.9 kB 🔴 +5.69 kB 🔴 +5.03 kB
assets/useShareDialog-Dh-CEBWE.js (removed) 23.9 kB — 🟢 -23.9 kB 🟢 -5.69 kB 🟢 -5.03 kB
assets/feedbackDialog-DUbSIRi2.js (removed) 4.45 kB — 🟢 -4.45 kB 🟢 -1.86 kB 🟢 -1.59 kB
assets/feedbackDialog-Qv-RL0XU.js (new) — 4.45 kB 🔴 +4.45 kB 🔴 +1.86 kB 🔴 +1.59 kB
assets/useRangeEditor-BsmX3CQO.js (new) — 3.29 kB 🔴 +3.29 kB 🔴 +1.14 kB 🔴 +1.05 kB
assets/useRangeEditor-Dr4dvBJv.js (removed) 3.29 kB — 🟢 -3.29 kB 🟢 -1.14 kB 🟢 -1.05 kB
assets/useLayerEditor-Bl5PwC6s.js (removed) 1.19 kB — 🟢 -1.19 kB 🟢 -566 B 🟢 -489 B
assets/useLayerEditor-D8_AVC2F.js (new) — 1.19 kB 🔴 +1.19 kB 🔴 +564 B 🔴 +486 B
assets/ComfyHubPublishDialog-bh5M3eL-.js (new) — 143 B 🔴 +143 B 🔴 +105 B 🔴 +97 B
assets/ComfyHubPublishDialog-C4djFiu7.js (removed) 143 B — 🟢 -143 B 🟢 -105 B 🟢 -86 B
assets/useSubscriptionDialog-Bki4yYTn.js (removed) 108 B — 🟢 -108 B 🟢 -102 B 🟢 -91 B
assets/useSubscriptionDialog-DefKjRuh.js (new) — 108 B 🔴 +108 B 🔴 +102 B 🔴 +91 B

Status: 7 added / 7 removed / 1 unchanged

UI Components — 115 kB (baseline 115 kB) • ⚪ 0 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useMoreOptionsMenu-Bp8fs9Ua.js (removed) 47.9 kB — 🟢 -47.9 kB 🟢 -11.5 kB 🟢 -9.96 kB
assets/useMoreOptionsMenu-Dxc6FnFt.js (new) — 47.9 kB 🔴 +47.9 kB 🔴 +11.5 kB 🔴 +9.97 kB
assets/ComfyQueueButton-DfJVFWxA.js (new) — 14.6 kB 🔴 +14.6 kB 🔴 +3.98 kB 🔴 +3.53 kB
assets/ComfyQueueButton-F9j5vRj6.js (removed) 14.6 kB — 🟢 -14.6 kB 🟢 -3.98 kB 🟢 -3.52 kB
assets/useTerminalTabs-6w5qaM_B.js (removed) 11.8 kB — 🟢 -11.8 kB 🟢 -3.69 kB 🟢 -3.27 kB
assets/useTerminalTabs-BS_Z2R73.js (new) — 11.8 kB 🔴 +11.8 kB 🔴 +3.69 kB 🔴 +3.28 kB
assets/InviteMembersForm-BHvDBzx6.js (removed) 8.23 kB — 🟢 -8.23 kB 🟢 -2.74 kB 🟢 -2.44 kB
assets/InviteMembersForm-CeOz0kBk.js (new) — 8.23 kB 🔴 +8.23 kB 🔴 +2.74 kB 🔴 +2.45 kB
assets/SubscribeButton-D2DNbBYw.js (new) — 2.15 kB 🔴 +2.15 kB 🔴 +969 B 🔴 +849 B
assets/SubscribeButton-Dfpf3Bg5.js (removed) 2.15 kB — 🟢 -2.15 kB 🟢 -970 B 🟢 -851 B
assets/cloudFeedbackTopbarButton-BhfLS7JH.js (removed) 705 B — 🟢 -705 B 🟢 -422 B 🟢 -360 B
assets/cloudFeedbackTopbarButton-Cqwlo0ry.js (new) — 705 B 🔴 +705 B 🔴 +421 B 🔴 +378 B
assets/ComfyQueueButton-0Btxldau.js (removed) 128 B — 🟢 -128 B 🟢 -99 B 🟢 -90 B
assets/ComfyQueueButton-Dk0x-deX.js (new) — 128 B 🔴 +128 B 🔴 +99 B 🔴 +93 B

Status: 7 added / 7 removed / 8 unchanged

Data & Services — 3.53 MB (baseline 3.53 MB) • 🔴 +93 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/settingStore-BYVoCmxF.js (new) — 3.21 MB 🔴 +3.21 MB 🔴 +752 kB 🔴 +567 kB
assets/settingStore-nD2wXNZj.js (removed) 3.21 MB — 🟢 -3.21 MB 🟢 -752 kB 🟢 -567 kB
assets/api-BPR--XRX.js (new) — 169 kB 🔴 +169 kB 🔴 +38.5 kB 🔴 +32.5 kB
assets/api-tdNm8lYI.js (removed) 169 kB — 🟢 -169 kB 🟢 -38.5 kB 🟢 -32.5 kB
assets/load3dService-CmRmkOQN.js (new) — 87 kB 🔴 +87 kB 🔴 +20.4 kB 🔴 +17.6 kB
assets/load3dService-DsADYNwm.js (removed) 87 kB — 🟢 -87 kB 🟢 -20.4 kB 🟢 -17.6 kB
assets/releaseStore-C8HGWrLI.js (new) — 23.7 kB 🔴 +23.7 kB 🔴 +7.04 kB 🔴 +6.19 kB
assets/releaseStore-DErIFtLB.js (removed) 23.7 kB — 🟢 -23.7 kB 🟢 -7.05 kB 🟢 -6.2 kB
assets/workflowShareService-8UYKuf9K.js (removed) 16.5 kB — 🟢 -16.5 kB 🟢 -4.91 kB 🟢 -4.34 kB
assets/workflowShareService-BwCSw_ag.js (new) — 16.5 kB 🔴 +16.5 kB 🔴 +4.91 kB 🔴 +4.35 kB
assets/keybindingService-C374gcoA.js (removed) 6.95 kB — 🟢 -6.95 kB 🟢 -1.74 kB 🟢 -1.51 kB
assets/keybindingService-CtzM3BVl.js (new) — 6.95 kB 🔴 +6.95 kB 🔴 +1.74 kB 🔴 +1.51 kB
assets/extensionStore-CszcJ5Vh.js (removed) 4.93 kB — 🟢 -4.93 kB 🟢 -1.75 kB 🟢 -1.47 kB
assets/extensionStore-CvbFTgRk.js (new) — 4.93 kB 🔴 +4.93 kB 🔴 +1.75 kB 🔴 +1.47 kB
assets/userStore-B1uy0wKJ.js (removed) 2.38 kB — 🟢 -2.38 kB 🟢 -897 B 🟢 -794 B
assets/userStore-DDNpyMfh.js (new) — 2.38 kB 🔴 +2.38 kB 🔴 +899 B 🔴 +795 B
assets/audioService-DXlDJE8y.js (removed) 1.71 kB — 🟢 -1.71 kB 🟢 -828 B 🟢 -721 B
assets/audioService-qB0dNKsZ.js (new) — 1.71 kB 🔴 +1.71 kB 🔴 +828 B 🔴 +732 B
assets/dialogService-B3QuNOs9.js (new) — 98 B 🔴 +98 B 🔴 +97 B 🔴 +84 B
assets/dialogService-sDcVFQWJ.js (removed) 98 B — 🟢 -98 B 🟢 -97 B 🟢 -81 B
assets/releaseStore-ClN6S8m5.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -89 B
assets/releaseStore-DnI3ZAmp.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +88 B
assets/settingStore-BokLg6tC.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -85 B
assets/settingStore-BXvZvq7A.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +89 B
assets/assetsStore-C-X6-xkp.js (new) — 94 B 🔴 +94 B 🔴 +92 B 🔴 +87 B
assets/assetsStore-CQZ6YIpn.js (removed) 94 B — 🟢 -94 B 🟢 -92 B 🟢 -86 B
assets/api-CKzL9tRg.js (removed) 62 B — 🟢 -62 B 🟢 -74 B 🟢 -66 B
assets/api-CXo65Pt6.js (new) — 62 B 🔴 +62 B 🔴 +74 B 🔴 +66 B

Status: 14 added / 14 removed / 3 unchanged

Utilities & Hooks — 555 kB (baseline 555 kB) • 🔴 +92 B

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useConflictDetection-BqYrqx5s.js (removed) 236 kB — 🟢 -236 kB 🟢 -53.1 kB 🟢 -43.2 kB
assets/useConflictDetection-woRZLH-G.js (new) — 236 kB 🔴 +236 kB 🔴 +53.1 kB 🔴 +43.2 kB
assets/useLayerEditorSession-CLPzc6gw.js (removed) 159 kB — 🟢 -159 kB 🟢 -40.9 kB 🟢 -34.4 kB
assets/useLayerEditorSession-DeurMZH0.js (new) — 159 kB 🔴 +159 kB 🔴 +40.9 kB 🔴 +34.5 kB
assets/useLoad3d-C1UKDXad.js (new) — 26.2 kB 🔴 +26.2 kB 🔴 +5.91 kB 🔴 +5.23 kB
assets/useLoad3d-DFj65uv3.js (removed) 26.2 kB — 🟢 -26.2 kB 🟢 -5.91 kB 🟢 -5.23 kB
assets/useLoad3dViewer-DRV6-fUd.js (new) — 21.2 kB 🔴 +21.2 kB 🔴 +4.98 kB 🔴 +4.37 kB
assets/useLoad3dViewer-q470DDrC.js (removed) 21.2 kB — 🟢 -21.2 kB 🟢 -4.98 kB 🟢 -4.36 kB
assets/useImageCrop-BvzqUuA6.js (removed) 14.9 kB — 🟢 -14.9 kB 🟢 -3.42 kB 🟢 -2.98 kB
assets/useImageCrop-DeLoY4_d.js (new) — 14.9 kB 🔴 +14.9 kB 🔴 +3.42 kB 🔴 +2.98 kB
assets/useDowngradeToPersonal-DCEWmEFo.js (new) — 11 kB 🔴 +11 kB 🔴 +2.76 kB 🔴 +2.37 kB
assets/useDowngradeToPersonal-GZrAPrtT.js (removed) 10.9 kB — 🟢 -10.9 kB 🟢 -2.74 kB 🟢 -2.35 kB
assets/useFeatureFlags-BAQKYxL-.js (new) — 7.58 kB 🔴 +7.58 kB 🔴 +2.15 kB 🔴 +1.81 kB
assets/useFeatureFlags-CUOQ2V5j.js (removed) 7.58 kB — 🟢 -7.58 kB 🟢 -2.14 kB 🟢 -1.81 kB
assets/usePricingTableUrlLoader-BwGSpHWE.js (removed) 4.59 kB — 🟢 -4.59 kB 🟢 -1.59 kB 🟢 -1.35 kB
assets/usePricingTableUrlLoader-IzB6YB6D.js (new) — 4.59 kB 🔴 +4.59 kB 🔴 +1.59 kB 🔴 +1.36 kB
assets/useCompositorLayers-C2iDWotc.js (removed) 3.09 kB — 🟢 -3.09 kB 🟢 -928 B 🟢 -832 B
assets/useCompositorLayers-DMythM0p.js (new) — 3.09 kB 🔴 +3.09 kB 🔴 +927 B 🔴 +830 B
assets/assetPreviewUtil-DlOIKLCf.js (new) — 2.35 kB 🔴 +2.35 kB 🔴 +970 B 🔴 +845 B
assets/assetPreviewUtil-qjH7BK-9.js (removed) 2.35 kB — 🟢 -2.35 kB 🟢 -970 B 🟢 -850 B
assets/useUpstreamValue-bXos7k2S.js (new) — 1.97 kB 🔴 +1.97 kB 🔴 +748 B 🔴 +697 B
assets/useUpstreamValue-CweWu93L.js (removed) 1.97 kB — 🟢 -1.97 kB 🟢 -749 B 🟢 -694 B
assets/useWorkspaceTierLabel-BOksGkPY.js (removed) 1.97 kB — 🟢 -1.97 kB 🟢 -843 B 🟢 -714 B
assets/useWorkspaceTierLabel-ByhFD0ea.js (new) — 1.97 kB 🔴 +1.97 kB 🔴 +843 B 🔴 +715 B
assets/useSessionCookie-CI0jrvQz.js (new) — 652 B 🔴 +652 B 🔴 +336 B 🔴 +293 B
assets/useSessionCookie-Cm-Gtulh.js (removed) 652 B — 🟢 -652 B 🟢 -336 B 🟢 -292 B
assets/useLoad3d-CBrsHtEJ.js (removed) 311 B — 🟢 -311 B 🟢 -164 B 🟢 -148 B
assets/useLoad3d-CS2GRKNd.js (new) — 311 B 🔴 +311 B 🔴 +163 B 🔴 +147 B
assets/useSessionCookie-DMqnEd0I.js (new) — 101 B 🔴 +101 B 🔴 +86 B 🔴 +79 B
assets/useSessionCookie-RSd5xqe5.js (removed) 101 B — 🟢 -101 B 🟢 -86 B 🟢 -81 B
assets/useFeatureFlags-M9kevK9X.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +84 B
assets/useFeatureFlags-rntCCv2T.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -91 B
assets/useLoad3dViewer-BJZYdB5L.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -82 B
assets/useLoad3dViewer-BPpQ1K-o.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +91 B
assets/useCurrentUser-8TWZGbN-.js (removed) 94 B — 🟢 -94 B 🟢 -95 B 🟢 -81 B
assets/useCurrentUser-DHezTGFV.js (new) — 94 B 🔴 +94 B 🔴 +95 B 🔴 +86 B

Status: 18 added / 18 removed / 19 unchanged

Vendor & Third-Party — 18.1 MB (baseline 18.1 MB) • ⚪ 0 B

External libraries and shared vendor chunks

Status: 18 unchanged

Other — 15.1 MB (baseline 15.1 MB) • 🔴 +2.19 kB

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/core-BB9lnK_l.js (removed) 116 kB — 🟢 -116 kB 🟢 -30.3 kB 🟢 -25.6 kB
assets/core-n34ZPBna.js (new) — 116 kB 🔴 +116 kB 🔴 +30.3 kB 🔴 +25.6 kB
assets/WorkspaceSettingsPanelContent-CxHaG14t.js (new) — 110 kB 🔴 +110 kB 🔴 +21.6 kB 🔴 +18.1 kB
assets/WorkspaceSettingsPanelContent-Cyq0RR77.js (removed) 110 kB — 🟢 -110 kB 🟢 -21.5 kB 🟢 -18.1 kB
assets/SubscriptionTransitionPreviewWorkspace-C_VSyEeC.js (new) — 97.5 kB 🔴 +97.5 kB 🔴 +18.8 kB 🔴 +15.9 kB
assets/SubscriptionTransitionPreviewWorkspace-Dd8K2xOD.js (removed) 97 kB — 🟢 -97 kB 🟢 -18.7 kB 🟢 -15.8 kB
assets/WidgetSelect-mu3XfYP4.js (new) — 88.7 kB 🔴 +88.7 kB 🔴 +20.1 kB 🔴 +17.2 kB
assets/WidgetSelect-sGx0eYo3.js (removed) 88.7 kB — 🟢 -88.7 kB 🟢 -20.1 kB 🟢 -17.2 kB
assets/WidgetVideoEdit-BA3BZgNN.js (removed) 72.7 kB — 🟢 -72.7 kB 🟢 -17.2 kB 🟢 -15.1 kB
assets/WidgetVideoEdit-BagUER0A.js (new) — 72.7 kB 🔴 +72.7 kB 🔴 +17.2 kB 🔴 +15.1 kB
assets/Load3D-9_4WeKo4.js (removed) 72.1 kB — 🟢 -72.1 kB 🟢 -11.9 kB 🟢 -10.2 kB
assets/Load3D-BLe2aOFw.js (new) — 72.1 kB 🔴 +72.1 kB 🔴 +11.9 kB 🔴 +10.2 kB
assets/CameraInfo-BuhGMts5.js (new) — 67 kB 🔴 +67 kB 🔴 +14.5 kB 🔴 +12.8 kB
assets/CameraInfo-DYNB06Tj.js (removed) 67 kB — 🟢 -67 kB 🟢 -14.5 kB 🟢 -12.8 kB
assets/Preview3d-BOjhWts_.js (removed) 52.6 kB — 🟢 -52.6 kB 🟢 -8.6 kB 🟢 -7.5 kB
assets/Preview3d-CUULek70.js (new) — 52.6 kB 🔴 +52.6 kB 🔴 +8.6 kB 🔴 +7.51 kB
assets/SubscriptionRequiredDialogContentUnified-BkZ42IY8.js (new) — 52.2 kB 🔴 +52.2 kB 🔴 +10.8 kB 🔴 +9.39 kB
assets/SubscriptionRequiredDialogContentUnified-BaxuKpnH.js (removed) 51.6 kB — 🟢 -51.6 kB 🟢 -10.7 kB 🟢 -9.3 kB
assets/Viewport3d-CRUOdWsL.js (removed) 47.5 kB — 🟢 -47.5 kB 🟢 -10.1 kB 🟢 -8.92 kB
assets/Viewport3d-o7fB-3VZ.js (new) — 47.5 kB 🔴 +47.5 kB 🔴 +10.1 kB 🔴 +8.92 kB
assets/LayerEditorContent-DOzKCdA5.js (removed) 45.4 kB — 🟢 -45.4 kB 🟢 -10.6 kB 🟢 -9.25 kB
assets/LayerEditorContent-DQMv8rRF.js (new) — 45.4 kB 🔴 +45.4 kB 🔴 +10.6 kB 🔴 +9.27 kB
assets/main-De1JBg8z.js (removed) 41.6 kB — 🟢 -41.6 kB 🟢 -12.2 kB 🟢 -10.6 kB
assets/main-MDAsFHbN.js (new) — 41.6 kB 🔴 +41.6 kB 🔴 +12.2 kB 🔴 +10.6 kB
assets/WidgetBoundingBoxes-BkXcwKID.js (new) — 33.7 kB 🔴 +33.7 kB 🔴 +9.16 kB 🔴 +8.12 kB
assets/WidgetBoundingBoxes-gE--jP1G.js (removed) 33.7 kB — 🟢 -33.7 kB 🟢 -9.16 kB 🟢 -8.12 kB
assets/WidgetPainter-aiVTup1q.js (removed) 32.6 kB — 🟢 -32.6 kB 🟢 -7.88 kB 🟢 -6.98 kB
assets/WidgetPainter-CqxW6cng.js (new) — 32.6 kB 🔴 +32.6 kB 🔴 +7.88 kB 🔴 +6.97 kB
assets/Load3dViewerContent-BRCTvf3h.js (removed) 30.8 kB — 🟢 -30.8 kB 🟢 -6.28 kB 🟢 -5.44 kB
assets/Load3dViewerContent-fuC6yCmV.js (new) — 30.8 kB 🔴 +30.8 kB 🔴 +6.28 kB 🔴 +5.44 kB
assets/SubscriptionRequiredDialogContentWorkspace-BUuYe0Ih.js (new) — 27.1 kB 🔴 +27.1 kB 🔴 +6.07 kB 🔴 +5.35 kB
assets/SubscriptionRequiredDialogContentWorkspace-COW6s6ON.js (removed) 27.1 kB — 🟢 -27.1 kB 🟢 -6.07 kB 🟢 -5.35 kB
assets/SubscriptionRequiredDialogContent-Ahm9k_Ty.js (removed) 26.9 kB — 🟢 -26.9 kB 🟢 -6.36 kB 🟢 -5.6 kB
assets/SubscriptionRequiredDialogContent-E4TVagGm.js (new) — 26.9 kB 🔴 +26.9 kB 🔴 +6.36 kB 🔴 +5.61 kB
assets/load3d-Bj-qWqIh.js (removed) 22.2 kB — 🟢 -22.2 kB 🟢 -5.41 kB 🟢 -4.68 kB
assets/load3d-Bl13nrM0.js (new) — 22.2 kB 🔴 +22.2 kB 🔴 +5.41 kB 🔴 +4.68 kB
assets/SignInContent-DLnFB8-u.js (new) — 20.6 kB 🔴 +20.6 kB 🔴 +5.18 kB 🔴 +4.53 kB
assets/SignInContent-DwnL-V2u.js (removed) 20.6 kB — 🟢 -20.6 kB 🟢 -5.18 kB 🟢 -4.54 kB
assets/CurrentUserPopoverWorkspace-AxXWb3G3.js (new) — 17.4 kB 🔴 +17.4 kB 🔴 +4 kB 🔴 +3.52 kB
assets/CurrentUserPopoverWorkspace-DGxkcYZa.js (removed) 17.3 kB — 🟢 -17.3 kB 🟢 -3.99 kB 🟢 -3.51 kB
assets/WidgetRecordAudio-CkWvJOnK.js (removed) 16.6 kB — 🟢 -16.6 kB 🟢 -4.6 kB 🟢 -4.09 kB
assets/WidgetRecordAudio-CxJKP31F.js (new) — 16.6 kB 🔴 +16.6 kB 🔴 +4.6 kB 🔴 +4.09 kB
assets/WidgetInputNumber-8g_SV8gB.js (removed) 13.9 kB — 🟢 -13.9 kB 🟢 -3.63 kB 🟢 -3.21 kB
assets/WidgetInputNumber-D2hgQhrP.js (new) — 13.9 kB 🔴 +13.9 kB 🔴 +3.63 kB 🔴 +3.21 kB
assets/WidgetRange-BEjedkhd.js (removed) 13.7 kB — 🟢 -13.7 kB 🟢 -3.55 kB 🟢 -3.13 kB
assets/WidgetRange-Cg0qt2iL.js (new) — 13.7 kB 🔴 +13.7 kB 🔴 +3.55 kB 🔴 +3.13 kB
assets/WaveAudioPlayer-C2LpPlJk.js (removed) 12.8 kB — 🟢 -12.8 kB 🟢 -3.46 kB 🟢 -3.04 kB
assets/WaveAudioPlayer-eXNuqTj2.js (new) — 12.8 kB 🔴 +12.8 kB 🔴 +3.46 kB 🔴 +3.04 kB
assets/WidgetCurve-Du09-7dQ.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.47 kB 🟢 -3.15 kB
assets/WidgetCurve-nctojTA8.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.48 kB 🔴 +3.15 kB
assets/TeamWorkspacesDialogContent-Cj69roxP.js (new) — 10.3 kB 🔴 +10.3 kB 🔴 +2.96 kB 🔴 +2.63 kB
assets/TeamWorkspacesDialogContent-GNbvaomh.js (removed) 10.3 kB — 🟢 -10.3 kB 🟢 -2.97 kB 🟢 -2.63 kB
assets/onboardingCloudRoutes-BLNsoxVf.js (removed) 9.83 kB — 🟢 -9.83 kB 🟢 -2.89 kB 🟢 -2.49 kB
assets/onboardingCloudRoutes-D-673eh8.js (new) — 9.83 kB 🔴 +9.83 kB 🔴 +2.89 kB 🔴 +2.48 kB
assets/Load3DConfiguration-Byh9EIUk.js (new) — 8.91 kB 🔴 +8.91 kB 🔴 +2.61 kB 🔴 +2.3 kB
assets/Load3DConfiguration-CLxzCP8v.js (removed) 8.91 kB — 🟢 -8.91 kB 🟢 -2.61 kB 🟢 -2.31 kB
assets/WidgetImageCrop-Cd7JjtQ1.js (removed) 8.49 kB — 🟢 -8.49 kB 🟢 -2.65 kB 🟢 -2.34 kB
assets/WidgetImageCrop-fFF5VQ2W.js (new) — 8.49 kB 🔴 +8.49 kB 🔴 +2.65 kB 🔴 +2.34 kB
assets/SetMemberCreditLimitDialogContent-Dgw1QEDe.js (removed) 8.47 kB — 🟢 -8.47 kB 🟢 -2.34 kB 🟢 -2.05 kB
assets/SetMemberCreditLimitDialogContent-v2TWaPRP.js (new) — 8.47 kB 🔴 +8.47 kB 🔴 +2.34 kB 🔴 +2.05 kB
assets/nodeTemplates-B1pad-XC.js (new) — 8.32 kB 🔴 +8.32 kB 🔴 +2.86 kB 🔴 +2.52 kB
assets/nodeTemplates-DHO7mt8A.js (removed) 8.32 kB — 🟢 -8.32 kB 🟢 -2.85 kB 🟢 -2.51 kB
assets/WorkspaceSwitcherPopover-CqtQGZk3.js (removed) 8.01 kB — 🟢 -8.01 kB 🟢 -2.38 kB 🟢 -2.12 kB
assets/WorkspaceSwitcherPopover-Cs9q69Db.js (new) — 8.01 kB 🔴 +8.01 kB 🔴 +2.38 kB 🔴 +2.12 kB
assets/NightlySurveyController-DoyGOgxe.js (removed) 7.5 kB — 🟢 -7.5 kB 🟢 -2.55 kB 🟢 -2.25 kB
assets/NightlySurveyController-XP7y9Wtp.js (new) — 7.5 kB 🔴 +7.5 kB 🔴 +2.55 kB 🔴 +2.25 kB
assets/LayoutDefault-Ca4rnWD1.js (new) — 7.42 kB 🔴 +7.42 kB 🔴 +2.44 kB 🔴 +2.14 kB
assets/LayoutDefault-CDU3hm1h.js (removed) 7.42 kB — 🟢 -7.42 kB 🟢 -2.44 kB 🟢 -2.14 kB
assets/CloudRunButtonWrapper-BP9YxYF2.js (removed) 7.29 kB — 🟢 -7.29 kB 🟢 -2.3 kB 🟢 -2.01 kB
assets/CloudRunButtonWrapper-Vya_Q9Cg.js (new) — 7.29 kB 🔴 +7.29 kB 🔴 +2.29 kB 🔴 +2.01 kB
assets/WidgetWithControl-CUl_o2tP.js (new) — 6.5 kB 🔴 +6.5 kB 🔴 +2.66 kB 🔴 +2.35 kB
assets/WidgetWithControl-Fvd1-_Ul.js (removed) 6.5 kB — 🟢 -6.5 kB 🟢 -2.66 kB 🟢 -2.37 kB
assets/missingModelMetadata-BPtCrTNR.js (new) — 6.45 kB 🔴 +6.45 kB 🔴 +2.21 kB 🔴 +1.93 kB
assets/missingModelMetadata-C9s7DHUF.js (removed) 6.45 kB — 🟢 -6.45 kB 🟢 -2.21 kB 🟢 -1.93 kB
assets/CancelSubscriptionDialogContent-mhusoose.js (new) — 6.05 kB 🔴 +6.05 kB 🔴 +2 kB 🔴 +1.76 kB
assets/CancelSubscriptionDialogContent-C0vhtJRB.js (removed) 5.97 kB — 🟢 -5.97 kB 🟢 -1.98 kB 🟢 -1.74 kB
assets/load3dPreviewExtensions-BMIzEl-3.js (removed) 5.88 kB — 🟢 -5.88 kB 🟢 -1.81 kB 🟢 -1.6 kB
assets/load3dPreviewExtensions-Cxea5b4x.js (new) — 5.88 kB 🔴 +5.88 kB 🔴 +1.81 kB 🔴 +1.6 kB
assets/launchCancellationFlow-6WxcHnPh.js (new) — 5.18 kB 🔴 +5.18 kB 🔴 +1.78 kB 🔴 +1.56 kB
assets/launchCancellationFlow-DovxScv4.js (removed) 5.18 kB — 🟢 -5.18 kB 🟢 -1.78 kB 🟢 -1.56 kB
assets/CreateWorkspaceDialogContent-D3EVwzPB.js (new) — 5.12 kB 🔴 +5.12 kB 🔴 +1.79 kB 🔴 +1.55 kB
assets/CreateWorkspaceDialogContent-tZjx9_Cg.js (removed) 5.12 kB — 🟢 -5.12 kB 🟢 -1.79 kB 🟢 -1.55 kB
assets/ChangeMemberRoleDialogContent-88-dG4Di.js (removed) 4.97 kB — 🟢 -4.97 kB 🟢 -1.63 kB 🟢 -1.43 kB
assets/ChangeMemberRoleDialogContent-nUHDajV2.js (new) — 4.97 kB 🔴 +4.97 kB 🔴 +1.63 kB 🔴 +1.43 kB
assets/InviteMemberDialogContent-Bt_wC50V.js (new) — 4.96 kB 🔴 +4.96 kB 🔴 +1.64 kB 🔴 +1.43 kB
assets/InviteMemberDialogContent-DKiheSoi.js (removed) 4.96 kB — 🟢 -4.96 kB 🟢 -1.64 kB 🟢 -1.44 kB
assets/EditWorkspaceDialogContent-CI1F6qcl.js (removed) 4.93 kB — 🟢 -4.93 kB 🟢 -1.76 kB 🟢 -1.52 kB
assets/EditWorkspaceDialogContent-FVtRtJyn.js (new) — 4.93 kB 🔴 +4.93 kB 🔴 +1.76 kB 🔴 +1.52 kB
assets/WidgetTextarea-BmvzCBQE.js (removed) 4.83 kB — 🟢 -4.83 kB 🟢 -1.88 kB 🟢 -1.64 kB
assets/WidgetTextarea-ClIEs18B.js (new) — 4.83 kB 🔴 +4.83 kB 🔴 +1.88 kB 🔴 +1.65 kB
assets/saveMesh-CitFznBC.js (removed) 4.76 kB — 🟢 -4.76 kB 🟢 -1.52 kB 🟢 -1.35 kB
assets/saveMesh-CzOPVudL.js (new) — 4.76 kB 🔴 +4.76 kB 🔴 +1.52 kB 🔴 +1.35 kB
assets/ValueControlPopover-BKy7zeiy.js (removed) 4.49 kB — 🟢 -4.49 kB 🟢 -1.55 kB 🟢 -1.38 kB
assets/ValueControlPopover-CFADIVMw.js (new) — 4.49 kB 🔴 +4.49 kB 🔴 +1.55 kB 🔴 +1.38 kB
assets/DeleteWorkspaceDialogContent-BV7JLnSo.js (new) — 3.84 kB 🔴 +3.84 kB 🔴 +1.43 kB 🔴 +1.24 kB
assets/DeleteWorkspaceDialogContent-DJUAzhZF.js (removed) 3.84 kB — 🟢 -3.84 kB 🟢 -1.44 kB 🟢 -1.24 kB
assets/RemoveMemberDialogContent-CNqywWUr.js (removed) 3.76 kB — 🟢 -3.76 kB 🟢 -1.38 kB 🟢 -1.19 kB
assets/RemoveMemberDialogContent-Dppfu_9d.js (new) — 3.76 kB 🔴 +3.76 kB 🔴 +1.38 kB 🔴 +1.19 kB
assets/RevokeInviteDialogContent-aueJf2tv.js (new) — 3.67 kB 🔴 +3.67 kB 🔴 +1.39 kB 🔴 +1.21 kB
assets/RevokeInviteDialogContent-DI79tJrC.js (removed) 3.67 kB — 🟢 -3.67 kB 🟢 -1.39 kB 🟢 -1.21 kB
assets/LeaveWorkspaceDialogContent-BvZDbB3y.js (new) — 3.67 kB 🔴 +3.67 kB 🔴 +1.38 kB 🔴 +1.21 kB
assets/LeaveWorkspaceDialogContent-DBeO8rjD.js (removed) 3.67 kB — 🟢 -3.67 kB 🟢 -1.38 kB 🟢 -1.19 kB
assets/InviteMemberUpsellDialogContent-B7M3oGqg.js (removed) 3.47 kB — 🟢 -3.47 kB 🟢 -1.24 kB 🟢 -1.09 kB
assets/InviteMemberUpsellDialogContent-Xr0tDFgC.js (new) — 3.47 kB 🔴 +3.47 kB 🔴 +1.24 kB 🔴 +1.09 kB
assets/GlobalToast-BEn_KJyM.js (new) — 3.25 kB 🔴 +3.25 kB 🔴 +1.3 kB 🔴 +1.11 kB
assets/GlobalToast-Bmb68zpy.js (removed) 3.25 kB — 🟢 -3.25 kB 🟢 -1.3 kB 🟢 -1.1 kB
assets/Media3DTop-Di7CP2AH.js (removed) 3.21 kB — 🟢 -3.21 kB 🟢 -1.27 kB 🟢 -1.11 kB
assets/Media3DTop-DnE-p1mT.js (new) — 3.21 kB 🔴 +3.21 kB 🔴 +1.26 kB 🔴 +1.11 kB
assets/load3dAdvanced-Bpp7y2IV.js (removed) 2.82 kB — 🟢 -2.82 kB 🟢 -1.09 kB 🟢 -954 B
assets/load3dAdvanced-GwZdQuZB.js (new) — 2.82 kB 🔴 +2.82 kB 🔴 +1.1 kB 🔴 +953 B
assets/SubscribeToRun-BgZeaPJ2.js (new) — 2.39 kB 🔴 +2.39 kB 🔴 +1.03 kB 🔴 +906 B
assets/SubscribeToRun-D-13HUfx.js (removed) 2.39 kB — 🟢 -2.39 kB 🟢 -1.04 kB 🟢 -906 B
assets/MediaAudioTop-0siZT1LF.js (removed) 1.62 kB — 🟢 -1.62 kB 🟢 -807 B 🟢 -670 B
assets/MediaAudioTop-lxihl8p7.js (new) — 1.62 kB 🔴 +1.62 kB 🔴 +808 B 🔴 +667 B
assets/paymentReturnUrl-BWMWfgnd.js (removed) 1.58 kB — 🟢 -1.58 kB 🟢 -787 B 🟢 -624 B
assets/paymentReturnUrl-C_O-oedT.js (new) — 1.58 kB 🔴 +1.58 kB 🔴 +786 B 🔴 +624 B
assets/cameraInfo-Bnj-CPaH.js (removed) 1.1 kB — 🟢 -1.1 kB 🟢 -573 B 🟢 -492 B
assets/cameraInfo-CVNWPHYv.js (new) — 1.1 kB 🔴 +1.1 kB 🔴 +571 B 🔴 +492 B
assets/cloudSessionCookie-8YKvEfq0.js (new) — 933 B 🔴 +933 B 🔴 +432 B 🔴 +377 B
assets/cloudSessionCookie-GYtkYVW4.js (removed) 933 B — 🟢 -933 B 🟢 -431 B 🟢 -376 B
assets/cloudBadges-BqCGdGw4.js (new) — 922 B 🔴 +922 B 🔴 +515 B 🔴 +437 B
assets/cloudBadges-Dk9zWOvL.js (removed) 922 B — 🟢 -922 B 🟢 -516 B 🟢 -444 B
assets/Load3DAdvanced-BL_WukCS.js (removed) 761 B — 🟢 -761 B 🟢 -423 B 🟢 -358 B
assets/Load3DAdvanced-DGDN_lgg.js (new) — 761 B 🔴 +761 B 🔴 +423 B 🔴 +359 B
assets/nightlyBadges-BZ8H7BoL.js (new) — 411 B 🔴 +411 B 🔴 +272 B 🔴 +233 B
assets/nightlyBadges-DIAwGnza.js (removed) 411 B — 🟢 -411 B 🟢 -272 B 🟢 -232 B
assets/Load3dViewerContent-CC7GadCQ.js (removed) 137 B — 🟢 -137 B 🟢 -103 B 🟢 -94 B
assets/Load3dViewerContent-Djg0nhV0.js (new) — 137 B 🔴 +137 B 🔴 +103 B 🔴 +94 B
assets/missingModelMetadata-D64om901.js (new) — 125 B 🔴 +125 B 🔴 +103 B 🔴 +102 B
assets/missingModelMetadata-DMu5Lw_5.js (removed) 125 B — 🟢 -125 B 🟢 -103 B 🟢 -105 B
assets/Load3DAdvanced-5KYj7eRR.js (new) — 122 B 🔴 +122 B 🔴 +97 B 🔴 +87 B
assets/Load3DAdvanced-dU1E6GPP.js (removed) 122 B — 🟢 -122 B 🟢 -97 B 🟢 -87 B
assets/LayoutDefault-B2gDTnWb.js (new) — 119 B 🔴 +119 B 🔴 +92 B 🔴 +82 B
assets/LayoutDefault-D08QF3Ne.js (removed) 119 B — 🟢 -119 B 🟢 -92 B 🟢 -85 B
assets/WidgetLegacy-B-V9XRJd.js (new) — 117 B 🔴 +117 B 🔴 +106 B 🔴 +102 B
assets/WidgetLegacy-BXSedcHE.js (removed) 117 B — 🟢 -117 B 🟢 -106 B 🟢 -103 B
assets/workflowDraftStoreV2-Cc5qH1A1.js (removed) 112 B — 🟢 -112 B 🟢 -101 B 🟢 -105 B
assets/workflowDraftStoreV2-ysZVYQzk.js (new) — 112 B 🔴 +112 B 🔴 +101 B 🔴 +108 B
assets/CameraInfo-B0_yq9Tp.js (removed) 110 B — 🟢 -110 B 🟢 -93 B 🟢 -91 B
assets/CameraInfo-CKndHsf8.js (new) — 110 B 🔴 +110 B 🔴 +93 B 🔴 +90 B
assets/Load3D-B71a7g-c.js (new) — 98 B 🔴 +98 B 🔴 +89 B 🔴 +93 B
assets/Load3D-BkRHp1DL.js (removed) 98 B — 🟢 -98 B 🟢 -89 B 🟢 -85 B
assets/changeTracker-B2AH5k89.js (removed) 91 B — 🟢 -91 B 🟢 -93 B 🟢 -83 B
assets/changeTracker-fT48KOmR.js (new) — 91 B 🔴 +91 B 🔴 +93 B 🔴 +82 B

Status: 72 added / 72 removed / 220 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 53.8 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 72.4 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 72.9 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 73.6 MB heap
large-graph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 71.9 MB heap
large-graph-pan: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 76.2 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 74.3 MB heap
legacy-node-drag: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 82.5 MB heap
minimap-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 72.7 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 61.9 MB heap
subgraph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 57.6 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 68.8 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 137ms TBT · 81.2 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 77.2 MB heap
vue-large-graph-idle: · 56.3 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 168.7 MB heap
vue-large-graph-pan: · 56.2 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 60ms TBT · 167.1 MB heap
workflow-execution: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.3 MB heap

⚠️ 12 regressions detected

Show regressions
Metric Baseline PR (median) Δ Sig
canvas-idle: task duration 397ms 508ms +28% ⚠️ z=3.6
canvas-mouse-sweep: task duration 962ms 1263ms +31% ⚠️ z=6.8
canvas-mouse-sweep: script duration 118ms 159ms +34% ⚠️ z=3.6
dom-widget-clipping: task duration 541ms 670ms +24% ⚠️ z=18.6
dom-widget-clipping: script duration 112ms 139ms +24% ⚠️ z=22.1
large-graph-pan: task duration 1968ms 2451ms +25% ⚠️ z=31.8
large-graph-pan: script duration 688ms 869ms +26% ⚠️ z=23.3
subgraph-dom-widget-clipping: task duration 434ms 493ms +14% ⚠️ z=6.3
subgraph-idle: task duration 397ms 476ms +20% ⚠️ z=3.4
subgraph-mouse-sweep: task duration 854ms 1125ms +32% ⚠️ z=5.2
subgraph-mouse-sweep: script duration 86ms 117ms +35% ⚠️ z=2.4
workflow-execution: event listeners 25 73 +192% ⚠️ z=4.8
All metrics
Metric Baseline PR (median) Δ Sig
canvas-idle: avg frame time 17ms 17ms +0% z=-0.5
canvas-idle: p95 frame time 17ms 17ms -0% —
canvas-idle: layout duration 0ms 0ms +0% —
canvas-idle: style recalc duration 6ms 7ms +23% z=-3.8
canvas-idle: layout count 0 0 +0% —
canvas-idle: style recalc count 9 9 -6% z=-4.7
canvas-idle: task duration 397ms 508ms +28% ⚠️ z=3.6
canvas-idle: script duration 7ms 9ms +19% z=-7.4
canvas-idle: TBT 0ms 0ms +0% —
canvas-idle: heap used 78.1 MB 53.8 MB -31% —
canvas-idle: DOM nodes -282 -281 -0% z=-238.0
canvas-idle: event listeners -155 -155 +0% z=-35.2
canvas-mouse-sweep: avg frame time 17ms 17ms -0% z=-0.9
canvas-mouse-sweep: p95 frame time 17ms 17ms +0% —
canvas-mouse-sweep: layout duration 3ms 3ms +2% z=-1.1
canvas-mouse-sweep: style recalc duration 37ms 41ms +11% z=-0.4
canvas-mouse-sweep: layout count 12 12 +0% —
canvas-mouse-sweep: style recalc count 78 80 +3% z=0.6
canvas-mouse-sweep: task duration 962ms 1263ms +31% ⚠️ z=6.8
canvas-mouse-sweep: script duration 118ms 159ms +34% ⚠️ z=3.6
canvas-mouse-sweep: TBT 0ms 0ms +0% —
canvas-mouse-sweep: heap used 62.9 MB 72.4 MB +15% —
canvas-mouse-sweep: DOM nodes -280 -280 -0% z=-132.2
canvas-mouse-sweep: event listeners -185 -155 -16% z=-39.2
canvas-zoom-sweep: avg frame time 17ms 17ms -0% z=-0.3
canvas-zoom-sweep: p95 frame time 17ms 17ms +0% —
canvas-zoom-sweep: layout duration 1ms 1ms +23% z=-0.0
canvas-zoom-sweep: style recalc duration 15ms 17ms +16% z=-1.5
canvas-zoom-sweep: layout count 6 6 +0% —
canvas-zoom-sweep: style recalc count 31 32 +3% z=1.6
canvas-zoom-sweep: task duration 303ms 365ms +20% z=1.6
canvas-zoom-sweep: script duration 10ms 11ms +3% z=-5.5
canvas-zoom-sweep: TBT 0ms 0ms +0% —
canvas-zoom-sweep: heap used 72.8 MB 72.9 MB +0% —
canvas-zoom-sweep: DOM nodes 76 77 +1% z=-2.8
canvas-zoom-sweep: event listeners 19 20 +5% z=-0.7
dom-widget-clipping: avg frame time 17ms 17ms -0% z=-0.2
dom-widget-clipping: p95 frame time 17ms 17ms +0% —
dom-widget-clipping: layout duration 0ms 0ms +0% —
dom-widget-clipping: style recalc duration 6ms 7ms +8% z=-3.8
dom-widget-clipping: layout count 0 0 +0% —
dom-widget-clipping: style recalc count 14 12 -14% z=-2.2
dom-widget-clipping: task duration 541ms 670ms +24% ⚠️ z=18.6
dom-widget-clipping: script duration 112ms 139ms +24% ⚠️ z=22.1
dom-widget-clipping: TBT 0ms 0ms +0% —
dom-widget-clipping: heap used 75.0 MB 73.6 MB -2% —
dom-widget-clipping: DOM nodes 20 16 -20% z=-4.3
dom-widget-clipping: event listeners 2 2 +0% variance too high
large-graph-idle: avg frame time 17ms 17ms -0% z=-1.0
large-graph-idle: p95 frame time 17ms 17ms -1% —
large-graph-idle: layout duration 0ms 0ms +0% —
large-graph-idle: style recalc duration 6ms 4ms -20% z=-7.5
large-graph-idle: layout count 0 0 +0% —
large-graph-idle: style recalc count 7 5 -36% z=-22.6
large-graph-idle: task duration 453ms 559ms +23% z=0.3
large-graph-idle: script duration 31ms 36ms +15% z=-6.3
large-graph-idle: TBT 0ms 0ms +0% —
large-graph-idle: heap used 72.4 MB 71.9 MB -1% —
large-graph-idle: DOM nodes -269 -276 +2% z=-332.1
large-graph-idle: event listeners -181 -169 -7% z=-32.0
large-graph-pan: avg frame time 17ms 17ms +0% z=0.3
large-graph-pan: p95 frame time 17ms 17ms -0% —
large-graph-pan: layout duration 0ms 0ms +0% —
large-graph-pan: style recalc duration 12ms 9ms -29% z=-11.0
large-graph-pan: layout count 0 0 +0% —
large-graph-pan: style recalc count 67 63 -6% z=-10.3
large-graph-pan: task duration 1968ms 2451ms +25% ⚠️ z=31.8
large-graph-pan: script duration 688ms 869ms +26% ⚠️ z=23.3
large-graph-pan: TBT 0ms 0ms +0% —
large-graph-pan: heap used 64.9 MB 76.2 MB +18% —
large-graph-pan: DOM nodes -281 -137 -51% z=-94.5
large-graph-pan: event listeners -179 -72 -60% z=-92.3
large-graph-zoom: avg frame time 17ms 17ms +0% —
large-graph-zoom: p95 frame time 17ms 17ms +0% —
large-graph-zoom: layout duration 7ms 7ms -3% —
large-graph-zoom: style recalc duration 11ms 13ms +13% —
large-graph-zoom: layout count 60 60 +0% —
large-graph-zoom: style recalc count 66 68 +2% —
large-graph-zoom: task duration 1951ms 2408ms +23% —
large-graph-zoom: script duration 669ms 812ms +21% —
large-graph-zoom: TBT 0ms 0ms +0% —
large-graph-zoom: heap used 63.7 MB 74.3 MB +17% —
large-graph-zoom: DOM nodes 24 -118 -592% —
large-graph-zoom: event listeners 10 -84 -935% —
legacy-node-drag: avg frame time 17ms 17ms -0% —
legacy-node-drag: p95 frame time 17ms 17ms -0% —
legacy-node-drag: layout duration 0ms 0ms +0% —
legacy-node-drag: style recalc duration 5ms 5ms +18% —
legacy-node-drag: layout count 0 0 +0% —
legacy-node-drag: style recalc count 40 41 +1% —
legacy-node-drag: task duration 2762ms 3508ms +27% —
legacy-node-drag: script duration 731ms 972ms +33% —
legacy-node-drag: TBT 0ms 0ms +0% —
legacy-node-drag: heap used 86.9 MB 82.5 MB -5% —
legacy-node-drag: DOM nodes 0 -142 — —
legacy-node-drag: event listeners 190 98 -49% —
minimap-idle: avg frame time 17ms 17ms -0% z=-0.4
minimap-idle: p95 frame time 17ms 17ms +0% —
minimap-idle: layout duration 0ms 0ms +0% —
minimap-idle: style recalc duration 4ms 5ms +13% z=-6.2
minimap-idle: layout count 0 0 +0% —
minimap-idle: style recalc count 5 3 -40% z=-9.6
minimap-idle: task duration 454ms 554ms +22% z=0.6
minimap-idle: script duration 32ms 36ms +15% z=-6.2
minimap-idle: TBT 0ms 0ms +0% —
minimap-idle: heap used 73.5 MB 72.7 MB -1% —
minimap-idle: DOM nodes -271 -277 +2% z=-216.5
minimap-idle: event listeners -181 -185 +2% z=-287.1
subgraph-dom-widget-clipping: avg frame time 17ms 17ms +0% z=0.1
subgraph-dom-widget-clipping: p95 frame time 17ms 17ms -1% —
subgraph-dom-widget-clipping: layout duration 0ms 0ms +0% —
subgraph-dom-widget-clipping: style recalc duration 9ms 10ms +7% z=-3.0
subgraph-dom-widget-clipping: layout count 0 0 +0% —
subgraph-dom-widget-clipping: style recalc count 46 46 +0% z=-3.3
subgraph-dom-widget-clipping: task duration 434ms 493ms +14% ⚠️ z=6.3
subgraph-dom-widget-clipping: script duration 117ms 136ms +17% z=1.3
subgraph-dom-widget-clipping: TBT 0ms 0ms +0% —
subgraph-dom-widget-clipping: heap used 61.5 MB 61.9 MB +1% —
subgraph-dom-widget-clipping: DOM nodes 18 18 +0% z=-3.7
subgraph-dom-widget-clipping: event listeners 8 7 -13% z=-1.6
subgraph-idle: avg frame time 17ms 17ms +0% z=0.9
subgraph-idle: p95 frame time 17ms 17ms +0% —
subgraph-idle: layout duration 0ms 0ms +0% —
subgraph-idle: style recalc duration 7ms 7ms -3% z=-4.7
subgraph-idle: layout count 0 0 +0% —
subgraph-idle: style recalc count 10 8 -20% z=-4.4
subgraph-idle: task duration 397ms 476ms +20% ⚠️ z=3.4
subgraph-idle: script duration 7ms 7ms +6% z=-4.9
subgraph-idle: TBT 0ms 0ms +0% —
subgraph-idle: heap used 58.4 MB 57.6 MB -1% —
subgraph-idle: DOM nodes -295 -299 +1% z=-214.3
subgraph-idle: event listeners -201 -201 +0% variance too high
subgraph-mouse-sweep: avg frame time 17ms 17ms -0% z=-0.1
subgraph-mouse-sweep: p95 frame time 17ms 17ms +0% —
subgraph-mouse-sweep: layout duration 4ms 5ms +16% z=-0.1
subgraph-mouse-sweep: style recalc duration 30ms 39ms +30% z=-1.1
subgraph-mouse-sweep: layout count 16 16 +0% —
subgraph-mouse-sweep: style recalc count 75 77 +2% z=-1.9
subgraph-mouse-sweep: task duration 854ms 1125ms +32% ⚠️ z=5.2
subgraph-mouse-sweep: script duration 86ms 117ms +35% ⚠️ z=2.4
subgraph-mouse-sweep: TBT 0ms 0ms +0% —
subgraph-mouse-sweep: heap used 64.7 MB 68.8 MB +6% —
subgraph-mouse-sweep: DOM nodes -294 -298 +1% z=-163.1
subgraph-mouse-sweep: event listeners -201 -216 +7% variance too high
subgraph-transition-enter: avg frame time 17ms 17ms -0% —
subgraph-transition-enter: p95 frame time 17ms 17ms -1% —
subgraph-transition-enter: layout duration 11ms 15ms +33% —
subgraph-transition-enter: style recalc duration 25ms 31ms +25% —
subgraph-transition-enter: layout count 14 14 +0% —
subgraph-transition-enter: style recalc count 19 19 +0% —
subgraph-transition-enter: task duration 723ms 928ms +28% —
subgraph-transition-enter: script duration 23ms 30ms +32% —
subgraph-transition-enter: TBT 88ms 137ms +56% —
subgraph-transition-enter: heap used 85.2 MB 81.2 MB -5% —
subgraph-transition-enter: DOM nodes 13671 13671 +0% —
subgraph-transition-enter: event listeners 2381 2381 +0% —
viewport-pan-sweep: avg frame time 17ms 17ms +0% —
viewport-pan-sweep: p95 frame time 17ms 17ms +1% —
viewport-pan-sweep: layout duration 0ms 0ms +0% —
viewport-pan-sweep: style recalc duration 35ms 33ms -7% —
viewport-pan-sweep: layout count 0 0 +0% —
viewport-pan-sweep: style recalc count 248 245 -1% —
viewport-pan-sweep: task duration 6767ms 8497ms +26% —
viewport-pan-sweep: script duration 2356ms 2947ms +25% —
viewport-pan-sweep: TBT 4ms 0ms -100% —
viewport-pan-sweep: heap used 79.6 MB 77.2 MB -3% —
viewport-pan-sweep: DOM nodes -274 -272 -1% —
viewport-pan-sweep: event listeners -157 -129 -18% —
vue-large-graph-idle: avg frame time 18ms 18ms +0% —
vue-large-graph-idle: p95 frame time 17ms 17ms +1% —
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 15008ms 16620ms +11% —
vue-large-graph-idle: script duration 269ms 327ms +22% —
vue-large-graph-idle: TBT 0ms 0ms +0% —
vue-large-graph-idle: heap used 170.0 MB 168.7 MB -1% —
vue-large-graph-idle: DOM nodes -6548 -6548 +0% —
vue-large-graph-idle: event listeners -7475 -7473 -0% —
vue-large-graph-pan: avg frame time 18ms 18ms +0% —
vue-large-graph-pan: p95 frame time 17ms 17ms +1% —
vue-large-graph-pan: layout duration 0ms 0ms +0% —
vue-large-graph-pan: style recalc duration 16ms 18ms +14% —
vue-large-graph-pan: layout count 0 0 +0% —
vue-large-graph-pan: style recalc count 136 171 +25% —
vue-large-graph-pan: task duration 17624ms 20724ms +18% —
vue-large-graph-pan: script duration 760ms 934ms +23% —
vue-large-graph-pan: TBT 13ms 60ms +358% —
vue-large-graph-pan: heap used 164.8 MB 167.1 MB +1% —
vue-large-graph-pan: DOM nodes -6548 -6548 +0% —
vue-large-graph-pan: event listeners -7471 -7469 -0% —
workflow-execution: avg frame time 17ms 17ms +0% z=0.6
workflow-execution: p95 frame time 17ms 17ms +0% —
workflow-execution: layout duration 1ms 1ms -16% z=-5.1
workflow-execution: style recalc duration 11ms 21ms +85% z=-1.4
workflow-execution: layout count 3 3 +0% z=-3.6
workflow-execution: style recalc count 8 12 +50% z=-2.8
workflow-execution: task duration 78ms 121ms +55% z=-0.1
workflow-execution: script duration 4ms 7ms +79% z=-7.4
workflow-execution: TBT 0ms 0ms +0% —
workflow-execution: heap used 68.3 MB 69.3 MB +1% —
workflow-execution: DOM nodes 127 116 -9% z=-6.4
workflow-execution: event listeners 25 73 +192% ⚠️ z=4.8
Historical variance (last 15 runs)
Metric μ σ CV
canvas-idle: avg frame time 17ms 0ms 0.0%
canvas-idle: layout duration 0ms 0ms 0.0%
canvas-idle: style recalc duration 11ms 1ms 8.2%
canvas-idle: layout count 0 0 0.0%
canvas-idle: style recalc count 11 1 5.0%
canvas-idle: task duration 395ms 31ms 7.9%
canvas-idle: script duration 25ms 2ms 8.8%
canvas-idle: TBT 0ms 0ms 0.0%
canvas-idle: DOM nodes 23 1 5.6%
canvas-idle: event listeners 12 5 40.9%
canvas-mouse-sweep: avg frame time 17ms 0ms 0.0%
canvas-mouse-sweep: layout duration 4ms 0ms 5.4%
canvas-mouse-sweep: style recalc duration 43ms 3ms 7.4%
canvas-mouse-sweep: layout count 12 0 0.0%
canvas-mouse-sweep: style recalc count 79 2 3.0%
canvas-mouse-sweep: task duration 865ms 58ms 6.7%
canvas-mouse-sweep: script duration 136ms 6ms 4.8%
canvas-mouse-sweep: TBT 0ms 0ms 0.0%
canvas-mouse-sweep: DOM nodes 62 3 4.2%
canvas-mouse-sweep: event listeners 8 4 49.4%
canvas-zoom-sweep: avg frame time 17ms 0ms 0.0%
canvas-zoom-sweep: layout duration 1ms 0ms 7.0%
canvas-zoom-sweep: style recalc duration 19ms 2ms 8.0%
canvas-zoom-sweep: layout count 6 0 0.0%
canvas-zoom-sweep: style recalc count 31 0 1.5%
canvas-zoom-sweep: task duration 327ms 23ms 7.1%
canvas-zoom-sweep: script duration 27ms 3ms 11.1%
canvas-zoom-sweep: TBT 0ms 0ms 0.0%
canvas-zoom-sweep: DOM nodes 79 1 1.0%
canvas-zoom-sweep: event listeners 24 5 21.8%
dom-widget-clipping: avg frame time 17ms 0ms 0.0%
dom-widget-clipping: layout duration 0ms 0ms 0.0%
dom-widget-clipping: style recalc duration 10ms 1ms 8.0%
dom-widget-clipping: layout count 0 0 0.0%
dom-widget-clipping: style recalc count 13 0 3.8%
dom-widget-clipping: task duration 365ms 16ms 4.5%
dom-widget-clipping: script duration 68ms 3ms 4.8%
dom-widget-clipping: TBT 0ms 0ms 0.0%
dom-widget-clipping: DOM nodes 22 1 6.4%
dom-widget-clipping: event listeners 8 6 81.2%
large-graph-idle: avg frame time 17ms 0ms 0.0%
large-graph-idle: layout duration 0ms 0ms 0.0%
large-graph-idle: style recalc duration 12ms 1ms 8.6%
large-graph-idle: layout count 0 0 0.0%
large-graph-idle: style recalc count 12 0 2.7%
large-graph-idle: task duration 542ms 54ms 10.0%
large-graph-idle: script duration 102ms 11ms 10.3%
large-graph-idle: TBT 0ms 0ms 0.0%
large-graph-idle: DOM nodes 25 1 3.7%
large-graph-idle: event listeners 26 6 23.2%
large-graph-pan: avg frame time 17ms 0ms 0.0%
large-graph-pan: layout duration 0ms 0ms 0.0%
large-graph-pan: style recalc duration 17ms 1ms 4.6%
large-graph-pan: layout count 0 0 0.0%
large-graph-pan: style recalc count 70 1 0.9%
large-graph-pan: task duration 1082ms 43ms 4.0%
large-graph-pan: script duration 408ms 20ms 4.8%
large-graph-pan: TBT 0ms 0ms 0.0%
large-graph-pan: DOM nodes 19 2 8.7%
large-graph-pan: event listeners 5 1 16.8%
minimap-idle: avg frame time 17ms 0ms 0.0%
minimap-idle: layout duration 0ms 0ms 0.0%
minimap-idle: style recalc duration 10ms 1ms 8.6%
minimap-idle: layout count 0 0 0.0%
minimap-idle: style recalc count 10 1 7.1%
minimap-idle: task duration 527ms 47ms 9.0%
minimap-idle: script duration 98ms 10ms 10.1%
minimap-idle: TBT 0ms 0ms 0.0%
minimap-idle: DOM nodes 19 1 7.1%
minimap-idle: event listeners 5 1 14.4%
subgraph-dom-widget-clipping: avg frame time 17ms 0ms 0.0%
subgraph-dom-widget-clipping: layout duration 0ms 0ms 0.0%
subgraph-dom-widget-clipping: style recalc duration 13ms 1ms 7.4%
subgraph-dom-widget-clipping: layout count 0 0 0.0%
subgraph-dom-widget-clipping: style recalc count 48 1 1.2%
subgraph-dom-widget-clipping: task duration 378ms 18ms 4.9%
subgraph-dom-widget-clipping: script duration 128ms 6ms 4.9%
subgraph-dom-widget-clipping: TBT 0ms 0ms 0.0%
subgraph-dom-widget-clipping: DOM nodes 22 1 5.0%
subgraph-dom-widget-clipping: event listeners 16 6 36.0%
subgraph-idle: avg frame time 17ms 0ms 0.0%
subgraph-idle: layout duration 0ms 0ms 0.0%
subgraph-idle: style recalc duration 10ms 1ms 7.5%
subgraph-idle: layout count 0 0 0.0%
subgraph-idle: style recalc count 11 1 6.0%
subgraph-idle: task duration 370ms 31ms 8.5%
subgraph-idle: script duration 20ms 3ms 13.2%
subgraph-idle: TBT 0ms 0ms 0.0%
subgraph-idle: DOM nodes 22 1 6.9%
subgraph-idle: event listeners 10 7 64.5%
subgraph-mouse-sweep: avg frame time 17ms 0ms 0.0%
subgraph-mouse-sweep: layout duration 5ms 0ms 6.8%
subgraph-mouse-sweep: style recalc duration 42ms 3ms 7.8%
subgraph-mouse-sweep: layout count 16 0 0.0%
subgraph-mouse-sweep: style recalc count 80 2 2.4%
subgraph-mouse-sweep: task duration 766ms 69ms 9.0%
subgraph-mouse-sweep: script duration 101ms 7ms 6.5%
subgraph-mouse-sweep: TBT 0ms 0ms 0.0%
subgraph-mouse-sweep: DOM nodes 67 2 3.3%
subgraph-mouse-sweep: event listeners 8 4 52.6%
workflow-execution: avg frame time 17ms 0ms 0.0%
workflow-execution: layout duration 2ms 0ms 9.4%
workflow-execution: style recalc duration 24ms 2ms 9.1%
workflow-execution: layout count 5 1 11.0%
workflow-execution: style recalc count 18 2 11.5%
workflow-execution: task duration 123ms 11ms 8.8%
workflow-execution: script duration 29ms 3ms 10.2%
workflow-execution: TBT 0ms 0ms 0.0%
workflow-execution: DOM nodes 161 7 4.4%
workflow-execution: event listeners 52 4 8.4%
Trend (last 15 commits on main)
Metric Trend Dir Latest
canvas-idle: avg frame time ▆▃▆▁▆▃▆█▆▆▄▃▃▄▃ ➡️ 17ms
canvas-idle: p95 frame time ➡️ NaNms
canvas-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: style recalc duration ▇▇▆▆▃█▄▃▄▃▇▄▁▆▇ ➡️ 11ms
canvas-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
canvas-idle: style recalc count █▃▅▂▅▆▃▁▂▁▂▅▆▅▆ ➡️ 12
canvas-idle: task duration ▃▃▃▆▂▃▃▅▆▂█▃▁▃▃ ➡️ 391ms
canvas-idle: script duration ▄▃▅▇▂▅▃▆▇▅█▄▁▅▆ ➡️ 27ms
canvas-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: heap used ➡️ NaN MB
canvas-idle: DOM nodes █▇▆▅▃▇▃▁▂▂▅▆▆▆▇ ➡️ 24
canvas-idle: event listeners ▅█▅▄▁▅▁▁▁▄▅▅▁▅▄ 📉 11
canvas-mouse-sweep: avg frame time ▆█▆▃▁▃▁▆▆▁▃▆▆▃▃ ➡️ 17ms
canvas-mouse-sweep: p95 frame time ➡️ NaNms
canvas-mouse-sweep: layout duration ▁▃▂▄▁▂▁▃▆▂█▇▆▄▃ ➡️ 4ms
canvas-mouse-sweep: style recalc duration ▄▄▂▄▁▂▃▃▅▄█▆▂▄▄ ➡️ 43ms
canvas-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 12
canvas-mouse-sweep: style recalc count █▅▄▃▂▂▁▄▄▅▆▅▂▇▄ ➡️ 79
canvas-mouse-sweep: task duration █▆▄▂▂▃▂▄▄▅█▆▁▆▄ ➡️ 868ms
canvas-mouse-sweep: script duration ▄▅▄▆▄▆▆▆▅▅█▆▁▅▆ ➡️ 139ms
canvas-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-mouse-sweep: heap used ➡️ NaN MB
canvas-mouse-sweep: DOM nodes █▅▃▃▁▂▂▃▂▄▆▅▃▅▅ ➡️ 64
canvas-mouse-sweep: event listeners █▁▁▁▁▁▇▁▁▁██▇▁█ 📈 13
canvas-zoom-sweep: avg frame time ▅▅█▄▅▁▁▁▅▁▁▅▄▅▁ ➡️ 17ms
canvas-zoom-sweep: p95 frame time ➡️ NaNms
canvas-zoom-sweep: layout duration ▆▅▅▄▁▁█▅▃▅▇▆▁▂▆ ➡️ 1ms
canvas-zoom-sweep: style recalc duration ▆▅▄▆▅▃█▆▇▅▇▄▁▃▅ ➡️ 20ms
canvas-zoom-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
canvas-zoom-sweep: style recalc count ▁▁▃▄▆▃▆█▄▄▆▁▆▁▆ ➡️ 32
canvas-zoom-sweep: task duration ▄▂▁▇▂▂▄▅▆▃█▄▁▁▅ ➡️ 338ms
canvas-zoom-sweep: script duration ▃▃▂▇▂▂▅▇▆▅█▄▁▂▆ ➡️ 30ms
canvas-zoom-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-zoom-sweep: heap used ➡️ NaN MB
canvas-zoom-sweep: DOM nodes ▄▃▁▅█▁▃▆▄▅▅▃▃▄▃ ➡️ 79
canvas-zoom-sweep: event listeners ▁▁▂▅█▂▁▅▁▅▅▄▁▅▁ ➡️ 19
dom-widget-clipping: avg frame time ▂▄▅▅▂▄█▇▅▇▇▅▅▁▇ ➡️ 17ms
dom-widget-clipping: p95 frame time ➡️ NaNms
dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: style recalc duration ▆▆▂▆▄▃██▄▁▆▇▆▃▅ ➡️ 10ms
dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-clipping: style recalc count ▇█▅█▅▄█▇▇▁▇▄▇▂▅ ➡️ 13
dom-widget-clipping: task duration ▃▃▁▅▄▃▅▆▅▂▇█▁▅▅ ➡️ 371ms
dom-widget-clipping: script duration ▅▄▄▆▆▅▇▇▆▃█▇▁▇▇ ➡️ 71ms
dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: heap used ➡️ NaN MB
dom-widget-clipping: DOM nodes ▇▇▄▇▅▄█▇▅▁▅▄▇▃▄ ➡️ 21
dom-widget-clipping: event listeners ▅▅▅▅▁▅██▁▁▁▁█▁▁ 📉 2
large-graph-idle: avg frame time ▅▅▅▅▅▂▁▂▄▅▄▂▂▅█ ➡️ 17ms
large-graph-idle: p95 frame time ➡️ NaNms
large-graph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: style recalc duration ▅▅▅▆▄▅▃▄▅▅▆█▁▄▆ ➡️ 13ms
large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-idle: style recalc count █▆█▃▃▁▃▆▃▆▆▃▆██ ➡️ 12
large-graph-idle: task duration ▂▃▂▆▂▃▃▇▅▃██▁▂▅ ➡️ 569ms
large-graph-idle: script duration ▄▅▄▆▄▅▅▇▆▅█▆▁▃▆ ➡️ 110ms
large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: heap used ➡️ NaN MB
large-graph-idle: DOM nodes ▆█▅▂▅▃▁▂▃▅▅▆▂▆▅ ➡️ 25
large-graph-idle: event listeners ███▇██▄▁▄▇▇█▂█▇ ➡️ 29
large-graph-pan: avg frame time ▆▃▃▆█▃▁█▆▆▆▆█▁▆ ➡️ 17ms
large-graph-pan: p95 frame time ➡️ NaNms
large-graph-pan: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: style recalc duration ▃▂▄▄▁▅▂▂▁▄▄█▃▁▂ ➡️ 17ms
large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-pan: style recalc count ▆▃█▂▃▂▂▂▁▇▅▃█▆▃ ➡️ 69
large-graph-pan: task duration ▄▃▄▆▄▄▄▆▄▄█▆▁▂▅ ➡️ 1100ms
large-graph-pan: script duration ▅▄▅▆▆▅▄▆▄▅█▄▁▄▅ ➡️ 413ms
large-graph-pan: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: heap used ➡️ NaN MB
large-graph-pan: DOM nodes ▅▃▆▂▄▁▃▁▁▅▁▂█▅▂ ➡️ 18
large-graph-pan: event listeners █▆█▁▁▆▁▁▃▆▁▃██▃ ➡️ 5
minimap-idle: avg frame time ▃▆▆▃█▁█▆▆▃▃▆█▆█ ➡️ 17ms
minimap-idle: p95 frame time ➡️ NaNms
minimap-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: style recalc duration ▄█▁█▅▅█▅▅▃▅▁▁▄▆ ➡️ 10ms
minimap-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
minimap-idle: style recalc count ▃▅▂▄█▃▆▁▂▅▂▁▅▆▃ ➡️ 9
minimap-idle: task duration ▃▄▁▅▁▃▄▅▇▃█▅▁▁▅ ➡️ 547ms
minimap-idle: script duration ▄▆▃▇▃▅▆▆▇▅█▅▁▃▆ ➡️ 106ms
minimap-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: heap used ➡️ NaN MB
minimap-idle: DOM nodes ▃▅▂▄█▃▆▁▂▅▂▁▅▆▃ ➡️ 19
minimap-idle: event listeners ▃▃▆▁▁▁▃▁▁▆▁▃█▆▁ ➡️ 4
subgraph-dom-widget-clipping: avg frame time ▅▄▄▄▄▄█▄▄▄▃▁▆▃▃ ➡️ 17ms
subgraph-dom-widget-clipping: p95 frame time ➡️ NaNms
subgraph-dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: style recalc duration ▂▄▃▅▅▃▂▅▇▃▄█▁▄▆ ➡️ 14ms
subgraph-dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-dom-widget-clipping: style recalc count ▇█▆▃▆▃▁▆█▇▃▆▇█▅ ➡️ 48
subgraph-dom-widget-clipping: task duration ▂▃▃▆▅▅▂▅█▂▆█▁▂▇ ➡️ 398ms
subgraph-dom-widget-clipping: script duration ▃▃▃▄▅▅▂▄█▂▅▇▁▂▅ ➡️ 131ms
subgraph-dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: heap used ➡️ NaN MB
subgraph-dom-widget-clipping: DOM nodes ▅▇▅▂▅▂▁▅▅▅▁▇▅█▄ ➡️ 22
subgraph-dom-widget-clipping: event listeners ▅▅▅▂▅▁▅██▁▁█▅█▅ 📈 16
subgraph-idle: avg frame time ▆▆█▁▆▃▆▆▆▃▆▁▃▆█ ➡️ 17ms
subgraph-idle: p95 frame time ➡️ NaNms
subgraph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: style recalc duration ▁▇▃▆▂▄▂▃▃▆▆▄▃▇█ ➡️ 12ms
subgraph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-idle: style recalc count ▃▆▃▃▂▅▁▂▁▆▃▃██▇ ➡️ 12
subgraph-idle: task duration ▁▃▁▇▁▁▃▆▅▂█▅▁▁▄ ➡️ 378ms
subgraph-idle: script duration ▁▃▂▇▁▂▃▇▆▂█▅▂▁▅ ➡️ 22ms
subgraph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: heap used ➡️ NaN MB
subgraph-idle: DOM nodes ▃▅▃▂▁▄▁▂▁▅▃▂▇█▇ ➡️ 24
subgraph-idle: event listeners ▁▅▁▁▁▁▁▁▁▅▄▁███ 📈 21
subgraph-mouse-sweep: avg frame time ▅▄▁▃▃▄▆▄▆▃▃█▁▃▃ ➡️ 17ms
subgraph-mouse-sweep: p95 frame time ➡️ NaNms
subgraph-mouse-sweep: layout duration ▁▄▄▄▃▃▅▅▅▂█▇▂▃▆ ➡️ 5ms
subgraph-mouse-sweep: style recalc duration ▃▂▄▅▂▃▄▅█▃█▆▁▂▅ ➡️ 43ms
subgraph-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 16
subgraph-mouse-sweep: style recalc count ▅▂▅▅▁▄▃▅█▅▆▄▂▄▅ ➡️ 81
subgraph-mouse-sweep: task duration ▃▂▄▅▂▄▄▅▇▄█▆▁▃▅ ➡️ 785ms
subgraph-mouse-sweep: script duration ▄▅▄▇▅▅▆▇▆▅██▁▄▆ ➡️ 105ms
subgraph-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-mouse-sweep: heap used ➡️ NaN MB
subgraph-mouse-sweep: DOM nodes ▅▁▄▅▁▄▃▃█▅▅▄▂▅▃ ➡️ 66
subgraph-mouse-sweep: event listeners ▇▁▂▇▁▂▂▂█▇▂▂▇▇▂ 📈 5
workflow-execution: avg frame time ▆▆▆▄▆▆▃▄▁▄█▆▅▄▆ ➡️ 17ms
workflow-execution: p95 frame time ➡️ NaNms
workflow-execution: layout duration ▁▆▁▃▂▄▃▂▃▃▅█▄▂▅ ➡️ 2ms
workflow-execution: style recalc duration ▃▇▅▇▁▅▆▇█▁██▂▄▆ ➡️ 25ms
workflow-execution: layout count ▁█▂▃▂▃▃▁▃▃▄▃▂▃▂ ➡️ 5
workflow-execution: style recalc count ▃█▅▇▁▄▅▆▅▅▅▅▄▄▂ ➡️ 15
workflow-execution: task duration ▂▅▄▅▁▄▆▆▆▁▇█▁▃▃ ➡️ 120ms
workflow-execution: script duration ▄▃▄▄▃▅▄▅▆▂▇█▁▃▄ ➡️ 29ms
workflow-execution: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
workflow-execution: heap used ➡️ NaN MB
workflow-execution: DOM nodes ▂█▃▆▁▄▃▅▃█▃▃▄▃▁ ➡️ 152
workflow-execution: event listeners ▅███▁▅███▁██▅█▅ ➡️ 49
Raw data
{
  "timestamp": "2026-08-26T01:30:52.030Z",
  "gitSha": "163cd4f1c4096d171a8ea208191020e17c17313f",
  "branch": "wei/be-8841-remaining-billing-capabilities",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2050.175999999965,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.821999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 489.46500000000003,
      "heapDeltaBytes": -15213100,
      "heapUsedBytes": 56160368,
      "domNodes": -281,
      "jsHeapTotalBytes": 4710400,
      "scriptDurationMs": 8.099000000000002,
      "eventListeners": -155,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-idle",
      "durationMs": 2031.4610000000357,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 7.041,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 525.937,
      "heapDeltaBytes": -15011468,
      "heapUsedBytes": 56761632,
      "domNodes": -281,
      "jsHeapTotalBytes": 4186112,
      "scriptDurationMs": 9.363999999999997,
      "eventListeners": -155,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 2330.8289999999943,
      "styleRecalcs": 82,
      "styleRecalcDurationMs": 44.707,
      "layouts": 12,
      "layoutDurationMs": 3.628,
      "taskDurationMs": 1359.223,
      "heapDeltaBytes": 4129548,
      "heapUsedBytes": 76398320,
      "domNodes": -277,
      "jsHeapTotalBytes": 6021120,
      "scriptDurationMs": 173.988,
      "eventListeners": -155,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 2118.588999999929,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 38.243,
      "layouts": 12,
      "layoutDurationMs": 3.152,
      "taskDurationMs": 1165.9959999999999,
      "heapDeltaBytes": 3593908,
      "heapUsedBytes": 75413092,
      "domNodes": -282,
      "jsHeapTotalBytes": 6021120,
      "scriptDurationMs": 144.26799999999997,
      "eventListeners": -155,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1721.2339999999813,
      "styleRecalcs": 32,
      "styleRecalcDurationMs": 17.253999999999998,
      "layouts": 6,
      "layoutDurationMs": 0.686,
      "taskDurationMs": 358.815,
      "heapDeltaBytes": 4523624,
      "heapUsedBytes": 76471548,
      "domNodes": 77,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 10.861000000000002,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1756.2940000000253,
      "styleRecalcs": 32,
      "styleRecalcDurationMs": 16.528000000000002,
      "layouts": 6,
      "layoutDurationMs": 0.597,
      "taskDurationMs": 370.603,
      "heapDeltaBytes": 4212780,
      "heapUsedBytes": 76451628,
      "domNodes": 77,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 10.627,
      "eventListeners": 21,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 908.9390000000321,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 6.3519999999999985,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 669.793,
      "heapDeltaBytes": 6756180,
      "heapUsedBytes": 78593284,
      "domNodes": 16,
      "jsHeapTotalBytes": 7340032,
      "scriptDurationMs": 139.714,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 957.1569999999383,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 7.443999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 669.654,
      "heapDeltaBytes": 5524652,
      "heapUsedBytes": 75741184,
      "domNodes": 16,
      "jsHeapTotalBytes": 6553600,
      "scriptDurationMs": 139.201,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2072.025999999994,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 5.264000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 578.7280000000001,
      "heapDeltaBytes": -5456904,
      "heapUsedBytes": 73702520,
      "domNodes": -278,
      "jsHeapTotalBytes": -569344,
      "scriptDurationMs": 35.387,
      "eventListeners": -185,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2041.5419999999358,
      "styleRecalcs": 4,
      "styleRecalcDurationMs": 3.5549999999999993,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 538.9019999999999,
      "heapDeltaBytes": -2292456,
      "heapUsedBytes": 77030432,
      "domNodes": -273,
      "jsHeapTotalBytes": -1355776,
      "scriptDurationMs": 36.67600000000001,
      "eventListeners": -153,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 3230.122999999992,
      "styleRecalcs": 64,
      "styleRecalcDurationMs": 8.729999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 2449.495,
      "heapDeltaBytes": 14546676,
      "heapUsedBytes": 94175876,
      "domNodes": -274,
      "jsHeapTotalBytes": 3063808,
      "scriptDurationMs": 868.8050000000001,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 3218.369999999936,
      "styleRecalcs": 62,
      "styleRecalcDurationMs": 8.321000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 2451.805,
      "heapDeltaBytes": 79664,
      "heapUsedBytes": 65699488,
      "domNodes": 0,
      "jsHeapTotalBytes": 2883584,
      "scriptDurationMs": 869.634,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 4211.516999999958,
      "styleRecalcs": 66,
      "styleRecalcDurationMs": 10.925,
      "layouts": 60,
      "layoutDurationMs": 6.990999999999999,
      "taskDurationMs": 2341.138,
      "heapDeltaBytes": -2501740,
      "heapUsedBytes": 67491216,
      "domNodes": 24,
      "jsHeapTotalBytes": 2883584,
      "scriptDurationMs": 804.573,
      "eventListeners": 12,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 4355.952000000002,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 14.231,
      "layouts": 60,
      "layoutDurationMs": 7.330000000000001,
      "taskDurationMs": 2473.964,
      "heapDeltaBytes": 3432980,
      "heapUsedBytes": 88422608,
      "domNodes": -260,
      "jsHeapTotalBytes": 1003520,
      "scriptDurationMs": 818.485,
      "eventListeners": -179,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 4762.62399999996,
      "styleRecalcs": 41,
      "styleRecalcDurationMs": 6.593000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3519.9179999999997,
      "heapDeltaBytes": -4528504,
      "heapUsedBytes": 81374196,
      "domNodes": -284,
      "jsHeapTotalBytes": 372736,
      "scriptDurationMs": 968.58,
      "eventListeners": 3,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 4772.918000000004,
      "styleRecalcs": 40,
      "styleRecalcDurationMs": 4.076,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3495.934,
      "heapDeltaBytes": 23729640,
      "heapUsedBytes": 91552908,
      "domNodes": 0,
      "jsHeapTotalBytes": 2514944,
      "scriptDurationMs": 976.0900000000001,
      "eventListeners": 192,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "minimap-idle",
      "durationMs": 2096.1919999999736,
      "styleRecalcs": 3,
      "styleRecalcDurationMs": 5.966999999999997,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 585.119,
      "heapDeltaBytes": -6335056,
      "heapUsedBytes": 74655688,
      "domNodes": -281,
      "jsHeapTotalBytes": -1617920,
      "scriptDurationMs": 36.01100000000001,
      "eventListeners": -185,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2030.6830000000673,
      "styleRecalcs": 3,
      "styleRecalcDurationMs": 3.047000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 523.3580000000001,
      "heapDeltaBytes": -3441848,
      "heapUsedBytes": 77747640,
      "domNodes": -273,
      "jsHeapTotalBytes": -1880064,
      "scriptDurationMs": 36.73700000000001,
      "eventListeners": -185,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 666.9280000000413,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 10.016,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 482.324,
      "heapDeltaBytes": -7709368,
      "heapUsedBytes": 64838304,
      "domNodes": 18,
      "jsHeapTotalBytes": 5505024,
      "scriptDurationMs": 139.34199999999998,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 693.0399999999963,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 9.680000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 504.6330000000001,
      "heapDeltaBytes": -7576916,
      "heapUsedBytes": 65068196,
      "domNodes": 18,
      "jsHeapTotalBytes": 6815744,
      "scriptDurationMs": 133.322,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2030.2449999999794,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 7.009999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 481.143,
      "heapDeltaBytes": -12493684,
      "heapUsedBytes": 59924124,
      "domNodes": -298,
      "jsHeapTotalBytes": 4710400,
      "scriptDurationMs": 6.946000000000001,
      "eventListeners": -201,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66999999999998,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2020.962999999938,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.454999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 471.6360000000001,
      "heapDeltaBytes": -11808748,
      "heapUsedBytes": 60883252,
      "domNodes": -299,
      "jsHeapTotalBytes": 4186112,
      "scriptDurationMs": 7.5169999999999995,
      "eventListeners": -201,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1899.5530000000258,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 40.306999999999995,
      "layouts": 16,
      "layoutDurationMs": 4.781000000000001,
      "taskDurationMs": 1149.1070000000002,
      "heapDeltaBytes": -7075632,
      "heapUsedBytes": 64594344,
      "domNodes": -297,
      "jsHeapTotalBytes": 5758976,
      "scriptDurationMs": 120.136,
      "eventListeners": -201,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1856.4750000000458,
      "styleRecalcs": 76,
      "styleRecalcDurationMs": 37.093,
      "layouts": 16,
      "layoutDurationMs": 4.567,
      "taskDurationMs": 1101.325,
      "heapDeltaBytes": 6639904,
      "heapUsedBytes": 79659532,
      "domNodes": -298,
      "jsHeapTotalBytes": 6021120,
      "scriptDurationMs": 113.13199999999999,
      "eventListeners": -231,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 1383.9689999999791,
      "styleRecalcs": 19,
      "styleRecalcDurationMs": 31.495999999999995,
      "layouts": 14,
      "layoutDurationMs": 14.508000000000001,
      "taskDurationMs": 927.7489999999999,
      "heapDeltaBytes": -9404644,
      "heapUsedBytes": 85170004,
      "domNodes": 13671,
      "jsHeapTotalBytes": 10223616,
      "scriptDurationMs": 30.399000000000008,
      "eventListeners": 2381,
      "totalBlockingTimeMs": 137,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 12206.619000000046,
      "styleRecalcs": 244,
      "styleRecalcDurationMs": 32.57500000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 8516.062,
      "heapDeltaBytes": -11797660,
      "heapUsedBytes": 67149088,
      "domNodes": -273,
      "jsHeapTotalBytes": 1527808,
      "scriptDurationMs": 2951.633,
      "eventListeners": -129,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 12310.588999999936,
      "styleRecalcs": 246,
      "styleRecalcDurationMs": 33.125,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 8477.108000000002,
      "heapDeltaBytes": 15699064,
      "heapUsedBytes": 94791116,
      "domNodes": -270,
      "jsHeapTotalBytes": 2768896,
      "scriptDurationMs": 2941.6479999999997,
      "eventListeners": -129,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333338,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 17134.463999999978,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 16624.981,
      "heapDeltaBytes": -30143116,
      "heapUsedBytes": 176457364,
      "domNodes": -6548,
      "jsHeapTotalBytes": -262144,
      "scriptDurationMs": 340.072,
      "eventListeners": -7475,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 17080.483000000073,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 16614.545,
      "heapDeltaBytes": -29205096,
      "heapUsedBytes": 177295788,
      "domNodes": -6548,
      "jsHeapTotalBytes": 2387968,
      "scriptDurationMs": 314.0040000000001,
      "eventListeners": -7471,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 21210.487,
      "styleRecalcs": 173,
      "styleRecalcDurationMs": 18.307000000000016,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 20847.61,
      "heapDeltaBytes": -55215908,
      "heapUsedBytes": 169923276,
      "domNodes": -6548,
      "jsHeapTotalBytes": -5267456,
      "scriptDurationMs": 944.54,
      "eventListeners": -7469,
      "totalBlockingTimeMs": 94,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 20977.39899999999,
      "styleRecalcs": 168,
      "styleRecalcDurationMs": 17.591999999999995,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 20599.641000000003,
      "heapDeltaBytes": -26228836,
      "heapUsedBytes": 180484480,
      "domNodes": -6548,
      "jsHeapTotalBytes": 28672,
      "scriptDurationMs": 924.1550000000001,
      "eventListeners": -7469,
      "totalBlockingTimeMs": 25,
      "frameDurationMs": 17.779999999999927,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "workflow-execution",
      "durationMs": 137.16199999998935,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 17.743000000000002,
      "layouts": 3,
      "layoutDurationMs": 0.8989999999999999,
      "taskDurationMs": 113.60700000000001,
      "heapDeltaBytes": 3899432,
      "heapUsedBytes": 71774016,
      "domNodes": 110,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 6.188999999999998,
      "eventListeners": 49,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "workflow-execution",
      "durationMs": 463.7599999999793,
      "styleRecalcs": 15,
      "styleRecalcDurationMs": 24.705000000000005,
      "layouts": 3,
      "layoutDurationMs": 0.7129999999999999,
      "taskDurationMs": 128.84099999999998,
      "heapDeltaBytes": 5696168,
      "heapUsedBytes": 73650204,
      "domNodes": 121,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 8.037999999999998,
      "eventListeners": 97,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.700000000000728
    }
  ]
}

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

coderabbitai Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

Review 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: Pro Plus

Run ID: 15f84640-b528-4eb6-8af7-43407886388a

📥 Commits

Reviewing files that changed from the base of the PR and between 4b04ed7 and 5dc02df.

📒 Files selected for processing (4)
  • src/platform/workspace/components/SubscriptionPanelContentWorkspace.test.ts
  • src/platform/workspace/components/SubscriptionPanelContentWorkspace.vue
  • src/platform/workspace/components/dialogs/settings/BillingStatusBanner.test.ts
  • src/platform/workspace/components/dialogs/settings/BillingStatusBanner.vue

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


📝 Walkthrough

Walkthrough

Cloud billing actions now use server-resolved capabilities. Non-Cloud actions retain workspace permission checks. Fixtures, composables, UI controls, tests, and browser mocks were updated.

Changes

Billing capability authorization

Layer / File(s) Summary
Capability contracts and test state
browser_tests/fixtures/data/billingCapabilities.ts, src/platform/workspace/composables/useBillingCapabilities.ts, src/storybook/mocks/useBillingCapabilities.ts
Added workspace-aware fixtures and reactive capability flags.
Cancellation and member-management authorization
src/components/dialog/content/subscription/*, src/platform/workspace/composables/useWorkspaceMenuItems.ts, useMembersPanel.ts, useWorkspaceUI.ts
Cloud actions now use billing capabilities. Non-Cloud paths retain workspace permissions.
Checkout and subscription composables
src/platform/workspace/composables/useSubscriptionCheckout.ts, useDowngradeToPersonal.ts, useResubscribe.ts
Cloud authorization now checks server capabilities for checkout, downgrade, and reactivation.
Subscription controls and status UI
src/platform/workspace/components/*, src/platform/workspace/components/dialogs/settings/*
Subscription controls now enforce capability-specific checks for Cloud actions.
Browser billing-capability mocks
browser_tests/fixtures/helpers/*, browser_tests/tests/*
Added workspace-specific GET billing-capability mocks.

Estimated code review effort: 4 (Complex) | ~60 minutes

Merge Risk: 🔵 Low · up to 5dc02

Several Cloud billing entry points will remain hidden while the rollout flag is disabled, including subscribe, reactivate, and Team-to-personal downgrade. The PR is otherwise mergeable, but release owners should enable the flag as part of deployment coordination.

Sequence Diagram(s)

sequenceDiagram
  participant WorkspaceUI
  participant useBillingCapabilities
  participant BillingAPI
  participant SubscriptionAction
  WorkspaceUI->>useBillingCapabilities: read capability flags
  useBillingCapabilities->>BillingAPI: request workspace capabilities
  BillingAPI-->>useBillingCapabilities: return server capabilities
  WorkspaceUI->>SubscriptionAction: initiate subscription action
  SubscriptionAction->>useBillingCapabilities: validate capability
  useBillingCapabilities-->>SubscriptionAction: allow or deny action
Loading

Suggested reviewers: christian-byrne


Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
End-To-End Regression Coverage For Fixes ❓ Inconclusive The changed-file list is available and includes multiple browser_tests/ files, so condition 2 for failure is not met. However, the PR title and actual commit subjects are not provided; only a commit… Provide the PR title and the complete commit subject list. Based on the available changed-file metadata, the check would otherwise pass because the PR adds Playwright coverage under browser_tests/.
✅ Passed checks (6 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: migrating the remaining workspace billing capabilities into use.
Description check ✅ Passed The description explains the migration scope, non-Cloud behavior, review focus, deferred work, rollout dependency, and verification results. It does not use every template heading, but it provides the…
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.
Website End-To-End Regression Coverage ✅ Passed No files under apps/website/src/ or apps/website/public/ changed. The PR changes browser tests, src/, and Storybook mocks only. This check does not apply.
Adr Compliance For Entity/Litegraph Changes ✅ Passed The changed-file list contains no files under src/lib/litegraph/ or src/ecs/, and no files related to graph entities such as nodes, links, widgets, slots, reroutes, groups, or subgraphs. The custo…
Full details: Description check

Explanation

The description explains the migration scope, non-Cloud behavior, review focus, deferred work, rollout dependency, and verification results. It does not use every template heading, but it provides the required information and is sufficiently complete.

Full details: End-To-End Regression Coverage For Fixes

Explanation

The changed-file list is available and includes multiple browser_tests/ files, so condition 2 for failure is not met. However, the PR title and actual commit subjects are not provided; only a commit-message summary is available. The custom check requires an inconclusive result when commit subjects are unavailable.

Full details: Adr Compliance For Entity/Litegraph Changes

Explanation

The changed-file list contains no files under src/lib/litegraph/ or src/ecs/, and no files related to graph entities such as nodes, links, widgets, slots, reroutes, groups, or subgraphs. The custom check is not applicable.

  • Fix all pre-merge checks with AI
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch wei/be-8841-remaining-billing-capabilities

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

❤️ Share

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

@codecov

codecov Bot commented Aug 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.16216% with 19 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/storybook/mocks/useBillingCapabilities.ts 0.00% 11 Missing ⚠️
...m/workspace/composables/useSubscriptionCheckout.ts 86.66% 3 Missing and 1 partial ⚠️
...rm/workspace/composables/useDowngradeToPersonal.ts 60.00% 1 Missing and 1 partial ⚠️
...e/components/SubscriptionPanelContentWorkspace.vue 92.85% 1 Missing ⚠️
...c/platform/workspace/composables/useResubscribe.ts 75.00% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main   #15675      +/-   ##
==========================================
+ Coverage   80.24%   82.60%   +2.35%     
==========================================
  Files        2269     1939     -330     
  Lines      116521   111659    -4862     
  Branches    33748    34563     +815     
==========================================
- Hits        93505    92237    -1268     
+ Misses      22526    19075    -3451     
+ Partials      490      347     -143     
Flag Coverage Δ
e2e 66.89% <100.00%> (-0.01%) ⬇️
unit 74.81% <87.07%> (+0.02%) ⬆️
website-unit ?

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

Files with missing lines Coverage Δ
...t/subscription/CancelSubscriptionDialogContent.vue 100.00% <100.00%> (ø)
...rkspace/components/CurrentUserPopoverWorkspace.vue 91.44% <100.00%> (+0.05%) ⬆️
...tform/workspace/components/UnifiedPricingTable.vue 90.90% <100.00%> (+2.67%) ⬆️
...omponents/dialogs/settings/BillingStatusBanner.vue 97.22% <100.00%> (+0.12%) ⬆️
...rm/workspace/composables/useBillingCapabilities.ts 96.68% <100.00%> (+0.16%) ⬆️
.../platform/workspace/composables/useMembersPanel.ts 96.40% <100.00%> (+0.27%) ⬆️
...orm/workspace/composables/useWorkspaceMenuItems.ts 98.27% <100.00%> (+0.09%) ⬆️
...c/platform/workspace/composables/useWorkspaceUI.ts 96.61% <ø> (ø)
...e/components/SubscriptionPanelContentWorkspace.vue 96.86% <92.85%> (-0.26%) ⬇️
...c/platform/workspace/composables/useResubscribe.ts 93.54% <75.00%> (-2.89%) ⬇️
... and 3 more

... and 346 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.

Generated output only - no hand-written changes.
Adds the capabilities composable, its API call, and the auth-gate wiring that
populates it. The gate's abort signal is threaded through to the request. No
consumer reads the resolved values yet - they migrate separately.
Points every consumer at the capabilities composable and deletes the local
derivation it replaces, including the top-up deep-link loader: that file reads
canTopUp off WorkspacePermissions, which this change removes, so it cannot
typecheck a commit later.

The deep-link loader also awaits capability initialization before reading the
flags, so an eligible user does not lose the link while both are still false.
@wei-hai
wei-hai force-pushed the wei/be-8716-can-top-up branch from 55607fa to b6ca682 Compare August 24, 2026 19:00
The spec asserts the new capability-driven deep-link behaviour, so it cannot
live a PR later than the implementation - this PR would otherwise run main's
old spec against the new loader.
@wei-hai
wei-hai force-pushed the wei/be-8716-can-top-up branch from b6ca682 to 00d4e45 Compare August 24, 2026 19:20
…types

# Conflicts:
#	packages/ingest-types/src/index.ts
#	packages/ingest-types/src/types.gen.ts
#	packages/ingest-types/src/zod.gen.ts
…s menu

The billing-capabilities migration collapsed two Local-only menu paths into
their Cloud counterparts and dropped their isCloud guards along the way:

- showSubscribeAction lost its `isCloud &&` guard, so the Subscribe /
  Resubscribe button could render for Local team workspaces.
- The Local-only "Plans & Credits" menu item was merged into
  manage-plan-menu-item, but that button's visibility still requires an
  active/delinquent subscription, so an unsubscribed Local user lost access
  to plan/credits settings entirely (and its data-testid changed under it).

Restores the pre-migration split (showLocalPlansAndCredits +
plans-credits-menu-item, isCloud-gated manage-plan-menu-item) while keeping
the new server-resolved canTopUp/canSubscribeSelfServe capabilities for the
add/upgrade-credits buttons, which is unaffected by this bug.
…r menu

The migration commit that broke Subscribe/Plan-Credits gating also deleted
the four unit tests that would have caught it, so the regression shipped
silently. Restores equivalent coverage against the new capability source
(useBillingCapabilities is already mocked in this file; nothing here mocks
the removed client-side policy):

- keeps Subscribe hidden on Local after switching to an unsubscribed workspace
- keeps Resubscribe hidden on Local for a cancelled plan
- opens local Plan and Credits instead of Cloud pricing actions
- hides local Plan and Credits without subscription management permission
  (paired with a new positive counterpart -- on its own this assertion
  passes vacuously against a renamed/merged testid, so it can't stand alone
  as a regression guard)

Restoring the tests surfaced a second, previously-unflagged instance of the
same bug class: the "Plans & pricing" menu item had also lost its isCloud
guard (item was Cloud-only, guard silently dropped in the same migration),
and its Local sibling's label string ("Plans and credits") had been deleted
from the locale file. Both are fixed here alongside the guard test restore.

Verified red-then-green: reverted CurrentUserPopoverWorkspace.vue and the
locale key to their pre-fix (migration) state and confirmed exactly the 4
new discriminating tests fail (19 pre-existing tests still pass); restored
the fix and confirmed all 23 pass under --coverage.
The split checked this file out from a branch based on an older main, which
reverted 15 keys instead of adding one. nodeBadge.partnerNodesCount was among
them, failing badgeSystem's unit tests on a raw i18n key.

Rebased onto main's file and re-added only outOfCredits.upgradeBody, the one
key this work introduces.
@wei-hai
wei-hai force-pushed the wei/be-8716-can-top-up branch from 00d4e45 to 0539574 Compare August 24, 2026 19:45
…ing-capabilities

Union resolution: this branch's remaining capability accessors plus the base's
readiness/refresh machinery. showSubscribeAction keeps the base's isCloud gate
(subscribing is Cloud-only) with the server-resolved capabilities inside it.
@wei-hai
wei-hai force-pushed the wei/be-8841-remaining-billing-capabilities branch from 4187a22 to c26553f Compare August 24, 2026 19:54
dante01yoon pushed a commit that referenced this pull request Aug 27, 2026
…he policy (#15967)

### The bug

The cancelled-plan **Resubscribe** action was gated on the
server-resolved `can_reactivate`. `legacy_stripe` workspaces have no
capability projection row, so it resolves `false` for them and the
button disappears for customers who should have it.

`CurrentUserPopoverWorkspace` was the third and last site with this
problem — the follow-up promised on the #15675 review thread, which
deliberately left this file out of scope.

### The refactor (added in review)

Fixing the third site would have made a third verbatim copy of the same
expression, so per review feedback the policy is now centralized instead
of duplicated in views.

`useWorkspaceUI` — which already owns `permissions` — exposes one
derived value:

```ts
// legacy_stripe workspaces have no capability projection row, so the
// server-resolved can_reactivate is false for them and cannot gate the
// action; that rail stays on the membership check.
const canReactivatePlan = computed(() =>
  isCloud && shouldUseWorkspaceBilling.value
    ? canReactivate.value
    : permissions.value.canManageSubscriptionLifecycle
)
```

`SubscriptionPanelContentWorkspace`, `BillingStatusBanner` and
`CurrentUserPopoverWorkspace` all consume it; their local copies and
now-unused `useBillingRouting` / `isCloud` imports are gone. So the
third site is fixed **and** the pre-existing duplication is removed.

No import cycle — neither `useBillingRouting` nor
`useBillingCapabilities` imports `useWorkspaceUI`.

### Deliberately not folded in

`useWorkspaceMenuItems` has a similar-looking expression for **cancel**,
but it carries an extra free-tier guard (`can_cancel` stays true for an
active FREE plan). Same shape, different policy — left alone.

### Verification

- Policy tests live in `useWorkspaceUI.test.ts` now, where the policy
does: consolidated rail (uses the capability), legacy rail, and
off-Cloud (both fall back to membership). Verified they actually bite by
stubbing the policy out — **2 failed**.
- The off-Cloud case is new: `isCloud` is `false` by default under
vitest and the composable test wasn't mocking it, so that branch had
never been exercised.
- Component tests keep their behavioural cases and drive the shared
value.
- On this head: `pnpm typecheck` clean; **127 passing** across the four
affected files; full suite `1317/1318` files green — the only failures
are 12 pre-existing `check-binary-size` cases that fail independently of
this change.

(cherry picked from commit 0c89141)
dante01yoon added a commit that referenced this pull request Aug 27, 2026
…#16067)

## Why this is needed

Enterprise workspaces exist in production (`enterprise_monthly` /
`enterprise_annual`, provisioned through the comfy-admin console) but
the frontend still renders them as a self-serve catalog plan. FE-1662
verified three gaps against the tree, and re-verification after the
capabilities migration (#15803/#15804/#15675) and the ENTERPRISE
contract landing (#15855) found the surviving surface smaller but real.

Supersedes #15403 — same behavioral spec and design of record ([Figma
4404-13011](https://www.figma.com/design/CkFTD4c20PyRGpNVAJgpfV/Team-Plan---Workspaces?node-id=4404-13011),
DES-782), rebuilt on the server-capabilities architecture that merged
underneath it. Co-authored with @comfydesigner, whose branch this
replaces.

- Fixes FE-1662

## Root cause

Three distinct causes, one per change group:

1. **Label fallbacks assume the catalog is total.**
`resolveSubscriptionTierKey` falls back to `'standard'` for any unmapped
tier, so an ENTERPRISE workspace's plan card renders **"Standard"**,
Standard's **$20 USD/mo** price (`useWorkspacePlanPricing` has the same
fallback), Standard's feature list, and the credits bar borrows
Standard's 4,200-credit monthly pool (`CreditsTile.tierKey ??
DEFAULT_TIER_KEY`). A scheduled change to an enterprise plan falls
through the `team`-prefix check and labels itself "Standard".
2. **Pricing-table entry points gate on membership, not on whether a
catalog exists.** The `?pricing=` deep link
(`usePricingTableUrlLoader`), the profile menu's "Plans & pricing", and
settings' "View more details about plans & pricing" all gate on
`canManageSubscription` (owner), so an Enterprise owner can still open
the self-serve pricing table. The subscribe-to-run upsell
(`CloudRunButtonWrapper`, `useCoreCommands`) gates only on
`canAccessSubscriptionFeatures`, so a lapsed Enterprise workspace is
offered a self-serve checkout it must not use.
3. **No representation for a tier outside the catalog.** A tier the
build doesn't recognize (server ahead of client) borrowed all of the
above from Standard — price and feature claims for a plan the frontend
cannot identify.

Lifecycle actions (cancel / reactivate / plan change / member invites)
are **not** part of this PR's policy surface: the server already
resolves them (`hideLifecycleCapabilities` in billing-api keeps
`can_top_up=true` and closes the rest), and main already consumes those
capabilities. This PR covers rendering and the pricing-catalog entry
points only.

## How

**One derived policy for every pricing-table entry point.**
`useWorkspaceUI.canOpenPricingSurface` reads the server-resolved
`can_subscribe_self_serve` on the workspace rail and falls back to
membership on `legacy_stripe` — the exact shape of `canReactivatePlan`
(#15967), so the legacy-rail regression class that #15967/#16043/#16046
fixed cannot recur here. Consumers: profile-menu "Plans & pricing",
settings "View more details", and the `?pricing=` deep link (which now
awaits capability initialization before deciding, like the `?topup=`
loader, so a pre-load deep link can't slip through).

**Tier drives rendering only.** `isSalesManagedTier` (ENTERPRISE or
unmapped) hides the catalog price row, benefits list, and borrowed
credit pool; `planDisplayName` renders "Enterprise" / "Current plan";
the scheduled-change label resolves enterprise slugs (the only signal on
that path — enterprise plans are absent from `plans`); `formatTierName`
gains a `te()` guard so an unknown tier degrades to a capitalized string
instead of a raw i18n key. The subscribe-to-run upsell and the
run-command dialog stay hidden on sales-managed plans (`SubscribeToRun`
requires a catalog to sell into); the run button remains a run button.

**Capability-driven credits tile.** The inactive-plan zero-state now
applies only when the server also withholds top-up (`inactivePlan &&
!canTopUp`): lapsed self-serve plans keep today's
reactivate-to-use-credits treatment (`lapsedSelfServeCapabilities`
withholds top-up), while a sales-managed plan — whose top-up stays open
whatever the subscription row says — keeps its real balance and Add
credits.

**Delete workspace hides on Enterprise** (DES-782): deletion requires a
cancellation only sales can perform, so the disabled menu item was a
permanent dead end.

## Behavioral spec (from #15403, verified by tests)

1. Enterprise owner cannot self-serve any plan change — no upgrade,
downgrade, cancel, or reactivate (server capabilities; regression-tested
here).
2. The pricing table never appears for an Enterprise workspace —
settings, profile menu, or `?pricing=` deep link (quiet no-op).
3. The plan reads "Enterprise" with its renewal date — never another
tier's name, price, credits, or feature list.
4. Money-in stays open: top-up and Billing & invoices always reachable.
5. A cancelled or ended Enterprise subscription shows the standard state
with no Reactivate/Subscribe action.
6. An unrecognized tier renders as "Current plan" with no borrowed
catalog content and no self-serve actions; credits, top-up, and runs
keep working, no crash.

> Story 5's amended form (ended Enterprise → Subscribe returns, per the
2026-08-21 decision with Justin) is **deliberately out of scope**:
billing-api resolves `can_subscribe_self_serve=false` for any enterprise
subscription row including ended ones, so that behavior needs a backend
change first (contract-first). Tracked as a follow-up.

## Tests

- **Unit (321 passing across the 11 touched suites):** new coverage in
`tierPricing` (helpers), `useWorkspaceUI` (`canOpenPricingSurface` rail
split), `SubscriptionPanelContentWorkspace` (stories 1, 3, 4, 5, 6 +
scheduled-change label), `CurrentUserPopoverWorkspace` (menu entry +
resubscribe), `usePricingTableUrlLoader` (deep-link no-op + pre-load
race), `CreditsTile` (sales-managed pool + inactive state),
`CloudRunButtonWrapper` / `useCoreCommands` (upsell suppression),
`useWorkspaceMenuItems` (cancel/delete/leave).
- **E2E (`browser_tests/tests/dialogs/enterpriseTierCloud.spec.ts`, 7
tests, @cloud):** one per user story against the real cloud build with
server-shaped capability mocks (`hideLifecycleCapabilities` shape), plus
a Pro-team self-serve regression and an unrecognized-tier no-crash
regression. `endedSubscription.spec.ts` additionally pins that a
non-enterprise inactive team keeps its Reactivate button. All 10 pass
locally against a ComfyUI server serving the cloud dist.
- `CloudWorkspaceMockHelper` gained an optional capability-overrides
parameter so specs can mock the server's sales-managed shape.

## AS IS / TO BE

Screenshots from the real app (cloud dist served by ComfyUI) being
attached in a follow-up edit to this description: Plan & Credits panel
(Standard-mislabel → Enterprise card), profile menu (Plans & pricing
removed), ended-enterprise run button (subscribe upsell removed).

Co-authored-by: comfydesigner <247099495+comfydesigner@users.noreply.github.com>
(cherry picked from commit bab0873)
dante01yoon added a commit that referenced this pull request Aug 27, 2026
… rail and centralize the policy (#16091)

Backport of #15967 to `cloud/1.52`.

## Merge order — this PR is stacked

Base is deliberately `backport-15675-to-cloud-1.52`, not `cloud/1.52`.
GitHub retargets this PR to `cloud/1.52` once its parent merges.

`cloud/1.52` → #15799 → #15803 → #15804 → #15675 → #15967 → #16043 →
#16046 → #16067

Every commit in this chain cherry-picks cleanly; there are no
hand-resolved conflicts anywhere in the stack.

## Verification

Run at the tip of the full stack: 93 unit test files, 1745 tests, 0
failures (`src/platform/workspace`, `src/platform/cloud/subscription`,
`src/composables/useCoreCommands.test.ts`, `src/components/actionbar`).

Co-authored-by: Wei Hai <hai.vincent@gmail.com>
dante01yoon added a commit that referenced this pull request Aug 27, 2026
… with the centralized rail policy (#16092)

Backport of #16043 to `cloud/1.52`.

## Merge order — this PR is stacked

Base is deliberately `backport-15967-to-cloud-1.52`, not `cloud/1.52`.
GitHub retargets this PR to `cloud/1.52` once its parent merges.

`cloud/1.52` → #15799 → #15803 → #15804 → #15675 → #15967 → #16043 →
#16046 → #16067

Every commit in this chain cherry-picks cleanly; there are no
hand-resolved conflicts anywhere in the stack.

## Verification

Run at the tip of the full stack: 93 unit test files, 1745 tests, 0
failures (`src/platform/workspace`, `src/platform/cloud/subscription`,
`src/composables/useCoreCommands.test.ts`, `src/components/actionbar`).

---------

Co-authored-by: Wei Hai <hai.vincent@gmail.com>
dante01yoon added a commit that referenced this pull request Aug 27, 2026
…centralized rail policy (#16093)

Backport of #16046 to `cloud/1.52`.

## Merge order — this PR is stacked

Base is deliberately `backport-16043-to-cloud-1.52`, not `cloud/1.52`.
GitHub retargets this PR to `cloud/1.52` once its parent merges.

`cloud/1.52` → #15799 → #15803 → #15804 → #15675 → #15967 → #16043 →
#16046 → #16067

Every commit in this chain cherry-picks cleanly; there are no
hand-resolved conflicts anywhere in the stack.

## Verification

Run at the tip of the full stack: 93 unit test files, 1745 tests, 0
failures (`src/platform/workspace`, `src/platform/cloud/subscription`,
`src/composables/useCoreCommands.test.ts`, `src/components/actionbar`).

Co-authored-by: Wei Hai <hai.vincent@gmail.com>
dante01yoon added a commit that referenced this pull request Aug 27, 2026
…#16067)

## Why this is needed

Enterprise workspaces exist in production (`enterprise_monthly` /
`enterprise_annual`, provisioned through the comfy-admin console) but
the frontend still renders them as a self-serve catalog plan. FE-1662
verified three gaps against the tree, and re-verification after the
capabilities migration (#15803/#15804/#15675) and the ENTERPRISE
contract landing (#15855) found the surviving surface smaller but real.

Supersedes #15403 — same behavioral spec and design of record ([Figma
4404-13011](https://www.figma.com/design/CkFTD4c20PyRGpNVAJgpfV/Team-Plan---Workspaces?node-id=4404-13011),
DES-782), rebuilt on the server-capabilities architecture that merged
underneath it. Co-authored with @comfydesigner, whose branch this
replaces.

- Fixes FE-1662

## Root cause

Three distinct causes, one per change group:

1. **Label fallbacks assume the catalog is total.**
`resolveSubscriptionTierKey` falls back to `'standard'` for any unmapped
tier, so an ENTERPRISE workspace's plan card renders **"Standard"**,
Standard's **$20 USD/mo** price (`useWorkspacePlanPricing` has the same
fallback), Standard's feature list, and the credits bar borrows
Standard's 4,200-credit monthly pool (`CreditsTile.tierKey ??
DEFAULT_TIER_KEY`). A scheduled change to an enterprise plan falls
through the `team`-prefix check and labels itself "Standard".
2. **Pricing-table entry points gate on membership, not on whether a
catalog exists.** The `?pricing=` deep link
(`usePricingTableUrlLoader`), the profile menu's "Plans & pricing", and
settings' "View more details about plans & pricing" all gate on
`canManageSubscription` (owner), so an Enterprise owner can still open
the self-serve pricing table. The subscribe-to-run upsell
(`CloudRunButtonWrapper`, `useCoreCommands`) gates only on
`canAccessSubscriptionFeatures`, so a lapsed Enterprise workspace is
offered a self-serve checkout it must not use.
3. **No representation for a tier outside the catalog.** A tier the
build doesn't recognize (server ahead of client) borrowed all of the
above from Standard — price and feature claims for a plan the frontend
cannot identify.

Lifecycle actions (cancel / reactivate / plan change / member invites)
are **not** part of this PR's policy surface: the server already
resolves them (`hideLifecycleCapabilities` in billing-api keeps
`can_top_up=true` and closes the rest), and main already consumes those
capabilities. This PR covers rendering and the pricing-catalog entry
points only.

## How

**One derived policy for every pricing-table entry point.**
`useWorkspaceUI.canOpenPricingSurface` reads the server-resolved
`can_subscribe_self_serve` on the workspace rail and falls back to
membership on `legacy_stripe` — the exact shape of `canReactivatePlan`
(#15967), so the legacy-rail regression class that #15967/#16043/#16046
fixed cannot recur here. Consumers: profile-menu "Plans & pricing",
settings "View more details", and the `?pricing=` deep link (which now
awaits capability initialization before deciding, like the `?topup=`
loader, so a pre-load deep link can't slip through).

**Tier drives rendering only.** `isSalesManagedTier` (ENTERPRISE or
unmapped) hides the catalog price row, benefits list, and borrowed
credit pool; `planDisplayName` renders "Enterprise" / "Current plan";
the scheduled-change label resolves enterprise slugs (the only signal on
that path — enterprise plans are absent from `plans`); `formatTierName`
gains a `te()` guard so an unknown tier degrades to a capitalized string
instead of a raw i18n key. The subscribe-to-run upsell and the
run-command dialog stay hidden on sales-managed plans (`SubscribeToRun`
requires a catalog to sell into); the run button remains a run button.

**Capability-driven credits tile.** The inactive-plan zero-state now
applies only when the server also withholds top-up (`inactivePlan &&
!canTopUp`): lapsed self-serve plans keep today's
reactivate-to-use-credits treatment (`lapsedSelfServeCapabilities`
withholds top-up), while a sales-managed plan — whose top-up stays open
whatever the subscription row says — keeps its real balance and Add
credits.

**Delete workspace hides on Enterprise** (DES-782): deletion requires a
cancellation only sales can perform, so the disabled menu item was a
permanent dead end.

## Behavioral spec (from #15403, verified by tests)

1. Enterprise owner cannot self-serve any plan change — no upgrade,
downgrade, cancel, or reactivate (server capabilities; regression-tested
here).
2. The pricing table never appears for an Enterprise workspace —
settings, profile menu, or `?pricing=` deep link (quiet no-op).
3. The plan reads "Enterprise" with its renewal date — never another
tier's name, price, credits, or feature list.
4. Money-in stays open: top-up and Billing & invoices always reachable.
5. A cancelled or ended Enterprise subscription shows the standard state
with no Reactivate/Subscribe action.
6. An unrecognized tier renders as "Current plan" with no borrowed
catalog content and no self-serve actions; credits, top-up, and runs
keep working, no crash.

> Story 5's amended form (ended Enterprise → Subscribe returns, per the
2026-08-21 decision with Justin) is **deliberately out of scope**:
billing-api resolves `can_subscribe_self_serve=false` for any enterprise
subscription row including ended ones, so that behavior needs a backend
change first (contract-first). Tracked as a follow-up.

## Tests

- **Unit (321 passing across the 11 touched suites):** new coverage in
`tierPricing` (helpers), `useWorkspaceUI` (`canOpenPricingSurface` rail
split), `SubscriptionPanelContentWorkspace` (stories 1, 3, 4, 5, 6 +
scheduled-change label), `CurrentUserPopoverWorkspace` (menu entry +
resubscribe), `usePricingTableUrlLoader` (deep-link no-op + pre-load
race), `CreditsTile` (sales-managed pool + inactive state),
`CloudRunButtonWrapper` / `useCoreCommands` (upsell suppression),
`useWorkspaceMenuItems` (cancel/delete/leave).
- **E2E (`browser_tests/tests/dialogs/enterpriseTierCloud.spec.ts`, 7
tests, @cloud):** one per user story against the real cloud build with
server-shaped capability mocks (`hideLifecycleCapabilities` shape), plus
a Pro-team self-serve regression and an unrecognized-tier no-crash
regression. `endedSubscription.spec.ts` additionally pins that a
non-enterprise inactive team keeps its Reactivate button. All 10 pass
locally against a ComfyUI server serving the cloud dist.
- `CloudWorkspaceMockHelper` gained an optional capability-overrides
parameter so specs can mock the server's sales-managed shape.

## AS IS / TO BE

Screenshots from the real app (cloud dist served by ComfyUI) being
attached in a follow-up edit to this description: Plan & Credits panel
(Standard-mislabel → Enterprise card), profile menu (Plans & pricing
removed), ended-enterprise run button (subscribe upsell removed).

Co-authored-by: comfydesigner <247099495+comfydesigner@users.noreply.github.com>
(cherry picked from commit bab0873)
dante01yoon added a commit that referenced this pull request Aug 27, 2026
…gh server capabilities (#16094)

Backport of #16067 to `cloud/1.52`.

## Merge order — this PR is stacked

Base is deliberately `backport-16046-to-cloud-1.52`, not `cloud/1.52`.
GitHub retargets this PR to `cloud/1.52` once its parent merges.

`cloud/1.52` → #15799 → #15803 → #15804 → #15675 → #15967 → #16043 →
#16046 → #16067

Every commit in this chain cherry-picks cleanly; there are no
hand-resolved conflicts anywhere in the stack.

## Verification

Run at the tip of the full stack: 93 unit test files, 1745 tests, 0
failures (`src/platform/workspace`, `src/platform/cloud/subscription`,
`src/composables/useCoreCommands.test.ts`, `src/components/actionbar`).

## Also carries #16032 and #16041

#16067's unit tests need mocks (`app.queuePrompt`,
`trackWorkflowExecution`, `useQueueSettingsStore`) that #16032
introduced, and its run-gate coverage comes from #16041. Both are
already backported independently as #16084 and #16059. This branch
therefore contains them; whichever lands first makes the other's patch a
no-op. Without #16032 the `useCoreCommands` hunks conflict and 8 tests
fail.

---------

Co-authored-by: comfydesigner <247099495+comfydesigner@users.noreply.github.com>
mattmillerai pushed a commit that referenced this pull request Aug 29, 2026
…#16067)

## Why this is needed

Enterprise workspaces exist in production (`enterprise_monthly` /
`enterprise_annual`, provisioned through the comfy-admin console) but
the frontend still renders them as a self-serve catalog plan. FE-1662
verified three gaps against the tree, and re-verification after the
capabilities migration (#15803/#15804/#15675) and the ENTERPRISE
contract landing (#15855) found the surviving surface smaller but real.

Supersedes #15403 — same behavioral spec and design of record ([Figma
4404-13011](https://www.figma.com/design/CkFTD4c20PyRGpNVAJgpfV/Team-Plan---Workspaces?node-id=4404-13011),
DES-782), rebuilt on the server-capabilities architecture that merged
underneath it. Co-authored with @comfydesigner, whose branch this
replaces.

- Fixes FE-1662

## Root cause

Three distinct causes, one per change group:

1. **Label fallbacks assume the catalog is total.**
`resolveSubscriptionTierKey` falls back to `'standard'` for any unmapped
tier, so an ENTERPRISE workspace's plan card renders **"Standard"**,
Standard's **$20 USD/mo** price (`useWorkspacePlanPricing` has the same
fallback), Standard's feature list, and the credits bar borrows
Standard's 4,200-credit monthly pool (`CreditsTile.tierKey ??
DEFAULT_TIER_KEY`). A scheduled change to an enterprise plan falls
through the `team`-prefix check and labels itself "Standard".
2. **Pricing-table entry points gate on membership, not on whether a
catalog exists.** The `?pricing=` deep link
(`usePricingTableUrlLoader`), the profile menu's "Plans & pricing", and
settings' "View more details about plans & pricing" all gate on
`canManageSubscription` (owner), so an Enterprise owner can still open
the self-serve pricing table. The subscribe-to-run upsell
(`CloudRunButtonWrapper`, `useCoreCommands`) gates only on
`canAccessSubscriptionFeatures`, so a lapsed Enterprise workspace is
offered a self-serve checkout it must not use.
3. **No representation for a tier outside the catalog.** A tier the
build doesn't recognize (server ahead of client) borrowed all of the
above from Standard — price and feature claims for a plan the frontend
cannot identify.

Lifecycle actions (cancel / reactivate / plan change / member invites)
are **not** part of this PR's policy surface: the server already
resolves them (`hideLifecycleCapabilities` in billing-api keeps
`can_top_up=true` and closes the rest), and main already consumes those
capabilities. This PR covers rendering and the pricing-catalog entry
points only.

## How

**One derived policy for every pricing-table entry point.**
`useWorkspaceUI.canOpenPricingSurface` reads the server-resolved
`can_subscribe_self_serve` on the workspace rail and falls back to
membership on `legacy_stripe` — the exact shape of `canReactivatePlan`
(#15967), so the legacy-rail regression class that #15967/#16043/#16046
fixed cannot recur here. Consumers: profile-menu "Plans & pricing",
settings "View more details", and the `?pricing=` deep link (which now
awaits capability initialization before deciding, like the `?topup=`
loader, so a pre-load deep link can't slip through).

**Tier drives rendering only.** `isSalesManagedTier` (ENTERPRISE or
unmapped) hides the catalog price row, benefits list, and borrowed
credit pool; `planDisplayName` renders "Enterprise" / "Current plan";
the scheduled-change label resolves enterprise slugs (the only signal on
that path — enterprise plans are absent from `plans`); `formatTierName`
gains a `te()` guard so an unknown tier degrades to a capitalized string
instead of a raw i18n key. The subscribe-to-run upsell and the
run-command dialog stay hidden on sales-managed plans (`SubscribeToRun`
requires a catalog to sell into); the run button remains a run button.

**Capability-driven credits tile.** The inactive-plan zero-state now
applies only when the server also withholds top-up (`inactivePlan &&
!canTopUp`): lapsed self-serve plans keep today's
reactivate-to-use-credits treatment (`lapsedSelfServeCapabilities`
withholds top-up), while a sales-managed plan — whose top-up stays open
whatever the subscription row says — keeps its real balance and Add
credits.

**Delete workspace hides on Enterprise** (DES-782): deletion requires a
cancellation only sales can perform, so the disabled menu item was a
permanent dead end.

## Behavioral spec (from #15403, verified by tests)

1. Enterprise owner cannot self-serve any plan change — no upgrade,
downgrade, cancel, or reactivate (server capabilities; regression-tested
here).
2. The pricing table never appears for an Enterprise workspace —
settings, profile menu, or `?pricing=` deep link (quiet no-op).
3. The plan reads "Enterprise" with its renewal date — never another
tier's name, price, credits, or feature list.
4. Money-in stays open: top-up and Billing & invoices always reachable.
5. A cancelled or ended Enterprise subscription shows the standard state
with no Reactivate/Subscribe action.
6. An unrecognized tier renders as "Current plan" with no borrowed
catalog content and no self-serve actions; credits, top-up, and runs
keep working, no crash.

> Story 5's amended form (ended Enterprise → Subscribe returns, per the
2026-08-21 decision with Justin) is **deliberately out of scope**:
billing-api resolves `can_subscribe_self_serve=false` for any enterprise
subscription row including ended ones, so that behavior needs a backend
change first (contract-first). Tracked as a follow-up.

## Tests

- **Unit (321 passing across the 11 touched suites):** new coverage in
`tierPricing` (helpers), `useWorkspaceUI` (`canOpenPricingSurface` rail
split), `SubscriptionPanelContentWorkspace` (stories 1, 3, 4, 5, 6 +
scheduled-change label), `CurrentUserPopoverWorkspace` (menu entry +
resubscribe), `usePricingTableUrlLoader` (deep-link no-op + pre-load
race), `CreditsTile` (sales-managed pool + inactive state),
`CloudRunButtonWrapper` / `useCoreCommands` (upsell suppression),
`useWorkspaceMenuItems` (cancel/delete/leave).
- **E2E (`browser_tests/tests/dialogs/enterpriseTierCloud.spec.ts`, 7
tests, @cloud):** one per user story against the real cloud build with
server-shaped capability mocks (`hideLifecycleCapabilities` shape), plus
a Pro-team self-serve regression and an unrecognized-tier no-crash
regression. `endedSubscription.spec.ts` additionally pins that a
non-enterprise inactive team keeps its Reactivate button. All 10 pass
locally against a ComfyUI server serving the cloud dist.
- `CloudWorkspaceMockHelper` gained an optional capability-overrides
parameter so specs can mock the server's sales-managed shape.

## AS IS / TO BE

Screenshots from the real app (cloud dist served by ComfyUI) being
attached in a follow-up edit to this description: Plan & Credits panel
(Standard-mislabel → Enterprise card), profile menu (Plans & pricing
removed), ended-enterprise run button (subscribe upsell removed).

Co-authored-by: comfydesigner <247099495+comfydesigner@users.noreply.github.com>
@huang47 huang47 added the risk:xhigh PR risk grade (advisory shadow check; grader-owned) label Sep 2, 2026 — with ChatGPT Codex Connector
@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to core/1.52 failed

Reason: Merge conflicts detected during cherry-pick of 91e8969

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

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

📄 Conflicting files
browser_tests/fixtures/data/billingCapabilities.ts
src/platform/workspace/components/CurrentUserPopoverWorkspace.test.ts
src/platform/workspace/components/CurrentUserPopoverWorkspace.vue
src/platform/workspace/components/SubscriptionPanelContentWorkspace.vue
src/platform/workspace/components/dialogs/settings/BillingStatusBanner.test.ts
src/platform/workspace/components/dialogs/settings/BillingStatusBanner.vue
src/platform/workspace/composables/useBillingCapabilities.test.ts
src/platform/workspace/composables/useBillingCapabilities.ts
src/platform/workspace/composables/useSubscriptionCheckout.ts
src/storybook/mocks/useBillingCapabilities.ts
🤖 Prompt for AI Agents
Backport PR #15675 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/15675) to core/1.52.
Cherry-pick merge commit 91e89697d9906d0acab439587ceccb7a15370815 onto new branch
backport-15675-to-core-1.52 from origin/core/1.52.
Resolve conflicts in: browser_tests/fixtures/data/billingCapabilities.ts src/platform/workspace/components/CurrentUserPopoverWorkspace.test.ts src/platform/workspace/components/CurrentUserPopoverWorkspace.vue src/platform/workspace/components/SubscriptionPanelContentWorkspace.vue src/platform/workspace/components/dialogs/settings/BillingStatusBanner.test.ts src/platform/workspace/components/dialogs/settings/BillingStatusBanner.vue src/platform/workspace/composables/useBillingCapabilities.test.ts src/platform/workspace/composables/useBillingCapabilities.ts src/platform/workspace/composables/useSubscriptionCheckout.ts src/storybook/mocks/useBillingCapabilities.ts .

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

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

cc @wei-hai

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to cloud/1.52 failed

Reason: Merge conflicts detected during cherry-pick of 91e8969

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

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

📄 Conflicting files
browser_tests/fixtures/helpers/CloudWorkspaceMockHelper.ts
src/platform/workspace/components/CurrentUserPopoverWorkspace.test.ts
src/platform/workspace/components/CurrentUserPopoverWorkspace.vue
src/platform/workspace/components/SubscriptionPanelContentWorkspace.test.ts
src/platform/workspace/components/SubscriptionPanelContentWorkspace.vue
src/platform/workspace/components/UnifiedPricingTable.test.ts
src/platform/workspace/components/UnifiedPricingTable.vue
src/platform/workspace/components/dialogs/settings/BillingStatusBanner.test.ts
src/platform/workspace/components/dialogs/settings/BillingStatusBanner.vue
src/platform/workspace/composables/useBillingCapabilities.test.ts
src/platform/workspace/composables/useBillingCapabilities.ts
src/platform/workspace/composables/useResubscribe.test.ts
src/platform/workspace/composables/useResubscribe.ts
src/platform/workspace/composables/useSubscriptionCheckout.test.ts
src/platform/workspace/composables/useSubscriptionCheckout.ts
src/platform/workspace/composables/useWorkspaceMenuItems.test.ts
src/platform/workspace/composables/useWorkspaceMenuItems.ts
🤖 Prompt for AI Agents
Backport PR #15675 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/15675) to cloud/1.52.
Cherry-pick merge commit 91e89697d9906d0acab439587ceccb7a15370815 onto new branch
backport-15675-to-cloud-1.52 from origin/cloud/1.52.
Resolve conflicts in: browser_tests/fixtures/helpers/CloudWorkspaceMockHelper.ts src/platform/workspace/components/CurrentUserPopoverWorkspace.test.ts src/platform/workspace/components/CurrentUserPopoverWorkspace.vue src/platform/workspace/components/SubscriptionPanelContentWorkspace.test.ts src/platform/workspace/components/SubscriptionPanelContentWorkspace.vue src/platform/workspace/components/UnifiedPricingTable.test.ts src/platform/workspace/components/UnifiedPricingTable.vue src/platform/workspace/components/dialogs/settings/BillingStatusBanner.test.ts src/platform/workspace/components/dialogs/settings/BillingStatusBanner.vue src/platform/workspace/composables/useBillingCapabilities.test.ts src/platform/workspace/composables/useBillingCapabilities.ts src/platform/workspace/composables/useResubscribe.test.ts src/platform/workspace/composables/useResubscribe.ts src/platform/workspace/composables/useSubscriptionCheckout.test.ts src/platform/workspace/composables/useSubscriptionCheckout.ts src/platform/workspace/composables/useWorkspaceMenuItems.test.ts src/platform/workspace/composables/useWorkspaceMenuItems.ts .

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

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

cc @wei-hai

@huang47 huang47 removed the risk:R3 PR risk grade (advisory shadow check; grader-owned) label Sep 2, 2026
@comfy-pr-bot comfy-pr-bot added the released:cloud PR has been released to cloud label Sep 3, 2026
@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to core/1.52 failed

Reason: Merge conflicts detected during cherry-pick of 91e8969

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

📄 Conflicting files
browser_tests/fixtures/data/billingCapabilities.ts
src/platform/workspace/components/CurrentUserPopoverWorkspace.test.ts
src/platform/workspace/components/CurrentUserPopoverWorkspace.vue
src/platform/workspace/components/SubscriptionPanelContentWorkspace.vue
src/platform/workspace/components/dialogs/settings/BillingStatusBanner.test.ts
src/platform/workspace/components/dialogs/settings/BillingStatusBanner.vue
src/platform/workspace/composables/useBillingCapabilities.test.ts
src/platform/workspace/composables/useBillingCapabilities.ts
src/platform/workspace/composables/useSubscriptionCheckout.ts
src/storybook/mocks/useBillingCapabilities.ts
🤖 Prompt for AI Agents
Backport PR #15675 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/15675) to core/1.52.
Cherry-pick merge commit 91e89697d9906d0acab439587ceccb7a15370815 onto new branch
backport-15675-to-core-1.52 from origin/core/1.52.
Resolve conflicts in: browser_tests/fixtures/data/billingCapabilities.ts src/platform/workspace/components/CurrentUserPopoverWorkspace.test.ts src/platform/workspace/components/CurrentUserPopoverWorkspace.vue src/platform/workspace/components/SubscriptionPanelContentWorkspace.vue src/platform/workspace/components/dialogs/settings/BillingStatusBanner.test.ts src/platform/workspace/components/dialogs/settings/BillingStatusBanner.vue src/platform/workspace/composables/useBillingCapabilities.test.ts src/platform/workspace/composables/useBillingCapabilities.ts src/platform/workspace/composables/useSubscriptionCheckout.ts src/storybook/mocks/useBillingCapabilities.ts .



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

cc @wei-hai

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to cloud/1.52 failed

Reason: Merge conflicts detected during cherry-pick of 91e8969

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

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

📄 Conflicting files
browser_tests/fixtures/helpers/CloudWorkspaceMockHelper.ts
src/platform/workspace/components/CurrentUserPopoverWorkspace.test.ts
src/platform/workspace/components/CurrentUserPopoverWorkspace.vue
src/platform/workspace/components/SubscriptionPanelContentWorkspace.test.ts
src/platform/workspace/components/SubscriptionPanelContentWorkspace.vue
src/platform/workspace/components/UnifiedPricingTable.test.ts
src/platform/workspace/components/UnifiedPricingTable.vue
src/platform/workspace/components/dialogs/settings/BillingStatusBanner.test.ts
src/platform/workspace/components/dialogs/settings/BillingStatusBanner.vue
src/platform/workspace/composables/useBillingCapabilities.test.ts
src/platform/workspace/composables/useBillingCapabilities.ts
src/platform/workspace/composables/useResubscribe.test.ts
src/platform/workspace/composables/useResubscribe.ts
src/platform/workspace/composables/useSubscriptionCheckout.test.ts
src/platform/workspace/composables/useSubscriptionCheckout.ts
src/platform/workspace/composables/useWorkspaceMenuItems.test.ts
src/platform/workspace/composables/useWorkspaceMenuItems.ts
🤖 Prompt for AI Agents
Backport PR #15675 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/15675) to cloud/1.52.
Cherry-pick merge commit 91e89697d9906d0acab439587ceccb7a15370815 onto new branch
backport-15675-to-cloud-1.52 from origin/cloud/1.52.
Resolve conflicts in: browser_tests/fixtures/helpers/CloudWorkspaceMockHelper.ts src/platform/workspace/components/CurrentUserPopoverWorkspace.test.ts src/platform/workspace/components/CurrentUserPopoverWorkspace.vue src/platform/workspace/components/SubscriptionPanelContentWorkspace.test.ts src/platform/workspace/components/SubscriptionPanelContentWorkspace.vue src/platform/workspace/components/UnifiedPricingTable.test.ts src/platform/workspace/components/UnifiedPricingTable.vue src/platform/workspace/components/dialogs/settings/BillingStatusBanner.test.ts src/platform/workspace/components/dialogs/settings/BillingStatusBanner.vue src/platform/workspace/composables/useBillingCapabilities.test.ts src/platform/workspace/composables/useBillingCapabilities.ts src/platform/workspace/composables/useResubscribe.test.ts src/platform/workspace/composables/useResubscribe.ts src/platform/workspace/composables/useSubscriptionCheckout.test.ts src/platform/workspace/composables/useSubscriptionCheckout.ts src/platform/workspace/composables/useWorkspaceMenuItems.test.ts src/platform/workspace/composables/useWorkspaceMenuItems.ts .

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

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

cc @wei-hai

christian-byrne pushed a commit to christian-byrne/ComfyUI_frontend that referenced this pull request Oct 10, 2026
… its backend ticket (Comfy-Org#20680)

## Why

ADR-API-SERVER-FACTS-0042 (Comfy-Org#20679) says the frontend renders server
facts as received. When the UI needs a fact the API doesn't emit yet,
agents have so far reached for the nearest field as a proxy, as Comfy-Org#15675
did with `can_change_seats` for member management (BE-19904). That needs
a legal interim path, and the path has to expire, or the proxy becomes
permanent.

## How

- **`pendingServerFact(ticket, value)`** (`src/platform/serverFacts/`)
returns `value` unchanged. The ticket type is `` `BE-${number}` ``, so
only a backend ticket typechecks. The server-fact lint rules (S2,
FE-3351) ignore anything inside this call.
- **`pnpm check:pending-server-facts`** collects every call site and
asks Linear for each ticket's state. It fails when a ticket is Done or
Canceled, when Linear doesn't know the ticket (a typo must not bridge
forever), or when the first argument isn't a `'BE-<n>'` literal. Each
failure prints the `file:line` that still uses the bridge.
- It uses one `issues(filter: { team: BE, number: { in } })` query,
because `issue(id:)` nulls the whole aliased response for one unknown
ID.
- `--offline` checks only that every ticket is a `'BE-<n>'` literal. It
never reads `LINEAR_API_KEY` and makes no network call.
- The pure parts (`extractTickets`, `expiredTickets`, `preflight`) are
unit-tested.
- **`.github/workflows/ci-pending-server-facts.yaml`** has two jobs:
- `shape` runs on PRs touching source, with no secret, and runs the
check with `--offline`.
- `expiry` runs daily and on `workflow_dispatch`, checks out the default
branch, and gets `LINEAR_API_KEY`.
- The PR job never receives the secret; only scheduled/dispatch runs on
default-branch code query Linear.
- **Admin step needed:** a `LINEAR_API_KEY` repo secret. Without it,
`expiry` passes while there are no call sites (main today) and fails
closed as soon as one appears.

## AS IS / TO BE

There is no UI change.

| | AS IS | TO BE |
|---|---|---|
| Missing server fact | The agent improvises a proxy field |
`pendingServerFact('BE-123', expr)` plus a backend ticket |
| Ticket closes | The proxy stays forever | CI goes red at the exact
`file:line` until the field is rendered |

## Verification

- `vitest run scripts/pending-server-facts.test.ts
src/platform/serverFacts`: 24 passed.
- With no call sites, `--offline`: `No pendingServerFact call sites.
Nothing to check.`, exit 0.
- With a temporary `pendingServerFact('BE-19904', 1)`:
- `--offline`: `1 pendingServerFact ticket(s) are well-formed; expiry is
checked by the scheduled job on main.`, exit 0.
- Online with no key: names the missing secret, exit 1. BE-19904 is
Done, so with the key it would fail as expired.
- With a non-literal ticket, `--offline`: needs-a-literal message with
`file:line`, exit 1.
- `grep LINEAR_API_KEY` on the workflow matches only the `expiry` job.
`actionlint` is clean.
- Not verified: the success path against live Linear, because no key is
available locally.

## Plan position

TDD: [Server-fact
guardrails](https://app.notion.com/p/3f46d73d36508162ae1be360e6403b5b).
Parent: FE-3349.

| Item | Ticket | PR | Status |
|---|---|---|---|
| S1 ADR + AGENTS.md + guidance | FE-3350 | Comfy-Org#20679 | In review |
| S2 oxlint rules, diff-scoped gate | FE-3351 | — | In progress |
| S3 write hook | FE-3352 | — | Blocked by S2 |
| S4 approve hook | FE-3353 | — | Blocked by S2 |
| **S5 `pendingServerFact` + expiry CI** | **FE-3354** | **this PR** |
**In review** |
| S6 orthogonality tests + CODEOWNERS | FE-3355 | — | After Comfy-Org#20674 |
| S7 cloud agent instructions | FE-3356 | cloud#12741 | In review |

```mermaid
graph LR
  S1["S1 ADR (PR 20679)"] --> S7["S7 cloud AGENTS.md (cloud PR 12741)"]
  S2["S2 oxlint rules"] --> S3["S3 write hook"]
  S2 --> S4["S4 approve hook"]
  S5["S5 pendingServerFact (this PR)"]:::current
  S5 -. "exempted by" .-> S2
  P20674["PR 20674 member capabilities"] --> S6["S6 orthogonality tests"]
  classDef current fill:#f9d71c,stroke:Comfy-Org#333,stroke-width:2px
```
Penguinjanator pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Oct 10, 2026
…-fact gates (Comfy-Org#20694)

## Why

BE-19903 and BE-19904 shipped because members-panel gates recombined a
server capability with plan state, seats and role. Comfy-Org#19455 hid the
derivation behind a helper and an `if`/`return`, so the lint rules
(Comfy-Org#20679) can't see it. The existing tests also didn't catch it: they
mocked the capability at the composable, and one asserted the derivation
as expected behaviour.

## Root cause

No test asserted the property that matters: **a gate's output depends
only on its server fact.** Each test pinned one combination of inputs,
so a gate that also read `isPlanEnded` passed every test that didn't
happen to flip it.

## How

- **`describeServerFactGate`** (`src/utils/__tests__/serverFactGate.ts`,
about 50 lines). Given a fact setter, a list of non-fact perturbations,
`mount` and `read`, it generates `it.for` cases over both fact values
and every perturbation:
  - Each perturbation must leave `read()` unchanged.
  - Flipping only the fact must change it.
- The fact is set after the perturbation, so a perturbation can't
override it.
- **Applied to the Cloud members-panel gates** in
`useMembersPanel.test.ts`:

  | Gate | Fact | Reads |
  |---|---|---|
| Invite | `can_invite_members` | `showInviteButton`,
`isInviteDisabled`, `permissions.canInviteMembers` |
| Member management | `can_manage_members` | `canManageMembers`,
`canViewPendingInvites`, `uiConfig.showPendingTab`, member menu
non-empty |
| Roster visibility | members response (`membersLoaded`) |
`canViewOtherMembers`, `showMembersList` |

  Shared perturbations:
- plan ended, Enterprise, ended Enterprise with `maxSeats` 1, `maxSeats`
1
  - personal plan, cancel scheduled
  - not a billing manager, member role
  - `can_change_seats` flipped

Each gate also flips the capabilities it must not depend on. Invite
flips `can_manage_members`, management flips `can_invite_members`, and
roster flips both, so one capability can't stand in for another.
- **`CODEOWNERS`**: `/src/platform/workspace/` gets the billing owners.
The incident lived there, and it was the only billing-adjacent path
without owners.

## AS IS / TO BE

There is no UI change. These are test outcomes on the two historical
defects, each reintroduced by hand and not committed:

| Mutation | AS IS (tests before this PR) | TO BE |
|---|---|---|
| Comfy-Org#18662 disjunct back on Cloud `showInviteButton` (`canInviteMembers
\|\| (isPlanEnded && canManageSubscription)`) | Existing suite still
asserted it pre-Comfy-Org#20674 | 4 failures, including "ignores an ended plan
when the fact is false" and "ignores an ended Enterprise plan with one
seat when the fact is false" |
| Comfy-Org#15675 substitution (`canManageMembers` ← `canChangeSeats`) | Not
caught by an orthogonality case | 27 failures, including "ignores a
flipped can_change_seats" (fact true and false) and "changes when the
fact flips" |
| After revert | — | 158 passed |

## Verification

- `vitest run
src/platform/workspace/composables/useMembersPanel.test.ts`: 158 passed.
- oxlint `--type-aware` and oxfmt `--check` pass on touched files. The
pre-commit hook ran `typecheck:app`.
- No existing Cloud test still asserts a derivation (Comfy-Org#20674 already
flipped them), so none were rewritten.

## Plan position

TDD: [Server-fact
guardrails](https://app.notion.com/p/3f46d73d36508162ae1be360e6403b5b).
Parent: FE-3349.

| Item | Ticket | PR | Status |
|---|---|---|---|
| S1 ADR + S2 lint gate + S3/S4 hooks (folded) | FE-3350..FE-3353 |
Comfy-Org#20679 | In review |
| S5 `pendingServerFact` + expiry CI | FE-3354 | Comfy-Org#20680 | Merged
(backports Comfy-Org#20692, Comfy-Org#20693) |
| **S6 orthogonality tests + CODEOWNERS** | **FE-3355** | **this PR** |
**In review** |
| S7 cloud agent instructions | FE-3356 | cloud#12741 | Merged |

```mermaid
graph LR
  S1["S1-S4 ADR, lint gate, hooks (PR 20679)"]
  S5["S5 pendingServerFact (PR 20680, merged)"] -. "exempted by" .-> S1
  P20674["PR 20674 member capabilities (merged)"] --> S6["S6 orthogonality tests (this PR)"]:::current
  S6 -. "covers what lint cannot" .-> S1
  S7["S7 cloud AGENTS.md (merged)"]
  classDef current fill:#f9d71c,stroke:Comfy-Org#333,stroke-width:2px
```
Penguinjanator pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Oct 10, 2026
…DR, changed-line lint gate, agent hooks) (Comfy-Org#20679)

> **This PR now carries the whole short-term stack.** The approved
children were folded into this branch: Comfy-Org#20681 (S2 server-fact oxlint
rules + changed-line gate, FE-3351) and Comfy-Org#20682 (S3/S4 write and approve
hooks, FE-3352 / FE-3353). Each was reviewed and approved on its own PR.
The reviewer-visible diff since the docs-only version is those two PRs
plus two ADR wording commits: `83e85827ef` (rule 1 scoped to
entitlement; local UI state may only narrow) and `2c6455a3bd`
(enforcement described as planned per ticket, per CodeRabbit).

## Why

Agents keep writing, and approving, frontend code that recombines server
facts (capabilities, role, tier, plan status, seats, timestamps) into
decisions the backend owns. The latest case shipped two billing P0s
(BE-19903, BE-19904) through Comfy-Org#15675, Comfy-Org#18662 and Comfy-Org#19455. About 20 fixes
since April moved a decision back to the server.

## Root cause

There is no repo-level rule for this. The one piece of guidance that
touches it points the other way: `docs/guidance/state-and-effects.md`
says "Derive everything derivable", and its first example is a `can*`
flag. A reviewer-side prose rule existed, and Comfy-Org#18662 and Comfy-Org#19455 were
approved anyway.

## How

- **`docs/adr/API-SERVER-FACTS-0042`** records the rule (R1–R5): a gate
renders one server fact as received; `isCloud` picks the build, not the
permission; failed reads use contract defaults, never role or tier
fallbacks; a missing fact is a backend ticket plus `pendingServerFact`.
It also records the rejected alternatives.
- **`AGENTS.md`** gets one Common Pitfalls line linking the ADR, so
every author's agent reads it.
- **`state-and-effects.md` §4** now scopes "derive everything derivable"
to state the feature owns, and sends server facts to the API. The
`canTransition` example is dropped.

Enforcement (lint rules, write and approve hooks, orthogonality tests,
the `pendingServerFact` expiry check) follows in the sibling tickets
below. This PR is the text those checks link to.

## AS IS / TO BE

Docs only. There is no UI change.

| | AS IS | TO BE |
|---|---|---|
| Repo rule | none | ADR + `AGENTS.md` line |
| `state-and-effects.md` §4 | "derive everything derivable",
`canTransition` example | feature-owned state only; server facts render
the API field |

## Plan position

TDD: [Server-fact
guardrails](https://app.notion.com/p/3f46d73d36508162ae1be360e6403b5b).
Parent: FE-3349.

| Item | Ticket | PR | Status |
|---|---|---|---|
| **S1 ADR + AGENTS.md + guidance** | **FE-3350** | **this PR** | **In
review** |
| S2 oxlint rules, diff-scoped gate | FE-3351 | — | Next |
| S3 write hook | FE-3352 | — | Blocked by S2 |
| S4 approve hook | FE-3353 | — | Blocked by S2 |
| S5 `pendingServerFact` + expiry CI | FE-3354 | — | Needs
`LINEAR_API_KEY` secret |
| S6 orthogonality tests + CODEOWNERS | FE-3355 | — | After Comfy-Org#20674 |
| S7 cloud agent instructions | FE-3356 | — | Blocked by S1 |

```mermaid
graph LR
  S1["S1 ADR (this PR)"]:::current --> S7["S7 cloud AGENTS.md"]
  S2["S2 oxlint rules"] --> S3["S3 write hook"]
  S2 --> S4["S4 approve hook"]
  S5["S5 pendingServerFact"]
  S6["S6 orthogonality tests"]
  P20674["PR 20674 member capabilities"] --> S6
  classDef current fill:#f9d71c,stroke:Comfy-Org#333,stroke-width:2px
```
mcmerdith pushed a commit to mcmerdith/ComfyUI_frontend that referenced this pull request Oct 28, 2026
…e them (Comfy-Org#22073)

## Why

An Enterprise workspace owner could not see or manage members
([FE-3618](https://linear.app/comfyorg/issue/FE-3618)). He was signed in
to a Cloud workspace from a non-Cloud bundle, and in that state the
Members entry does not exist.

## Root cause

`useSettingUI.ts` gated the Workspace section and the Members entry
inside it on two different axes:

```ts
const shouldShowWorkspacePanel = computed(() => isLoggedIn.value)        // login only
const workspacePanels = isCloud ? [planPanel, membersPanel] : [planPanel] // build-time constant
```

`isCloud` is `__DISTRIBUTION__ === 'cloud'`, statically replaced at
build and unable to change at runtime. So a user signed in to a Cloud
workspace from a non-Cloud bundle gets the Workspace section, gets Plan
& Credits — their real Cloud billing, which is why the reporter's
screenshot shows 41,419 Cloud credits — and never gets Members. That is
the code's intended output, not a regression: the same gate is on
`main`, `cloud/1.58`, `1.57` (prod) and `1.56`. On 1.57/1.56 it is
formatted across lines, which is worth knowing if you grep for it.

The server already owns this decision and publishes it as
`can_manage_members` in the generated ingest contract, and the panel
itself consumes it (`useMembersPanel.ts:134`,
`MembersPanelContent.vue:150,195`). Only the nav entry ignored it, so a
build-time constant stood in for a server-owned permission and refused a
user the server considers a full owner.

## How

```diff
-const workspacePanels = isCloud ? [planPanel, membersPanel] : [planPanel]
+const canViewMembers = pendingServerFact(
+  'BE-24066',
+  isCloud || canManageMembers.value
+)
+const workspacePanels = canViewMembers ? [planPanel, membersPanel] : [planPanel]
```

**The expression is wrapped because the fact it needs does not exist.**
The server-fact gate rejected the first version of this PR, correctly:
ADR-API-SERVER-FACTS-0042 rule 1 says a gate renders one server fact as
received, and rule 2 says `isCloud` decides which build ships, not what
a user may do. `isCloud || canManageMembers.value` is a derivation — the
same pattern that shipped the two billing P0s in the ADR's own context,
one of which (Comfy-Org#15675) also lost member management for Enterprise owners.

Viewing the roster is not `can_manage_members`: viewing is gated on
`membersLoaded`, the capability gates the actions inside the panel, so
Cloud non-owners read a roster today while it is false. Substituting it
is exactly what rule 4 warns against. So this is rule 4's case —
[BE-24066](https://linear.app/comfyorg/issue/BE-24066) asks the owning
team which field should answer it, and `pendingServerFact` makes the gap
expire: CI fails once that ticket closes, until the shipped field is
rendered and this wrapper is deleted.

**Additive, not a replacement, and that distinction is the point.**
Viewing the roster is gated on `membersLoaded`, not on
`can_manage_members` (`useMembersPanel.ts:143`), so Cloud members who
are not owners see a read-only list today. Gating the entry on the
capability alone would have silently taken that away from every Cloud
non-owner — fixing one bug by introducing another.

| | before | after |
| --- | --- | --- |
| Cloud owner | shown | shown |
| Cloud non-owner | shown (read-only) | shown (read-only) |
| non-Cloud, server permits | **hidden** | **shown** |
| non-Cloud, server refuses | hidden | hidden |

`canManageMembers` resolves through
`receiveServerFact('can_manage_members', … ?? false)`, so it fails
closed: if capabilities do not resolve, the entry stays hidden, which is
today's behaviour.

## Tests

`useSettingUI.test.ts`: `shows Members off Cloud when the server says
the actor can manage them`. Mutation-checked — dropping `||
canManageMembers.value` fails it with `expected [ { id: 'workspace' } ]
to deeply equal [ …, { id: 'workspace-members' } ]`. The two existing
local cases still assert `workspace-members` is null and now mean "local
and the server refuses", since the capability auto-mock defaults to
false.

21/21 in that file. Repo typecheck (`scripts/vue-tsc-native.ts`) reports
zero `src/` errors; oxlint `--type-aware` and oxfmt clean.

## Not verified here, and it gates the Desktop half

Whether `workspaceApi.listMembers` actually serves a **Desktop-origin
session**. The capability read works there — Plan & Credits proves the
same auth and workspace context resolve — but that is inference, not
proof, and I could not run a Desktop build.

This is the one case where the change could be worse than today: if the
capability is true but `listMembers` does not serve that session, the
entry appears and the panel degrades to its minimal layout
(`membersLoaded` false → `showMinimalMemberLayout`). No crash, but an
entry that leads nowhere. **Please confirm on a real Desktop build
signed into a Cloud workspace before merging.** If it does not serve,
this becomes a product scope decision and FE-3618 should be retitled to
"member management is unavailable on Desktop/local" instead.

Cloud is unaffected either way — that path is unchanged.

Tracks [FE-3645](https://linear.app/comfyorg/issue/FE-3645).
nomadoor pushed a commit to nomadoor/ComfyUI_frontend that referenced this pull request Nov 2, 2026
Comfy-Org#22395)

## Why

ADR-API-SERVER-FACTS-0042 is still `Proposed`, and its rule 1 is
ambiguous in a way that already caused a wrong block. On Comfy-Org#21858,
`deployment.status === 'ready'` was blocked as a derived server fact,
although the spec defines `ready` as the only status that takes jobs.
The PR ended up wrapped in `pendingServerFact('BE-24332', …)`. The cause
was the rule's wording, not the code. This PR removes the ambiguity and
proposes moving the ADR to `Accepted`.

## Root cause

Rule 1 forbids combining a fact "through `&&`, `||`, `??`, a ternary,
arithmetic, a comparison or a helper" and adds that a gate "does not
choose which fact answers the question". It doesn't say what either
clause applies to:

- "a comparison" was read as any comparison, including one field
compared with the value its own spec defines;
- "choose which fact answers" didn't separate a field the API documents
as the answer from a proxy (`role === 'owner'`);
- narrowing an action the server permits (hide or disable) wasn't
covered, so a UX narrowing that contradicted a spec line ("any status
may be picked") read as a violation.

The lint gate (`comfy/no-server-fact-literals`,
`comfy/no-capability-recombination`) does not draw the same line: it
keys on field names, not documentation. It flags tier and
billing/subscription-status literals even when the spec documents the
value, and it can't see a proxy on any other field. The ADR now says so
and says the lint wins on conflict.

## How

- Rule 1: the forbidden comparison is one between server facts.
- New rule 2, "as received means as the API documents it": comparing one
field with a value its API documentation defines as the answer is
rendering. A field the API doesn't document as the answer is a proxy. An
open `string` compared with a documented literal gets an enum request to
the backend, not a block.
- Rule 2 also says where a documented-value comparison lives: in the
fact provider, minted with `receiveServerFact` for that field. A field
with no documentation is a proxy.
- New rule 3: narrowing an action the server permits follows rule 2 for
the narrower question. The documentation exists before merge; a
contradicting spec changes first.
- Rule 7 (BE review of field choice): documentation counts as the review
only when it names the UI question itself. Reading a doc sentence as the
answer to a different question still needs the owning team.
- New "Classifying a gate" table built from real cases (Comfy-Org#15675, Comfy-Org#18662,
Comfy-Org#21858, `canSetDefault`), plus a requirement that the author cites the
documentation that makes the field the answer; a reviewer may block on a
missing or mismatched citation.
- "Enforcement" section: lists what is in place (lint, hooks,
`pendingServerFact` expiry, `ServerFact<Field>`) and what is open
(orthogonality tests), and states that the lint wins where it is
narrower or broader than rule 2.
- Renumbering only for the other rules; no rule removed.
- `scripts/hooks/server-fact-hook.ts` agent guidance: names arithmetic,
and tells an agent blocked on a tier or status literal to ask the
backend or change the lint, not to disable it.
- Status `Proposed` → `Accepted`. Open to discussion if anyone wants it
kept as Proposed.

## AS IS / TO BE

Docs and hook-message change only; no UI.

| | Text |
|---|---|
| AS IS | "…through `&&`, `||`, `??`, a ternary, arithmetic, a
comparison or a helper. It also does not choose which fact answers the
question." |
| TO BE | "…a comparison between them, or a helper." plus rule 2:
"Comparing one field with a value its API documentation defines as the
answer to this question is rendering, not deriving." |

## Checks

- `pnpm adr:check` passes
- `vitest run scripts/hooks/`: 51/51 pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Backporting a PR onto a release candidate cloud/1.52 Backport PRs for cloud/1.52 core/1.52 Backport PRs for core/1.52 needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch preview-cpu Creates a preview ephemeral environment for this PR (CPU only) released:cloud PR has been released to cloud risk:xhigh PR risk grade (advisory shadow check; grader-owned) size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants