Skip to content

refactor: model billing operations as an xstate machine - #14410

Closed
huang47 wants to merge 8 commits into
mainfrom
cc/billing-operation-fsm-c42b1f
Closed

huang47 wants to merge 8 commits into
mainfrom
cc/billing-operation-fsm-c42b1f

Conversation

@huang47

@huang47 huang47 commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Models the billing operation polling lifecycle as an XState machine, introduced behind a flag so the switch is one revertible line.

Changes

  • What: pending was hiding three distinct behaviors encoded across authenticationRequiredSeen, actionUrl and an inline workspace comparison, each with its own poll cadence and timeout budget. The budget guard was consulted at four call sites in poll(), and the rule that a terminal response beats a spent budget while a late action_url does not existed only as statement ordering. The machine owns state, timing and guard precedence; the store keeps its public surface and the ordered terminal effects.
  • Dependencies: xstate (~13 kB gzip), @xstate/graph (dev)

Eight commits, each green, meant to be read in order:

# Commit What it proves
1 test: characterize existing store Behavior pinned against the old code
2 build: add xstate Dependency only, no source change
3 feat: machine context + actions Cadence and action-URL rules, standalone
4 feat: machine guards One timeout budget instead of four call sites
5 feat: machine definition The state graph; not yet reachable
6 feat: integrate behind flag, default off Both drivers exist; behavior unchanged
7 feat: enable the machine One line; all existing tests pass unchanged
8 test: model-based tests Path-level properties over the whole graph

Demo URL

https://stately.ai/registry/editor/embed/ab1e4e70-38e6-44e7-babb-db42b100947f?machineId=a6f56597-63ec-4468-8779-40517bf5afd1

Review Focus

  • Commit 7 is the whole risk surface, and it is one line. USE_BILLING_OPERATION_MACHINE is scaffolding for a real feature flag; reverting it restores the legacy driver, which commit 6 leaves fully intact. The legacy loop and the machine share one terminal effect path and one timeout budget function, so they cannot drift.
  • Behavior parity rests on commit 1. The 16 characterization tests were validated against the old store by mutating it four ways (action cadence, stickiness, workspace suspension, 23h budget) and confirming each mutation failed a test. They then passed unchanged on the machine. The machine was mutation-checked the same way (5 mutations, all caught), as were the model tests (4 mutations, all caught).
  • The 23-hour authentication budget had no test coverage before this PR. A constant governing how long a payment can stay open, entirely unpinned.
  • Guard order in onDone is load-bearing and is where the old ordering rule becomes explicit: workspace check, then terminal responses, then budget, then action_url. Reordering any two changes behavior; each ordering is covered.
  • polling.evaluating is transient by design — its always cascade mirrors the old guard order and resolves within one microstep, so it is never an observable snapshot. Commit 8 asserts this rather than treating it as dead state.
  • xstate lands in the main chunk, not a lazy one: router.ts → services/dialogService.ts → TopUpCreditsDialogContentWorkspace.vue → this store is a fully static import chain. SubscriptionPanel.vue uses defineAsyncComponent, but WorkspacePanelContent.vue and PlanCreditsPanelContent.vue import the same component statically and defeat it. Worth fixing separately.

Testing

  • pnpm typecheck, pnpm knip, pnpm lint (0 errors): clean
  • pnpm test:unit: 14288 passed / 1071 files. Two runs each surfaced a different unrelated intermittent failure (GraphView.test.ts, onboardingCloudRoutes.test.ts); both pass in isolation and the same code produced a clean 14284/0 run, so they are load flakes rather than regressions. CI is the arbiter.
  • Store suites pass 60/60 on both drivers — flag off (commit 6) and flag on (commit 7).
  • E2E not validated. The only billing-adjacent spec (pricingTableDeepLink.spec.ts, @cloud) fails all 14 tests in this environment and fails identically on base commit e0ef062918, so it is environment-gated (no cloud config), not a regression. Needs CI.

Pins behavior that the existing suite left uncovered and that a state
machine refactor could silently change: workspace suspension, the 30s
action cadence, the 23 hour authentication budget, terminal precedence
at the deadline, processing toast removal on every terminal edge, and
backoff continuity across network errors.

Each test was mutation-checked against the current implementation.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 07/30/2026, 09:08:12 PM UTC

Links

🎭 Playwright: ✅ 1771 passed, 0 failed

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

📦 Bundle: 8.2 MB gzip 🔴 +26.7 kB

Details

Summary

  • Raw size: 34.5 MB baseline 34.3 MB — 🔴 +109 kB
  • Gzip: 8.2 MB baseline 8.17 MB — 🔴 +26.7 kB
  • Brotli: 5.68 MB baseline 5.65 MB — 🔴 +22 kB
  • Bundles: 424 current • 424 baseline • 186 added / 186 removed

Category Glance
Vendor & Third-Party 🔴 +103 kB (15.8 MB) · Data & Services 🔴 +6.08 kB (3.43 MB) · Utilities & Hooks 🔴 +4 B (385 kB) · Other ⚪ 0 B (12.6 MB) · Graph Workspace ⚪ 0 B (1.29 MB) · Panels & Settings ⚪ 0 B (552 kB) · + 5 more

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

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-C2KF_O-x.js (new) — 3.62 kB 🔴 +3.62 kB 🔴 +1.81 kB 🔴 +1.58 kB
assets/index-D5ZMFxFn.js (removed) 3.62 kB — 🟢 -3.62 kB 🟢 -1.81 kB 🟢 -1.59 kB

Status: 1 added / 1 removed

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

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-CvW49LCu.js (removed) 1.29 MB — 🟢 -1.29 MB 🟢 -276 kB 🟢 -208 kB
assets/GraphView-DTcGAbVE.js (new) — 1.29 MB 🔴 +1.29 MB 🔴 +276 kB 🔴 +208 kB

Status: 1 added / 1 removed / 1 unchanged

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

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-BedZK8O7.js (removed) 24.9 kB — 🟢 -24.9 kB 🟢 -6.22 kB 🟢 -5.51 kB
assets/CloudSurveyView-C2I8thoc.js (new) — 24.9 kB 🔴 +24.9 kB 🔴 +6.23 kB 🔴 +5.51 kB
assets/OAuthConsentView-CkNaaUCl.js (new) — 15.5 kB 🔴 +15.5 kB 🔴 +4.25 kB 🔴 +3.71 kB
assets/OAuthConsentView-D8E05BQp.js (removed) 15.5 kB — 🟢 -15.5 kB 🟢 -4.25 kB 🟢 -3.7 kB
assets/CloudLoginView-CzeJnWGV.js (removed) 11.6 kB — 🟢 -11.6 kB 🟢 -3.1 kB 🟢 -2.73 kB
assets/CloudLoginView-DDqIbUQt.js (new) — 11.6 kB 🔴 +11.6 kB 🔴 +3.11 kB 🔴 +2.74 kB
assets/CloudSignupView-DLc3NH72.js (new) — 9.9 kB 🔴 +9.9 kB 🔴 +2.78 kB 🔴 +2.44 kB
assets/CloudSignupView-DWuY_Eb9.js (removed) 9.9 kB — 🟢 -9.9 kB 🟢 -2.78 kB 🟢 -2.43 kB
assets/CloudLayoutView-CQyMOsKz.js (removed) 9.48 kB — 🟢 -9.48 kB 🟢 -2.31 kB 🟢 -2 kB
assets/CloudLayoutView-EtpzEeZv.js (new) — 9.48 kB 🔴 +9.48 kB 🔴 +2.31 kB 🔴 +1.99 kB
assets/UserCheckView-9aDxfkdy.js (new) — 8.75 kB 🔴 +8.75 kB 🔴 +2.19 kB 🔴 +1.9 kB
assets/UserCheckView-T0dp9Z9D.js (removed) 8.75 kB — 🟢 -8.75 kB 🟢 -2.19 kB 🟢 -1.9 kB
assets/WidgetTextPreview-C2MOk4cV.js (removed) 6.07 kB — 🟢 -6.07 kB 🟢 -2.13 kB 🟢 -1.9 kB
assets/WidgetTextPreview-CZEWdUSM.js (new) — 6.07 kB 🔴 +6.07 kB 🔴 +2.13 kB 🔴 +1.89 kB
assets/CloudSubscriptionRedirectView-DuwUPtlm.js (removed) 5.99 kB — 🟢 -5.99 kB 🟢 -2.23 kB 🟢 -1.94 kB
assets/CloudSubscriptionRedirectView-JtiMRw3a.js (new) — 5.99 kB 🔴 +5.99 kB 🔴 +2.23 kB 🔴 +1.94 kB
assets/UserSelectView-Bn8NbuLW.js (removed) 5.49 kB — 🟢 -5.49 kB 🟢 -1.96 kB 🟢 -1.71 kB
assets/UserSelectView-DQPRISuE.js (new) — 5.49 kB 🔴 +5.49 kB 🔴 +1.96 kB 🔴 +1.71 kB
assets/CloudForgotPasswordView-5vINDMgC.js (new) — 5.09 kB 🔴 +5.09 kB 🔴 +1.73 kB 🔴 +1.51 kB
assets/CloudForgotPasswordView-BmtamHHB.js (removed) 5.09 kB — 🟢 -5.09 kB 🟢 -1.73 kB 🟢 -1.51 kB
assets/CloudAuthTimeoutView-DkEP05KD.js (new) — 4.43 kB 🔴 +4.43 kB 🔴 +1.54 kB 🔴 +1.33 kB
assets/CloudAuthTimeoutView-pMkP8wi2.js (removed) 4.43 kB — 🟢 -4.43 kB 🟢 -1.54 kB 🟢 -1.34 kB
assets/OAuthLayoutView-B_0pgB6y.js (removed) 1.31 kB — 🟢 -1.31 kB 🟢 -701 B 🟢 -594 B
assets/OAuthLayoutView-DSSLDd-R.js (new) — 1.31 kB 🔴 +1.31 kB 🔴 +699 B 🔴 +594 B
assets/layout-BrzdNzlE.js (new) — 403 B 🔴 +403 B 🔴 +251 B 🔴 +206 B
assets/layout-CFmaHb5G.js (removed) 403 B — 🟢 -403 B 🟢 -251 B 🟢 -207 B
assets/WidgetTextPreview-BEbnBxSk.js (removed) 131 B — 🟢 -131 B 🟢 -100 B 🟢 -89 B
assets/WidgetTextPreview-rI9-5wQL.js (new) — 131 B 🔴 +131 B 🔴 +100 B 🔴 +91 B

Status: 14 added / 14 removed / 2 unchanged

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

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/KeybindingPanel-B7vx_kfA.js (removed) 49.4 kB — 🟢 -49.4 kB 🟢 -9.94 kB 🟢 -8.8 kB
assets/KeybindingPanel-BweecQ_v.js (new) — 49.4 kB 🔴 +49.4 kB 🔴 +9.94 kB 🔴 +8.81 kB
assets/SecretsPanel-CkYxq5k-.js (removed) 33.7 kB — 🟢 -33.7 kB 🟢 -7.88 kB 🟢 -6.91 kB
assets/SecretsPanel-DvhUSsir.js (new) — 33.7 kB 🔴 +33.7 kB 🔴 +7.87 kB 🔴 +6.92 kB
assets/CreditsPanel-CNZ8fhkW.js (new) — 15.9 kB 🔴 +15.9 kB 🔴 +4.63 kB 🔴 +4.06 kB
assets/CreditsPanel-DYLsnj5j.js (removed) 15.9 kB — 🟢 -15.9 kB 🟢 -4.63 kB 🟢 -4.06 kB
assets/SubscriptionPanel-88q0gMjs.js (new) — 11.4 kB 🔴 +11.4 kB 🔴 +3.63 kB 🔴 +3.2 kB
assets/SubscriptionPanel-BEdUj4aW.js (removed) 11.4 kB — 🟢 -11.4 kB 🟢 -3.63 kB 🟢 -3.2 kB
assets/AboutPanel-CQgtGR6m.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.03 kB 🔴 +2.72 kB
assets/AboutPanel-f36sBt3G.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.03 kB 🟢 -2.73 kB
assets/ExtensionPanel-Boo1L0B-.js (new) — 9.19 kB 🔴 +9.19 kB 🔴 +2.51 kB 🔴 +2.22 kB
assets/ExtensionPanel-u9g2cvsJ.js (removed) 9.19 kB — 🟢 -9.19 kB 🟢 -2.51 kB 🟢 -2.22 kB
assets/ServerConfigPanel-cfq9zazd.js (removed) 6.09 kB — 🟢 -6.09 kB 🟢 -1.94 kB 🟢 -1.73 kB
assets/ServerConfigPanel-D9w_94LX.js (new) — 6.09 kB 🔴 +6.09 kB 🔴 +1.94 kB 🔴 +1.73 kB
assets/UserPanel-CSTf61Rr.js (removed) 5.73 kB — 🟢 -5.73 kB 🟢 -1.78 kB 🟢 -1.55 kB
assets/UserPanel-jD87Nh4b.js (new) — 5.73 kB 🔴 +5.73 kB 🔴 +1.78 kB 🔴 +1.54 kB
assets/refreshRemoteConfig-_SsOszOc.js (removed) 2.91 kB — 🟢 -2.91 kB 🟢 -1.24 kB 🟢 -1.08 kB
assets/refreshRemoteConfig-C5EPOWXn.js (new) — 2.91 kB 🔴 +2.91 kB 🔴 +1.24 kB 🔴 +1.08 kB
assets/cloudRemoteConfig-CWIAPROd.js (removed) 933 B — 🟢 -933 B 🟢 -503 B 🟢 -413 B
assets/cloudRemoteConfig-D5xuTnI6.js (new) — 933 B 🔴 +933 B 🔴 +505 B 🔴 +416 B
assets/refreshRemoteConfig-CeNtMlnu.js (new) — 110 B 🔴 +110 B 🔴 +89 B 🔴 +83 B
assets/refreshRemoteConfig-CoU0ezVU.js (removed) 110 B — 🟢 -110 B 🟢 -89 B 🟢 -89 B

Status: 11 added / 11 removed / 15 unchanged

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

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SignUpForm-DTAAUTCW.js (new) — 12.2 kB 🔴 +12.2 kB 🔴 +4.15 kB 🔴 +3.62 kB
assets/SignUpForm-yvYQFUj-.js (removed) 12.2 kB — 🟢 -12.2 kB 🟢 -4.15 kB 🟢 -3.62 kB
assets/auth-DKg5y0Vb.js (removed) 3.65 kB — 🟢 -3.65 kB 🟢 -1.27 kB 🟢 -1.09 kB
assets/auth-DwU3etBB.js (new) — 3.65 kB 🔴 +3.65 kB 🔴 +1.27 kB 🔴 +1.09 kB
assets/usePostAuthRedirect-9FBSesA9.js (removed) 3.28 kB — 🟢 -3.28 kB 🟢 -1.24 kB 🟢 -1.08 kB
assets/usePostAuthRedirect-CkEh9LMO.js (new) — 3.28 kB 🔴 +3.28 kB 🔴 +1.24 kB 🔴 +1.08 kB
assets/UpdatePasswordContent-6mAmGgSv.js (new) — 1.85 kB 🔴 +1.85 kB 🔴 +838 B 🔴 +727 B
assets/UpdatePasswordContent-C5d8w_pY.js (removed) 1.85 kB — 🟢 -1.85 kB 🟢 -838 B 🟢 -729 B
assets/authStore-CzQoDxMd.js (new) — 128 B 🔴 +128 B 🔴 +104 B 🔴 +103 B
assets/authStore-DZgO3iQE.js (removed) 128 B — 🟢 -128 B 🟢 -104 B 🟢 -104 B
assets/workspaceAuthStore-DW1FwASL.js (new) — 108 B 🔴 +108 B 🔴 +99 B 🔴 +100 B
assets/workspaceAuthStore-QffnSTAm.js (removed) 108 B — 🟢 -108 B 🟢 -99 B 🟢 -112 B
assets/auth-DzzWWHgq.js (new) — 105 B 🔴 +105 B 🔴 +96 B 🔴 +86 B
assets/auth-sU8O2F8G.js (removed) 105 B — 🟢 -105 B 🟢 -96 B 🟢 -87 B

Status: 7 added / 7 removed / 3 unchanged

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

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyHubPublishDialog-CFQr6wMe.js (removed) 90 kB — 🟢 -90 kB 🟢 -19.2 kB 🟢 -16.5 kB
assets/ComfyHubPublishDialog-g2JSpEhB.js (new) — 90 kB 🔴 +90 kB 🔴 +19.2 kB 🔴 +16.5 kB
assets/useShareDialog-D4uRfKVa.js (removed) 23.9 kB — 🟢 -23.9 kB 🟢 -5.69 kB 🟢 -5.04 kB
assets/useShareDialog-PitKyhbr.js (new) — 23.9 kB 🔴 +23.9 kB 🔴 +5.7 kB 🔴 +5.03 kB
assets/feedbackDialog-BnUp4hOy.js (removed) 4.45 kB — 🟢 -4.45 kB 🟢 -1.86 kB 🟢 -1.59 kB
assets/feedbackDialog-CZrQOc6x.js (new) — 4.45 kB 🔴 +4.45 kB 🔴 +1.86 kB 🔴 +1.59 kB
assets/useRangeEditor-CWyytUdk.js (new) — 3.23 kB 🔴 +3.23 kB 🔴 +1.13 kB 🔴 +1.04 kB
assets/useRangeEditor-xgzmIa8p.js (removed) 3.23 kB — 🟢 -3.23 kB 🟢 -1.12 kB 🟢 -1.02 kB
assets/SubscriptionInactiveMemberDialog--Ovd92OV.js (new) — 2.48 kB 🔴 +2.48 kB 🔴 +998 B 🔴 +849 B
assets/SubscriptionInactiveMemberDialog-ByGYAYkD.js (removed) 2.48 kB — 🟢 -2.48 kB 🟢 -998 B 🟢 -853 B
assets/ComfyHubPublishDialog-DaXJMOxT.js (removed) 143 B — 🟢 -143 B 🟢 -105 B 🟢 -94 B
assets/ComfyHubPublishDialog-Yv6X3nFo.js (new) — 143 B 🔴 +143 B 🔴 +105 B 🔴 +88 B
assets/useSubscriptionDialog-D-bQbMkM.js (new) — 108 B 🔴 +108 B 🔴 +102 B 🔴 +95 B
assets/useSubscriptionDialog-De0g7pA3.js (removed) 108 B — 🟢 -108 B 🟢 -102 B 🟢 -85 B

Status: 7 added / 7 removed

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

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyQueueButton-B_fjoeDm.js (new) — 13.5 kB 🔴 +13.5 kB 🔴 +3.73 kB 🔴 +3.32 kB
assets/ComfyQueueButton-BOu0iCkz.js (removed) 13.5 kB — 🟢 -13.5 kB 🟢 -3.73 kB 🟢 -3.31 kB
assets/useTerminalTabs-Diy-I0W5.js (new) — 11.8 kB 🔴 +11.8 kB 🔴 +3.69 kB 🔴 +3.27 kB
assets/useTerminalTabs-DSS6B0d3.js (removed) 11.8 kB — 🟢 -11.8 kB 🟢 -3.69 kB 🟢 -3.26 kB
assets/InviteMembersForm-C_aAKIHG.js (new) — 7.96 kB 🔴 +7.96 kB 🔴 +2.65 kB 🔴 +2.37 kB
assets/InviteMembersForm-zIc70_3P.js (removed) 7.96 kB — 🟢 -7.96 kB 🟢 -2.65 kB 🟢 -2.37 kB
assets/TopbarBadge-BcQZ42vj.js (new) — 7.65 kB 🔴 +7.65 kB 🔴 +1.84 kB 🔴 +1.62 kB
assets/TopbarBadge-i7akIJk7.js (removed) 7.65 kB — 🟢 -7.65 kB 🟢 -1.84 kB 🟢 -1.61 kB
assets/ScrubableNumberInput-BJw8jGzt.js (new) — 6.49 kB 🔴 +6.49 kB 🔴 +2.17 kB 🔴 +1.91 kB
assets/ScrubableNumberInput-BZ86WNBP.js (removed) 6.49 kB — 🟢 -6.49 kB 🟢 -2.16 kB 🟢 -1.91 kB
assets/WidgetInputNumberInput-BDTCTMms.js (removed) 5.83 kB — 🟢 -5.83 kB 🟢 -2.07 kB 🟢 -1.84 kB
assets/WidgetInputNumberInput-Bq9-Oh0u.js (new) — 5.83 kB 🔴 +5.83 kB 🔴 +2.07 kB 🔴 +1.85 kB
assets/toggle-group-BqQpXeF8.js (removed) 4.11 kB — 🟢 -4.11 kB 🟢 -1.41 kB 🟢 -1.25 kB
assets/toggle-group-D04VnE9T.js (new) — 4.11 kB 🔴 +4.11 kB 🔴 +1.42 kB 🔴 +1.25 kB
assets/Button-DXdsuO6B.js (removed) 3.67 kB — 🟢 -3.67 kB 🟢 -1.37 kB 🟢 -1.2 kB
assets/Button-jFVYfa38.js (new) — 3.67 kB 🔴 +3.67 kB 🔴 +1.37 kB 🔴 +1.2 kB
assets/SubscribeButton-BDQWFWNk.js (new) — 2.13 kB 🔴 +2.13 kB 🔴 +957 B 🔴 +837 B
assets/SubscribeButton-DdiYcJdh.js (removed) 2.13 kB — 🟢 -2.13 kB 🟢 -955 B 🟢 -838 B
assets/WidgetButton-CdZmvG5s.js (new) — 1.93 kB 🔴 +1.93 kB 🔴 +887 B 🔴 +774 B
assets/WidgetButton-CI9O5AhR.js (removed) 1.93 kB — 🟢 -1.93 kB 🟢 -885 B 🟢 -776 B
assets/Input-fA0TQ6a6.js (removed) 1.76 kB — 🟢 -1.76 kB 🟢 -873 B 🟢 -759 B
assets/Input-P2QRs13a.js (new) — 1.76 kB 🔴 +1.76 kB 🔴 +872 B 🔴 +760 B
assets/CloudBadge-C_bsYAR-.js (new) — 1.13 kB 🔴 +1.13 kB 🔴 +560 B 🔴 +491 B
assets/CloudBadge-r9O2nbKj.js (removed) 1.13 kB — 🟢 -1.13 kB 🟢 -560 B 🟢 -493 B
assets/cloudFeedbackTopbarButton-CXS5Aop1.js (removed) 705 B — 🟢 -705 B 🟢 -420 B 🟢 -358 B
assets/cloudFeedbackTopbarButton-DnWrixIt.js (new) — 705 B 🔴 +705 B 🔴 +420 B 🔴 +362 B
assets/ComfyQueueButton-Cr2TqPLB.js (new) — 128 B 🔴 +128 B 🔴 +99 B 🔴 +93 B
assets/ComfyQueueButton-wa8WLy-8.js (removed) 128 B — 🟢 -128 B 🟢 -99 B 🟢 -95 B

Status: 14 added / 14 removed / 1 unchanged

Data & Services — 3.43 MB (baseline 3.43 MB) • 🔴 +6.08 kB

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/settingStore-LtpUWshU.js (new) — 3.16 MB 🔴 +3.16 MB 🔴 +733 kB 🔴 +552 kB
assets/settingStore-DxgxybvN.js (removed) 3.16 MB — 🟢 -3.16 MB 🟢 -731 kB 🟢 -551 kB
assets/load3dService-D4aGUktS.js (removed) 132 kB — 🟢 -132 kB 🟢 -29.2 kB 🟢 -24.6 kB
assets/load3dService-HANueeDe.js (new) — 132 kB 🔴 +132 kB 🔴 +29.2 kB 🔴 +24.6 kB
assets/api-4nQsBMk-.js (removed) 91.7 kB — 🟢 -91.7 kB 🟢 -25.4 kB 🟢 -21.8 kB
assets/api-Dyl8hkjF.js (new) — 91.7 kB 🔴 +91.7 kB 🔴 +25.4 kB 🔴 +21.8 kB
assets/workflowShareService-C-q_2iSL.js (removed) 16.4 kB — 🟢 -16.4 kB 🟢 -4.89 kB 🟢 -4.33 kB
assets/workflowShareService-D52twd3B.js (new) — 16.4 kB 🔴 +16.4 kB 🔴 +4.89 kB 🔴 +4.33 kB
assets/keybindingService-BZSx1g-c.js (new) — 7.22 kB 🔴 +7.22 kB 🔴 +1.86 kB 🔴 +1.6 kB
assets/keybindingService-DohVTNcd.js (removed) 7.22 kB — 🟢 -7.22 kB 🟢 -1.86 kB 🟢 -1.6 kB
assets/releaseStore-C3fZ0wSt.js (new) — 6.72 kB 🔴 +6.72 kB 🔴 +2.03 kB 🔴 +1.77 kB
assets/releaseStore-XTXa5Lph.js (removed) 6.72 kB — 🟢 -6.72 kB 🟢 -2.03 kB 🟢 -1.77 kB
assets/dialogStore-D2ErRsER.js (new) — 5.31 kB 🔴 +5.31 kB 🔴 +1.63 kB 🔴 +1.43 kB
assets/dialogStore-DfZAn1Zr.js (removed) 5.31 kB — 🟢 -5.31 kB 🟢 -1.63 kB 🟢 -1.4 kB
assets/systemStatsStore-DoKYuRJG.js (removed) 4.93 kB — 🟢 -4.93 kB 🟢 -1.74 kB 🟢 -1.47 kB
assets/systemStatsStore-DTgDBXQj.js (new) — 4.93 kB 🔴 +4.93 kB 🔴 +1.74 kB 🔴 +1.47 kB
assets/userStore-Cow5bRxM.js (new) — 2.38 kB 🔴 +2.38 kB 🔴 +897 B 🔴 +795 B
assets/userStore-tPMbOLf0.js (removed) 2.38 kB — 🟢 -2.38 kB 🟢 -897 B 🟢 -794 B
assets/audioService-CL53QQo4.js (removed) 1.71 kB — 🟢 -1.71 kB 🟢 -830 B 🟢 -722 B
assets/audioService-CM0Yxafa.js (new) — 1.71 kB 🔴 +1.71 kB 🔴 +827 B 🔴 +721 B
assets/dialogService-Cr_ogfrz.js (new) — 98 B 🔴 +98 B 🔴 +97 B 🔴 +82 B
assets/dialogService-Ta6ha4qk.js (removed) 98 B — 🟢 -98 B 🟢 -97 B 🟢 -82 B
assets/releaseStore-B60NpmEg.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -84 B
assets/releaseStore-C_dv7Ta-.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +79 B
assets/settingStore-D07QMfrj.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +85 B
assets/settingStore-DOADFef7.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -83 B
assets/assetsStore-CBdis9Av.js (removed) 94 B — 🟢 -94 B 🟢 -92 B 🟢 -86 B
assets/assetsStore-CdnHVAFy.js (new) — 94 B 🔴 +94 B 🔴 +92 B 🔴 +83 B
assets/api-DsBjoeUJ.js (new) — 62 B 🔴 +62 B 🔴 +74 B 🔴 +66 B
assets/api-DutPY5XJ.js (removed) 62 B — 🟢 -62 B 🟢 -74 B 🟢 -66 B

Status: 15 added / 15 removed / 2 unchanged

Utilities & Hooks — 385 kB (baseline 385 kB) • 🔴 +4 B

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useConflictDetection-CEGYwEhy.js (new) — 235 kB 🔴 +235 kB 🔴 +52.5 kB 🔴 +42.7 kB
assets/useConflictDetection-Rldj5Zn1.js (removed) 235 kB — 🟢 -235 kB 🟢 -52.5 kB 🟢 -42.7 kB
assets/useLoad3d-D-aGDUFR.js (removed) 25.7 kB — 🟢 -25.7 kB 🟢 -5.79 kB 🟢 -5.13 kB
assets/useLoad3d-DOmBWIR8.js (new) — 25.7 kB 🔴 +25.7 kB 🔴 +5.79 kB 🔴 +5.14 kB
assets/useLoad3dViewer-BWHCJcDG.js (new) — 21.2 kB 🔴 +21.2 kB 🔴 +4.97 kB 🔴 +4.36 kB
assets/useLoad3dViewer-DyHA5m0P.js (removed) 21.2 kB — 🟢 -21.2 kB 🟢 -4.98 kB 🟢 -4.36 kB
assets/useImageCrop-CYCcXu4m.js (removed) 15 kB — 🟢 -15 kB 🟢 -3.42 kB 🟢 -2.98 kB
assets/useImageCrop-D2HmP7vW.js (new) — 15 kB 🔴 +15 kB 🔴 +3.42 kB 🔴 +2.98 kB
assets/useDowngradeToPersonal-BM0jInph.js (new) — 8.85 kB 🔴 +8.85 kB 🔴 +2.53 kB 🔴 +2.17 kB
assets/useDowngradeToPersonal-DO6dvG-X.js (removed) 8.85 kB — 🟢 -8.85 kB 🟢 -2.53 kB 🟢 -2.17 kB
assets/useFeatureFlags-BNfYRzkr.js (new) — 7.2 kB 🔴 +7.2 kB 🔴 +2.14 kB 🔴 +1.8 kB
assets/useFeatureFlags-ChdIs_XG.js (removed) 7.2 kB — 🟢 -7.2 kB 🟢 -2.14 kB 🟢 -1.79 kB
assets/assetPreviewUtil-B7qkoVcB.js (new) — 2.35 kB 🔴 +2.35 kB 🔴 +968 B 🔴 +834 B
assets/assetPreviewUtil-BrGsWF5u.js (removed) 2.35 kB — 🟢 -2.35 kB 🟢 -968 B 🟢 -835 B
assets/useUpstreamValue-B1rGGMjd.js (new) — 1.99 kB 🔴 +1.99 kB 🔴 +756 B 🔴 +679 B
assets/useUpstreamValue-DpLFvCV9.js (removed) 1.99 kB — 🟢 -1.99 kB 🟢 -756 B 🟢 -669 B
assets/useWorkspaceTierLabel-CVEC-n_8.js (new) — 1.93 kB 🔴 +1.93 kB 🔴 +813 B 🔴 +698 B
assets/useWorkspaceTierLabel-DqFUjoqT.js (removed) 1.93 kB — 🟢 -1.93 kB 🟢 -815 B 🟢 -698 B
assets/subscriptionCheckoutUtil-0hgizDYr.js (removed) 841 B — 🟢 -841 B 🟢 -501 B 🟢 -422 B
assets/subscriptionCheckoutUtil-D3WOh46q.js (new) — 841 B 🔴 +841 B 🔴 +502 B 🔴 +425 B
assets/useSessionCookie-3oM_3WUB.js (new) — 692 B 🔴 +692 B 🔴 +358 B 🔴 +311 B
assets/useSessionCookie-s8hFaanc.js (removed) 692 B — 🟢 -692 B 🟢 -356 B 🟢 -309 B
assets/useLoad3d-C8pr-_nq.js (removed) 311 B — 🟢 -311 B 🟢 -164 B 🟢 -146 B
assets/useLoad3d-Dks3A0KY.js (new) — 311 B 🔴 +311 B 🔴 +165 B 🔴 +149 B
assets/useSessionCookie-BBMT2kvK.js (removed) 101 B — 🟢 -101 B 🟢 -86 B 🟢 -80 B
assets/useSessionCookie-DG75oMhm.js (new) — 101 B 🔴 +101 B 🔴 +86 B 🔴 +85 B
assets/useFeatureFlags-C4btn4k7.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +82 B
assets/useFeatureFlags-CkFbea43.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -84 B
assets/useLoad3dViewer-D-_dK1nz.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +84 B
assets/useLoad3dViewer-Itmu0IPF.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -87 B
assets/useCurrentUser-CuHbSV16.js (new) — 94 B 🔴 +94 B 🔴 +95 B 🔴 +80 B
assets/useCurrentUser-D9uMb6rY.js (removed) 94 B — 🟢 -94 B 🟢 -95 B 🟢 -88 B

Status: 16 added / 16 removed / 20 unchanged

Vendor & Third-Party — 15.8 MB (baseline 15.7 MB) • 🔴 +103 kB

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-other-sxqSDqpV.js (new) — 2.33 MB 🔴 +2.33 MB 🔴 +508 kB 🔴 +400 kB
assets/vendor-other-BcebgFHH.js (removed) 2.23 MB — 🟢 -2.23 MB 🟢 -483 kB 🟢 -380 kB

Status: 1 added / 1 removed / 15 unchanged

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

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/core-DcJEcjt_.js (new) — 111 kB 🔴 +111 kB 🔴 +28.7 kB 🔴 +24.3 kB
assets/core-DV9VhS8H.js (removed) 111 kB — 🟢 -111 kB 🟢 -28.7 kB 🟢 -24.3 kB
assets/WidgetSelect-BxqxnKtU.js (removed) 88 kB — 🟢 -88 kB 🟢 -19.9 kB 🟢 -17 kB
assets/WidgetSelect-CxD62Ssh.js (new) — 88 kB 🔴 +88 kB 🔴 +19.9 kB 🔴 +17 kB
assets/Load3D-DoJWW9rp.js (removed) 71.3 kB — 🟢 -71.3 kB 🟢 -11.7 kB 🟢 -9.99 kB
assets/Load3D-tn44m70Q.js (new) — 71.3 kB 🔴 +71.3 kB 🔴 +11.7 kB 🔴 +9.99 kB
assets/WidgetVideoEdit-CKRpS74i.js (new) — 63.4 kB 🔴 +63.4 kB 🔴 +14.6 kB 🔴 +12.8 kB
assets/WidgetVideoEdit-uyImRk9y.js (removed) 63.4 kB — 🟢 -63.4 kB 🟢 -14.6 kB 🟢 -12.8 kB
assets/WorkspaceSettingsPanelContent-B7VFisQI.js (removed) 61.6 kB — 🟢 -61.6 kB 🟢 -13.2 kB 🟢 -11.5 kB
assets/WorkspaceSettingsPanelContent-C80XxuXJ.js (new) — 61.6 kB 🔴 +61.6 kB 🔴 +13.2 kB 🔴 +11.5 kB
assets/SubscriptionTransitionPreviewWorkspace-BtDYouNU.js (new) — 61.3 kB 🔴 +61.3 kB 🔴 +12.5 kB 🔴 +10.9 kB
assets/SubscriptionTransitionPreviewWorkspace-DVoQyUY_.js (removed) 61.3 kB — 🟢 -61.3 kB 🟢 -12.5 kB 🟢 -10.9 kB
assets/Preview3d-BFAOvFSo.js (removed) 50.9 kB — 🟢 -50.9 kB 🟢 -8.31 kB 🟢 -7.24 kB
assets/Preview3d-DaTsICSl.js (new) — 50.9 kB 🔴 +50.9 kB 🔴 +8.31 kB 🔴 +7.25 kB
assets/main-Bbqd_k8p.js (new) — 46.8 kB 🔴 +46.8 kB 🔴 +13.8 kB 🔴 +11.9 kB
assets/main-CDt11SIW.js (removed) 46.8 kB — 🟢 -46.8 kB 🟢 -13.8 kB 🟢 -12 kB
assets/SubscriptionRequiredDialogContentUnified-CxH_UUVq.js (new) — 42.7 kB 🔴 +42.7 kB 🔴 +9.42 kB 🔴 +8.21 kB
assets/SubscriptionRequiredDialogContentUnified-DGPMeLTb.js (removed) 42.7 kB — 🟢 -42.7 kB 🟢 -9.42 kB 🟢 -8.21 kB
assets/MembersPanelContent-BMtRz4o5.js (new) — 41.8 kB 🔴 +41.8 kB 🔴 +8.79 kB 🔴 +7.84 kB
assets/MembersPanelContent-t8FZE6NJ.js (removed) 41.8 kB — 🟢 -41.8 kB 🟢 -8.79 kB 🟢 -7.83 kB
assets/WidgetBoundingBoxes-0x6-qPU_.js (new) — 33.7 kB 🔴 +33.7 kB 🔴 +9.16 kB 🔴 +8.14 kB
assets/WidgetBoundingBoxes-DK7CGqPJ.js (removed) 33.7 kB — 🟢 -33.7 kB 🟢 -9.15 kB 🟢 -8.13 kB
assets/WidgetPainter-Bqgt70OF.js (new) — 32.6 kB 🔴 +32.6 kB 🔴 +7.87 kB 🔴 +6.97 kB
assets/WidgetPainter-NSEWGGde.js (removed) 32.6 kB — 🟢 -32.6 kB 🟢 -7.87 kB 🟢 -6.97 kB
assets/Load3dViewerContent-CHflY2bR.js (new) — 30.8 kB 🔴 +30.8 kB 🔴 +6.26 kB 🔴 +5.44 kB
assets/Load3dViewerContent-CKwX3TNf.js (removed) 30.8 kB — 🟢 -30.8 kB 🟢 -6.27 kB 🟢 -5.43 kB
assets/HdrViewerContent-mTvHW4MH.js (new) — 29.8 kB 🔴 +29.8 kB 🔴 +8.25 kB 🔴 +7.27 kB
assets/HdrViewerContent-r3VZ5sBb.js (removed) 29.8 kB — 🟢 -29.8 kB 🟢 -8.25 kB 🟢 -7.27 kB
assets/SubscriptionPanelContentWorkspace-BV0hpwI6.js (new) — 29.3 kB 🔴 +29.3 kB 🔴 +6.79 kB 🔴 +5.97 kB
assets/SubscriptionPanelContentWorkspace-DVKBfm5W.js (removed) 29.3 kB — 🟢 -29.3 kB 🟢 -6.78 kB 🟢 -5.97 kB
assets/ColorPicker-B-Mt7C5V.js (removed) 29.3 kB — 🟢 -29.3 kB 🟢 -7.58 kB 🟢 -6.67 kB
assets/ColorPicker-BPCtYBYD.js (new) — 29.3 kB 🔴 +29.3 kB 🔴 +7.58 kB 🔴 +6.67 kB
assets/SubscriptionRequiredDialogContent-BDcidoXw.js (new) — 26.1 kB 🔴 +26.1 kB 🔴 +6.14 kB 🔴 +5.4 kB
assets/SubscriptionRequiredDialogContent-CPbADXYc.js (removed) 26.1 kB — 🟢 -26.1 kB 🟢 -6.14 kB 🟢 -5.4 kB
assets/SubscriptionRequiredDialogContentWorkspace-BaQsX-hQ.js (new) — 25.1 kB 🔴 +25.1 kB 🔴 +5.8 kB 🔴 +5.11 kB
assets/SubscriptionRequiredDialogContentWorkspace-LlinN6Lc.js (removed) 25.1 kB — 🟢 -25.1 kB 🟢 -5.8 kB 🟢 -5.1 kB
assets/load3d-CyuDzlAv.js (removed) 22.2 kB — 🟢 -22.2 kB 🟢 -5.4 kB 🟢 -4.66 kB
assets/load3d-DMZTmj7H.js (new) — 22.2 kB 🔴 +22.2 kB 🔴 +5.41 kB 🔴 +4.67 kB
assets/CurrentUserPopoverWorkspace-CHKLN7TO.js (removed) 20.5 kB — 🟢 -20.5 kB 🟢 -4.69 kB 🟢 -4.17 kB
assets/CurrentUserPopoverWorkspace-gsPhfQOW.js (new) — 20.5 kB 🔴 +20.5 kB 🔴 +4.69 kB 🔴 +4.18 kB
assets/SignInContent-CbdkSiuN.js (removed) 20.2 kB — 🟢 -20.2 kB 🟢 -5.1 kB 🟢 -4.46 kB
assets/SignInContent-lip_ZNEB.js (new) — 20.2 kB 🔴 +20.2 kB 🔴 +5.1 kB 🔴 +4.45 kB
assets/CreditsTile-BdndjQDj.js (removed) 17.2 kB — 🟢 -17.2 kB 🟢 -4.55 kB 🟢 -4.04 kB
assets/CreditsTile-BVMQy9zy.js (new) — 17.2 kB 🔴 +17.2 kB 🔴 +4.55 kB 🔴 +4.01 kB
assets/WidgetRecordAudio-BJMqf0L9.js (new) — 16.6 kB 🔴 +16.6 kB 🔴 +4.6 kB 🔴 +4.1 kB
assets/WidgetRecordAudio-DGZc71Fg.js (removed) 16.6 kB — 🟢 -16.6 kB 🟢 -4.6 kB 🟢 -4.09 kB
assets/DialogHeader-BKeeqtyi.js (new) — 14.9 kB 🔴 +14.9 kB 🔴 +4.07 kB 🔴 +3.61 kB
assets/DialogHeader-GPbLhitb.js (removed) 14.9 kB — 🟢 -14.9 kB 🟢 -4.07 kB 🟢 -3.62 kB
assets/WidgetInputNumber-CSJpEhHz.js (removed) 13.9 kB — 🟢 -13.9 kB 🟢 -3.63 kB 🟢 -3.21 kB
assets/WidgetInputNumber-jbEClOgz.js (new) — 13.9 kB 🔴 +13.9 kB 🔴 +3.63 kB 🔴 +3.22 kB
assets/WidgetRange-DW1-HbOA.js (removed) 13.7 kB — 🟢 -13.7 kB 🟢 -3.53 kB 🟢 -3.12 kB
assets/WidgetRange-SbLhn5Zs.js (new) — 13.7 kB 🔴 +13.7 kB 🔴 +3.54 kB 🔴 +3.12 kB
assets/WaveAudioPlayer-B_rdNe7N.js (new) — 12.8 kB 🔴 +12.8 kB 🔴 +3.47 kB 🔴 +3.03 kB
assets/WaveAudioPlayer-DaJNUQ1U.js (removed) 12.8 kB — 🟢 -12.8 kB 🟢 -3.46 kB 🟢 -3.05 kB
assets/WidgetCurve-CBEmLFW8.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.47 kB 🔴 +3.15 kB
assets/WidgetCurve-DBXS-TdR.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.47 kB 🟢 -3.15 kB
assets/AudioPreviewPlayer-BjSbGucv.js (new) — 10.6 kB 🔴 +10.6 kB 🔴 +3.05 kB 🔴 +2.73 kB
assets/AudioPreviewPlayer-T091lYgQ.js (removed) 10.6 kB — 🟢 -10.6 kB 🟢 -3.05 kB 🟢 -2.72 kB
assets/TeamWorkspacesDialogContent-CD61ZBkI.js (removed) 10.3 kB — 🟢 -10.3 kB 🟢 -2.97 kB 🟢 -2.63 kB
assets/TeamWorkspacesDialogContent-CISw1VhO.js (new) — 10.3 kB 🔴 +10.3 kB 🔴 +2.97 kB 🔴 +2.63 kB
assets/SelectValue-BY2Hp82F.js (removed) 10.1 kB — 🟢 -10.1 kB 🟢 -2.45 kB 🟢 -2.16 kB
assets/SelectValue-t8NuMmYK.js (new) — 10.1 kB 🔴 +10.1 kB 🔴 +2.45 kB 🔴 +2.16 kB
assets/onboardingCloudRoutes-BTQxizvK.js (removed) 9.07 kB — 🟢 -9.07 kB 🟢 -2.78 kB 🟢 -2.39 kB
assets/onboardingCloudRoutes-CQ3x7dsX.js (new) — 9.07 kB 🔴 +9.07 kB 🔴 +2.78 kB 🔴 +2.39 kB
assets/Load3DConfiguration-BoDxkC-W.js (new) — 8.91 kB 🔴 +8.91 kB 🔴 +2.6 kB 🔴 +2.29 kB
assets/Load3DConfiguration-DD4pP0Ux.js (removed) 8.91 kB — 🟢 -8.91 kB 🟢 -2.6 kB 🟢 -2.29 kB
assets/WidgetImageCrop-BdaKH2Ge.js (new) — 8.49 kB 🔴 +8.49 kB 🔴 +2.65 kB 🔴 +2.34 kB
assets/WidgetImageCrop-CxyRqqh_.js (removed) 8.49 kB — 🟢 -8.49 kB 🟢 -2.65 kB 🟢 -2.34 kB
assets/SetMemberCreditLimitDialogContent-Bbir6SIR.js (removed) 8.47 kB — 🟢 -8.47 kB 🟢 -2.34 kB 🟢 -2.04 kB
assets/SetMemberCreditLimitDialogContent-BoXNxM6G.js (new) — 8.47 kB 🔴 +8.47 kB 🔴 +2.34 kB 🔴 +2.05 kB
assets/nodeTemplates-BpxYe-kL.js (removed) 8.28 kB — 🟢 -8.28 kB 🟢 -2.84 kB 🟢 -2.49 kB
assets/nodeTemplates-DH0aCwnj.js (new) — 8.28 kB 🔴 +8.28 kB 🔴 +2.84 kB 🔴 +2.51 kB
assets/WidgetImageCompare-BT5XJUxo.js (removed) 8.13 kB — 🟢 -8.13 kB 🟢 -2.3 kB 🟢 -2.01 kB
assets/WidgetImageCompare-C-qoGcuO.js (new) — 8.13 kB 🔴 +8.13 kB 🔴 +2.3 kB 🔴 +2.01 kB
assets/NightlySurveyController-BEdmhDhx.js (removed) 7.5 kB — 🟢 -7.5 kB 🟢 -2.55 kB 🟢 -2.24 kB
assets/NightlySurveyController-lR2mHZrX.js (new) — 7.5 kB 🔴 +7.5 kB 🔴 +2.56 kB 🔴 +2.25 kB
assets/Popover-Dn7Po-Td.js (new) — 7.48 kB 🔴 +7.48 kB 🔴 +2.68 kB 🔴 +2.36 kB
assets/Popover-Ds-VszP1.js (removed) 7.48 kB — 🟢 -7.48 kB 🟢 -2.68 kB 🟢 -2.36 kB
assets/WidgetWithControl-D0NgsQFY.js (removed) 6.35 kB — 🟢 -6.35 kB 🟢 -2.57 kB 🟢 -2.27 kB
assets/WidgetWithControl-DJ1zI9UY.js (new) — 6.35 kB 🔴 +6.35 kB 🔴 +2.58 kB 🔴 +2.3 kB
assets/tierBenefits-BO3-tA6n.js (removed) 6.2 kB — 🟢 -6.2 kB 🟢 -1.97 kB 🟢 -1.71 kB
assets/tierBenefits-rY_MUTwu.js (new) — 6.2 kB 🔴 +6.2 kB 🔴 +1.97 kB 🔴 +1.71 kB
assets/AnimationControls-b2XPmUFt.js (removed) 6.1 kB — 🟢 -6.1 kB 🟢 -1.85 kB 🟢 -1.63 kB
assets/AnimationControls-sKPscFKd.js (new) — 6.1 kB 🔴 +6.1 kB 🔴 +1.85 kB 🔴 +1.63 kB
assets/CancelSubscriptionDialogContent-e1AtTotG.js (removed) 5.91 kB — 🟢 -5.91 kB 🟢 -2 kB 🟢 -1.76 kB
assets/CancelSubscriptionDialogContent-YMQTOxz6.js (new) — 5.91 kB 🔴 +5.91 kB 🔴 +2 kB 🔴 +1.77 kB
assets/load3dPreviewExtensions-D_3VOWkk.js (new) — 5.88 kB 🔴 +5.88 kB 🔴 +1.81 kB 🔴 +1.6 kB
assets/load3dPreviewExtensions-zpzP6sb6.js (removed) 5.88 kB — 🟢 -5.88 kB 🟢 -1.81 kB 🟢 -1.59 kB
assets/DowngradeRemoveMembersDialogContent-CXJrqOsv.js (new) — 5.58 kB 🔴 +5.58 kB 🔴 +1.89 kB 🔴 +1.64 kB
assets/DowngradeRemoveMembersDialogContent-PX3XKHTv.js (removed) 5.58 kB — 🟢 -5.58 kB 🟢 -1.89 kB 🟢 -1.64 kB
assets/missingModelDownload-CaMjteiQ.js (removed) 5.54 kB — 🟢 -5.54 kB 🟢 -2.01 kB 🟢 -1.75 kB
assets/missingModelDownload-CudMe59P.js (new) — 5.54 kB 🔴 +5.54 kB 🔴 +2.01 kB 🔴 +1.75 kB
assets/CreateWorkspaceDialogContent-B_yA0SWa.js (new) — 5.12 kB 🔴 +5.12 kB 🔴 +1.79 kB 🔴 +1.56 kB
assets/CreateWorkspaceDialogContent-DyKKMJ5I.js (removed) 5.12 kB — 🟢 -5.12 kB 🟢 -1.79 kB 🟢 -1.55 kB
assets/CloudNotificationContent-7mJ4JKuF.js (new) — 5.05 kB 🔴 +5.05 kB 🔴 +1.76 kB 🔴 +1.51 kB
assets/CloudNotificationContent-BNdOOB-Z.js (removed) 5.05 kB — 🟢 -5.05 kB 🟢 -1.76 kB 🟢 -1.51 kB
assets/ChangeMemberRoleDialogContent-BNDqL9xN.js (removed) 4.97 kB — 🟢 -4.97 kB 🟢 -1.63 kB 🟢 -1.43 kB
assets/ChangeMemberRoleDialogContent-DHjZdH5G.js (new) — 4.97 kB 🔴 +4.97 kB 🔴 +1.63 kB 🔴 +1.43 kB
assets/EditWorkspaceDialogContent-B5EXL5Th.js (new) — 4.93 kB 🔴 +4.93 kB 🔴 +1.76 kB 🔴 +1.53 kB
assets/EditWorkspaceDialogContent-CGddX-n7.js (removed) 4.93 kB — 🟢 -4.93 kB 🟢 -1.76 kB 🟢 -1.52 kB
assets/PaletteSwatchRow-8LN_7u74.js (new) — 4.86 kB 🔴 +4.86 kB 🔴 +1.86 kB 🔴 +1.66 kB
assets/PaletteSwatchRow-V3LdaKVx.js (removed) 4.86 kB — 🟢 -4.86 kB 🟢 -1.86 kB 🟢 -1.66 kB
assets/WidgetTextarea-CmbEVCA6.js (new) — 4.81 kB 🔴 +4.81 kB 🔴 +1.87 kB 🔴 +1.63 kB
assets/WidgetTextarea-nOmj3Jca.js (removed) 4.81 kB — 🟢 -4.81 kB 🟢 -1.87 kB 🟢 -1.62 kB
assets/saveMesh-CXesW5jG.js (new) — 4.76 kB 🔴 +4.76 kB 🔴 +1.52 kB 🔴 +1.34 kB
assets/saveMesh-DPyxx1p3.js (removed) 4.76 kB — 🟢 -4.76 kB 🟢 -1.52 kB 🟢 -1.34 kB
assets/WorkspacePanelContent-BDGbVu52.js (new) — 4.72 kB 🔴 +4.72 kB 🔴 +1.6 kB 🔴 +1.4 kB
assets/WorkspacePanelContent-BUiUsm6k.js (removed) 4.72 kB — 🟢 -4.72 kB 🟢 -1.6 kB 🟢 -1.4 kB
assets/InviteMemberDialogContent-DSjQOWrZ.js (removed) 4.68 kB — 🟢 -4.68 kB 🟢 -1.58 kB 🟢 -1.38 kB
assets/InviteMemberDialogContent-fJDG8nQ3.js (new) — 4.68 kB 🔴 +4.68 kB 🔴 +1.58 kB 🔴 +1.38 kB
assets/ValueControlPopover-B_IRjLHu.js (new) — 4.49 kB 🔴 +4.49 kB 🔴 +1.55 kB 🔴 +1.39 kB
assets/ValueControlPopover-GaCfCbSY.js (removed) 4.49 kB — 🟢 -4.49 kB 🟢 -1.55 kB 🟢 -1.39 kB
assets/ApiNodesSignInContent-D0I2h0-F.js (new) — 4.08 kB 🔴 +4.08 kB 🔴 +1.31 kB 🔴 +1.16 kB
assets/ApiNodesSignInContent-DYb1_Sw5.js (removed) 4.08 kB — 🟢 -4.08 kB 🟢 -1.31 kB 🟢 -1.16 kB
assets/Slider-5_HRebkX.js (removed) 3.87 kB — 🟢 -3.87 kB 🟢 -1.42 kB 🟢 -1.23 kB
assets/Slider-CVIynUkd.js (new) — 3.87 kB 🔴 +3.87 kB 🔴 +1.42 kB 🔴 +1.23 kB
assets/DeleteWorkspaceDialogContent-Cxx4JN6F.js (removed) 3.84 kB — 🟢 -3.84 kB 🟢 -1.44 kB 🟢 -1.24 kB
assets/DeleteWorkspaceDialogContent-jXJhNrE6.js (new) — 3.84 kB 🔴 +3.84 kB 🔴 +1.44 kB 🔴 +1.23 kB
assets/WidgetBoundingBox-B6aMbOT6.js (new) — 3.76 kB 🔴 +3.76 kB 🔴 +1.03 kB 🔴 +899 B
assets/WidgetBoundingBox-gWwqYHFH.js (removed) 3.76 kB — 🟢 -3.76 kB 🟢 -1.03 kB 🟢 -898 B
assets/LeaveWorkspaceDialogContent-C4Ga1OdL.js (new) — 3.67 kB 🔴 +3.67 kB 🔴 +1.38 kB 🔴 +1.18 kB
assets/LeaveWorkspaceDialogContent-F_J5Nzfm.js (removed) 3.67 kB — 🟢 -3.67 kB 🟢 -1.38 kB 🟢 -1.19 kB
assets/RemoveMemberDialogContent-BiZXx3Q3.js (new) — 3.65 kB 🔴 +3.65 kB 🔴 +1.34 kB 🔴 +1.17 kB
assets/RemoveMemberDialogContent-BZjZY42F.js (removed) 3.65 kB — 🟢 -3.65 kB 🟢 -1.34 kB 🟢 -1.15 kB
assets/RevokeInviteDialogContent-Bbp6VOsK.js (removed) 3.56 kB — 🟢 -3.56 kB 🟢 -1.35 kB 🟢 -1.17 kB
assets/RevokeInviteDialogContent-hg1HMRKf.js (new) — 3.56 kB 🔴 +3.56 kB 🔴 +1.35 kB 🔴 +1.17 kB
assets/WidgetToggleSwitch-D8b3Ab39.js (removed) 3.52 kB — 🟢 -3.52 kB 🟢 -1.28 kB 🟢 -1.13 kB
assets/WidgetToggleSwitch-o0OioG9M.js (new) — 3.52 kB 🔴 +3.52 kB 🔴 +1.28 kB 🔴 +1.13 kB
assets/InviteMemberUpsellDialogContent-BQYAVmPa.js (new) — 3.44 kB 🔴 +3.44 kB 🔴 +1.23 kB 🔴 +1.08 kB
assets/InviteMemberUpsellDialogContent-f5mANIKk.js (removed) 3.44 kB — 🟢 -3.44 kB 🟢 -1.23 kB 🟢 -1.08 kB
assets/workspaceCheckoutTelemetry-DBCnUcOI.js (new) — 3.4 kB 🔴 +3.4 kB 🔴 +1.52 kB 🔴 +1.33 kB
assets/workspaceCheckoutTelemetry-HsdZElL8.js (removed) 3.4 kB — 🟢 -3.4 kB 🟢 -1.52 kB 🟢 -1.33 kB
assets/Media3DTop-9B2OzCEi.js (removed) 3.21 kB — 🟢 -3.21 kB 🟢 -1.26 kB 🟢 -1.1 kB
assets/Media3DTop-D2lMdsPp.js (new) — 3.21 kB 🔴 +3.21 kB 🔴 +1.26 kB 🔴 +1.1 kB
assets/WidgetMarkdown-43ACCIUB.js (new) — 3.07 kB 🔴 +3.07 kB 🔴 +1.26 kB 🔴 +1.09 kB
assets/WidgetMarkdown-rqylozKY.js (removed) 3.07 kB — 🟢 -3.07 kB 🟢 -1.26 kB 🟢 -1.09 kB
assets/WidgetInputText-8BN21oSC.js (removed) 3.01 kB — 🟢 -3.01 kB 🟢 -1.27 kB 🟢 -1.13 kB
assets/WidgetInputText-yXnDyaTT.js (new) — 3.01 kB 🔴 +3.01 kB 🔴 +1.27 kB 🔴 +1.14 kB
assets/GlobalToast-Bt4OHySH.js (removed) 3 kB — 🟢 -3 kB 🟢 -1.22 kB 🟢 -1.06 kB
assets/GlobalToast-C4i-Nen5.js (new) — 3 kB 🔴 +3 kB 🔴 +1.22 kB 🔴 +1.04 kB
assets/MediaVideoTop-BT0FYSyS.js (removed) 2.86 kB — 🟢 -2.86 kB 🟢 -1.15 kB 🟢 -1 kB
assets/MediaVideoTop-D7Ylm0U5.js (new) — 2.86 kB 🔴 +2.86 kB 🔴 +1.15 kB 🔴 +1 kB
assets/load3dAdvanced-BDfnqa4p.js (new) — 2.82 kB 🔴 +2.82 kB 🔴 +1.09 kB 🔴 +955 B
assets/load3dAdvanced-vaAepAnR.js (removed) 2.82 kB — 🟢 -2.82 kB 🟢 -1.09 kB 🟢 -950 B
assets/ErrorPanelSurveyCta-CJT-JQOt.js (removed) 2.64 kB — 🟢 -2.64 kB 🟢 -1.14 kB 🟢 -1.01 kB
assets/ErrorPanelSurveyCta-D9Sv8w1_.js (new) — 2.64 kB 🔴 +2.64 kB 🔴 +1.14 kB 🔴 +1.01 kB
assets/Switch-B7vCEiNs.js (removed) 2.49 kB — 🟢 -2.49 kB 🟢 -1.09 kB 🟢 -971 B
assets/Switch-bmv4V7wQ.js (new) — 2.49 kB 🔴 +2.49 kB 🔴 +1.09 kB 🔴 +936 B
assets/SubscribeToRun-1N-Fk1K-.js (new) — 2.39 kB 🔴 +2.39 kB 🔴 +1.03 kB 🔴 +938 B
assets/SubscribeToRun-BhA7Enhz.js (removed) 2.39 kB — 🟢 -2.39 kB 🟢 -1.03 kB 🟢 -901 B
assets/WidgetLayoutField-FbL3uKIh.js (removed) 2.38 kB — 🟢 -2.38 kB 🟢 -1.02 kB 🟢 -929 B
assets/WidgetLayoutField-v1b2l_zi.js (new) — 2.38 kB 🔴 +2.38 kB 🔴 +1.02 kB 🔴 +926 B
assets/WidgetColorPicker-Bd_EE9op.js (new) — 1.69 kB 🔴 +1.69 kB 🔴 +753 B 🔴 +670 B
assets/WidgetColorPicker-CafoIYVe.js (removed) 1.69 kB — 🟢 -1.69 kB 🟢 -755 B 🟢 -670 B
assets/Loader-C0Z3JHDk.js (removed) 1.64 kB — 🟢 -1.64 kB 🟢 -781 B 🟢 -690 B
assets/Loader-C6qzcPG2.js (new) — 1.64 kB 🔴 +1.64 kB 🔴 +782 B 🔴 +688 B
assets/WidgetColors-CntWdml5.js (new) — 1.63 kB 🔴 +1.63 kB 🔴 +805 B 🔴 +713 B
assets/WidgetColors-QDP2HtT6.js (removed) 1.63 kB — 🟢 -1.63 kB 🟢 -804 B 🟢 -714 B
assets/MediaAudioTop-D8ykwwvS.js (new) — 1.62 kB 🔴 +1.62 kB 🔴 +805 B 🔴 +666 B
assets/MediaAudioTop-Dqnkkm5d.js (removed) 1.62 kB — 🟢 -1.62 kB 🟢 -806 B 🟢 -666 B
assets/Textarea-CDe9UuWO.js (removed) 1.56 kB — 🟢 -1.56 kB 🟢 -814 B 🟢 -707 B
assets/Textarea-DQPP5MAU.js (new) — 1.56 kB 🔴 +1.56 kB 🔴 +813 B 🔴 +707 B
assets/VideoPlayOverlay-B6yTKozG.js (removed) 1.46 kB — 🟢 -1.46 kB 🟢 -726 B 🟢 -650 B
assets/VideoPlayOverlay-DVD0d5CF.js (new) — 1.46 kB 🔴 +1.46 kB 🔴 +726 B 🔴 +650 B
assets/ButtonGroup-B9hBsLN5.js (removed) 1.21 kB — 🟢 -1.21 kB 🟢 -636 B 🟢 -560 B
assets/ButtonGroup-BepAtedG.js (new) — 1.21 kB 🔴 +1.21 kB 🔴 +636 B 🔴 +560 B
assets/CloudRunButtonWrapper-Cyx_HBsF.js (removed) 1.05 kB — 🟢 -1.05 kB 🟢 -512 B 🟢 -451 B
assets/CloudRunButtonWrapper-Dy9kVELD.js (new) — 1.05 kB 🔴 +1.05 kB 🔴 +513 B 🔴 +452 B
assets/cloudSessionCookie-B2YMYyEC.js (removed) 933 B — 🟢 -933 B 🟢 -430 B 🟢 -377 B
assets/cloudSessionCookie-DgWqwr9S.js (new) — 933 B 🔴 +933 B 🔴 +430 B 🔴 +383 B
assets/cloudBadges-D-RkNtd0.js (new) — 922 B 🔴 +922 B 🔴 +512 B 🔴 +436 B
assets/cloudBadges-DsSuAg9m.js (removed) 922 B — 🟢 -922 B 🟢 -511 B 🟢 -438 B
assets/Load3DAdvanced-7KE4vWey.js (removed) 761 B — 🟢 -761 B 🟢 -423 B 🟢 -359 B
assets/Load3DAdvanced-BgscJV4l.js (new) — 761 B 🔴 +761 B 🔴 +423 B 🔴 +360 B
assets/nightlyBadges-Er3YIQGM.js (new) — 411 B 🔴 +411 B 🔴 +270 B 🔴 +230 B
assets/nightlyBadges-sZoIiqL4.js (removed) 411 B — 🟢 -411 B 🟢 -268 B 🟢 -230 B
assets/src-CfuMbBX0.js (new) — 407 B 🔴 +407 B 🔴 +287 B 🔴 +243 B
assets/src-i1mqj0l8.js (removed) 407 B — 🟢 -407 B 🟢 -287 B 🟢 -243 B
assets/missingModelDownload-BQ0jk1fj.js (removed) 326 B — 🟢 -326 B 🟢 -186 B 🟢 -171 B
assets/missingModelDownload-C7vSztdS.js (new) — 326 B 🔴 +326 B 🔴 +188 B 🔴 +172 B
assets/SubscriptionPanelContentWorkspace-Bz68_C4e.js (removed) 179 B — 🟢 -179 B 🟢 -117 B 🟢 -94 B
assets/SubscriptionPanelContentWorkspace-D5N_R5zy.js (new) — 179 B 🔴 +179 B 🔴 +117 B 🔴 +92 B
assets/Load3dViewerContent-C95eAkgV.js (removed) 137 B — 🟢 -137 B 🟢 -103 B 🟢 -92 B
assets/Load3dViewerContent-CThXhdKo.js (new) — 137 B 🔴 +137 B 🔴 +103 B 🔴 +92 B
assets/WidgetToggleSwitch-B709MDcS.js (removed) 134 B — 🟢 -134 B 🟢 -101 B 🟢 -101 B
assets/WidgetToggleSwitch-BuZag6Ty.js (new) — 134 B 🔴 +134 B 🔴 +101 B 🔴 +98 B
assets/WidgetBoundingBox-BKxp8Tjx.js (new) — 131 B 🔴 +131 B 🔴 +100 B 🔴 +98 B
assets/WidgetBoundingBox-CvirmZlz.js (removed) 131 B — 🟢 -131 B 🟢 -100 B 🟢 -95 B
assets/Load3DAdvanced-BoK49F0R.js (new) — 122 B 🔴 +122 B 🔴 +97 B 🔴 +88 B
assets/Load3DAdvanced-CK6411-K.js (removed) 122 B — 🟢 -122 B 🟢 -97 B 🟢 -91 B
assets/WidgetLegacy-BTl-rEMV.js (removed) 117 B — 🟢 -117 B 🟢 -106 B 🟢 -99 B
assets/WidgetLegacy-CnC18Pdv.js (new) — 117 B 🔴 +117 B 🔴 +106 B 🔴 +99 B
assets/workflowDraftStoreV2-Ceoh02by.js (new) — 112 B 🔴 +112 B 🔴 +101 B 🔴 +115 B
assets/workflowDraftStoreV2-CV3afeLf.js (removed) 112 B — 🟢 -112 B 🟢 -101 B 🟢 -110 B
assets/Load3D-DpbkAcQ7.js (removed) 98 B — 🟢 -98 B 🟢 -89 B 🟢 -86 B
assets/Load3D-DutXOfil.js (new) — 98 B 🔴 +98 B 🔴 +89 B 🔴 +79 B
assets/changeTracker-DtdY1kbO.js (new) — 91 B 🔴 +91 B 🔴 +93 B 🔴 +85 B
assets/changeTracker-hFSFHW0X.js (removed) 91 B — 🟢 -91 B 🟢 -93 B 🟢 -89 B

Status: 99 added / 99 removed / 179 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.5 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 56.3 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 72.4 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 53.0 MB heap
large-graph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.1 MB heap
large-graph-pan: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 62.8 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 62.9 MB heap
minimap-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.7 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 53.9 MB heap
subgraph-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.2 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 60.6 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 120ms TBT · 93.2 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.6 MB heap
vue-large-graph-idle: · 55.4 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 159.6 MB heap
vue-large-graph-pan: · 56.3 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 1173ms TBT · 164.0 MB heap
workflow-execution: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 48.8 MB heap

⚠️ 11 regressions detected

Show regressions
Metric Baseline PR (median) Δ Sig
canvas-idle: task duration 475ms 584ms +23% ⚠️ z=6.1
canvas-mouse-sweep: task duration 893ms 991ms +11% ⚠️ z=2.2
canvas-zoom-sweep: task duration 376ms 422ms +12% ⚠️ z=4.1
dom-widget-clipping: task duration 373ms 407ms +9% ⚠️ z=2.6
large-graph-idle: task duration 670ms 773ms +15% ⚠️ z=4.3
large-graph-pan: task duration 1258ms 1379ms +10% ⚠️ z=6.9
minimap-idle: task duration 698ms 835ms +20% ⚠️ z=6.5
minimap-idle: script duration 105ms 130ms +24% ⚠️ z=3.3
subgraph-dom-widget-clipping: task duration 396ms 443ms +12% ⚠️ z=3.5
subgraph-idle: task duration 504ms 539ms +7% ⚠️ z=5.4
workflow-execution: event listeners 33 66 +100% ⚠️ z=3.2
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 9ms 8ms -11% z=-3.3
canvas-idle: layout count 0 0 +0% —
canvas-idle: style recalc count 9 9 -6% z=-4.7
canvas-idle: task duration 475ms 584ms +23% ⚠️ z=6.1
canvas-idle: script duration 17ms 25ms +48% z=-0.1
canvas-idle: TBT 0ms 0ms +0% —
canvas-idle: heap used 69.1 MB 69.5 MB +1% —
canvas-idle: DOM nodes 18 17 -6% z=-4.4
canvas-idle: event listeners 4 5 +25% z=-1.4
canvas-mouse-sweep: avg frame time 17ms 17ms -0% z=-0.9
canvas-mouse-sweep: p95 frame time 17ms 17ms -0% —
canvas-mouse-sweep: layout duration 4ms 4ms +1% z=1.6
canvas-mouse-sweep: style recalc duration 42ms 44ms +4% z=0.4
canvas-mouse-sweep: layout count 12 12 +0% —
canvas-mouse-sweep: style recalc count 78 77 -2% z=-0.9
canvas-mouse-sweep: task duration 893ms 991ms +11% ⚠️ z=2.2
canvas-mouse-sweep: script duration 117ms 132ms +12% z=-0.6
canvas-mouse-sweep: TBT 0ms 0ms +0% —
canvas-mouse-sweep: heap used 50.6 MB 56.3 MB +11% —
canvas-mouse-sweep: DOM nodes -280 -114 -59% z=-68.0
canvas-mouse-sweep: event listeners -148 -72 -51% z=-19.3
canvas-zoom-sweep: avg frame time 17ms 17ms +0% z=0.5
canvas-zoom-sweep: p95 frame time 17ms 17ms +0% —
canvas-zoom-sweep: layout duration 1ms 1ms -9% z=0.5
canvas-zoom-sweep: style recalc duration 17ms 19ms +13% z=-0.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 376ms 422ms +12% ⚠️ z=4.1
canvas-zoom-sweep: script duration 20ms 25ms +25% z=-0.7
canvas-zoom-sweep: TBT 0ms 0ms +0% —
canvas-zoom-sweep: heap used 72.2 MB 72.4 MB +0% —
canvas-zoom-sweep: DOM nodes 77 76 -1% z=-4.1
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 -0% —
dom-widget-clipping: layout duration 0ms 0ms +0% —
dom-widget-clipping: style recalc duration 8ms 7ms -14% z=-3.5
dom-widget-clipping: layout count 0 0 +0% —
dom-widget-clipping: style recalc count 12 10 -17% z=-6.2
dom-widget-clipping: task duration 373ms 407ms +9% ⚠️ z=2.6
dom-widget-clipping: script duration 57ms 62ms +9% z=-1.7
dom-widget-clipping: TBT 0ms 0ms +0% —
dom-widget-clipping: heap used 52.9 MB 53.0 MB +0% —
dom-widget-clipping: DOM nodes 20 16 -20% z=-4.3
dom-widget-clipping: event listeners 0 1 — variance too high
large-graph-idle: avg frame time 17ms 17ms -0% z=-0.6
large-graph-idle: p95 frame time 17ms 17ms -0% —
large-graph-idle: layout duration 0ms 0ms +0% —
large-graph-idle: style recalc duration 8ms 8ms -2% z=-4.5
large-graph-idle: layout count 0 0 +0% —
large-graph-idle: style recalc count 8 8 +0% z=-11.5
large-graph-idle: task duration 670ms 773ms +15% ⚠️ z=4.3
large-graph-idle: script duration 96ms 123ms +29% z=2.0
large-graph-idle: TBT 0ms 0ms +0% —
large-graph-idle: heap used 64.2 MB 64.1 MB -0% —
large-graph-idle: DOM nodes -282 -280 -1% z=-337.1
large-graph-idle: event listeners -144 -144 +0% z=-27.9
large-graph-pan: avg frame time 17ms 17ms -0% z=-0.2
large-graph-pan: p95 frame time 17ms 17ms -0% —
large-graph-pan: layout duration 0ms 0ms +0% —
large-graph-pan: style recalc duration 15ms 16ms +5% z=-2.2
large-graph-pan: layout count 0 0 +0% —
large-graph-pan: style recalc count 70 69 -2% z=-1.7
large-graph-pan: task duration 1258ms 1379ms +10% ⚠️ z=6.9
large-graph-pan: script duration 411ms 440ms +7% z=1.6
large-graph-pan: TBT 0ms 0ms +0% —
large-graph-pan: heap used 62.7 MB 62.8 MB +0% —
large-graph-pan: DOM nodes -283 -285 +1% z=-184.0
large-graph-pan: event listeners -144 -143 -1% z=-178.6
large-graph-zoom: avg frame time 17ms 17ms +0% —
large-graph-zoom: p95 frame time 17ms 17ms +0% —
large-graph-zoom: layout duration 8ms 9ms +8% —
large-graph-zoom: style recalc duration 14ms 17ms +21% —
large-graph-zoom: layout count 60 60 +0% —
large-graph-zoom: style recalc count 64 65 +2% —
large-graph-zoom: task duration 1461ms 1683ms +15% —
large-graph-zoom: script duration 519ms 578ms +11% —
large-graph-zoom: TBT 0ms 0ms +0% —
large-graph-zoom: heap used 58.7 MB 62.9 MB +7% —
large-graph-zoom: DOM nodes -288 -289 +0% —
large-graph-zoom: event listeners -148 -148 +0% —
minimap-idle: avg frame time 17ms 17ms +0% z=0.1
minimap-idle: p95 frame time 17ms 17ms +1% —
minimap-idle: layout duration 0ms 0ms +0% —
minimap-idle: style recalc duration 6ms 7ms +18% z=-3.6
minimap-idle: layout count 0 0 +0% —
minimap-idle: style recalc count 8 7 -13% z=-3.8
minimap-idle: task duration 698ms 835ms +20% ⚠️ z=6.5
minimap-idle: script duration 105ms 130ms +24% ⚠️ z=3.3
minimap-idle: TBT 0ms 0ms +0% —
minimap-idle: heap used 65.0 MB 65.7 MB +1% —
minimap-idle: DOM nodes -283 -286 +1% z=-222.7
minimap-idle: event listeners -144 -144 +0% z=-225.0
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 10ms 13ms +31% z=-0.2
subgraph-dom-widget-clipping: layout count 0 0 +0% —
subgraph-dom-widget-clipping: style recalc count 45 47 +4% z=-1.6
subgraph-dom-widget-clipping: task duration 396ms 443ms +12% ⚠️ z=3.5
subgraph-dom-widget-clipping: script duration 121ms 130ms +7% z=0.2
subgraph-dom-widget-clipping: TBT 0ms 0ms +0% —
subgraph-dom-widget-clipping: heap used 53.7 MB 53.9 MB +1% —
subgraph-dom-widget-clipping: DOM nodes 16 20 +25% z=-1.9
subgraph-dom-widget-clipping: event listeners 6 8 +33% z=-1.4
subgraph-idle: avg frame time 17ms 17ms -0% z=-0.2
subgraph-idle: p95 frame time 17ms 17ms +0% —
subgraph-idle: layout duration 0ms 0ms +0% —
subgraph-idle: style recalc duration 9ms 10ms +18% z=0.0
subgraph-idle: layout count 0 0 +0% —
subgraph-idle: style recalc count 11 11 -5% z=-0.6
subgraph-idle: task duration 504ms 539ms +7% ⚠️ z=5.4
subgraph-idle: script duration 14ms 20ms +44% z=-0.1
subgraph-idle: TBT 0ms 0ms +0% —
subgraph-idle: heap used 44.1 MB 69.2 MB +57% —
subgraph-idle: DOM nodes -279 21 -108% z=-0.5
subgraph-idle: event listeners -148 4 -103% 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 5ms 5ms +8% z=1.0
subgraph-mouse-sweep: style recalc duration 36ms 41ms +16% z=-0.3
subgraph-mouse-sweep: layout count 16 16 +0% —
subgraph-mouse-sweep: style recalc count 75 76 +1% z=-2.4
subgraph-mouse-sweep: task duration 800ms 843ms +5% z=1.1
subgraph-mouse-sweep: script duration 92ms 101ms +9% z=-0.0
subgraph-mouse-sweep: TBT 0ms 0ms +0% —
subgraph-mouse-sweep: heap used 45.3 MB 60.6 MB +34% —
subgraph-mouse-sweep: DOM nodes -279 62 -122% z=-2.2
subgraph-mouse-sweep: event listeners -148 4 -103% 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 12ms +2% —
subgraph-transition-enter: style recalc duration 30ms 31ms +1% —
subgraph-transition-enter: layout count 14 14 +0% —
subgraph-transition-enter: style recalc count 18 18 +0% —
subgraph-transition-enter: task duration 966ms 1035ms +7% —
subgraph-transition-enter: script duration 35ms 39ms +11% —
subgraph-transition-enter: TBT 128ms 120ms -6% —
subgraph-transition-enter: heap used 96.7 MB 93.2 MB -4% —
subgraph-transition-enter: DOM nodes 13673 13673 +0% —
subgraph-transition-enter: event listeners 2371 2371 +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 45ms +9% —
viewport-pan-sweep: layout count 0 0 +0% —
viewport-pan-sweep: style recalc count 250 250 -0% —
viewport-pan-sweep: task duration 4326ms 4931ms +14% —
viewport-pan-sweep: script duration 1317ms 1442ms +10% —
viewport-pan-sweep: TBT 0ms 0ms +0% —
viewport-pan-sweep: heap used 66.8 MB 65.6 MB -2% —
viewport-pan-sweep: DOM nodes -280 -282 +1% —
viewport-pan-sweep: event listeners -128 -127 -1% —
vue-large-graph-idle: avg frame time 18ms 18ms +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 17611ms 18528ms +5% —
vue-large-graph-idle: script duration 548ms 589ms +7% —
vue-large-graph-idle: TBT 0ms 0ms +0% —
vue-large-graph-idle: heap used 162.5 MB 159.6 MB -2% —
vue-large-graph-idle: DOM nodes -8312 -8327 +0% —
vue-large-graph-idle: event listeners -16387 -16385 -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 21ms 29ms +35% —
vue-large-graph-pan: layout count 0 0 +0% —
vue-large-graph-pan: style recalc count 154 180 +17% —
vue-large-graph-pan: task duration 21923ms 23900ms +9% —
vue-large-graph-pan: script duration 897ms 986ms +10% —
vue-large-graph-pan: TBT 479ms 1173ms +145% —
vue-large-graph-pan: heap used 161.9 MB 164.0 MB +1% —
vue-large-graph-pan: DOM nodes -8312 -8312 +0% —
vue-large-graph-pan: event listeners -16379 -16380 +0% —
workflow-execution: avg frame time 17ms 17ms -0% z=0.1
workflow-execution: p95 frame time 17ms 17ms +1% —
workflow-execution: layout duration 1ms 1ms +42% z=-4.3
workflow-execution: style recalc duration 15ms 23ms +60% z=-0.4
workflow-execution: layout count 3 3 +0% z=-3.6
workflow-execution: style recalc count 8 15 +88% z=-1.4
workflow-execution: task duration 73ms 128ms +76% z=0.5
workflow-execution: script duration 6ms 12ms +93% z=-5.8
workflow-execution: TBT 0ms 0ms +0% —
workflow-execution: heap used 66.5 MB 48.8 MB -27% —
workflow-execution: DOM nodes 108 136 +25% z=-3.6
workflow-execution: event listeners 33 66 +100% ⚠️ z=3.2
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-07-30T21:18:44.990Z",
  "gitSha": "c136031fea8675749209a57c2cdd8ee816417a9d",
  "branch": "cc/billing-operation-fsm-c42b1f",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2068.2199999999966,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 8.733999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 642.547,
      "heapDeltaBytes": 5017792,
      "heapUsedBytes": 72967200,
      "domNodes": 18,
      "jsHeapTotalBytes": 20574208,
      "scriptDurationMs": 26.559,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-idle",
      "durationMs": 2050.2389999999764,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 7.088000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 524.955,
      "heapDeltaBytes": 4835276,
      "heapUsedBytes": 72838876,
      "domNodes": 16,
      "jsHeapTotalBytes": 20312064,
      "scriptDurationMs": 23.633,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 2004.7869999999932,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 45.395,
      "layouts": 12,
      "layoutDurationMs": 3.9909999999999997,
      "taskDurationMs": 1045.4199999999998,
      "heapDeltaBytes": -17631772,
      "heapUsedBytes": 50542884,
      "domNodes": -284,
      "jsHeapTotalBytes": 21225472,
      "scriptDurationMs": 134.1,
      "eventListeners": -148,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1887.7630000000067,
      "styleRecalcs": 75,
      "styleRecalcDurationMs": 42.254,
      "layouts": 12,
      "layoutDurationMs": 3.8589999999999995,
      "taskDurationMs": 936.1400000000001,
      "heapDeltaBytes": -311456,
      "heapUsedBytes": 67593764,
      "domNodes": 57,
      "jsHeapTotalBytes": 21360640,
      "scriptDurationMs": 129.154,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1745.5739999999764,
      "styleRecalcs": 30,
      "styleRecalcDurationMs": 17.822999999999997,
      "layouts": 6,
      "layoutDurationMs": 0.6130000000000001,
      "taskDurationMs": 425.08000000000004,
      "heapDeltaBytes": 7893640,
      "heapUsedBytes": 75949856,
      "domNodes": 75,
      "jsHeapTotalBytes": 20312064,
      "scriptDurationMs": 25.182999999999996,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1756.7189999999755,
      "styleRecalcs": 32,
      "styleRecalcDurationMs": 20.124000000000002,
      "layouts": 6,
      "layoutDurationMs": 0.7159999999999999,
      "taskDurationMs": 418.18700000000007,
      "heapDeltaBytes": 7784468,
      "heapUsedBytes": 75863832,
      "domNodes": 77,
      "jsHeapTotalBytes": 20574208,
      "scriptDurationMs": 24.902,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 592.3669999999959,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 6.886000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 406.381,
      "heapDeltaBytes": -12580784,
      "heapUsedBytes": 55588156,
      "domNodes": 16,
      "jsHeapTotalBytes": 21360640,
      "scriptDurationMs": 61.58100000000001,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 637.7710000000434,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 7.266,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 407.231,
      "heapDeltaBytes": -12489996,
      "heapUsedBytes": 55587580,
      "domNodes": 16,
      "jsHeapTotalBytes": 21622784,
      "scriptDurationMs": 63.04600000000001,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2024.9790000000303,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 8.338999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 782.2479999999999,
      "heapDeltaBytes": 7228252,
      "heapUsedBytes": 66834196,
      "domNodes": -279,
      "jsHeapTotalBytes": 5042176,
      "scriptDurationMs": 121.61600000000001,
      "eventListeners": -146,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2028.0269999999518,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 6.674000000000003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 763.1389999999999,
      "heapDeltaBytes": 7965828,
      "heapUsedBytes": 67502896,
      "domNodes": -281,
      "jsHeapTotalBytes": 3731456,
      "scriptDurationMs": 124.663,
      "eventListeners": -142,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2185.8629999999835,
      "styleRecalcs": 68,
      "styleRecalcDurationMs": 14.785999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1406.6290000000001,
      "heapDeltaBytes": 5471352,
      "heapUsedBytes": 65457988,
      "domNodes": -285,
      "jsHeapTotalBytes": 5267456,
      "scriptDurationMs": 450.00600000000003,
      "eventListeners": -142,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2197.0700000000534,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 16.240000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1351.78,
      "heapDeltaBytes": 5741364,
      "heapUsedBytes": 66172160,
      "domNodes": -284,
      "jsHeapTotalBytes": 4743168,
      "scriptDurationMs": 430.0079999999999,
      "eventListeners": -144,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3395.700999999974,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 17.118000000000002,
      "layouts": 60,
      "layoutDurationMs": 9.087,
      "taskDurationMs": 1717.9140000000002,
      "heapDeltaBytes": 6685916,
      "heapUsedBytes": 68649252,
      "domNodes": -288,
      "jsHeapTotalBytes": 8187904,
      "scriptDurationMs": 584.874,
      "eventListeners": -148,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3264.4940000000133,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 17.153000000000002,
      "layouts": 60,
      "layoutDurationMs": 8.737,
      "taskDurationMs": 1648.5949999999998,
      "heapDeltaBytes": 1887996,
      "heapUsedBytes": 63330248,
      "domNodes": -289,
      "jsHeapTotalBytes": 7139328,
      "scriptDurationMs": 571.079,
      "eventListeners": -148,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "minimap-idle",
      "durationMs": 2057.711999999981,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 6.597000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 849.8469999999999,
      "heapDeltaBytes": 8056044,
      "heapUsedBytes": 69136024,
      "domNodes": -286,
      "jsHeapTotalBytes": 5042176,
      "scriptDurationMs": 135.45000000000002,
      "eventListeners": -146,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "minimap-idle",
      "durationMs": 2041.4319999999861,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 6.571000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 819.346,
      "heapDeltaBytes": 8079712,
      "heapUsedBytes": 68716740,
      "domNodes": -285,
      "jsHeapTotalBytes": 4780032,
      "scriptDurationMs": 125.48599999999999,
      "eventListeners": -142,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 628.2339999999635,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 13.199,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 438.0539999999999,
      "heapDeltaBytes": -12246500,
      "heapUsedBytes": 55887832,
      "domNodes": 22,
      "jsHeapTotalBytes": 22147072,
      "scriptDurationMs": 129.10399999999998,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 658.5189999999557,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 11.889000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 448.0799999999999,
      "heapDeltaBytes": -11136064,
      "heapUsedBytes": 57243824,
      "domNodes": 18,
      "jsHeapTotalBytes": 20836352,
      "scriptDurationMs": 130.486,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2004.9700000000144,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 10.971,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 545.927,
      "heapDeltaBytes": 4376608,
      "heapUsedBytes": 72462056,
      "domNodes": 22,
      "jsHeapTotalBytes": 21098496,
      "scriptDurationMs": 19.963,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2022.7590000000646,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 9.892999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 533.0089999999999,
      "heapDeltaBytes": 4459264,
      "heapUsedBytes": 72649140,
      "domNodes": 20,
      "jsHeapTotalBytes": 21360640,
      "scriptDurationMs": 20.144999999999996,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1735.8299999999645,
      "styleRecalcs": 74,
      "styleRecalcDurationMs": 40.328,
      "layouts": 16,
      "layoutDurationMs": 5.1419999999999995,
      "taskDurationMs": 844.993,
      "heapDeltaBytes": -4697788,
      "heapUsedBytes": 63187440,
      "domNodes": 60,
      "jsHeapTotalBytes": 21622784,
      "scriptDurationMs": 101.38699999999999,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1774.0580000000818,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 42.454,
      "layouts": 16,
      "layoutDurationMs": 4.877,
      "taskDurationMs": 840.74,
      "heapDeltaBytes": -4327428,
      "heapUsedBytes": 63825756,
      "domNodes": 64,
      "jsHeapTotalBytes": 20836352,
      "scriptDurationMs": 99.647,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 1385.4949999999917,
      "styleRecalcs": 18,
      "styleRecalcDurationMs": 30.549999999999994,
      "layouts": 14,
      "layoutDurationMs": 11.888000000000003,
      "taskDurationMs": 1034.695,
      "heapDeltaBytes": 4971988,
      "heapUsedBytes": 97699028,
      "domNodes": 13673,
      "jsHeapTotalBytes": 10223616,
      "scriptDurationMs": 38.97200000000001,
      "eventListeners": 2371,
      "totalBlockingTimeMs": 120,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8341.804999999966,
      "styleRecalcs": 249,
      "styleRecalcDurationMs": 44.591,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4889.232000000001,
      "heapDeltaBytes": 9489004,
      "heapUsedBytes": 68285084,
      "domNodes": -282,
      "jsHeapTotalBytes": 6283264,
      "scriptDurationMs": 1434.45,
      "eventListeners": -128,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8428.713000000016,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 44.626,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4972.3009999999995,
      "heapDeltaBytes": 10419312,
      "heapUsedBytes": 69333324,
      "domNodes": -281,
      "jsHeapTotalBytes": 7069696,
      "scriptDurationMs": 1449.075,
      "eventListeners": -126,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 18807.485999999983,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 18750.269,
      "heapDeltaBytes": -63581220,
      "heapUsedBytes": 168713148,
      "domNodes": -8341,
      "jsHeapTotalBytes": -11476992,
      "scriptDurationMs": 600.0490000000001,
      "eventListeners": -16385,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 18330.834999999977,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 18306.693000000003,
      "heapDeltaBytes": -43124912,
      "heapUsedBytes": 166023904,
      "domNodes": -8312,
      "jsHeapTotalBytes": -16195584,
      "scriptDurationMs": 577.231,
      "eventListeners": -16385,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 18.333333333333332,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 23750.487000000023,
      "styleRecalcs": 179,
      "styleRecalcDurationMs": 28.081000000000024,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 23667.203999999998,
      "heapDeltaBytes": -49331768,
      "heapUsedBytes": 177187008,
      "domNodes": -8312,
      "jsHeapTotalBytes": -10756096,
      "scriptDurationMs": 939.094,
      "eventListeners": -16379,
      "totalBlockingTimeMs": 957,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 24180.849999999962,
      "styleRecalcs": 180,
      "styleRecalcDurationMs": 29.793999999999986,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 24132.328,
      "heapDeltaBytes": -59952472,
      "heapUsedBytes": 166830556,
      "domNodes": -8312,
      "jsHeapTotalBytes": -5967872,
      "scriptDurationMs": 1033.368,
      "eventListeners": -16381,
      "totalBlockingTimeMs": 1389,
      "frameDurationMs": 17.776666666666763,
      "p95FrameDurationMs": 16.799999999995634
    },
    {
      "name": "workflow-execution",
      "durationMs": 465.6999999999698,
      "styleRecalcs": 18,
      "styleRecalcDurationMs": 25.751000000000005,
      "layouts": 3,
      "layoutDurationMs": 1.2080000000000004,
      "taskDurationMs": 130.24399999999997,
      "heapDeltaBytes": -15591988,
      "heapUsedBytes": 51464312,
      "domNodes": 154,
      "jsHeapTotalBytes": 7729152,
      "scriptDurationMs": 12.379000000000001,
      "eventListeners": 67,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "workflow-execution",
      "durationMs": 493.7169999999469,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 20.992,
      "layouts": 3,
      "layoutDurationMs": 0.6410000000000001,
      "taskDurationMs": 126.68199999999999,
      "heapDeltaBytes": -16115260,
      "heapUsedBytes": 50916216,
      "domNodes": 117,
      "jsHeapTotalBytes": 7204864,
      "scriptDurationMs": 11.162999999999998,
      "eventListeners": 65,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    }
  ]
}

@github-actions

github-actions Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

🌐 Website E2E

Tip

All tests passed.

Status ✅ Passed
Report View Report

@coderabbitai

coderabbitai Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Changes

Billing operation polling

Layer / File(s) Summary
Billing operation statechart and model coverage
package.json, pnpm-workspace.yaml, src/platform/workspace/machines/*
Adds XState dependencies, defines polling states, timing and authentication rules, and verifies paths and state invariants with model-based tests.
Actor projection and operation startup
src/platform/workspace/stores/billingOperationStore.ts, src/platform/workspace/stores/billingOperationStore.characterization.test.ts
Creates actors for billing operations, projects snapshots into store models, preserves metadata, and tests inactivity, cadence, and timeout behavior.
Terminal handling and teardown
src/platform/workspace/stores/billingOperationStore.ts, src/platform/workspace/stores/billingOperationStore.characterization.test.ts
Centralizes completion handling, updates toast and success/failure effects, and stops actors during cleanup while testing terminal, restart, and backoff behavior.

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

Sequence Diagram(s)

sequenceDiagram
  participant BillingOperationStore
  participant BillingOperationMachine
  participant WorkspaceAPI
  BillingOperationStore->>BillingOperationMachine: Start operation actor
  BillingOperationMachine->>WorkspaceAPI: Fetch billing operation status
  WorkspaceAPI-->>BillingOperationMachine: Return status or error
  BillingOperationMachine-->>BillingOperationStore: Publish snapshot or terminal state
  BillingOperationStore->>BillingOperationStore: Project model and finalize effects
Loading

Suggested reviewers: dante01yoon

🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
End-To-End Regression Coverage For Fixes ✅ Passed Commit subjects are refactor/test, not bug-fix language, and the PR description gives a concrete CI/cloud-gated reason no E2E test was added.
Adr Compliance For Entity/Litegraph Changes ✅ Passed No changed files touch src/lib/litegraph, src/ecs, or graph-entity code, so ADR 0003/0008 checks are not applicable.
Title check ✅ Passed The title clearly and concisely describes the primary change: modeling billing operations with an XState machine.
Description check ✅ Passed The description covers the summary, core changes, dependencies, review focus, testing, risks, and E2E limitations in sufficient detail.
✨ 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 cc/billing-operation-fsm-c42b1f

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.

@socket-security

socket-security Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​xstate/​graph@​3.0.41001007982100
Addednpm/​xstate@​5.32.510010010098100

View full report

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/platform/workspace/machines/billingOperationMachine.test.ts`:
- Around line 173-185: Update the test “starts a recovered operation already
authenticated” to count each snapshot matching polling: 'waiting' while
traversing the generated paths, then assert that at least one waiting snapshot
was observed in addition to validating intervalMs. Keep the existing interval
assertion for every matching snapshot so the test cannot pass when the waiting
state is never reached.

In `@src/platform/workspace/machines/billingOperationMachine.ts`:
- Line 24: Remove readNow from BillingOperationContext and keep clock access
outside the actor snapshot so the context remains JSON-serializable. Update the
billing operation machine’s timeout logic to use an injected or provided
hasTimedOut guard, refreshing any now value through an action as needed, while
preserving existing test overrides and timeout behavior.

In
`@src/platform/workspace/stores/billingOperationStore.characterization.test.ts`:
- Around line 104-109: Update the beforeEach setup in billingOperationStore
characterization tests to call vi.resetAllMocks() instead of vi.clearAllMocks(),
ensuring queued once-value mock implementations are removed between tests while
preserving the existing timer and workspace setup.

In `@src/platform/workspace/stores/billingOperationStore.ts`:
- Around line 213-237: Update finalize to remove the completed operation’s entry
from actors after cleanup and terminal handling, while preserving metadataById
until the operation is removed. Use the existing opId-based actor map and ensure
terminal resolution still occurs for every finalized operation.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 2d4abf5b-ea8a-4fc4-a068-c9930fb1ba45

📥 Commits

Reviewing files that changed from the base of the PR and between 540e9f8 and f938587.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (6)
  • package.json
  • pnpm-workspace.yaml
  • src/platform/workspace/machines/billingOperationMachine.test.ts
  • src/platform/workspace/machines/billingOperationMachine.ts
  • src/platform/workspace/stores/billingOperationStore.characterization.test.ts
  • src/platform/workspace/stores/billingOperationStore.ts

Comment on lines +173 to +185
it('starts a recovered operation already authenticated', () => {
const paths = pathsFor({ ...withinBudget, initialActionUrl: ACTION_URL })

for (const path of paths) {
for (const step of path.steps) {
if (step.state.matches({ polling: 'waiting' })) {
expect(step.state.context.intervalMs).toBe(
ACTION_REQUIRED_INTERVAL_MS
)
}
}
}
})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

This test passes vacuously if no path reaches waiting.

The assertion only runs inside the matches({ polling: 'waiting' }) branch, so a traversal regression that stops producing waiting steps turns this into a green no-op. Count the observed waiting snapshots and assert at least one.

As per path instructions, .agents/checks/test-quality.md requires avoiding tests that don't drive real behavior/invariants.

♻️ Proposed fix
     const paths = pathsFor({ ...withinBudget, initialActionUrl: ACTION_URL })
 
+    let waitingSeen = 0
     for (const path of paths) {
       for (const step of path.steps) {
         if (step.state.matches({ polling: 'waiting' })) {
+          waitingSeen++
           expect(step.state.context.intervalMs).toBe(
             ACTION_REQUIRED_INTERVAL_MS
           )
         }
       }
     }
+    expect(waitingSeen).toBeGreaterThan(0)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
it('starts a recovered operation already authenticated', () => {
const paths = pathsFor({ ...withinBudget, initialActionUrl: ACTION_URL })
for (const path of paths) {
for (const step of path.steps) {
if (step.state.matches({ polling: 'waiting' })) {
expect(step.state.context.intervalMs).toBe(
ACTION_REQUIRED_INTERVAL_MS
)
}
}
}
})
it('starts a recovered operation already authenticated', () => {
const paths = pathsFor({ ...withinBudget, initialActionUrl: ACTION_URL })
let waitingSeen = 0
for (const path of paths) {
for (const step of path.steps) {
if (step.state.matches({ polling: 'waiting' })) {
waitingSeen++
expect(step.state.context.intervalMs).toBe(
ACTION_REQUIRED_INTERVAL_MS
)
}
}
}
expect(waitingSeen).toBeGreaterThan(0)
})
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/machines/billingOperationMachine.test.ts` around lines
173 - 185, Update the test “starts a recovered operation already authenticated”
to count each snapshot matching polling: 'waiting' while traversing the
generated paths, then assert that at least one waiting snapshot was observed in
addition to validating intervalMs. Keep the existing interval assertion for
every matching snapshot so the test cannot pass when the waiting state is never
reached.

Source: Path instructions

Comment on lines +104 to +109
beforeEach(() => {
setActivePinia(createPinia())
vi.clearAllMocks()
vi.useFakeTimers()
mockActiveWorkspaceId.value = 'workspace-1'
})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Use vi.resetAllMocks() so unconsumed *Once queues can't leak between tests.

clearAllMocks only clears call records; queued mockResolvedValueOnce/mockRejectedValueOnce implementations survive into the next test, making this suite order-dependent (several tests queue once-values that are not guaranteed to be fully consumed). Note the mock factories at lines 19-78 return fresh objects per call, so resetting implementations is safe here.

As per path instructions, docs/testing/vitest-patterns.md says to "prefer vi.resetAllMocks() in beforeEach", and .agents/checks/test-quality.md requires keeping tests isolated with mocks reset per test.

🧪 Proposed fix
     setActivePinia(createPinia())
-    vi.clearAllMocks()
+    vi.resetAllMocks()
     vi.useFakeTimers()
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
beforeEach(() => {
setActivePinia(createPinia())
vi.clearAllMocks()
vi.useFakeTimers()
mockActiveWorkspaceId.value = 'workspace-1'
})
beforeEach(() => {
setActivePinia(createPinia())
vi.resetAllMocks()
vi.useFakeTimers()
mockActiveWorkspaceId.value = 'workspace-1'
})
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/stores/billingOperationStore.characterization.test.ts`
around lines 104 - 109, Update the beforeEach setup in billingOperationStore
characterization tests to call vi.resetAllMocks() instead of vi.clearAllMocks(),
ensuring queued once-value mock implementations are removed between tests while
preserving the existing timer and workspace setup.

Source: Path instructions

Comment on lines +213 to 237
actor.subscribe((snapshot) => {
commit(snapshot)
if (snapshot.status === 'done') {
void finalize(opId, snapshot.context.backendErrorMessage)
}
})

if (stopIfTimedOut(opId, operation)) return
actor.start()

updateOperationActionUrl(opId, validateActionUrl(response.action_url))
scheduleNextPoll(opId)
} catch {
const currentOperation = operations.value.get(opId)
if (currentOperation !== operation) return
if (stopIfTimedOut(opId, currentOperation)) return
scheduleNextPoll(opId)
}
return terminal
}

function scheduleNextPoll(opId: string) {
async function finalize(opId: string, backendErrorMessage: string | null) {
const operation = operations.value.get(opId)
if (!operation || operation.status !== 'pending') return
const nextInterval = operation.authenticationRequiredSeen
? ACTION_REQUIRED_INTERVAL_MS
: Math.min(
(intervals.get(opId) ?? INITIAL_INTERVAL_MS) * BACKOFF_MULTIPLIER,
MAX_INTERVAL_MS
)
intervals.set(opId, nextInterval)

const timeoutId = setTimeout(() => void poll(opId), nextInterval)
timeouts.set(opId, timeoutId)
}

function validateActionUrl(value: string | undefined): string | null {
if (!value) return null
try {
const url = new URL(value)
return url.protocol === 'https:' ? value : null
} catch {
return null
}
}
if (!operation) return

function hasTimedOut(operation: BillingOperation): boolean {
const elapsed = Date.now() - operation.startedAt
if (operation.type !== 'subscription') return elapsed > TIMEOUT_MS
return operation.authenticationRequiredSeen
? elapsed > SUBSCRIPTION_AUTHENTICATION_TIMEOUT_MS
: elapsed > SUBSCRIPTION_ACTION_DISCOVERY_TIMEOUT_MS
}
cleanup(opId)

function stopIfTimedOut(opId: string, operation: BillingOperation): boolean {
if (!hasTimedOut(operation)) return false
handleTimeout(opId)
return true
}
if (operation.status === 'succeeded') await handleSuccess(operation)
else if (operation.status === 'failed')
handleFailure(operation, backendErrorMessage)
else handleTimeout(operation)

function updateOperationActionUrl(opId: string, actionUrl: string | null) {
const operation = operations.value.get(opId)
if (!operation || operation.status !== 'pending') return
operations.value = new Map(operations.value).set(opId, {
...operation,
actionUrl,
authenticationRequiredSeen:
operation.authenticationRequiredSeen || actionUrl !== null
})
resolveTerminal(opId)
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

Terminal operations leave their actor and metadata entries behind.

actors and metadataById are only pruned in clearOperation. An operation that reaches a final state and is never explicitly cleared keeps a stopped-actor reference plus its metadata for the lifetime of the store, so both maps grow monotonically across a session. finalize is the natural place to drop the actor reference (the machine already stops itself on the final state); keep metadataById until the operation entry itself is removed so late projections stay intact.

🧹 Proposed fix
   async function finalize(opId: string, backendErrorMessage: string | null) {
     const operation = operations.value.get(opId)
     if (!operation) return
 
     cleanup(opId)
+    actors.delete(opId)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
actor.subscribe((snapshot) => {
commit(snapshot)
if (snapshot.status === 'done') {
void finalize(opId, snapshot.context.backendErrorMessage)
}
})
if (stopIfTimedOut(opId, operation)) return
actor.start()
updateOperationActionUrl(opId, validateActionUrl(response.action_url))
scheduleNextPoll(opId)
} catch {
const currentOperation = operations.value.get(opId)
if (currentOperation !== operation) return
if (stopIfTimedOut(opId, currentOperation)) return
scheduleNextPoll(opId)
}
return terminal
}
function scheduleNextPoll(opId: string) {
async function finalize(opId: string, backendErrorMessage: string | null) {
const operation = operations.value.get(opId)
if (!operation || operation.status !== 'pending') return
const nextInterval = operation.authenticationRequiredSeen
? ACTION_REQUIRED_INTERVAL_MS
: Math.min(
(intervals.get(opId) ?? INITIAL_INTERVAL_MS) * BACKOFF_MULTIPLIER,
MAX_INTERVAL_MS
)
intervals.set(opId, nextInterval)
const timeoutId = setTimeout(() => void poll(opId), nextInterval)
timeouts.set(opId, timeoutId)
}
function validateActionUrl(value: string | undefined): string | null {
if (!value) return null
try {
const url = new URL(value)
return url.protocol === 'https:' ? value : null
} catch {
return null
}
}
if (!operation) return
function hasTimedOut(operation: BillingOperation): boolean {
const elapsed = Date.now() - operation.startedAt
if (operation.type !== 'subscription') return elapsed > TIMEOUT_MS
return operation.authenticationRequiredSeen
? elapsed > SUBSCRIPTION_AUTHENTICATION_TIMEOUT_MS
: elapsed > SUBSCRIPTION_ACTION_DISCOVERY_TIMEOUT_MS
}
cleanup(opId)
function stopIfTimedOut(opId: string, operation: BillingOperation): boolean {
if (!hasTimedOut(operation)) return false
handleTimeout(opId)
return true
}
if (operation.status === 'succeeded') await handleSuccess(operation)
else if (operation.status === 'failed')
handleFailure(operation, backendErrorMessage)
else handleTimeout(operation)
function updateOperationActionUrl(opId: string, actionUrl: string | null) {
const operation = operations.value.get(opId)
if (!operation || operation.status !== 'pending') return
operations.value = new Map(operations.value).set(opId, {
...operation,
actionUrl,
authenticationRequiredSeen:
operation.authenticationRequiredSeen || actionUrl !== null
})
resolveTerminal(opId)
}
async function finalize(opId: string, backendErrorMessage: string | null) {
const operation = operations.value.get(opId)
if (!operation) return
cleanup(opId)
actors.delete(opId)
if (operation.status === 'succeeded') await handleSuccess(operation)
else if (operation.status === 'failed')
handleFailure(operation, backendErrorMessage)
else handleTimeout(operation)
resolveTerminal(opId)
}
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/stores/billingOperationStore.ts` around lines 213 -
237, Update finalize to remove the completed operation’s entry from actors after
cleanup and terminal handling, while preserving metadataById until the operation
is removed. Use the existing opId-based actor map and ensure terminal resolution
still occurs for every finalized operation.

@codecov

codecov Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 76.42276% with 29 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...platform/workspace/stores/billingOperationStore.ts 66.66% 25 Missing ⚠️
...form/workspace/machines/billingOperationMachine.ts 81.25% 3 Missing ⚠️
...form/workspace/machines/billingOperationContext.ts 91.66% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main   #14410      +/-   ##
==========================================
- Coverage   79.87%   79.72%   -0.16%     
==========================================
  Files        1761     1765       +4     
  Lines       98489    98844     +355     
  Branches    34072    33366     -706     
==========================================
+ Hits        78673    78803     +130     
- Misses      19453    19670     +217     
- Partials      363      371       +8     
Flag Coverage Δ
unit 69.67% <76.42%> (-0.02%) ⬇️

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

Files with missing lines Coverage Δ
...form/workspace/machines/billingOperationActions.ts 100.00% <100.00%> (ø)
...tform/workspace/machines/billingOperationGuards.ts 100.00% <100.00%> (ø)
...form/workspace/machines/billingOperationContext.ts 91.66% <91.66%> (ø)
...form/workspace/machines/billingOperationMachine.ts 81.25% <81.25%> (ø)
...platform/workspace/stores/billingOperationStore.ts 60.88% <66.66%> (-35.89%) ⬇️

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

huang47 and others added 7 commits July 30, 2026 13:52
Adds xstate and @xstate/graph (dev) to the catalog ahead of modelling
the billing operation lifecycle as a state machine. No source changes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Names the context a billing operation carries and the two context
updates the polling lifecycle performs: the poll cadence, which backs
off until an action URL appears and then settles into a flat interval,
and the sticky record of that action URL.

readNow is part of the context so the budget can later be driven without
fake timers.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Collects the predicates that decide a billing operation's fate. The
timeout budget was previously recomputed inline and consulted from four
call sites in poll(); it is one function here, shaped so both the store
and the machine can ask it the same question.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Wires the actions and guards into the state graph. Two states were
previously implicit in the pending status: polling with backoff under a
short discovery budget, and awaiting a payment action at a flat cadence
under a long one.

Guard order in onDone is load-bearing and is where the old ordering rule
from poll() becomes explicit: a response arriving after a workspace
switch is discarded, then a terminal response wins over a spent budget,
then the budget is enforced before any late action URL is recorded.

Not yet reachable; the store still uses its own polling loop.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
startOperation now picks a polling driver. The machine driver projects
actor snapshots into the same BillingOperation shape the store already
exposed; the legacy driver keeps its own loop. Both converge on one
terminal effect path, so telemetry, toasts, dialogs and the billing
context refresh are written once and cannot drift between drivers.

The legacy loop now shares the machine's timeout budget and cadence
functions rather than duplicating them.

USE_BILLING_OPERATION_MACHINE defaults to false: behavior is unchanged
by this commit. It is scaffolding for a real feature flag and is removed
with the legacy driver once the migration lands.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Flips USE_BILLING_OPERATION_MACHINE to true. The 44 existing store tests
and the 16 characterization tests pass unchanged on the machine driver,
as do the 1053 tests across the workspace and billing suites.

Reverting this one line restores the legacy driver.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Generates every path the state graph admits from a declared response
space and asserts invariants at each state visited, rather than
enumerating scenarios by hand.

Covers the invariant the store used to uphold manually on every terminal
write (a terminal operation never retains an action URL), each operation
type timing out exactly at its own budget, the long authentication
budget a recovered subscription inherits, that no request is issued on
any path while the workspace is inactive, and that the poll interval
never shortens along a path.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@huang47
huang47 force-pushed the cc/billing-operation-fsm-c42b1f branch from f938587 to 08e3cf6 Compare July 30, 2026 21:06

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/platform/workspace/stores/billingOperationStore.ts (1)

474-546: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Duplicate telemetry-tracking logic between handleFailure and handleTimeout.

Both functions build the same operation/downgrade_to_personal telemetry payload shape, differing only in stage/failure_category. Consider extracting a shared trackFailureTelemetry(operation, stage, failureCategory) helper to avoid the two blocks drifting independently.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/stores/billingOperationStore.ts` around lines 474 -
546, The telemetry payload construction in handleFailure and handleTimeout is
duplicated and can drift. Extract a shared trackFailureTelemetry helper that
accepts operation, stage, and failureCategory, then use it from both handlers
while preserving their existing stage and category values and keeping their
toast behavior unchanged.
♻️ Duplicate comments (1)
src/platform/workspace/stores/billingOperationStore.ts (1)

383-395: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

finalize can leak actors and hang the caller's promise on any handler failure.

Two related gaps in this centralized terminal path:

  1. actors.get(opId) is never deleted here — only clearOperation does that (line 589). An operation that reaches a final state without the caller explicitly calling clearOperation (e.g. background top-up completing after the user navigates away) leaves its stopped Actor reference in actors for the store's lifetime.
  2. There's no try/finally around the success/failure/timeout dispatch. If handleSuccess's awaited calls (or any of the telemetry/dialog/toast calls in the other branches) throw, resolveTerminal(opId) never executes, so the Promise returned to startOperation()'s caller never resolves.
🩹 Proposed fix
   async function finalize(opId: string, backendErrorMessage: string | null) {
     const operation = operations.value.get(opId)
     if (!operation) return
 
     cleanup(opId)
+    actors.delete(opId)
 
-    if (operation.status === 'succeeded') await handleSuccess(operation)
-    else if (operation.status === 'failed')
-      handleFailure(operation, backendErrorMessage)
-    else handleTimeout(operation)
-
-    resolveTerminal(opId)
+    try {
+      if (operation.status === 'succeeded') await handleSuccess(operation)
+      else if (operation.status === 'failed')
+        handleFailure(operation, backendErrorMessage)
+      else handleTimeout(operation)
+    } finally {
+      resolveTerminal(opId)
+    }
   }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/stores/billingOperationStore.ts` around lines 383 -
395, Update finalize to delete the operation’s actor entry from actors using
opId, then wrap the terminal handler dispatch in try/finally so
resolveTerminal(opId) always executes even when handleSuccess, handleFailure, or
handleTimeout throws. Preserve the existing status-based dispatch and cleanup
behavior.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@src/platform/workspace/stores/billingOperationStore.ts`:
- Around line 474-546: The telemetry payload construction in handleFailure and
handleTimeout is duplicated and can drift. Extract a shared
trackFailureTelemetry helper that accepts operation, stage, and failureCategory,
then use it from both handlers while preserving their existing stage and
category values and keeping their toast behavior unchanged.

---

Duplicate comments:
In `@src/platform/workspace/stores/billingOperationStore.ts`:
- Around line 383-395: Update finalize to delete the operation’s actor entry
from actors using opId, then wrap the terminal handler dispatch in try/finally
so resolveTerminal(opId) always executes even when handleSuccess, handleFailure,
or handleTimeout throws. Preserve the existing status-based dispatch and cleanup
behavior.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 14abc4cc-4131-42db-82f0-3c0b74b4ae50

📥 Commits

Reviewing files that changed from the base of the PR and between f938587 and 08e3cf6.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (8)
  • package.json
  • pnpm-workspace.yaml
  • src/platform/workspace/machines/billingOperationActions.ts
  • src/platform/workspace/machines/billingOperationContext.ts
  • src/platform/workspace/machines/billingOperationGuards.ts
  • src/platform/workspace/machines/billingOperationMachine.test.ts
  • src/platform/workspace/machines/billingOperationMachine.ts
  • src/platform/workspace/stores/billingOperationStore.ts

@christian-byrne

Copy link
Copy Markdown
Contributor

Flagging a direction conflict rather than a code issue, wanted to surface it before this gets further along.

This models billing operation polling as an XState machine. The Slack thread that originally motivated the plain-TS discriminated-union approach on billingOperationStore.ts (thread on #14396, cc @DrJKL @nathaniel Parson Koroso) concluded xstate wasn't worth the onboarding cost for this store, and main's billingOperationStore.ts has since evolved substantially in that plain-TS direction (discriminated union + one owned transition, extended across #14490/#14605/#14705/#14310/#14910/#14216).

To be clear, this isn't a "no state machines ever" position — the state-and-effects guidance (docs/guidance/state-and-effects.md, #14472) explicitly carves out formal state machines once something earns it: parallel regions, nested states, timed transitions, cancellation, replay. The polling budget/action-URL precedence problem this PR describes is a real complexity, and the engineering here (flag-gated, one-line revert, characterization tests pinning old behavior, model-based tests) is genuinely careful work — this isn't a dismissal of the approach on principle.

But two implementations of the same store's core lifecycle logic diverging (plain union on main, xstate machine here) is worth resolving deliberately rather than by whichever lands first. @huang47 — worth a sync on whether this supersedes the main direction, complements it for just the polling/timeout piece, or should be reconsidered given how far the plain-TS approach has already gone. Happy to be pulled into that conversation.

@christian-byrne

Copy link
Copy Markdown
Contributor

Assigning @dante01yoon rather than re-pinging huang47 — Cloud billing ownership on the frontend moved to you as of Aug 13 (see #14964), so this direction question is now yours to weigh in on rather than mine to broker.

For context on what's being decided: this PR proposes modeling billing operation polling as an XState machine, which conflicts with the plain-discriminated-union direction main's billingOperationStore.ts has taken since (see #14421's closing comment for the list of PRs that built on that pattern). The engineering here is genuinely careful — flag-gated with a one-line revert, characterization tests pinning old behavior before the change, and it calls out real gaps the plain-TS version doesn't cover yet (e.g. the 23-hour auth budget had zero test coverage before this PR). It's still in draft and hasn't been touched in 3 weeks.

Not asking you to review the whole diff — just: does this supersede where billingOperationStore.ts is headed, complement it for the polling/timeout piece specifically, or should it be closed given how far the plain-TS approach has already gone? Your call now that you own this file.

@dante01yoon

Copy link
Copy Markdown
Collaborator

please resolve conflict and assign me again

@dante01yoon

dante01yoon commented Aug 23, 2026 •

Copy link
Copy Markdown
Collaborator

@huang47
Thanks for the careful work here. The PR identifies real complexity in the polling lifecycle: the authentication timeout budget, polling cadence, workspace-switch races, and the precedence between terminal responses, timeouts, and late action URLs all deserve explicit modeling and tests. In particular, the missing 23-hour boundary coverage and the characterization/model-based tests are valuable and should be preserved.

However, I don't think the current state machine yet justifies introducing XState as a new runtime dependency. The observable lifecycle is still relatively small (requesting, waiting, succeeded, failed, and timedOut), with no parallel regions, persistence, or replay. XState handles only the polling driver while the larger terminal-effect surface—telemetry, dialogs, toasts, and reconciliation—remains in the Pinia store. This adds a new dependency and learning/maintenance surface, increases production code substantially, and adds roughly 13 kB gzip to the main chunk. Keeping a function such as readNow in machine context also means the snapshot is not serializable, so we do not gain the persistence/replay guarantees that could otherwise strengthen the case for a formal machine.

The branch has also diverged significantly from main: the same store has continued evolving through several billing PRs and this PR is now conflicting. Given the current repository guidance, I would prefer carrying the useful tests and explicit precedence rules forward using a plain TypeScript discriminated union and pure reducer against the latest main. That would provide a centralized, exhaustively testable transition model without introducing the library yet.

If we want to introduce a new library in order to establish state-machine architecture in this repository, please create a Technical Design Document first. It should describe the problems that cannot be addressed adequately with the existing plain-TypeScript approach, expected adoption beyond this one store, state/transition ownership, effect boundaries, serialization and replay requirements, bundle impact and loading strategy, testing strategy, migration/rollback plan, and the maintenance/onboarding cost. That would let us make the dependency and architectural direction a deliberate repository-level decision rather than having it arrive through one store refactor.

huang47 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Closing per the billing owner’s direction: preserve the characterization and precedence tests when implementing the latest store as a plain TypeScript discriminated union; do not add XState for this lifecycle.

@huang47 huang47 closed this Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants