Skip to content

fix(billing): return a real state for an unrecognised subscription tier - #14856

Closed
christian-byrne wants to merge 5 commits into
mainfrom
fix/billing-policy-unknown-tier-crash
Closed

christian-byrne wants to merge 5 commits into
mainfrom
fix/billing-policy-unknown-tier-crash

Conversation

@christian-byrne

Copy link
Copy Markdown
Contributor

Summary

deriveBillingPolicyState (added in #14591) ended its tier switch with return input.tier satisfies never. satisfies is erased at build time, so an unrecognised tier returned the raw string instead of a state object. getBillingPolicyCapabilities then switched on state.kind (undefined), matched no case, and — having no default: arm — returned undefined. Both consumers (dialogService.ts:340, CreditsTile.vue:191) dereference that unguarded, so it is a TypeError.

Why it is reachable

The registry SubscriptionTier enumerates five members (tierPricing.ts TIER_TO_KEY), which is why satisfies never compiles. But packages/ingest-types/src/types.gen.ts declares TEAM. The two generated type sources disagree. The isTeamPlan branch catches most team accounts first, but it is a plan_slug heuristic (useBillingContext.ts), so a team workspace whose slug does not match falls through to the switch.

User-visible result: Add credits never opens and the Credits tile renders blank — the same flow the original local-credits P0 broke.

Change

Both switches keep compile-time exhaustiveness through a never assignment, and return a usable value at runtime:

  • unrecognised tier maps to the existing ${distribution}AndUnknown state
  • unrecognised state maps to topUpAccess: 'allowed', no upsell — degrading toward letting a paying customer spend rather than locking them out

Tests

Both new tests were confirmed to fail against the unfixed source, with the exact diagnosed symptoms:

AssertionError: expected 'TEAM' to deeply equal { kind: 'LocalAndUnknown' }
AssertionError: expected undefined to be defined

The existing table types tier as Parameters<typeof deriveBillingPolicyState>[0]['tier'], so the crashing branch was structurally impossible to cover; the new cases cast deliberately to reach it.

pnpm typecheck exit 0, 34 tests pass.

@christian-byrne
christian-byrne requested a review from a team August 6, 2026 22:05
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Aug 6, 2026
@coderabbitai

coderabbitai Bot commented Aug 6, 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: a832d56f-5644-40e9-8f4d-949307910df3

📥 Commits

Reviewing files that changed from the base of the PR and between 95088bd and 0342b5b.

📒 Files selected for processing (5)
  • src/platform/cloud/subscription/billingPolicyCapabilities.test.ts
  • src/platform/cloud/subscription/billingPolicyCapabilities.ts
  • src/platform/cloud/subscription/billingPolicyState.ts
  • src/platform/cloud/subscription/composables/useBillingPolicyState.test.ts
  • src/platform/cloud/subscription/composables/useBillingPolicyState.ts

📝 Walkthrough

Walkthrough

The changes add explicit billing-policy states for unrecognized tiers. Tier derivation now supports registry and ingest tiers, including TEAM. Capability resolution adds exhaustive checks and runtime fallbacks.

Changes

Billing policy fallbacks

Layer / File(s) Summary
Subscription state fallback handling
src/platform/cloud/subscription/billingPolicyState.ts, src/platform/cloud/subscription/composables/useBillingPolicyState.ts, src/platform/cloud/subscription/composables/useBillingPolicyState.test.ts
The resolver accepts registry and ingest subscription tiers. It maps TEAM explicitly and maps unrecognized tiers to local or cloud fallback states. Tests cover both contexts.
Capability fallback handling
src/platform/cloud/subscription/billingPolicyCapabilities.ts, src/platform/cloud/subscription/billingPolicyCapabilities.test.ts
The resolver handles unrecognized local and cloud states. It uses a never check and returns subscription-required capabilities for unknown runtime states without upsell UI.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 0342b

This localized change adds runtime fallbacks for unrecognised billing tiers and states, preventing the affected credits flows from failing; no actionable merge-blocking risk remains after normal checks and review.

Possibly related PRs


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, but the PR title and commit subjects are not; the required bug-fix signal cannot be verified from the allowed metadata. Provide the PR title and commit subjects, then reassess whether the missing browser_tests/ file and E2E-test explanation trigger the check.
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main fix for unrecognised subscription tiers.
Description check ✅ Passed The description explains the bug, impact, runtime fallback, testing, and design rationale, with only minor template sections omitted.
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.
Adr Compliance For Entity/Litegraph Changes ✅ Passed The changed files are under src/platform/cloud/subscription and do not modify litegraph, ECS, or graph-entity files; this check is not applicable.
✨ 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 fix/billing-policy-unknown-tier-crash

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

coderabbitai[bot]
coderabbitai Bot previously approved these changes Aug 6, 2026
@github-actions

github-actions Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

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

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

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 08/15/2026, 12:59:35 AM UTC

Links

📦 Bundle: 8.85 MB gzip 🔴 +179 B

Details

Summary

  • Raw size: 37.3 MB baseline 37.3 MB — 🔴 +443 B
  • Gzip: 8.85 MB baseline 8.85 MB — 🔴 +179 B
  • Brotli: 6.19 MB baseline 6.19 MB — 🟢 -398 B
  • Bundles: 439 current • 439 baseline • 145 added / 145 removed

Category Glance
Data & Services 🔴 +443 B (3.52 MB) · Vendor & Third-Party ⚪ 0 B (16.8 MB) · Other ⚪ 0 B (14.2 MB) · Graph Workspace ⚪ 0 B (1.37 MB) · Panels & Settings ⚪ 0 B (565 kB) · Utilities & Hooks ⚪ 0 B (550 kB) · + 5 more

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

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-CaYKsml3.js (removed) 3.71 kB — 🟢 -3.71 kB 🟢 -1.86 kB 🟢 -1.6 kB
assets/index-CEZrWj3J.js (new) — 3.71 kB 🔴 +3.71 kB 🔴 +1.86 kB 🔴 +1.58 kB

Status: 1 added / 1 removed

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

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-C4mTNCBA.js (new) — 1.36 MB 🔴 +1.36 MB 🔴 +297 kB 🔴 +223 kB
assets/GraphView-K1HmSvod.js (removed) 1.36 MB — 🟢 -1.36 MB 🟢 -297 kB 🟢 -223 kB
assets/WidgetCompositor-BhV83121.js (removed) 8.17 kB — 🟢 -8.17 kB 🟢 -2.76 kB 🟢 -2.46 kB
assets/WidgetCompositor-CF9O7CkB.js (new) — 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-C1Bk4IP2.js (new) — 25 kB 🔴 +25 kB 🔴 +6.24 kB 🔴 +5.52 kB
assets/CloudSurveyView-CR8cFoLh.js (removed) 25 kB — 🟢 -25 kB 🟢 -6.24 kB 🟢 -5.52 kB
assets/CloudLayoutView-BKJX4Sm4.js (new) — 21.8 kB 🔴 +21.8 kB 🔴 +6.57 kB 🔴 +5.75 kB
assets/CloudLayoutView-CqDnHmxo.js (removed) 21.8 kB — 🟢 -21.8 kB 🟢 -6.57 kB 🟢 -5.75 kB
assets/UserCheckView-BIIyEJ6N.js (removed) 8.75 kB — 🟢 -8.75 kB 🟢 -2.19 kB 🟢 -1.91 kB
assets/UserCheckView-uNFYAT6U.js (new) — 8.75 kB 🔴 +8.75 kB 🔴 +2.19 kB 🔴 +1.91 kB
assets/CloudLoginView-D-Iyt_NF.js (removed) 8.74 kB — 🟢 -8.74 kB 🟢 -2.55 kB 🟢 -2.26 kB
assets/CloudLoginView-DVs8AqSW.js (new) — 8.74 kB 🔴 +8.74 kB 🔴 +2.56 kB 🔴 +2.26 kB
assets/useCloudAuthPage-ClVgpwrj.js (removed) 7.08 kB — 🟢 -7.08 kB 🟢 -2.52 kB 🟢 -2.2 kB
assets/useCloudAuthPage-DJMwmlpM.js (new) — 7.08 kB 🔴 +7.08 kB 🔴 +2.52 kB 🔴 +2.2 kB
assets/CloudSignupView-BpJ-4y-_.js (new) — 6.96 kB 🔴 +6.96 kB 🔴 +2.28 kB 🔴 +2 kB
assets/CloudSignupView-C3WtAapD.js (removed) 6.96 kB — 🟢 -6.96 kB 🟢 -2.28 kB 🟢 -2 kB
assets/WidgetTextPreview-c0qZuGGP.js (removed) 6.07 kB — 🟢 -6.07 kB 🟢 -2.13 kB 🟢 -1.9 kB
assets/WidgetTextPreview-CR6ko_oC.js (new) — 6.07 kB 🔴 +6.07 kB 🔴 +2.13 kB 🔴 +1.9 kB
assets/CloudSubscriptionRedirectView-CRXFAbxH.js (new) — 6.05 kB 🔴 +6.05 kB 🔴 +2.25 kB 🔴 +1.97 kB
assets/CloudSubscriptionRedirectView-hGffGYaz.js (removed) 6.05 kB — 🟢 -6.05 kB 🟢 -2.25 kB 🟢 -1.96 kB
assets/UserSelectView-Br4idrA4.js (removed) 5.49 kB — 🟢 -5.49 kB 🟢 -1.96 kB 🟢 -1.71 kB
assets/UserSelectView-CbirdFtU.js (new) — 5.49 kB 🔴 +5.49 kB 🔴 +1.96 kB 🔴 +1.72 kB
assets/CloudForgotPasswordView-BYUVJJxz.js (removed) 4.97 kB — 🟢 -4.97 kB 🟢 -1.72 kB 🟢 -1.49 kB
assets/CloudForgotPasswordView-uSybeXRc.js (new) — 4.97 kB 🔴 +4.97 kB 🔴 +1.73 kB 🔴 +1.49 kB
assets/CloudAuthTimeoutView--QwlzDAv.js (new) — 4.43 kB 🔴 +4.43 kB 🔴 +1.54 kB 🔴 +1.34 kB
assets/CloudAuthTimeoutView-bjxdQJ4P.js (removed) 4.43 kB — 🟢 -4.43 kB 🟢 -1.54 kB 🟢 -1.34 kB
assets/OAuthLayoutView-DF9FxFFp.js (new) — 1.31 kB 🔴 +1.31 kB 🔴 +700 B 🔴 +589 B
assets/OAuthLayoutView-DT2AT2wm.js (removed) 1.31 kB — 🟢 -1.31 kB 🟢 -701 B 🟢 -587 B
assets/WidgetTextPreview-C6kXgZBV.js (removed) 131 B — 🟢 -131 B 🟢 -100 B 🟢 -90 B
assets/WidgetTextPreview-CIScq3Wp.js (new) — 131 B 🔴 +131 B 🔴 +100 B 🔴 +92 B

Status: 13 added / 13 removed / 4 unchanged

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

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/KeybindingPanel-BbR6FOEq.js (removed) 49.4 kB — 🟢 -49.4 kB 🟢 -9.95 kB 🟢 -8.8 kB
assets/KeybindingPanel-CoJT7iZ1.js (new) — 49.4 kB 🔴 +49.4 kB 🔴 +9.95 kB 🔴 +8.8 kB
assets/SecretsPanel-BmDGcrL0.js (removed) 33.7 kB — 🟢 -33.7 kB 🟢 -7.87 kB 🟢 -6.91 kB
assets/SecretsPanel-uJTQE6Rc.js (new) — 33.7 kB 🔴 +33.7 kB 🔴 +7.87 kB 🔴 +6.91 kB
assets/CreditsPanel-BXgs2ahb.js (new) — 11.5 kB 🔴 +11.5 kB 🔴 +3.21 kB 🔴 +2.81 kB
assets/CreditsPanel-DpQzCEWq.js (removed) 11.5 kB — 🟢 -11.5 kB 🟢 -3.21 kB 🟢 -2.81 kB
assets/AboutPanel-Dq5EDySA.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.03 kB 🟢 -2.72 kB
assets/AboutPanel-KLEnVYuT.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.03 kB 🔴 +2.72 kB
assets/ExtensionPanel-6YKKP8Fk.js (new) — 9.19 kB 🔴 +9.19 kB 🔴 +2.51 kB 🔴 +2.23 kB
assets/ExtensionPanel-CqnStzPC.js (removed) 9.19 kB — 🟢 -9.19 kB 🟢 -2.51 kB 🟢 -2.23 kB
assets/ServerConfigPanel-BKkFQolQ.js (removed) 6.09 kB — 🟢 -6.09 kB 🟢 -1.94 kB 🟢 -1.72 kB
assets/ServerConfigPanel-DOpgqlPR.js (new) — 6.09 kB 🔴 +6.09 kB 🔴 +1.94 kB 🔴 +1.73 kB
assets/UserPanel-B10NjZpn.js (new) — 5.73 kB 🔴 +5.73 kB 🔴 +1.78 kB 🔴 +1.54 kB
assets/UserPanel-BPaoFJQ_.js (removed) 5.73 kB — 🟢 -5.73 kB 🟢 -1.78 kB 🟢 -1.54 kB
assets/refreshRemoteConfig-C2gW5xsk.js (removed) 3.44 kB — 🟢 -3.44 kB 🟢 -1.33 kB 🟢 -1.18 kB
assets/refreshRemoteConfig-OUkRfsYE.js (new) — 3.44 kB 🔴 +3.44 kB 🔴 +1.33 kB 🔴 +1.17 kB
assets/cloudRemoteConfig-B5PJbYfJ.js (removed) 951 B — 🟢 -951 B 🟢 -514 B 🟢 -420 B
assets/cloudRemoteConfig-D442rJ7X.js (new) — 951 B 🔴 +951 B 🔴 +517 B 🔴 +422 B
assets/refreshRemoteConfig-BDfdvW3F.js (removed) 110 B — 🟢 -110 B 🟢 -89 B 🟢 -88 B
assets/refreshRemoteConfig-Q-awj4OJ.js (new) — 110 B 🔴 +110 B 🔴 +89 B 🔴 +87 B

Status: 10 added / 10 removed / 16 unchanged

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

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SignUpForm-5-G2ldY8.js (removed) 13.3 kB — 🟢 -13.3 kB 🟢 -4.52 kB 🟢 -3.93 kB
assets/SignUpForm-BVkcDmg3.js (new) — 13.3 kB 🔴 +13.3 kB 🔴 +4.53 kB 🔴 +3.93 kB
assets/auth-Cj1LJ169.js (removed) 3.71 kB — 🟢 -3.71 kB 🟢 -1.29 kB 🟢 -1.1 kB
assets/auth-D5aSnRnA.js (new) — 3.71 kB 🔴 +3.71 kB 🔴 +1.28 kB 🔴 +1.1 kB
assets/UpdatePasswordContent-Dbw8xVAT.js (removed) 1.85 kB — 🟢 -1.85 kB 🟢 -842 B 🟢 -740 B
assets/UpdatePasswordContent-w-59tDzh.js (new) — 1.85 kB 🔴 +1.85 kB 🔴 +844 B 🔴 +736 B
assets/authStore-_HgRPLUl.js (new) — 128 B 🔴 +128 B 🔴 +107 B 🔴 +104 B
assets/authStore-kPDIi2Ow.js (removed) 128 B — 🟢 -128 B 🟢 -107 B 🟢 -102 B
assets/workspaceAuthStore-BhGNTKCH.js (new) — 108 B 🔴 +108 B 🔴 +99 B 🔴 +111 B
assets/workspaceAuthStore-DO6u0Dsd.js (removed) 108 B — 🟢 -108 B 🟢 -99 B 🟢 -112 B
assets/auth-CY4wE-U5.js (new) — 105 B 🔴 +105 B 🔴 +96 B 🔴 +85 B
assets/auth-DWxuTuXy.js (removed) 105 B — 🟢 -105 B 🟢 -96 B 🟢 -86 B

Status: 6 added / 6 removed / 5 unchanged

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

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyHubPublishDialog-BOPEr0F8.js (removed) 90.1 kB — 🟢 -90.1 kB 🟢 -19.3 kB 🟢 -16.5 kB
assets/ComfyHubPublishDialog-wTwUI9qg.js (new) — 90.1 kB 🔴 +90.1 kB 🔴 +19.3 kB 🔴 +16.5 kB
assets/useShareDialog-BPjtzMdR.js (removed) 23.9 kB — 🟢 -23.9 kB 🟢 -5.7 kB 🟢 -5.04 kB
assets/useShareDialog-DAdy6lVQ.js (new) — 23.9 kB 🔴 +23.9 kB 🔴 +5.7 kB 🔴 +5.04 kB
assets/feedbackDialog-DzP_2xmy.js (removed) 4.45 kB — 🟢 -4.45 kB 🟢 -1.87 kB 🟢 -1.59 kB
assets/feedbackDialog-NDZ16vXz.js (new) — 4.45 kB 🔴 +4.45 kB 🔴 +1.87 kB 🔴 +1.59 kB
assets/useRangeEditor-BntAjO0q.js (new) — 3.29 kB 🔴 +3.29 kB 🔴 +1.14 kB 🔴 +1.04 kB
assets/useRangeEditor-Hf_IbuWa.js (removed) 3.29 kB — 🟢 -3.29 kB 🟢 -1.14 kB 🟢 -1.03 kB
assets/useLayerEditor-COdtZgjy.js (removed) 1.01 kB — 🟢 -1.01 kB 🟢 -491 B 🟢 -405 B
assets/useLayerEditor-DOmVjFw8.js (new) — 1.01 kB 🔴 +1.01 kB 🔴 +492 B 🔴 +407 B
assets/ComfyHubPublishDialog-CQXFoaVt.js (removed) 143 B — 🟢 -143 B 🟢 -105 B 🟢 -90 B
assets/ComfyHubPublishDialog-CZffAixG.js (new) — 143 B 🔴 +143 B 🔴 +105 B 🔴 +87 B
assets/useSubscriptionDialog-_EWrKTnc.js (new) — 108 B 🔴 +108 B 🔴 +102 B 🔴 +91 B
assets/useSubscriptionDialog-KgdeEFQq.js (removed) 108 B — 🟢 -108 B 🟢 -102 B 🟢 -90 B

Status: 7 added / 7 removed / 1 unchanged

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

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyQueueButton-B_6YClqU.js (new) — 14.6 kB 🔴 +14.6 kB 🔴 +3.97 kB 🔴 +3.53 kB
assets/ComfyQueueButton-D3XmLren.js (removed) 14.6 kB — 🟢 -14.6 kB 🟢 -3.97 kB 🟢 -3.52 kB
assets/useTerminalTabs-B6j49PLh.js (new) — 11.8 kB 🔴 +11.8 kB 🔴 +3.69 kB 🔴 +3.27 kB
assets/useTerminalTabs-DTCKKGDb.js (removed) 11.8 kB — 🟢 -11.8 kB 🟢 -3.69 kB 🟢 -3.28 kB
assets/InviteMembersForm-BhhUpQqS.js (new) — 8.2 kB 🔴 +8.2 kB 🔴 +2.72 kB 🔴 +2.42 kB
assets/InviteMembersForm-D3KLCxtC.js (removed) 8.2 kB — 🟢 -8.2 kB 🟢 -2.72 kB 🟢 -2.42 kB
assets/SubscribeButton-BYJhWBe4.js (removed) 2.15 kB — 🟢 -2.15 kB 🟢 -970 B 🟢 -848 B
assets/SubscribeButton-L9DI0ds0.js (new) — 2.15 kB 🔴 +2.15 kB 🔴 +971 B 🔴 +849 B
assets/cloudFeedbackTopbarButton-D1z7OU2P.js (new) — 705 B 🔴 +705 B 🔴 +424 B 🔴 +362 B
assets/cloudFeedbackTopbarButton-DozlsCkN.js (removed) 705 B — 🟢 -705 B 🟢 -421 B 🟢 -361 B
assets/ComfyQueueButton-CULGbxNh.js (removed) 128 B — 🟢 -128 B 🟢 -99 B 🟢 -89 B
assets/ComfyQueueButton-TCI8TvzM.js (new) — 128 B 🔴 +128 B 🔴 +99 B 🔴 +90 B

Status: 6 added / 6 removed / 8 unchanged

Data & Services — 3.52 MB (baseline 3.52 MB) • 🔴 +443 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/settingStore-97Y5KVTg.js (new) — 3.24 MB 🔴 +3.24 MB 🔴 +753 kB 🔴 +566 kB
assets/settingStore-CyiBWLx5.js (removed) 3.24 MB — 🟢 -3.24 MB 🟢 -753 kB 🟢 -566 kB
assets/load3dService-Ca0xHH8u.js (new) — 132 kB 🔴 +132 kB 🔴 +29.3 kB 🔴 +24.6 kB
assets/load3dService-H1vvo4wX.js (removed) 132 kB — 🟢 -132 kB 🟢 -29.3 kB 🟢 -24.6 kB
assets/api-BiUE3sAS.js (new) — 98.4 kB 🔴 +98.4 kB 🔴 +27.3 kB 🔴 +23.4 kB
assets/api-DQXJ6iI3.js (removed) 98.4 kB — 🟢 -98.4 kB 🟢 -27.3 kB 🟢 -23.4 kB
assets/workflowShareService-C-YjIhbb.js (new) — 16.5 kB 🔴 +16.5 kB 🔴 +4.91 kB 🔴 +4.34 kB
assets/workflowShareService-zI4EY3dQ.js (removed) 16.5 kB — 🟢 -16.5 kB 🟢 -4.91 kB 🟢 -4.35 kB
assets/keybindingService-BbndOLsg.js (removed) 6.89 kB — 🟢 -6.89 kB 🟢 -1.73 kB 🟢 -1.5 kB
assets/keybindingService-BeW-yMPf.js (new) — 6.89 kB 🔴 +6.89 kB 🔴 +1.73 kB 🔴 +1.5 kB
assets/releaseStore-BrETmJ1y.js (new) — 6.72 kB 🔴 +6.72 kB 🔴 +2.03 kB 🔴 +1.77 kB
assets/releaseStore-Dh7hkqFx.js (removed) 6.72 kB — 🟢 -6.72 kB 🟢 -2.03 kB 🟢 -1.77 kB
assets/systemStatsStore-CUfCdUNh.js (new) — 4.93 kB 🔴 +4.93 kB 🔴 +1.74 kB 🔴 +1.47 kB
assets/systemStatsStore-DWLMlFh0.js (removed) 4.93 kB — 🟢 -4.93 kB 🟢 -1.74 kB 🟢 -1.47 kB
assets/userStore-Blqs0Cgy.js (removed) 2.38 kB — 🟢 -2.38 kB 🟢 -900 B 🟢 -796 B
assets/userStore-DD3-80Xd.js (new) — 2.38 kB 🔴 +2.38 kB 🔴 +897 B 🔴 +795 B
assets/audioService-B1Tdva2i.js (removed) 1.71 kB — 🟢 -1.71 kB 🟢 -831 B 🟢 -724 B
assets/audioService-DfhoPZUI.js (new) — 1.71 kB 🔴 +1.71 kB 🔴 +830 B 🔴 +733 B
assets/dialogService-Dhn5g8x3.js (removed) 98 B — 🟢 -98 B 🟢 -97 B 🟢 -81 B
assets/dialogService-GMMnXoA5.js (new) — 98 B 🔴 +98 B 🔴 +97 B 🔴 +93 B
assets/releaseStore-DfVwil3_.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -91 B
assets/releaseStore-Dgb_GAFi.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +88 B
assets/settingStore-rF950zZS.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +89 B
assets/settingStore-zMd8LGzy.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -73 B
assets/assetsStore-d5Fupp3t.js (removed) 94 B — 🟢 -94 B 🟢 -92 B 🟢 -83 B
assets/assetsStore-DnVoULzS.js (new) — 94 B 🔴 +94 B 🔴 +92 B 🔴 +86 B
assets/api-BGwh6TZp.js (removed) 62 B — 🟢 -62 B 🟢 -74 B 🟢 -66 B
assets/api-Cr06DSK_.js (new) — 62 B 🔴 +62 B 🔴 +74 B 🔴 +66 B

Status: 14 added / 14 removed / 3 unchanged

Utilities & Hooks — 550 kB (baseline 550 kB) • ⚪ 0 B

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useConflictDetection-CO6Z1RKz.js (new) — 236 kB 🔴 +236 kB 🔴 +53 kB 🔴 +43.2 kB
assets/useConflictDetection-Dla5rJiq.js (removed) 236 kB — 🟢 -236 kB 🟢 -53 kB 🟢 -43.2 kB
assets/useLayerEditorSession-Bo8_bJt-.js (new) — 158 kB 🔴 +158 kB 🔴 +40.8 kB 🔴 +34.3 kB
assets/useLayerEditorSession-DioNwnPw.js (removed) 158 kB — 🟢 -158 kB 🟢 -40.8 kB 🟢 -34.3 kB
assets/useLoad3d-FOK5nlqD.js (new) — 25.8 kB 🔴 +25.8 kB 🔴 +5.8 kB 🔴 +5.14 kB
assets/useLoad3d-Q_PIceSZ.js (removed) 25.8 kB — 🟢 -25.8 kB 🟢 -5.81 kB 🟢 -5.15 kB
assets/useLoad3dViewer-BkKp7PFJ.js (removed) 21.2 kB — 🟢 -21.2 kB 🟢 -4.98 kB 🟢 -4.37 kB
assets/useLoad3dViewer-HukrSrX8.js (new) — 21.2 kB 🔴 +21.2 kB 🔴 +4.98 kB 🔴 +4.36 kB
assets/useImageCrop-Cwugf3Vk.js (removed) 14.9 kB — 🟢 -14.9 kB 🟢 -3.42 kB 🟢 -2.99 kB
assets/useImageCrop-DtUqXgvH.js (new) — 14.9 kB 🔴 +14.9 kB 🔴 +3.42 kB 🔴 +2.99 kB
assets/useDowngradeToPersonal-BDaT568W.js (removed) 10.9 kB — 🟢 -10.9 kB 🟢 -2.75 kB 🟢 -2.36 kB
assets/useDowngradeToPersonal-CFsp_bO8.js (new) — 10.9 kB 🔴 +10.9 kB 🔴 +2.75 kB 🔴 +2.36 kB
assets/useFeatureFlags-BqEuPnGP.js (new) — 6.99 kB 🔴 +6.99 kB 🔴 +2 kB 🔴 +1.69 kB
assets/useFeatureFlags-C1Ab7vdt.js (removed) 6.99 kB — 🟢 -6.99 kB 🟢 -2 kB 🟢 -1.72 kB
assets/useCompositorLayers-BENTN-Aq.js (new) — 2.94 kB 🔴 +2.94 kB 🔴 +900 B 🔴 +807 B
assets/useCompositorLayers-DInKdT7a.js (removed) 2.94 kB — 🟢 -2.94 kB 🟢 -897 B 🟢 -805 B
assets/assetPreviewUtil-DAhR8Q6d.js (removed) 2.35 kB — 🟢 -2.35 kB 🟢 -971 B 🟢 -845 B
assets/assetPreviewUtil-DuL-Eusa.js (new) — 2.35 kB 🔴 +2.35 kB 🔴 +970 B 🔴 +847 B
assets/useUpstreamValue-6ht0S2bh.js (removed) 1.99 kB — 🟢 -1.99 kB 🟢 -758 B 🟢 -684 B
assets/useUpstreamValue-C6KQ-Sr-.js (new) — 1.99 kB 🔴 +1.99 kB 🔴 +760 B 🔴 +685 B
assets/useWorkspaceTierLabel-59ZTFqVI.js (new) — 1.93 kB 🔴 +1.93 kB 🔴 +816 B 🔴 +697 B
assets/useWorkspaceTierLabel-aaGu8uVi.js (removed) 1.93 kB — 🟢 -1.93 kB 🟢 -813 B 🟢 -698 B
assets/subscriptionCheckoutUtil-DOquRhsc.js (new) — 877 B 🔴 +877 B 🔴 +521 B 🔴 +439 B
assets/subscriptionCheckoutUtil-DOy8odSs.js (removed) 877 B — 🟢 -877 B 🟢 -522 B 🟢 -438 B
assets/useSessionCookie-DDS7IVll.js (new) — 652 B 🔴 +652 B 🔴 +339 B 🔴 +290 B
assets/useSessionCookie-DZRnZaIN.js (removed) 652 B — 🟢 -652 B 🟢 -338 B 🟢 -291 B
assets/useLoad3d-0cQVYNWY.js (removed) 311 B — 🟢 -311 B 🟢 -164 B 🟢 -148 B
assets/useLoad3d-uZ3iKNcb.js (new) — 311 B 🔴 +311 B 🔴 +164 B 🔴 +147 B
assets/useSessionCookie-B-BJosGe.js (removed) 101 B — 🟢 -101 B 🟢 -86 B 🟢 -77 B
assets/useSessionCookie-B4kwTzcj.js (new) — 101 B 🔴 +101 B 🔴 +86 B 🔴 +82 B
assets/useFeatureFlags-CHFQbVbA.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -82 B
assets/useFeatureFlags-DJUyIG9I.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +82 B
assets/useLoad3dViewer-DN-aa9yU.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +85 B
assets/useLoad3dViewer-DWlSFLW8.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -83 B
assets/useCurrentUser-BeQp7PlU.js (new) — 94 B 🔴 +94 B 🔴 +95 B 🔴 +85 B
assets/useCurrentUser-DOMQivYF.js (removed) 94 B — 🟢 -94 B 🟢 -95 B 🟢 -85 B

Status: 18 added / 18 removed / 20 unchanged

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

External libraries and shared vendor chunks

Status: 18 unchanged

Other — 14.2 MB (baseline 14.2 MB) • ⚪ 0 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/core-CcCJyxEk.js (removed) 115 kB — 🟢 -115 kB 🟢 -29.7 kB 🟢 -25.1 kB
assets/core-DFWN_MWa.js (new) — 115 kB 🔴 +115 kB 🔴 +29.7 kB 🔴 +25.1 kB
assets/WidgetSelect-C5mlEA3U.js (new) — 88.8 kB 🔴 +88.8 kB 🔴 +20.1 kB 🔴 +17.2 kB
assets/WidgetSelect-CKHQHxd6.js (removed) 88.8 kB — 🟢 -88.8 kB 🟢 -20.1 kB 🟢 -17.2 kB
assets/SubscriptionPanelContentWorkspace-B1-GEPYS.js (new) — 80 kB 🔴 +80 kB 🔴 +15.8 kB 🔴 +13.6 kB
assets/SubscriptionPanelContentWorkspace-Dr3tr1aZ.js (removed) 80 kB — 🟢 -80 kB 🟢 -15.8 kB 🟢 -13.6 kB
assets/Load3D-BdQc_Cul.js (removed) 71.3 kB — 🟢 -71.3 kB 🟢 -11.7 kB 🟢 -9.98 kB
assets/Load3D-Buui3yyo.js (new) — 71.3 kB 🔴 +71.3 kB 🔴 +11.7 kB 🔴 +9.98 kB
assets/WidgetVideoEdit-CNzSCuz6.js (removed) 67.5 kB — 🟢 -67.5 kB 🟢 -15.7 kB 🟢 -13.9 kB
assets/WidgetVideoEdit-Dnmrrdb_.js (new) — 67.5 kB 🔴 +67.5 kB 🔴 +15.7 kB 🔴 +13.9 kB
assets/SubscriptionTransitionPreviewWorkspace-BXtUy7yM.js (new) — 66.5 kB 🔴 +66.5 kB 🔴 +13.4 kB 🔴 +11.7 kB
assets/SubscriptionTransitionPreviewWorkspace-CLemRR4Q.js (removed) 66.5 kB — 🟢 -66.5 kB 🟢 -13.4 kB 🟢 -11.7 kB
assets/WorkspaceSettingsPanelContent-D3X7rJOy.js (new) — 58.2 kB 🔴 +58.2 kB 🔴 +12.4 kB 🔴 +10.8 kB
assets/WorkspaceSettingsPanelContent-DfoARsWk.js (removed) 58.2 kB — 🟢 -58.2 kB 🟢 -12.4 kB 🟢 -10.8 kB
assets/Preview3d-DuefhYWD.js (new) — 50.9 kB 🔴 +50.9 kB 🔴 +8.32 kB 🔴 +7.24 kB
assets/Preview3d-oBQ1M3Rs.js (removed) 50.9 kB — 🟢 -50.9 kB 🟢 -8.32 kB 🟢 -7.25 kB
assets/main-DaLaVWEp.js (new) — 45.3 kB 🔴 +45.3 kB 🔴 +13.2 kB 🔴 +11.4 kB
assets/main-DLzqqqg8.js (removed) 45.3 kB — 🟢 -45.3 kB 🟢 -13.2 kB 🟢 -11.4 kB
assets/SubscriptionRequiredDialogContentUnified-CUApn57O.js (removed) 42.6 kB — 🟢 -42.6 kB 🟢 -9.36 kB 🟢 -8.16 kB
assets/SubscriptionRequiredDialogContentUnified-g0k9Kvr-.js (new) — 42.6 kB 🔴 +42.6 kB 🔴 +9.36 kB 🔴 +8.15 kB
assets/LayerEditorContent-Brp6xdKH.js (new) — 42.5 kB 🔴 +42.5 kB 🔴 +9.62 kB 🔴 +8.43 kB
assets/LayerEditorContent-Btd48EUv.js (removed) 42.5 kB — 🟢 -42.5 kB 🟢 -9.62 kB 🟢 -8.42 kB
assets/WidgetBoundingBoxes-BXEg0vCF.js (new) — 33.7 kB 🔴 +33.7 kB 🔴 +9.16 kB 🔴 +8.12 kB
assets/WidgetBoundingBoxes-DIm6yXNf.js (removed) 33.7 kB — 🟢 -33.7 kB 🟢 -9.16 kB 🟢 -8.13 kB
assets/WidgetPainter-Bug48OW-.js (new) — 32.6 kB 🔴 +32.6 kB 🔴 +7.88 kB 🔴 +6.97 kB
assets/WidgetPainter-CxkXsZgh.js (removed) 32.6 kB — 🟢 -32.6 kB 🟢 -7.88 kB 🟢 -6.97 kB
assets/Load3dViewerContent-Bigq2ndP.js (new) — 30.8 kB 🔴 +30.8 kB 🔴 +6.29 kB 🔴 +5.45 kB
assets/Load3dViewerContent-DwjIzCjY.js (removed) 30.8 kB — 🟢 -30.8 kB 🟢 -6.29 kB 🟢 -5.45 kB
assets/SubscriptionRequiredDialogContent-BHKwAH13.js (new) — 26.9 kB 🔴 +26.9 kB 🔴 +6.36 kB 🔴 +5.61 kB
assets/SubscriptionRequiredDialogContent-BTT0eeXX.js (removed) 26.9 kB — 🟢 -26.9 kB 🟢 -6.36 kB 🟢 -5.6 kB
assets/SubscriptionRequiredDialogContentWorkspace-BTg6fOFu.js (new) — 25.1 kB 🔴 +25.1 kB 🔴 +5.79 kB 🔴 +5.1 kB
assets/SubscriptionRequiredDialogContentWorkspace-Dp0wYMIK.js (removed) 25.1 kB — 🟢 -25.1 kB 🟢 -5.79 kB 🟢 -5.1 kB
assets/CreditsTile-C3W9TiZB.js (removed) 24.9 kB — 🟢 -24.9 kB 🟢 -6.65 kB 🟢 -5.83 kB
assets/CreditsTile-DGctCwU2.js (new) — 24.9 kB 🔴 +24.9 kB 🔴 +6.65 kB 🔴 +5.83 kB
assets/load3d-CJN9XV0v.js (removed) 22.2 kB — 🟢 -22.2 kB 🟢 -5.41 kB 🟢 -4.68 kB
assets/load3d-DwGfwJzU.js (new) — 22.2 kB 🔴 +22.2 kB 🔴 +5.4 kB 🔴 +4.68 kB
assets/CurrentUserPopoverWorkspace-BSoiNlkQ.js (new) — 21.5 kB 🔴 +21.5 kB 🔴 +4.86 kB 🔴 +4.32 kB
assets/CurrentUserPopoverWorkspace-D_vhbxz9.js (removed) 21.5 kB — 🟢 -21.5 kB 🟢 -4.85 kB 🟢 -4.31 kB
assets/SignInContent-BuI8eo7W.js (removed) 20.6 kB — 🟢 -20.6 kB 🟢 -5.17 kB 🟢 -4.53 kB
assets/SignInContent-Dwk_ypdc.js (new) — 20.6 kB 🔴 +20.6 kB 🔴 +5.18 kB 🔴 +4.54 kB
assets/WidgetRecordAudio-Gqhp5hIh.js (new) — 16.6 kB 🔴 +16.6 kB 🔴 +4.6 kB 🔴 +4.11 kB
assets/WidgetRecordAudio-Znuq5-FJ.js (removed) 16.6 kB — 🟢 -16.6 kB 🟢 -4.6 kB 🟢 -4.1 kB
assets/WidgetInputNumber-Csqnc8xp.js (removed) 13.9 kB — 🟢 -13.9 kB 🟢 -3.63 kB 🟢 -3.21 kB
assets/WidgetInputNumber-Db9MUORE.js (new) — 13.9 kB 🔴 +13.9 kB 🔴 +3.63 kB 🔴 +3.21 kB
assets/WidgetRange-Bfr6_mFM.js (new) — 13.7 kB 🔴 +13.7 kB 🔴 +3.55 kB 🔴 +3.12 kB
assets/WidgetRange-CI_lPLU4.js (removed) 13.7 kB — 🟢 -13.7 kB 🟢 -3.55 kB 🟢 -3.13 kB
assets/WaveAudioPlayer-CeYQLFSa.js (new) — 12.8 kB 🔴 +12.8 kB 🔴 +3.46 kB 🔴 +3.05 kB
assets/WaveAudioPlayer-DErp5v_j.js (removed) 12.8 kB — 🟢 -12.8 kB 🟢 -3.46 kB 🟢 -3.05 kB
assets/WidgetCurve-0zp0Jj40.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.48 kB 🔴 +3.15 kB
assets/WidgetCurve-muRXbq6Y.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.47 kB 🟢 -3.14 kB
assets/TeamWorkspacesDialogContent-C0Wsja42.js (new) — 10.3 kB 🔴 +10.3 kB 🔴 +2.97 kB 🔴 +2.63 kB
assets/TeamWorkspacesDialogContent-D-Yz5GmH.js (removed) 10.3 kB — 🟢 -10.3 kB 🟢 -2.97 kB 🟢 -2.63 kB
assets/onboardingCloudRoutes-BJ5EOu9K.js (removed) 9.39 kB — 🟢 -9.39 kB 🟢 -2.83 kB 🟢 -2.41 kB
assets/onboardingCloudRoutes-BqCmE83w.js (new) — 9.39 kB 🔴 +9.39 kB 🔴 +2.83 kB 🔴 +2.42 kB
assets/Load3DConfiguration-4NCCdGU-.js (removed) 8.91 kB — 🟢 -8.91 kB 🟢 -2.61 kB 🟢 -2.3 kB
assets/Load3DConfiguration-DdMkl34W.js (new) — 8.91 kB 🔴 +8.91 kB 🔴 +2.61 kB 🔴 +2.3 kB
assets/WidgetImageCrop-C5BN4uG7.js (removed) 8.49 kB — 🟢 -8.49 kB 🟢 -2.65 kB 🟢 -2.34 kB
assets/WidgetImageCrop-DyBQSvLy.js (new) — 8.49 kB 🔴 +8.49 kB 🔴 +2.66 kB 🔴 +2.36 kB
assets/SetMemberCreditLimitDialogContent-BIj86xfo.js (new) — 8.47 kB 🔴 +8.47 kB 🔴 +2.34 kB 🔴 +2.05 kB
assets/SetMemberCreditLimitDialogContent-CyN0cvh9.js (removed) 8.47 kB — 🟢 -8.47 kB 🟢 -2.34 kB 🟢 -2.05 kB
assets/nodeTemplates-8zQdEkRK.js (removed) 8.32 kB — 🟢 -8.32 kB 🟢 -2.86 kB 🟢 -2.51 kB
assets/nodeTemplates-D-qdjAUt.js (new) — 8.32 kB 🔴 +8.32 kB 🔴 +2.86 kB 🔴 +2.51 kB
assets/NightlySurveyController-Bs_N7CDH.js (new) — 7.5 kB 🔴 +7.5 kB 🔴 +2.55 kB 🔴 +2.25 kB
assets/NightlySurveyController-LzICW8Ws.js (removed) 7.5 kB — 🟢 -7.5 kB 🟢 -2.55 kB 🟢 -2.25 kB
assets/CloudRunButtonWrapper-BjLVpkDm.js (removed) 6.84 kB — 🟢 -6.84 kB 🟢 -2.18 kB 🟢 -1.91 kB
assets/CloudRunButtonWrapper-DTPlX8R4.js (new) — 6.84 kB 🔴 +6.84 kB 🔴 +2.18 kB 🔴 +1.91 kB
assets/WidgetWithControl-_vZVaVqU.js (removed) 6.44 kB — 🟢 -6.44 kB 🟢 -2.63 kB 🟢 -2.31 kB
assets/WidgetWithControl-D_HkUO7X.js (new) — 6.44 kB 🔴 +6.44 kB 🔴 +2.63 kB 🔴 +2.31 kB
assets/missingModelMetadata-B5zjuJt7.js (new) — 6.17 kB 🔴 +6.17 kB 🔴 +2.13 kB 🔴 +1.86 kB
assets/missingModelMetadata-Bl9hQ6Qi.js (removed) 6.17 kB — 🟢 -6.17 kB 🟢 -2.13 kB 🟢 -1.86 kB
assets/CancelSubscriptionDialogContent-CBQuWyZM.js (removed) 5.97 kB — 🟢 -5.97 kB 🟢 -1.98 kB 🟢 -1.75 kB
assets/CancelSubscriptionDialogContent-D5QzAOHB.js (new) — 5.97 kB 🔴 +5.97 kB 🔴 +1.98 kB 🔴 +1.75 kB
assets/load3dPreviewExtensions-BkerzjZ9.js (removed) 5.88 kB — 🟢 -5.88 kB 🟢 -1.81 kB 🟢 -1.6 kB
assets/load3dPreviewExtensions-qD-ouFup.js (new) — 5.88 kB 🔴 +5.88 kB 🔴 +1.81 kB 🔴 +1.6 kB
assets/launchCancellationFlow-CQMSNJTJ.js (removed) 5.18 kB — 🟢 -5.18 kB 🟢 -1.78 kB 🟢 -1.57 kB
assets/launchCancellationFlow-PzvCsisa.js (new) — 5.18 kB 🔴 +5.18 kB 🔴 +1.78 kB 🔴 +1.58 kB
assets/CreateWorkspaceDialogContent-CFmTb04e.js (new) — 5.12 kB 🔴 +5.12 kB 🔴 +1.79 kB 🔴 +1.55 kB
assets/CreateWorkspaceDialogContent-DsfeT4TB.js (removed) 5.12 kB — 🟢 -5.12 kB 🟢 -1.79 kB 🟢 -1.55 kB
assets/ChangeMemberRoleDialogContent-C1Qk3AVt.js (new) — 4.97 kB 🔴 +4.97 kB 🔴 +1.64 kB 🔴 +1.43 kB
assets/ChangeMemberRoleDialogContent-U7qXf9pn.js (removed) 4.97 kB — 🟢 -4.97 kB 🟢 -1.64 kB 🟢 -1.43 kB
assets/InviteMemberDialogContent-CLR9sflL.js (new) — 4.96 kB 🔴 +4.96 kB 🔴 +1.64 kB 🔴 +1.44 kB
assets/InviteMemberDialogContent-DIU31iGZ.js (removed) 4.96 kB — 🟢 -4.96 kB 🟢 -1.64 kB 🟢 -1.44 kB
assets/EditWorkspaceDialogContent-0C8n85G0.js (removed) 4.93 kB — 🟢 -4.93 kB 🟢 -1.76 kB 🟢 -1.53 kB
assets/EditWorkspaceDialogContent-yw4eLvbQ.js (new) — 4.93 kB 🔴 +4.93 kB 🔴 +1.76 kB 🔴 +1.52 kB
assets/WidgetTextarea-C5te-8tK.js (new) — 4.81 kB 🔴 +4.81 kB 🔴 +1.87 kB 🔴 +1.64 kB
assets/WidgetTextarea-CN16aVCs.js (removed) 4.81 kB — 🟢 -4.81 kB 🟢 -1.87 kB 🟢 -1.64 kB
assets/saveMesh-BRJc-MDy.js (removed) 4.76 kB — 🟢 -4.76 kB 🟢 -1.52 kB 🟢 -1.34 kB
assets/saveMesh-Cj9IWSgu.js (new) — 4.76 kB 🔴 +4.76 kB 🔴 +1.52 kB 🔴 +1.34 kB
assets/WorkspacePanelContent-4FfdYqfy.js (removed) 4.74 kB — 🟢 -4.74 kB 🟢 -1.63 kB 🟢 -1.44 kB
assets/WorkspacePanelContent-CSaF48je.js (new) — 4.74 kB 🔴 +4.74 kB 🔴 +1.63 kB 🔴 +1.44 kB
assets/ValueControlPopover-BKwLGpUW.js (new) — 4.49 kB 🔴 +4.49 kB 🔴 +1.55 kB 🔴 +1.38 kB
assets/ValueControlPopover-D1gpYKr0.js (removed) 4.49 kB — 🟢 -4.49 kB 🟢 -1.55 kB 🟢 -1.38 kB
assets/DeleteWorkspaceDialogContent-B9GvOzyv.js (removed) 3.84 kB — 🟢 -3.84 kB 🟢 -1.44 kB 🟢 -1.24 kB
assets/DeleteWorkspaceDialogContent-CpMjJ5_P.js (new) — 3.84 kB 🔴 +3.84 kB 🔴 +1.44 kB 🔴 +1.24 kB
assets/RemoveMemberDialogContent-BgqOcomz.js (new) — 3.76 kB 🔴 +3.76 kB 🔴 +1.38 kB 🔴 +1.21 kB
assets/RemoveMemberDialogContent-DYjY09iq.js (removed) 3.76 kB — 🟢 -3.76 kB 🟢 -1.39 kB 🟢 -1.21 kB
assets/RevokeInviteDialogContent-Bk_pKxTP.js (removed) 3.67 kB — 🟢 -3.67 kB 🟢 -1.39 kB 🟢 -1.21 kB
assets/RevokeInviteDialogContent-CsZocmi4.js (new) — 3.67 kB 🔴 +3.67 kB 🔴 +1.39 kB 🔴 +1.21 kB
assets/LeaveWorkspaceDialogContent-COrVIKxp.js (removed) 3.67 kB — 🟢 -3.67 kB 🟢 -1.39 kB 🟢 -1.19 kB
assets/LeaveWorkspaceDialogContent-CWuwSPrQ.js (new) — 3.67 kB 🔴 +3.67 kB 🔴 +1.39 kB 🔴 +1.19 kB
assets/InviteMemberUpsellDialogContent-1WWl_MmQ.js (new) — 3.47 kB 🔴 +3.47 kB 🔴 +1.24 kB 🔴 +1.09 kB
assets/InviteMemberUpsellDialogContent-BPA4RJme.js (removed) 3.47 kB — 🟢 -3.47 kB 🟢 -1.24 kB 🟢 -1.09 kB
assets/workspaceCheckoutTelemetry-Cw4ljE9o.js (new) — 3.4 kB 🔴 +3.4 kB 🔴 +1.52 kB 🔴 +1.32 kB
assets/workspaceCheckoutTelemetry-D9AvxDRM.js (removed) 3.4 kB — 🟢 -3.4 kB 🟢 -1.52 kB 🟢 -1.32 kB
assets/GlobalToast-Ba2PXA2l.js (new) — 3.25 kB 🔴 +3.25 kB 🔴 +1.3 kB 🔴 +1.11 kB
assets/GlobalToast-CeLW0gKj.js (removed) 3.25 kB — 🟢 -3.25 kB 🟢 -1.3 kB 🟢 -1.11 kB
assets/Media3DTop-BaSIkeQh.js (new) — 3.21 kB 🔴 +3.21 kB 🔴 +1.26 kB 🔴 +1.1 kB
assets/Media3DTop-K_XHlIVV.js (removed) 3.21 kB — 🟢 -3.21 kB 🟢 -1.27 kB 🟢 -1.11 kB
assets/load3dAdvanced-BbgG0FTk.js (new) — 2.82 kB 🔴 +2.82 kB 🔴 +1.1 kB 🔴 +957 B
assets/load3dAdvanced-CFh7fwUf.js (removed) 2.82 kB — 🟢 -2.82 kB 🟢 -1.1 kB 🟢 -955 B
assets/SubscribeToRun-CUgqkiEq.js (new) — 2.39 kB 🔴 +2.39 kB 🔴 +1.04 kB 🔴 +909 B
assets/SubscribeToRun-Dz8VyvZs.js (removed) 2.39 kB — 🟢 -2.39 kB 🟢 -1.03 kB 🟢 -909 B
assets/MediaAudioTop-C1ffnmdJ.js (new) — 1.62 kB 🔴 +1.62 kB 🔴 +808 B 🔴 +669 B
assets/MediaAudioTop-DBN23UoW.js (removed) 1.62 kB — 🟢 -1.62 kB 🟢 -807 B 🟢 -668 B
assets/cloudSessionCookie-CPuCJjy_.js (new) — 933 B 🔴 +933 B 🔴 +433 B 🔴 +380 B
assets/cloudSessionCookie-CRdRIfip.js (removed) 933 B — 🟢 -933 B 🟢 -432 B 🟢 -378 B
assets/cloudBadges-C60AFfkv.js (new) — 922 B 🔴 +922 B 🔴 +517 B 🔴 +441 B
assets/cloudBadges-DX8Y46FY.js (removed) 922 B — 🟢 -922 B 🟢 -515 B 🟢 -467 B
assets/Load3DAdvanced-BJakcxYy.js (removed) 761 B — 🟢 -761 B 🟢 -421 B 🟢 -358 B
assets/Load3DAdvanced-CPLK7kep.js (new) — 761 B 🔴 +761 B 🔴 +421 B 🔴 +357 B
assets/nightlyBadges-C3kQcRqd.js (removed) 411 B — 🟢 -411 B 🟢 -272 B 🟢 -231 B
assets/nightlyBadges-DB-p8v78.js (new) — 411 B 🔴 +411 B 🔴 +274 B 🔴 +229 B
assets/Load3dViewerContent-CMEu5g17.js (new) — 137 B 🔴 +137 B 🔴 +103 B 🔴 +91 B
assets/Load3dViewerContent-DO4xX4-S.js (removed) 137 B — 🟢 -137 B 🟢 -103 B 🟢 -91 B
assets/missingModelMetadata-BoHsl3CO.js (new) — 125 B 🔴 +125 B 🔴 +103 B 🔴 +103 B
assets/missingModelMetadata-DgI1rzlM.js (removed) 125 B — 🟢 -125 B 🟢 -103 B 🟢 -98 B
assets/Load3DAdvanced-C1-Dq5SV.js (removed) 122 B — 🟢 -122 B 🟢 -97 B 🟢 -90 B
assets/Load3DAdvanced-CIIXt7n3.js (new) — 122 B 🔴 +122 B 🔴 +97 B 🔴 +88 B
assets/WidgetLegacy-COhl9ObB.js (removed) 117 B — 🟢 -117 B 🟢 -106 B 🟢 -103 B
assets/WidgetLegacy-WL-Lq4QZ.js (new) — 117 B 🔴 +117 B 🔴 +106 B 🔴 +103 B
assets/workflowDraftStoreV2-bGHXwoqC.js (new) — 112 B 🔴 +112 B 🔴 +101 B 🔴 +107 B
assets/workflowDraftStoreV2-CUiKm3cS.js (removed) 112 B — 🟢 -112 B 🟢 -101 B 🟢 -111 B
assets/Load3D-Bk_ebQ92.js (removed) 98 B — 🟢 -98 B 🟢 -89 B 🟢 -87 B
assets/Load3D-DoO3TTDa.js (new) — 98 B 🔴 +98 B 🔴 +89 B 🔴 +77 B
assets/changeTracker-Bh7UgTmU.js (new) — 91 B 🔴 +91 B 🔴 +93 B 🔴 +88 B
assets/changeTracker-IQ-4RK6B.js (removed) 91 B — 🟢 -91 B 🟢 -93 B 🟢 -88 B

Status: 68 added / 68 removed / 218 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 66.2 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 52.6 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.0 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 50.4 MB heap
large-graph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.9 MB heap
large-graph-pan: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 66.9 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.4 MB heap
minimap-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.4 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 51.4 MB heap
subgraph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 66.6 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 57.7 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 84ms TBT · 74.1 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 72.3 MB heap
vue-large-graph-idle: · 57.1 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 163.8 MB heap
vue-large-graph-pan: · 58.1 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 29ms TBT · 174.1 MB heap
workflow-execution: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.6 MB heap

⚠️ 1 regression detected

Show regressions
Metric Baseline PR (median) Δ Sig
workflow-execution: event listeners 49 98 +100% ⚠️ z=10.6
All metrics
Metric Baseline PR (median) Δ Sig
canvas-idle: avg frame time 17ms 17ms +0% z=-0.1
canvas-idle: p95 frame time 17ms 17ms +0% —
canvas-idle: layout duration 0ms 0ms +0% —
canvas-idle: style recalc duration 8ms 6ms -25% z=-5.5
canvas-idle: layout count 0 0 +0% —
canvas-idle: style recalc count 9 10 +11% z=-2.1
canvas-idle: task duration 464ms 376ms -19% z=-0.6
canvas-idle: script duration 8ms 6ms -23% z=-8.6
canvas-idle: TBT 0ms 0ms +0% —
canvas-idle: heap used 66.3 MB 66.2 MB -0% —
canvas-idle: DOM nodes 18 20 +11% z=-2.0
canvas-idle: event listeners 4 6 +50% z=-1.2
canvas-mouse-sweep: avg frame time 17ms 17ms -0% z=-0.9
canvas-mouse-sweep: p95 frame time 17ms 17ms -1% —
canvas-mouse-sweep: layout duration 4ms 3ms -16% z=-2.9
canvas-mouse-sweep: style recalc duration 37ms 32ms -13% z=-3.3
canvas-mouse-sweep: layout count 12 12 +0% —
canvas-mouse-sweep: style recalc count 74 74 -1% z=-2.2
canvas-mouse-sweep: task duration 876ms 692ms -21% z=-3.0
canvas-mouse-sweep: script duration 106ms 82ms -22% z=-8.2
canvas-mouse-sweep: TBT 0ms 0ms +0% —
canvas-mouse-sweep: heap used 44.7 MB 52.6 MB +18% —
canvas-mouse-sweep: DOM nodes 56 30 -47% z=-12.7
canvas-mouse-sweep: event listeners 4 -74 -1938% z=-19.7
canvas-zoom-sweep: avg frame time 17ms 17ms -0% z=-1.1
canvas-zoom-sweep: p95 frame time 17ms 17ms +0% —
canvas-zoom-sweep: layout duration 1ms 1ms -12% z=-2.6
canvas-zoom-sweep: style recalc duration 17ms 13ms -26% z=-4.1
canvas-zoom-sweep: layout count 6 6 +0% —
canvas-zoom-sweep: style recalc count 32 31 -3% z=-0.6
canvas-zoom-sweep: task duration 373ms 292ms -22% z=-1.5
canvas-zoom-sweep: script duration 10ms 8ms -21% z=-6.3
canvas-zoom-sweep: TBT 0ms 0ms +0% —
canvas-zoom-sweep: heap used 69.4 MB 69.0 MB -1% —
canvas-zoom-sweep: DOM nodes 77 78 +1% z=-2.2
canvas-zoom-sweep: event listeners 19 19 +0% z=-0.9
dom-widget-clipping: avg frame time 17ms 17ms -0% z=-0.2
dom-widget-clipping: p95 frame time 17ms 17ms +1% —
dom-widget-clipping: layout duration 0ms 0ms +0% —
dom-widget-clipping: style recalc duration 8ms 7ms -16% z=-4.1
dom-widget-clipping: layout count 0 0 +0% —
dom-widget-clipping: style recalc count 11 12 +9% z=-2.2
dom-widget-clipping: task duration 382ms 293ms -23% z=-4.4
dom-widget-clipping: script duration 56ms 42ms -24% z=-7.9
dom-widget-clipping: TBT 0ms 0ms +0% —
dom-widget-clipping: heap used 51.0 MB 50.4 MB -1% —
dom-widget-clipping: DOM nodes 18 20 +11% z=-1.5
dom-widget-clipping: event listeners 0 2 — variance too high
large-graph-idle: avg frame time 17ms 17ms +0% z=-0.2
large-graph-idle: p95 frame time 17ms 17ms -0% —
large-graph-idle: layout duration 0ms 0ms +0% —
large-graph-idle: style recalc duration 8ms 6ms -24% z=-6.1
large-graph-idle: layout count 0 0 +0% —
large-graph-idle: style recalc count 8 9 +13% z=-8.3
large-graph-idle: task duration 619ms 475ms -23% z=-1.2
large-graph-idle: script duration 15ms 12ms -19% z=-8.6
large-graph-idle: TBT 0ms 0ms +0% —
large-graph-idle: heap used 69.7 MB 67.9 MB -3% —
large-graph-idle: DOM nodes -283 -282 -0% z=-339.3
large-graph-idle: event listeners -149 -164 +10% z=-31.2
large-graph-pan: avg frame time 17ms 17ms +0% z=-0.8
large-graph-pan: p95 frame time 17ms 17ms +0% —
large-graph-pan: layout duration 0ms 0ms +0% —
large-graph-pan: style recalc duration 14ms 13ms -8% z=-5.0
large-graph-pan: layout count 0 0 +0% —
large-graph-pan: style recalc count 68 69 +1% z=-1.7
large-graph-pan: task duration 1202ms 908ms -24% z=-4.0
large-graph-pan: script duration 324ms 256ms -21% z=-7.7
large-graph-pan: TBT 0ms 0ms +0% —
large-graph-pan: heap used 59.9 MB 66.9 MB +12% —
large-graph-pan: DOM nodes -286 -282 -1% z=-182.4
large-graph-pan: event listeners -177 -149 -16% z=-185.9
large-graph-zoom: avg frame time 17ms 17ms -0% —
large-graph-zoom: p95 frame time 17ms 17ms +0% —
large-graph-zoom: layout duration 8ms 7ms -19% —
large-graph-zoom: style recalc duration 15ms 13ms -13% —
large-graph-zoom: layout count 60 60 +0% —
large-graph-zoom: style recalc count 65 66 +2% —
large-graph-zoom: task duration 1399ms 1060ms -24% —
large-graph-zoom: script duration 384ms 303ms -21% —
large-graph-zoom: TBT 0ms 0ms +0% —
large-graph-zoom: heap used 57.1 MB 63.4 MB +11% —
large-graph-zoom: DOM nodes -288 -135 -53% —
large-graph-zoom: event listeners -153 -73 -53% —
minimap-idle: avg frame time 17ms 17ms +0% z=-0.4
minimap-idle: p95 frame time 17ms 17ms -1% —
minimap-idle: layout duration 0ms 0ms +0% —
minimap-idle: style recalc duration 6ms 5ms -12% z=-5.0
minimap-idle: layout count 0 0 +0% —
minimap-idle: style recalc count 8 9 +6% z=-1.6
minimap-idle: task duration 615ms 472ms -23% z=-1.2
minimap-idle: script duration 17ms 12ms -31% z=-8.7
minimap-idle: TBT 0ms 0ms +0% —
minimap-idle: heap used 70.3 MB 69.4 MB -1% —
minimap-idle: DOM nodes -284 -282 -1% z=-220.2
minimap-idle: event listeners -149 -164 +10% z=-255.3
subgraph-dom-widget-clipping: avg frame time 17ms 17ms -0% z=-0.4
subgraph-dom-widget-clipping: p95 frame time 17ms 17ms -0% —
subgraph-dom-widget-clipping: layout duration 0ms 0ms +0% —
subgraph-dom-widget-clipping: style recalc duration 10ms 9ms -12% z=-3.8
subgraph-dom-widget-clipping: layout count 0 0 +0% —
subgraph-dom-widget-clipping: style recalc count 47 48 +2% z=0.1
subgraph-dom-widget-clipping: task duration 415ms 314ms -24% z=-3.5
subgraph-dom-widget-clipping: script duration 122ms 95ms -22% z=-5.2
subgraph-dom-widget-clipping: TBT 0ms 0ms +0% —
subgraph-dom-widget-clipping: heap used 51.5 MB 51.4 MB -0% —
subgraph-dom-widget-clipping: DOM nodes 20 21 +5% z=-1.1
subgraph-dom-widget-clipping: event listeners 6 8 +33% z=-1.4
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 8ms 7ms -9% z=-4.6
subgraph-idle: layout count 0 0 +0% —
subgraph-idle: style recalc count 10 11 +5% z=-0.6
subgraph-idle: task duration 467ms 357ms -23% z=-0.4
subgraph-idle: script duration 7ms 6ms -24% z=-5.5
subgraph-idle: TBT 0ms 0ms +0% —
subgraph-idle: heap used 66.7 MB 66.6 MB -0% —
subgraph-idle: DOM nodes 20 21 +5% z=-0.5
subgraph-idle: event listeners 4 6 +50% 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 3ms -28% z=-4.8
subgraph-mouse-sweep: style recalc duration 38ms 27ms -29% z=-4.7
subgraph-mouse-sweep: layout count 16 16 +0% —
subgraph-mouse-sweep: style recalc count 78 76 -3% z=-2.1
subgraph-mouse-sweep: task duration 764ms 574ms -25% z=-2.8
subgraph-mouse-sweep: script duration 83ms 63ms -24% z=-5.7
subgraph-mouse-sweep: TBT 0ms 0ms +0% —
subgraph-mouse-sweep: heap used 57.8 MB 57.7 MB -0% —
subgraph-mouse-sweep: DOM nodes 66 63 -5% z=-1.8
subgraph-mouse-sweep: event listeners 4 4 +0% variance too high
subgraph-transition-enter: avg frame time 17ms 17ms +0% —
subgraph-transition-enter: p95 frame time 17ms 17ms +0% —
subgraph-transition-enter: layout duration 12ms 9ms -20% —
subgraph-transition-enter: style recalc duration 29ms 23ms -19% —
subgraph-transition-enter: layout count 14 15 +7% —
subgraph-transition-enter: style recalc count 19 20 +5% —
subgraph-transition-enter: task duration 927ms 707ms -24% —
subgraph-transition-enter: script duration 17ms 11ms -35% —
subgraph-transition-enter: TBT 122ms 84ms -31% —
subgraph-transition-enter: heap used 75.8 MB 74.1 MB -2% —
subgraph-transition-enter: DOM nodes 13673 13673 +0% —
subgraph-transition-enter: event listeners 2375 2373 -0% —
viewport-pan-sweep: avg frame time 17ms 17ms +0% —
viewport-pan-sweep: p95 frame time 17ms 17ms +0% —
viewport-pan-sweep: layout duration 0ms 0ms +0% —
viewport-pan-sweep: style recalc duration 41ms 36ms -13% —
viewport-pan-sweep: layout count 0 0 +0% —
viewport-pan-sweep: style recalc count 249 249 +0% —
viewport-pan-sweep: task duration 4150ms 3198ms -23% —
viewport-pan-sweep: script duration 968ms 789ms -18% —
viewport-pan-sweep: TBT 0ms 0ms +0% —
viewport-pan-sweep: heap used 70.2 MB 72.3 MB +3% —
viewport-pan-sweep: DOM nodes -281 -283 +1% —
viewport-pan-sweep: event listeners -133 -133 +0% —
vue-large-graph-idle: avg frame time 18ms 17ms -2% —
vue-large-graph-idle: p95 frame time 17ms 17ms +0% —
vue-large-graph-idle: layout duration 0ms 0ms +0% —
vue-large-graph-idle: style recalc duration 0ms 0ms +0% —
vue-large-graph-idle: layout count 0 0 +0% —
vue-large-graph-idle: style recalc count 0 0 +0% —
vue-large-graph-idle: task duration 17584ms 13793ms -22% —
vue-large-graph-idle: script duration 132ms 94ms -28% —
vue-large-graph-idle: TBT 0ms 0ms +0% —
vue-large-graph-idle: heap used 162.2 MB 163.8 MB +1% —
vue-large-graph-idle: DOM nodes -8312 -8312 +0% —
vue-large-graph-idle: event listeners -16387 -16390 +0% —
vue-large-graph-pan: avg frame time 18ms 17ms -3% —
vue-large-graph-pan: p95 frame time 17ms 17ms +0% —
vue-large-graph-pan: layout duration 0ms 0ms +0% —
vue-large-graph-pan: style recalc duration 21ms 15ms -30% —
vue-large-graph-pan: layout count 0 0 +0% —
vue-large-graph-pan: style recalc count 177 150 -16% —
vue-large-graph-pan: task duration 21569ms 16502ms -23% —
vue-large-graph-pan: script duration 406ms 331ms -19% —
vue-large-graph-pan: TBT 84ms 29ms -65% —
vue-large-graph-pan: heap used 167.9 MB 174.1 MB +4% —
vue-large-graph-pan: DOM nodes -8312 -8312 +0% —
vue-large-graph-pan: event listeners -16381 -16387 +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 -42% z=-5.7
workflow-execution: style recalc duration 17ms 16ms -7% z=-3.7
workflow-execution: layout count 3 3 -17% z=-4.5
workflow-execution: style recalc count 7 16 +121% z=-1.1
workflow-execution: task duration 85ms 90ms +6% z=-3.0
workflow-execution: script duration 6ms 6ms -6% z=-7.8
workflow-execution: TBT 0ms 0ms +0% —
workflow-execution: heap used 63.6 MB 65.6 MB +3% —
workflow-execution: DOM nodes 125 137 +9% z=-3.4
workflow-execution: event listeners 49 98 +100% ⚠️ z=10.6
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-15T01:08:44.764Z",
  "gitSha": "8f6fad25dcaa2a7ac34240d5710cf93b9db1981f",
  "branch": "fix/billing-policy-unknown-tier-crash",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2049.1269999999986,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 5.8759999999999994,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 383.706,
      "heapDeltaBytes": 4971248,
      "heapUsedBytes": 69419396,
      "domNodes": 20,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 6.379000000000001,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-idle",
      "durationMs": 1995.6260000000157,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 6.085999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 367.999,
      "heapDeltaBytes": 4912088,
      "heapUsedBytes": 69412012,
      "domNodes": 20,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 5.838000000000001,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1789.8519999999962,
      "styleRecalcs": 74,
      "styleRecalcDurationMs": 36.542,
      "layouts": 12,
      "layoutDurationMs": 3.2689999999999992,
      "taskDurationMs": 709.3430000000001,
      "heapDeltaBytes": -790456,
      "heapUsedBytes": 63809324,
      "domNodes": 58,
      "jsHeapTotalBytes": 25690112,
      "scriptDurationMs": 84.729,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1738.8320000000022,
      "styleRecalcs": 73,
      "styleRecalcDurationMs": 27.914999999999996,
      "layouts": 12,
      "layoutDurationMs": 2.83,
      "taskDurationMs": 674.4050000000001,
      "heapDeltaBytes": -18319604,
      "heapUsedBytes": 46444820,
      "domNodes": 1,
      "jsHeapTotalBytes": 23564288,
      "scriptDurationMs": 80.022,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1682.8869999999938,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 12.575000000000001,
      "layouts": 6,
      "layoutDurationMs": 0.522,
      "taskDurationMs": 291.37399999999997,
      "heapDeltaBytes": 7917200,
      "heapUsedBytes": 72313536,
      "domNodes": 77,
      "jsHeapTotalBytes": 24379392,
      "scriptDurationMs": 8.198,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1709.2069999999921,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 13.038,
      "layouts": 6,
      "layoutDurationMs": 0.5300000000000001,
      "taskDurationMs": 292.36,
      "heapDeltaBytes": 8052600,
      "heapUsedBytes": 72419072,
      "domNodes": 78,
      "jsHeapTotalBytes": 25165824,
      "scriptDurationMs": 8.049000000000001,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 475.62899999999786,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 6.559,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 296.974,
      "heapDeltaBytes": -12107348,
      "heapUsedBytes": 52356136,
      "domNodes": 20,
      "jsHeapTotalBytes": 26214400,
      "scriptDurationMs": 42.6,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 455.9229999999843,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 6.6869999999999985,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 288.72200000000004,
      "heapDeltaBytes": -11384632,
      "heapUsedBytes": 53271668,
      "domNodes": 20,
      "jsHeapTotalBytes": 25165824,
      "scriptDurationMs": 41.977000000000004,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2012.7640000000042,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 5.738,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 469.281,
      "heapDeltaBytes": 10037392,
      "heapUsedBytes": 69603264,
      "domNodes": -282,
      "jsHeapTotalBytes": 2195456,
      "scriptDurationMs": 12.515000000000002,
      "eventListeners": -179,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2000.838999999985,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 5.842999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 479.856,
      "heapDeltaBytes": 12474996,
      "heapUsedBytes": 72821052,
      "domNodes": -282,
      "jsHeapTotalBytes": 2719744,
      "scriptDurationMs": 12.184000000000005,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2087.471999999991,
      "styleRecalcs": 68,
      "styleRecalcDurationMs": 13.381000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 923.9810000000001,
      "heapDeltaBytes": 10047448,
      "heapUsedBytes": 70576144,
      "domNodes": -282,
      "jsHeapTotalBytes": 3698688,
      "scriptDurationMs": 273.361,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2083.3229999999503,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 13.270999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 892.68,
      "heapDeltaBytes": 9369056,
      "heapUsedBytes": 69735576,
      "domNodes": -282,
      "jsHeapTotalBytes": 3436544,
      "scriptDurationMs": 238.97599999999997,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3070.8060000000046,
      "styleRecalcs": 66,
      "styleRecalcDurationMs": 12.763000000000002,
      "layouts": 60,
      "layoutDurationMs": 6.699,
      "taskDurationMs": 1022.4359999999999,
      "heapDeltaBytes": 16837236,
      "heapUsedBytes": 79053620,
      "domNodes": 14,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 300.75600000000003,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3108.5630000000037,
      "styleRecalcs": 66,
      "styleRecalcDurationMs": 13.781999999999998,
      "layouts": 60,
      "layoutDurationMs": 6.639999999999999,
      "taskDurationMs": 1097.7920000000001,
      "heapDeltaBytes": -8481188,
      "heapUsedBytes": 53839912,
      "domNodes": -284,
      "jsHeapTotalBytes": 2719744,
      "scriptDurationMs": 305.238,
      "eventListeners": -153,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "minimap-idle",
      "durationMs": 2007.994999999994,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 4.981999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 461.82800000000003,
      "heapDeltaBytes": 12618000,
      "heapUsedBytes": 73855864,
      "domNodes": -282,
      "jsHeapTotalBytes": 1933312,
      "scriptDurationMs": 11.004999999999997,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "minimap-idle",
      "durationMs": 2011.1469999999372,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 5.911999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 483.059,
      "heapDeltaBytes": 10308800,
      "heapUsedBytes": 71611328,
      "domNodes": -282,
      "jsHeapTotalBytes": 2981888,
      "scriptDurationMs": 12.371000000000004,
      "eventListeners": -179,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 505.4719999999975,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 9.003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 313.902,
      "heapDeltaBytes": -10811152,
      "heapUsedBytes": 53827732,
      "domNodes": 20,
      "jsHeapTotalBytes": 25690112,
      "scriptDurationMs": 96.717,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 520.518999999922,
      "styleRecalcs": 49,
      "styleRecalcDurationMs": 9.323999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 314.84499999999997,
      "heapDeltaBytes": -10774332,
      "heapUsedBytes": 53868588,
      "domNodes": 22,
      "jsHeapTotalBytes": 25690112,
      "scriptDurationMs": 93.303,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.663333333333338,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2005.4000000000087,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 7.253000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 358.42,
      "heapDeltaBytes": 5275428,
      "heapUsedBytes": 69977232,
      "domNodes": 22,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 5.757,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2000.9829999999624,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 6.4369999999999985,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 355.85599999999994,
      "heapDeltaBytes": 5040008,
      "heapUsedBytes": 69728032,
      "domNodes": 20,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 5.419000000000002,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1671.796000000029,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 26.634999999999998,
      "layouts": 16,
      "layoutDurationMs": 3.0689999999999995,
      "taskDurationMs": 573.093,
      "heapDeltaBytes": -4377044,
      "heapUsedBytes": 60330344,
      "domNodes": 64,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 62.510999999999996,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1669.0519999999651,
      "styleRecalcs": 75,
      "styleRecalcDurationMs": 26.854,
      "layouts": 16,
      "layoutDurationMs": 3.2529999999999997,
      "taskDurationMs": 574.8539999999999,
      "heapDeltaBytes": -4068600,
      "heapUsedBytes": 60632216,
      "domNodes": 62,
      "jsHeapTotalBytes": 25165824,
      "scriptDurationMs": 63.989999999999995,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 883.5659999999734,
      "styleRecalcs": 20,
      "styleRecalcDurationMs": 23.265000000000008,
      "layouts": 15,
      "layoutDurationMs": 9.174999999999999,
      "taskDurationMs": 707.2400000000001,
      "heapDeltaBytes": -6018020,
      "heapUsedBytes": 77684492,
      "domNodes": 13673,
      "jsHeapTotalBytes": 10485760,
      "scriptDurationMs": 11.442,
      "eventListeners": 2373,
      "totalBlockingTimeMs": 84,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8132.418999999971,
      "styleRecalcs": 249,
      "styleRecalcDurationMs": 34.82,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3183.475,
      "heapDeltaBytes": 18431800,
      "heapUsedBytes": 78051484,
      "domNodes": -284,
      "jsHeapTotalBytes": 2912256,
      "scriptDurationMs": 808.187,
      "eventListeners": -133,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8157.851999999992,
      "styleRecalcs": 249,
      "styleRecalcDurationMs": 36.33,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3211.558,
      "heapDeltaBytes": 13549872,
      "heapUsedBytes": 73468752,
      "domNodes": -282,
      "jsHeapTotalBytes": 5009408,
      "scriptDurationMs": 770.2470000000001,
      "eventListeners": -133,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 14522.377000000006,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 13715.460000000003,
      "heapDeltaBytes": -39290480,
      "heapUsedBytes": 171913408,
      "domNodes": -8312,
      "jsHeapTotalBytes": -7544832,
      "scriptDurationMs": 98.11100000000002,
      "eventListeners": -16391,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.219999999999953,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 14562.504999999986,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 13869.936000000002,
      "heapDeltaBytes": -39761056,
      "heapUsedBytes": 171536308,
      "domNodes": -8312,
      "jsHeapTotalBytes": -8327168,
      "scriptDurationMs": 90.79699999999998,
      "eventListeners": -16389,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 17119.080999999995,
      "styleRecalcs": 153,
      "styleRecalcDurationMs": 14.80999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 16556.684999999998,
      "heapDeltaBytes": -42642520,
      "heapUsedBytes": 182545980,
      "domNodes": -8312,
      "jsHeapTotalBytes": -15966208,
      "scriptDurationMs": 325.81300000000005,
      "eventListeners": -16387,
      "totalBlockingTimeMs": 45,
      "frameDurationMs": 17.219999999999953,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 17007.76199999996,
      "styleRecalcs": 146,
      "styleRecalcDurationMs": 14.755999999999991,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 16447.986,
      "heapDeltaBytes": -28356288,
      "heapUsedBytes": 182510000,
      "domNodes": -8312,
      "jsHeapTotalBytes": -4206592,
      "scriptDurationMs": 335.24399999999997,
      "eventListeners": -16387,
      "totalBlockingTimeMs": 13,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "workflow-execution",
      "durationMs": 442.1909999999798,
      "styleRecalcs": 18,
      "styleRecalcDurationMs": 18.174,
      "layouts": 3,
      "layoutDurationMs": 1.0900000000000003,
      "taskDurationMs": 96.986,
      "heapDeltaBytes": 5089508,
      "heapUsedBytes": 68949108,
      "domNodes": 150,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 6.548,
      "eventListeners": 97,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666682,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "workflow-execution",
      "durationMs": 433.65400000004684,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 13.823,
      "layouts": 2,
      "layoutDurationMs": 0.3480000000000001,
      "taskDurationMs": 83.28500000000001,
      "heapDeltaBytes": 4930572,
      "heapUsedBytes": 68601144,
      "domNodes": 123,
      "jsHeapTotalBytes": 4456448,
      "scriptDurationMs": 5.415000000000002,
      "eventListeners": 99,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    }
  ]
}

@codecov

codecov Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@           Coverage Diff           @@
##             main   #14856   +/-   ##
=======================================
  Coverage   81.88%   81.88%           
=======================================
  Files        1884     1884           
  Lines      118158   118170   +12     
  Branches    35703    35707    +4     
=======================================
+ Hits        96751    96765   +14     
+ Misses      20962    20951   -11     
- Partials      445      454    +9     
Flag Coverage Δ
unit 72.84% <100.00%> (+<0.01%) ⬆️

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

Files with missing lines Coverage Δ
...rm/cloud/subscription/billingPolicyCapabilities.ts 100.00% <100.00%> (ø)
.../subscription/composables/useBillingPolicyState.ts 100.00% <100.00%> (+6.45%) ⬆️

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

@dante01yoon dante01yoon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

While the current “allowed fallback” may be a reasonable choice that prioritizes availability, logging the “unknown tier” in telemetry can help reduce the risk of silently masking future policy discrepancies.

default: {
const unhandledState: never = state
void unhandledState
return { topUpAccess: 'allowed', showsSubscribeUpsellUI: false }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Issue: This is inconsistent with the current policy that requires a subscription to add credits. While it’s better than the screen freezing, “Add credits” may still be allowed even in future tiers that require restrictions.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Changed to subscription-required with no upsell.

You are right that the old arm was inconsistent. Reaching it means deriveBillingPolicyState and this table have drifted, which is not a state to grant credit purchase on. The arm stays reachable-at-runtime on purpose (that is the crash this PR fixes), it just no longer fails open.

0342b5b

@christian-byrne

Copy link
Copy Markdown
Contributor Author

Good catch, and you are right about the test. Fixed in 608d920 — the unrecognised-tier case now uses a synthetic TIER_ADDED_AFTER_THIS_BUILD instead of TEAM, so it does not depend on TEAM staying unknown.

On whether the two PRs collide: they overlap textually in useBillingPolicyState.ts and its test, but they fix different halves and neither makes the other redundant.

#14839 adopts ApiSubscriptionTier and adds case 'TEAM', which removes TEAM as the value that reaches the fallback. It does not touch the fallback itself — default: return input.tier satisfies never is unchanged in that diff. satisfies is erased at build time, so that arm still returns the raw tier string rather than a state object, getBillingPolicyCapabilities still has no default: arm and still returns undefined, and dialogService.ts and CreditsTile.vue still dereference it unguarded. So after #14839 the crash is no longer reachable via TEAM, but it is still reachable by the next tier the backend ships before the generated types are regenerated — which is the same shape of drift #14814 and the rule in your PR are about.

Put together: #14839 removes today's trigger, #14856 makes the landing safe for the next one. I would rather have both than either.

Happy to take the rebase whichever way you prefer — if #14839 lands first I will rebase onto it and drop nothing, since my change is confined to the default: arms in useBillingPolicyState.ts and billingPolicyCapabilities.ts. If it is easier, I can also fold the two default: arms into #14839 and close #14856.

One thing worth flagging separately: the earlier lowercase-tier e2e failure on #14591 was fixed by editing the fixture (cloudBillingMocks.ts, 'pro' to 'PRO'), which deleted the repo's only out-of-union tier fixture. That is why the crashing branch had no coverage at all — useBillingPolicyState.test.ts types its table as Parameters<typeof deriveBillingPolicyState>[0]['tier'], so an out-of-union tier is structurally impossible to write there without the cast.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Aug 7, 2026
@dante01yoon

Copy link
Copy Markdown
Collaborator

Good catch, and you are right about the test. Fixed in 608d920 — the unrecognised-tier case now uses a synthetic TIER_ADDED_AFTER_THIS_BUILD instead of TEAM, so it does not depend on TEAM staying unknown.

On whether the two PRs collide: they overlap textually in useBillingPolicyState.ts and its test, but they fix different halves and neither makes the other redundant.

#14839 adopts ApiSubscriptionTier and adds case 'TEAM', which removes TEAM as the value that reaches the fallback. It does not touch the fallback itself — default: return input.tier satisfies never is unchanged in that diff. satisfies is erased at build time, so that arm still returns the raw tier string rather than a state object, getBillingPolicyCapabilities still has no default: arm and still returns undefined, and dialogService.ts and CreditsTile.vue still dereference it unguarded. So after #14839 the crash is no longer reachable via TEAM, but it is still reachable by the next tier the backend ships before the generated types are regenerated — which is the same shape of drift #14814 and the rule in your PR are about.

Put together: #14839 removes today's trigger, #14856 makes the landing safe for the next one. I would rather have both than either.

Happy to take the rebase whichever way you prefer — if #14839 lands first I will rebase onto it and drop nothing, since my change is confined to the default: arms in useBillingPolicyState.ts and billingPolicyCapabilities.ts. If it is easier, I can also fold the two default: arms into #14839 and close #14856.

One thing worth flagging separately: the earlier lowercase-tier e2e failure on #14591 was fixed by editing the fixture (cloudBillingMocks.ts, 'pro' to 'PRO'), which deleted the repo's only out-of-union tier fixture. That is why the crashing branch had no coverage at all — useBillingPolicyState.test.ts types its table as Parameters<typeof deriveBillingPolicyState>[0]['tier'], so an out-of-union tier is structurally impossible to write there without the cast.

I lean on land 14839 first and rebase this PR

@christian-byrne

Copy link
Copy Markdown
Contributor Author

Handoff note — this work moved to @Jaewon under FE-1585 (Billing Code Red PR triage).

My recommendation there: Finish, and treat it as the highest priority of the five open frontend billing PRs. It fixes a TypeError that is already live on main — deriveBillingPolicyState ends with default: return input.tier satisfies never, and satisfies is erased at build time, so an unrecognised tier returns a raw string, getBillingPolicyCapabilities returns undefined, and both consumers dereference it. "Add credits" never opens and the Credits tile renders blank.

Verified red-green: the new tests fail against unfixed source with expected 'TEAM' to deeply equal { kind: 'LocalAndUnknown' } and expected undefined to be defined.

Per @dante01yoon's earlier note, the test now uses a synthetic tier rather than TEAM, so it does not depend on #14839's tier-union change. The two are complementary: #14839 removes today's trigger, this makes the landing safe for the next one.

@christian-byrne

christian-byrne commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor Author

Handoff: I'm off the Cloud billing pod, so @dante01yoon owns this now and I've reassigned it to him.

Context that isn't obvious from the assignee change alone: this is one of five of my open billing PRs moved to him on 2026-08-13 (#14867, #14866, #14856, #14865, #14477). They're independent of each other and none is urgent. All of them predate the flag-retirement stack merging, so rebase and re-check CI before reviewing rather than trusting the last green run.

The two that are not in that set and do need thought first: #14964 has changes requested, and #15078 is draft, conflicting, and overlaps #15094 on subscription-status fetch races. Don't revive #15078 without reading #15094 first.

The live one is #15094, a defect that shipped with the retirement stack. That takes priority over anything here.

@dante01yoon dante01yoon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Requesting one contract/policy correction before merge. The crash is real, but the fallback should not infer a purchase entitlement for a server tier this frontend does not understand.

default: {
const unhandledTier: never = input.tier
void unhandledTier
return { kind: `${distribution}AndUnknown` }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

issue: This maps every future server tier to ...AndUnknown; on Cloud that existing state maps to topUpAccess: 'allowed', and the new default in billingPolicyCapabilities.ts also fails open. That invents a billing entitlement for a server value this build does not understand. The current mismatch is concrete: this head's generated @comfyorg/ingest-types SubscriptionTier already includes TEAM, while this function uses the Registry tier type that does not. Could we fix the known case from the generated ingest contract and handle TEAM explicitly, then make genuinely unknown runtime values fail closed (or consume an explicit backend capability)? New tiers should follow the contract-first API/generated-types workflow rather than relying on a permissive frontend fallback.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, both halves.

TEAM is now a compile-time case. deriveBillingPolicyState takes the union of the two generated contracts (RegistrySubscriptionTier | IngestSubscriptionTier), so case 'TEAM' typechecks and maps to the existing ${distribution}AndTeam state instead of falling through. That also means the test no longer needs a cast to reach it.

Genuinely unknown values fail closed. They get their own Local/CloudAndUnrecognizedTier state rather than borrowing ...AndUnknown, whose Cloud row grants top-up. CloudAndUnrecognizedTier is subscription-required with showsSubscribeUpsellUI: false, since the account does have canAccessSubscriptionFeatures and a Subscribe CTA would be wrong. Local stays allowed, consistent with every other Local row, and infers nothing (Local allows top-up without a subscription anyway).

One consequence worth naming: a Cloud account on a tier newer than the build now cannot add credits and gets no CTA. That is the fail-closed trade you asked for, and it is narrower than before since TEAM no longer lands there. Agreed on contract-first for new tiers.

e4bbc86

Connor Byrne added 5 commits August 14, 2026 17:52
deriveBillingPolicyState ended its tier switch with
`return input.tier satisfies never`. satisfies is erased at build time, so
an unrecognised tier returned the raw string instead of a state object.
getBillingPolicyCapabilities then switched on state.kind (undefined),
matched nothing, and having no default arm returned undefined, which
dialogService and CreditsTile dereference unguarded.

The backend can send a tier the registry union does not carry: ingest
declares TEAM, the registry SubscriptionTier does not, and isTeamPlan is a
plan_slug heuristic that does not catch every team workspace. The result was
a TypeError that stopped the top-up dialog from opening and left the credits
tile blank.

Both switches now keep compile-time exhaustiveness via a never assignment
and return a usable value at runtime.
TEAM stops being unrecognised once #14839 adopts the ingest tier union and
maps it to CloudAndTeam/LocalAndTeam. The fallback exists for whatever tier
the backend adds next, so the test should not name a tier that is about to
become known.
…d it

The two generated contracts disagree on SubscriptionTier: the registry spec
stops at FOUNDERS_EDITION, the ingest spec also declares TEAM. Widening the
derivation input to the union makes TEAM a compile-time case that maps to
the existing ${distribution}AndTeam state instead of falling through.

Values in neither contract are genuinely unknown to this build, so they get
their own state rather than borrowing ...AndUnknown, whose Cloud row grants
top-up. On Cloud an unrecognised tier is now subscription-required with no
upsell, so the frontend stops inferring a purchase entitlement for a server
value it cannot interpret.

Addresses review feedback:
#14856 (comment)
The unreachable arm returned topUpAccess: 'allowed', so a state.kind this
build cannot interpret granted credit purchase — the opposite of the policy
that every Cloud row without an entitlement encodes. Reaching it means the
derivation and this table have drifted, which is not a case to grant access
on. It now returns subscription-required with no upsell.

Addresses review feedback:
#14856 (comment)
@christian-byrne
christian-byrne force-pushed the fix/billing-policy-unknown-tier-crash branch from 608d920 to 0342b5b Compare August 15, 2026 00:57
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Aug 15, 2026
@coderabbitai

coderabbitai Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

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

Copy link
Copy Markdown
Contributor

Closing per your note on #15403 — taking the option where this one closes and #15403 absorbs the fix, so the two PRs don't both land on the same five files before the 24th.

Absorbed in e6ff545:

  • Local/CloudAndUnrecognizedTier on BillingPolicyState, returned from the default: arm of deriveBillingPolicyState — so AndUnknown goes back to meaning only "tier not resolved yet" (tier === null).
  • A default: arm on getBillingPolicyCapabilities (subscription-required, no upsell, state satisfies never), which closes the drift-to-undefined gap you flagged as still open on main.
  • Tests for both states plus one that calls the capabilities switch with a state kind this build has never heard of.

Your case 'TEAM' and the registry ∪ ingest union needed no port: a main merge on that branch now handles TEAM ahead of the switch (if (input.isTeamPlan || input.tier === 'TEAM')), which is what keeps satisfies never honest there.

One deliberate difference, with the reasoning on #15403: CloudAndUnrecognizedTier keeps topUpAccess: 'allowed', because that arm is only reachable with an active subscription. Still yours to overrule — it's a one-line flip if you want the fail-closed version.

Thanks for catching the fail-open entitlement.

@huang47 huang47 added the risk:xhigh PR risk grade (advisory shadow check; grader-owned) label Sep 2, 2026 — with ChatGPT Codex Connector
@huang47 huang47 removed the risk:R3 PR risk grade (advisory shadow check; grader-owned) label Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:xhigh PR risk grade (advisory shadow check; grader-owned) size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants