Skip to content

fix: recover legacy top-up state after returning from Stripe checkout - #14886

Merged
dante01yoon merged 5 commits into
mainfrom
fix/payment-topup-refresh
Aug 10, 2026
Merged

fix: recover legacy top-up state after returning from Stripe checkout#14886
dante01yoon merged 5 commits into
mainfrom
fix/payment-topup-refresh

Conversation

@dante01yoon

@dante01yoon dante01yoon commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

PAY-004 — Successful legacy top-up not reflected until refresh.

Fixes the frontend race that can leave Run locked and the credit balance stale after a successful legacy Stripe top-up through /customers/credit.

This PR does not change the normal workspace/new billing top-up flow. Workspace top-ups already track completion with billing_op_id polling.

Changes

  • Preserve a valid pending_topup_timestamp across focus events instead of consuming it on the first focus.
  • Refresh balance and subscription status when the editor regains focus.
  • Reconcile the pending legacy checkout against /customers/events and clear the marker only after a later credit_added event.
  • Treat a failed legacy event request as a failed refresh so a later focus can retry it.
  • Serialize overlapping refreshes and perform one trailing refresh when another request arrives in flight.
  • Remove malformed, future, and older-than-24-hour markers.
  • Breaking changes: none.
  • Dependencies: none.

Review focus and limitations

The marker controls refresh eligibility; the backend balance, subscription status, and credit_added event remain the state sources.

This PR intentionally does not add timed polling. If backend propagation is delayed beyond the return refresh, the marker remains and the next focus or manual refresh retries recovery. The broader legacy/workspace top-up and subscription comparison, API gaps, and possible recovery unification are documented in Notion.

Regression coverage

  • Early focus preserves the pending marker.
  • A later focus can confirm completion and clear it.
  • Overlapping focus events produce one trailing refresh.
  • Balance/status partial failures settle before retry.
  • Legacy event-request failure remains retryable.
  • Invalid and expired markers are removed.
  • Checkout failures do not start tracking or open Stripe.

Screenshots

AS IS — production QA evidence: after a real $10 Visa top-up on cloud.comfy.org, the editor still shows Run locked because the balance and entitlement remain stale.

AS IS — Run remains locked after successful top-up

AS IS — deterministic pre-fix replay: an early focus consumes the pending marker before payment completion; the real checkout return then performs no second balance request.

AS IS — pre-fix top-up return leaves credits stale

TO BE — real Cloud editor with the fix: the later checkout return refreshes billing state, updates the credit balance, and enables Run.

TO BE — refreshed credits and enabled Run after checkout return

@dante01yoon
dante01yoon requested a review from a team August 7, 2026 04:30
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Aug 7, 2026
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 08/09/2026, 04:55:14 AM UTC

Links

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

📊 Browser Reports
  • chromium: View Report (✅ 1776 / ❌ 0 / ⚠️ 2 / ⏭️ 5)
  • chromium-2x: View Report (✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • chromium-0.5x: View Report (✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • mobile-chrome: View Report (✅ 18 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • New-test walkthrough (chromium, recorded video): View Report

📦 Bundle: 8.69 MB gzip 🔴 +290 B

Details

Summary

  • Raw size: 36.6 MB baseline 36.6 MB — 🔴 +1.04 kB
  • Gzip: 8.69 MB baseline 8.69 MB — 🔴 +290 B
  • Brotli: 6.06 MB baseline 6.06 MB — 🔴 +287 B
  • Bundles: 437 current • 437 baseline • 147 added / 147 removed

Category Glance
Other 🔴 +5.54 kB (14 MB) · Panels & Settings 🟢 -4.5 kB (565 kB) · Vendor & Third-Party ⚪ 0 B (16.3 MB) · Data & Services ⚪ 0 B (3.5 MB) · Graph Workspace ⚪ 0 B (1.36 MB) · Utilities & Hooks ⚪ 0 B (550 kB) · + 5 more

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

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-C5A-l0YB.js (removed) 3.67 kB 🟢 -3.67 kB 🟢 -1.84 kB 🟢 -1.59 kB
assets/index-xEVMf05I.js (new) 3.67 kB 🔴 +3.67 kB 🔴 +1.84 kB 🔴 +1.6 kB

Status: 1 added / 1 removed

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

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-CrcgVdck.js (new) 1.35 MB 🔴 +1.35 MB 🔴 +294 kB 🔴 +221 kB
assets/GraphView-XOx0K7N1.js (removed) 1.35 MB 🟢 -1.35 MB 🟢 -294 kB 🟢 -221 kB
assets/WidgetCompositor-C0Ek5bpu.js (new) 8.17 kB 🔴 +8.17 kB 🔴 +2.75 kB 🔴 +2.48 kB
assets/WidgetCompositor-MyEO0e08.js (removed) 8.17 kB 🟢 -8.17 kB 🟢 -2.75 kB 🟢 -2.46 kB

Status: 2 added / 2 removed / 1 unchanged

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

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-B51qUUgC.js (new) 25 kB 🔴 +25 kB 🔴 +6.24 kB 🔴 +5.52 kB
assets/CloudSurveyView-DiHJs685.js (removed) 25 kB 🟢 -25 kB 🟢 -6.24 kB 🟢 -5.52 kB
assets/CloudLayoutView-B5A2QUF4.js (new) 21.8 kB 🔴 +21.8 kB 🔴 +6.56 kB 🔴 +5.75 kB
assets/CloudLayoutView-CbeHYCTk.js (removed) 21.8 kB 🟢 -21.8 kB 🟢 -6.56 kB 🟢 -5.74 kB
assets/UserCheckView-chMsuZOR.js (new) 8.75 kB 🔴 +8.75 kB 🔴 +2.19 kB 🔴 +1.9 kB
assets/UserCheckView-CSbH86pB.js (removed) 8.75 kB 🟢 -8.75 kB 🟢 -2.18 kB 🟢 -1.89 kB
assets/CloudLoginView-DJWMEJ4k.js (new) 8.74 kB 🔴 +8.74 kB 🔴 +2.55 kB 🔴 +2.26 kB
assets/CloudLoginView-DMMwR5h4.js (removed) 8.74 kB 🟢 -8.74 kB 🟢 -2.56 kB 🟢 -2.26 kB
assets/useCloudAuthPage-BuYybwrX.js (removed) 7.08 kB 🟢 -7.08 kB 🟢 -2.51 kB 🟢 -2.2 kB
assets/useCloudAuthPage-gp35BDc1.js (new) 7.08 kB 🔴 +7.08 kB 🔴 +2.51 kB 🔴 +2.21 kB
assets/CloudSignupView-Bp_Ob_49.js (new) 6.56 kB 🔴 +6.56 kB 🔴 +2.17 kB 🔴 +1.91 kB
assets/CloudSignupView-C-jxPHww.js (removed) 6.56 kB 🟢 -6.56 kB 🟢 -2.17 kB 🟢 -1.9 kB
assets/WidgetTextPreview-CIEZLju5.js (new) 6.07 kB 🔴 +6.07 kB 🔴 +2.13 kB 🔴 +1.89 kB
assets/WidgetTextPreview-Ct8AjR-B.js (removed) 6.07 kB 🟢 -6.07 kB 🟢 -2.13 kB 🟢 -1.88 kB
assets/CloudSubscriptionRedirectView-CUIVrBnC.js (removed) 6.05 kB 🟢 -6.05 kB 🟢 -2.25 kB 🟢 -1.95 kB
assets/CloudSubscriptionRedirectView-dj0ycGPT.js (new) 6.05 kB 🔴 +6.05 kB 🔴 +2.25 kB 🔴 +1.96 kB
assets/UserSelectView-C6mMGVEb.js (removed) 5.49 kB 🟢 -5.49 kB 🟢 -1.95 kB 🟢 -1.71 kB
assets/UserSelectView-CMs4PLpy.js (new) 5.49 kB 🔴 +5.49 kB 🔴 +1.95 kB 🔴 +1.71 kB
assets/CloudForgotPasswordView-ibZcfytw.js (new) 4.97 kB 🔴 +4.97 kB 🔴 +1.72 kB 🔴 +1.49 kB
assets/CloudForgotPasswordView-iPw0W9k_.js (removed) 4.97 kB 🟢 -4.97 kB 🟢 -1.72 kB 🟢 -1.49 kB
assets/CloudAuthTimeoutView-CAtze6ua.js (new) 4.43 kB 🔴 +4.43 kB 🔴 +1.54 kB 🔴 +1.33 kB
assets/CloudAuthTimeoutView-u9LrHSuF.js (removed) 4.43 kB 🟢 -4.43 kB 🟢 -1.54 kB 🟢 -1.33 kB
assets/OAuthLayoutView-2xne_Zlo.js (removed) 1.31 kB 🟢 -1.31 kB 🟢 -696 B 🟢 -600 B
assets/OAuthLayoutView-BEOBcVQi.js (new) 1.31 kB 🔴 +1.31 kB 🔴 +697 B 🔴 +599 B
assets/WidgetTextPreview-C4SeR3NK.js (removed) 131 B 🟢 -131 B 🟢 -100 B 🟢 -89 B
assets/WidgetTextPreview-CGCCWAEA.js (new) 131 B 🔴 +131 B 🔴 +100 B 🔴 +90 B

Status: 13 added / 13 removed / 4 unchanged

Panels & Settings — 565 kB (baseline 570 kB) • 🟢 -4.5 kB

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/KeybindingPanel-Bq4XWg1-.js (new) 49.4 kB 🔴 +49.4 kB 🔴 +9.94 kB 🔴 +8.82 kB
assets/KeybindingPanel-NwC2chMC.js (removed) 49.4 kB 🟢 -49.4 kB 🟢 -9.94 kB 🟢 -8.81 kB
assets/SecretsPanel-DfcGOX6j.js (new) 33.7 kB 🔴 +33.7 kB 🔴 +7.86 kB 🔴 +6.91 kB
assets/SecretsPanel-IrOMDP_C.js (removed) 33.7 kB 🟢 -33.7 kB 🟢 -7.86 kB 🟢 -6.9 kB
assets/CreditsPanel-ZbqXVhv5.js (removed) 16 kB 🟢 -16 kB 🟢 -4.63 kB 🟢 -4.07 kB
assets/CreditsPanel-nIMxNqXc.js (new) 11.5 kB 🔴 +11.5 kB 🔴 +3.2 kB 🔴 +2.81 kB
assets/AboutPanel-BaUzNCTU.js (removed) 11.2 kB 🟢 -11.2 kB 🟢 -3.02 kB 🟢 -2.73 kB
assets/AboutPanel-DiwgIm1O.js (new) 11.2 kB 🔴 +11.2 kB 🔴 +3.02 kB 🔴 +2.72 kB
assets/ExtensionPanel-BXjEvo6N.js (removed) 9.19 kB 🟢 -9.19 kB 🟢 -2.51 kB 🟢 -2.22 kB
assets/ExtensionPanel-DfmjKkbD.js (new) 9.19 kB 🔴 +9.19 kB 🔴 +2.51 kB 🔴 +2.22 kB
assets/ServerConfigPanel-_2FmixFI.js (new) 6.09 kB 🔴 +6.09 kB 🔴 +1.93 kB 🔴 +1.72 kB
assets/ServerConfigPanel-DqKzqgPg.js (removed) 6.09 kB 🟢 -6.09 kB 🟢 -1.93 kB 🟢 -1.72 kB
assets/UserPanel-BWFxu3Jr.js (new) 5.73 kB 🔴 +5.73 kB 🔴 +1.78 kB 🔴 +1.54 kB
assets/UserPanel-DRZonKpv.js (removed) 5.73 kB 🟢 -5.73 kB 🟢 -1.78 kB 🟢 -1.54 kB
assets/refreshRemoteConfig-BfW2zrzP.js (removed) 3.58 kB 🟢 -3.58 kB 🟢 -1.36 kB 🟢 -1.2 kB
assets/refreshRemoteConfig-didPbjyW.js (new) 3.58 kB 🔴 +3.58 kB 🔴 +1.36 kB 🔴 +1.2 kB
assets/cloudRemoteConfig-CykE8FDj.js (removed) 951 B 🟢 -951 B 🟢 -516 B 🟢 -425 B
assets/cloudRemoteConfig-Du5pC9qq.js (new) 951 B 🔴 +951 B 🔴 +514 B 🔴 +436 B
assets/refreshRemoteConfig-Bl53IsDs.js (new) 110 B 🔴 +110 B 🔴 +89 B 🔴 +82 B
assets/refreshRemoteConfig-Do8DRrH-.js (removed) 110 B 🟢 -110 B 🟢 -89 B 🟢 -82 B

Status: 10 added / 10 removed / 16 unchanged

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

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SignUpForm-BrKkiS0i.js (new) 12.8 kB 🔴 +12.8 kB 🔴 +4.31 kB 🔴 +3.76 kB
assets/SignUpForm-nfRqAatG.js (removed) 12.8 kB 🟢 -12.8 kB 🟢 -4.31 kB 🟢 -3.76 kB
assets/auth-8TLMe46d.js (new) 3.71 kB 🔴 +3.71 kB 🔴 +1.28 kB 🔴 +1.1 kB
assets/auth-De8Z8ZE3.js (removed) 3.71 kB 🟢 -3.71 kB 🟢 -1.28 kB 🟢 -1.1 kB
assets/UpdatePasswordContent-8N9zg44s.js (removed) 1.85 kB 🟢 -1.85 kB 🟢 -842 B 🟢 -731 B
assets/UpdatePasswordContent-Crium-k-.js (new) 1.85 kB 🔴 +1.85 kB 🔴 +841 B 🔴 +732 B
assets/authStore-CTsBFJxM.js (new) 128 B 🔴 +128 B 🔴 +104 B 🔴 +107 B
assets/authStore-uCnHYa7n.js (removed) 128 B 🟢 -128 B 🟢 -104 B 🟢 -106 B
assets/workspaceAuthStore-B5UXA7EX.js (new) 108 B 🔴 +108 B 🔴 +99 B 🔴 +105 B
assets/workspaceAuthStore-DqdwDov8.js (removed) 108 B 🟢 -108 B 🟢 -99 B 🟢 -104 B
assets/auth-C3Da_Ngy.js (new) 105 B 🔴 +105 B 🔴 +96 B 🔴 +86 B
assets/auth-DGfmiYWj.js (removed) 105 B 🟢 -105 B 🟢 -96 B 🟢 -79 B

Status: 6 added / 6 removed / 4 unchanged

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

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyHubPublishDialog-BdEF1nrU.js (removed) 90.1 kB 🟢 -90.1 kB 🟢 -19.3 kB 🟢 -16.5 kB
assets/ComfyHubPublishDialog-CFKXvoTM.js (new) 90.1 kB 🔴 +90.1 kB 🔴 +19.3 kB 🔴 +16.5 kB
assets/useShareDialog-Cloy5iR7.js (removed) 23.9 kB 🟢 -23.9 kB 🟢 -5.69 kB 🟢 -5.03 kB
assets/useShareDialog-pbYBs3f6.js (new) 23.9 kB 🔴 +23.9 kB 🔴 +5.69 kB 🔴 +5.04 kB
assets/feedbackDialog-BfBHKm3X.js (new) 4.45 kB 🔴 +4.45 kB 🔴 +1.86 kB 🔴 +1.59 kB
assets/feedbackDialog-BUWQdqg_.js (removed) 4.45 kB 🟢 -4.45 kB 🟢 -1.86 kB 🟢 -1.59 kB
assets/useRangeEditor-CnqVjzdn.js (new) 3.29 kB 🔴 +3.29 kB 🔴 +1.14 kB 🔴 +1.05 kB
assets/useRangeEditor-J0KVTr_d.js (removed) 3.29 kB 🟢 -3.29 kB 🟢 -1.14 kB 🟢 -1.04 kB
assets/useLayerEditor-BtrJngKM.js (removed) 1.01 kB 🟢 -1.01 kB 🟢 -490 B 🟢 -408 B
assets/useLayerEditor-euMEZiLz.js (new) 1.01 kB 🔴 +1.01 kB 🔴 +491 B 🔴 +405 B
assets/ComfyHubPublishDialog-D4QITsZR.js (removed) 143 B 🟢 -143 B 🟢 -105 B 🟢 -87 B
assets/ComfyHubPublishDialog-DEN3TnJh.js (new) 143 B 🔴 +143 B 🔴 +105 B 🔴 +92 B
assets/useSubscriptionDialog-PyVbVNRd.js (new) 108 B 🔴 +108 B 🔴 +102 B 🔴 +96 B
assets/useSubscriptionDialog-suJ41cbI.js (removed) 108 B 🟢 -108 B 🟢 -102 B 🟢 -89 B

Status: 7 added / 7 removed / 1 unchanged

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

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyQueueButton-BWZATvUA.js (removed) 14.6 kB 🟢 -14.6 kB 🟢 -3.96 kB 🟢 -3.52 kB
assets/ComfyQueueButton-DrEAffz7.js (new) 14.6 kB 🔴 +14.6 kB 🔴 +3.96 kB 🔴 +3.52 kB
assets/useTerminalTabs-CO_lzMpn.js (new) 11.8 kB 🔴 +11.8 kB 🔴 +3.69 kB 🔴 +3.26 kB
assets/useTerminalTabs-DU5YXan2.js (removed) 11.8 kB 🟢 -11.8 kB 🟢 -3.69 kB 🟢 -3.26 kB
assets/InviteMembersForm-D__YzIWb.js (removed) 8.2 kB 🟢 -8.2 kB 🟢 -2.72 kB 🟢 -2.44 kB
assets/InviteMembersForm-DMQIKtqw.js (new) 8.2 kB 🔴 +8.2 kB 🔴 +2.72 kB 🔴 +2.44 kB
assets/SubscribeButton--XBFpm3c.js (new) 2.15 kB 🔴 +2.15 kB 🔴 +965 B 🔴 +844 B
assets/SubscribeButton-CqCESL2G.js (removed) 2.15 kB 🟢 -2.15 kB 🟢 -966 B 🟢 -847 B
assets/cloudFeedbackTopbarButton-2c1mNWQa.js (removed) 705 B 🟢 -705 B 🟢 -422 B 🟢 -365 B
assets/cloudFeedbackTopbarButton-B2ooHSBW.js (new) 705 B 🔴 +705 B 🔴 +423 B 🔴 +362 B
assets/ComfyQueueButton-Ckc3Amxf.js (new) 128 B 🔴 +128 B 🔴 +99 B 🔴 +92 B
assets/ComfyQueueButton-D1CQ1YGh.js (removed) 128 B 🟢 -128 B 🟢 -99 B 🟢 -93 B

Status: 6 added / 6 removed / 8 unchanged

Data & Services — 3.5 MB (baseline 3.5 MB) • ⚪ 0 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/settingStore-C_0qIt5j.js (new) 3.23 MB 🔴 +3.23 MB 🔴 +747 kB 🔴 +562 kB
assets/settingStore-qeXYwNj_.js (removed) 3.23 MB 🟢 -3.23 MB 🟢 -747 kB 🟢 -562 kB
assets/load3dService-4uvPV2pM.js (new) 132 kB 🔴 +132 kB 🔴 +29.3 kB 🔴 +24.7 kB
assets/load3dService-hOWgq3ug.js (removed) 132 kB 🟢 -132 kB 🟢 -29.3 kB 🟢 -24.6 kB
assets/api-CQCZHUIN.js (new) 97.7 kB 🔴 +97.7 kB 🔴 +26.9 kB 🔴 +23.1 kB
assets/api-TGLTr4q0.js (removed) 97.7 kB 🟢 -97.7 kB 🟢 -26.9 kB 🟢 -23.1 kB
assets/workflowShareService-C4KKjgHx.js (new) 16.5 kB 🔴 +16.5 kB 🔴 +4.91 kB 🔴 +4.35 kB
assets/workflowShareService-eFn-7xhg.js (removed) 16.5 kB 🟢 -16.5 kB 🟢 -4.91 kB 🟢 -4.36 kB
assets/keybindingService-BkWQi0y2.js (new) 6.89 kB 🔴 +6.89 kB 🔴 +1.73 kB 🔴 +1.5 kB
assets/keybindingService-C4QNGGOn.js (removed) 6.89 kB 🟢 -6.89 kB 🟢 -1.73 kB 🟢 -1.5 kB
assets/releaseStore-_uB6oOrB.js (removed) 6.72 kB 🟢 -6.72 kB 🟢 -2.03 kB 🟢 -1.77 kB
assets/releaseStore-BoT5J1Jp.js (new) 6.72 kB 🔴 +6.72 kB 🔴 +2.03 kB 🔴 +1.78 kB
assets/systemStatsStore-DlW-_hYa.js (removed) 4.93 kB 🟢 -4.93 kB 🟢 -1.74 kB 🟢 -1.47 kB
assets/systemStatsStore-Pm1CE0_c.js (new) 4.93 kB 🔴 +4.93 kB 🔴 +1.74 kB 🔴 +1.47 kB
assets/userStore-DgqWix37.js (new) 2.38 kB 🔴 +2.38 kB 🔴 +898 B 🔴 +793 B
assets/userStore-DWw0AqS-.js (removed) 2.38 kB 🟢 -2.38 kB 🟢 -897 B 🟢 -791 B
assets/audioService-DIfN1sSA.js (removed) 1.71 kB 🟢 -1.71 kB 🟢 -829 B 🟢 -721 B
assets/audioService-DZMA3fxs.js (new) 1.71 kB 🔴 +1.71 kB 🔴 +829 B 🔴 +723 B
assets/dialogService-D2Mbo9S3.js (removed) 98 B 🟢 -98 B 🟢 -97 B 🟢 -82 B
assets/dialogService-DRCtfosE.js (new) 98 B 🔴 +98 B 🔴 +97 B 🔴 +93 B
assets/releaseStore-CMJNPj9L.js (removed) 95 B 🟢 -95 B 🟢 -86 B 🟢 -83 B
assets/releaseStore-mgqSC0iJ.js (new) 95 B 🔴 +95 B 🔴 +86 B 🔴 +86 B
assets/settingStore-EZObMVca.js (new) 95 B 🔴 +95 B 🔴 +86 B 🔴 +85 B
assets/settingStore-hSM_fgUk.js (removed) 95 B 🟢 -95 B 🟢 -86 B 🟢 -84 B
assets/assetsStore-BZoI78iD.js (new) 94 B 🔴 +94 B 🔴 +92 B 🔴 +85 B
assets/assetsStore-Crh3LKIv.js (removed) 94 B 🟢 -94 B 🟢 -92 B 🟢 -84 B
assets/api-DBP665qn.js (removed) 62 B 🟢 -62 B 🟢 -74 B 🟢 -66 B
assets/api-End6ZStY.js (new) 62 B 🔴 +62 B 🔴 +74 B 🔴 +66 B

Status: 14 added / 14 removed / 3 unchanged

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

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useConflictDetection-7Dy959I3.js (new) 236 kB 🔴 +236 kB 🔴 +52.9 kB 🔴 +43 kB
assets/useConflictDetection-BDLrN0-1.js (removed) 236 kB 🟢 -236 kB 🟢 -52.9 kB 🟢 -43 kB
assets/useLayerEditorSession-B7-TjjCF.js (removed) 158 kB 🟢 -158 kB 🟢 -40.8 kB 🟢 -34.3 kB
assets/useLayerEditorSession-Bmx2P7TZ.js (new) 158 kB 🔴 +158 kB 🔴 +40.8 kB 🔴 +34.3 kB
assets/useLoad3d-ClRZlNzD.js (new) 25.8 kB 🔴 +25.8 kB 🔴 +5.8 kB 🔴 +5.14 kB
assets/useLoad3d-DSvmOSng.js (removed) 25.8 kB 🟢 -25.8 kB 🟢 -5.8 kB 🟢 -5.15 kB
assets/useLoad3dViewer-Bp05iYwy.js (removed) 21.2 kB 🟢 -21.2 kB 🟢 -4.98 kB 🟢 -4.37 kB
assets/useLoad3dViewer-Dy-W9WvK.js (new) 21.2 kB 🔴 +21.2 kB 🔴 +4.98 kB 🔴 +4.37 kB
assets/useImageCrop-BuF7ML9Y.js (removed) 14.9 kB 🟢 -14.9 kB 🟢 -3.42 kB 🟢 -2.98 kB
assets/useImageCrop-MhlxdnUe.js (new) 14.9 kB 🔴 +14.9 kB 🔴 +3.42 kB 🔴 +2.98 kB
assets/useDowngradeToPersonal-B0FYKfD3.js (removed) 10.9 kB 🟢 -10.9 kB 🟢 -2.75 kB 🟢 -2.36 kB
assets/useDowngradeToPersonal-CQJwbiZq.js (new) 10.9 kB 🔴 +10.9 kB 🔴 +2.75 kB 🔴 +2.37 kB
assets/useFeatureFlags-BHlA3vdT.js (new) 7.04 kB 🔴 +7.04 kB 🔴 +2.01 kB 🔴 +1.7 kB
assets/useFeatureFlags-ClRsdep2.js (removed) 7.04 kB 🟢 -7.04 kB 🟢 -2.01 kB 🟢 -1.71 kB
assets/useCompositorLayers-BrUHM3so.js (new) 2.94 kB 🔴 +2.94 kB 🔴 +896 B 🔴 +797 B
assets/useCompositorLayers-BWPPOciO.js (removed) 2.94 kB 🟢 -2.94 kB 🟢 -898 B 🟢 -798 B
assets/assetPreviewUtil-Cw3EaFC-.js (new) 2.35 kB 🔴 +2.35 kB 🔴 +971 B 🔴 +838 B
assets/assetPreviewUtil-XX24CtTE.js (removed) 2.35 kB 🟢 -2.35 kB 🟢 -970 B 🟢 -837 B
assets/useUpstreamValue-B3Xuo30r.js (removed) 1.99 kB 🟢 -1.99 kB 🟢 -757 B 🟢 -677 B
assets/useUpstreamValue-CGDeO1mr.js (new) 1.99 kB 🔴 +1.99 kB 🔴 +758 B 🔴 +678 B
assets/useWorkspaceTierLabel-BqvcAHRT.js (new) 1.93 kB 🔴 +1.93 kB 🔴 +813 B 🔴 +698 B
assets/useWorkspaceTierLabel-DetFutbg.js (removed) 1.93 kB 🟢 -1.93 kB 🟢 -812 B 🟢 -694 B
assets/subscriptionCheckoutUtil-DDevBX-P.js (new) 877 B 🔴 +877 B 🔴 +523 B 🔴 +438 B
assets/subscriptionCheckoutUtil-jfvc0HKP.js (removed) 877 B 🟢 -877 B 🟢 -524 B 🟢 -438 B
assets/useSessionCookie-C3uP13iQ.js (new) 652 B 🔴 +652 B 🔴 +337 B 🔴 +294 B
assets/useSessionCookie-Crez_cT6.js (removed) 652 B 🟢 -652 B 🟢 -338 B 🟢 -292 B
assets/useLoad3d-B2_VaFm3.js (new) 311 B 🔴 +311 B 🔴 +163 B 🔴 +148 B
assets/useLoad3d-CUpDl8AH.js (removed) 311 B 🟢 -311 B 🟢 -162 B 🟢 -147 B
assets/useSessionCookie-DGlwl1tG.js (removed) 101 B 🟢 -101 B 🟢 -86 B 🟢 -80 B
assets/useSessionCookie-Fb1KFPT8.js (new) 101 B 🔴 +101 B 🔴 +86 B 🔴 +78 B
assets/useFeatureFlags-DUrpL1q1.js (new) 98 B 🔴 +98 B 🔴 +85 B 🔴 +81 B
assets/useFeatureFlags-NalkRgPR.js (removed) 98 B 🟢 -98 B 🟢 -85 B 🟢 -85 B
assets/useLoad3dViewer-B4VHhyki.js (removed) 98 B 🟢 -98 B 🟢 -85 B 🟢 -86 B
assets/useLoad3dViewer-X_1sqqty.js (new) 98 B 🔴 +98 B 🔴 +85 B 🔴 +89 B
assets/useCurrentUser-D9qwEhxq.js (new) 94 B 🔴 +94 B 🔴 +95 B 🔴 +79 B
assets/useCurrentUser-tlW5x5b5.js (removed) 94 B 🟢 -94 B 🟢 -95 B 🟢 -82 B

Status: 18 added / 18 removed / 20 unchanged

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

External libraries and shared vendor chunks

Status: 17 unchanged

Other — 14 MB (baseline 14 MB) • 🔴 +5.54 kB

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/core-CxXCgJEl.js (removed) 115 kB 🟢 -115 kB 🟢 -29.7 kB 🟢 -25.1 kB
assets/core-TOgxXND0.js (new) 115 kB 🔴 +115 kB 🔴 +29.7 kB 🔴 +25.1 kB
assets/WidgetSelect-CJgsUCX5.js (new) 88.8 kB 🔴 +88.8 kB 🔴 +20.1 kB 🔴 +17.2 kB
assets/WidgetSelect-D-gqpGvL.js (removed) 88.8 kB 🟢 -88.8 kB 🟢 -20.1 kB 🟢 -17.2 kB
assets/SubscriptionPanelContentWorkspace-B-yspWcF.js (removed) 80 kB 🟢 -80 kB 🟢 -15.8 kB 🟢 -13.6 kB
assets/SubscriptionPanelContentWorkspace-BMxyFq8V.js (new) 80 kB 🔴 +80 kB 🔴 +15.8 kB 🔴 +13.6 kB
assets/Load3D-CgcGP4Lh.js (removed) 71.3 kB 🟢 -71.3 kB 🟢 -11.7 kB 🟢 -9.98 kB
assets/Load3D-DIJ7cl1g.js (new) 71.3 kB 🔴 +71.3 kB 🔴 +11.7 kB 🔴 +9.97 kB
assets/SubscriptionTransitionPreviewWorkspace-CZXboGfg.js (new) 66.4 kB 🔴 +66.4 kB 🔴 +13.4 kB 🔴 +11.7 kB
assets/SubscriptionTransitionPreviewWorkspace-D9RipxG6.js (removed) 66.4 kB 🟢 -66.4 kB 🟢 -13.4 kB 🟢 -11.7 kB
assets/WidgetVideoEdit-CnMPFBsa.js (removed) 63.4 kB 🟢 -63.4 kB 🟢 -14.6 kB 🟢 -12.9 kB
assets/WidgetVideoEdit-juQ6GdTf.js (new) 63.4 kB 🔴 +63.4 kB 🔴 +14.6 kB 🔴 +12.9 kB
assets/WorkspaceSettingsPanelContent-7LDqeWIR.js (removed) 61.7 kB 🟢 -61.7 kB 🟢 -13.2 kB 🟢 -11.5 kB
assets/WorkspaceSettingsPanelContent-DBS0FdSi.js (new) 61.7 kB 🔴 +61.7 kB 🔴 +13.2 kB 🔴 +11.5 kB
assets/Preview3d-BIn9OceP.js (removed) 50.9 kB 🟢 -50.9 kB 🟢 -8.31 kB 🟢 -7.24 kB
assets/Preview3d-SZPR6U4J.js (new) 50.9 kB 🔴 +50.9 kB 🔴 +8.31 kB 🔴 +7.24 kB
assets/main-Cg0Af6mS.js (removed) 45.1 kB 🟢 -45.1 kB 🟢 -13.1 kB 🟢 -11.4 kB
assets/main-DTlFnkOM.js (new) 45.1 kB 🔴 +45.1 kB 🔴 +13.1 kB 🔴 +11.4 kB
assets/SubscriptionRequiredDialogContentUnified-B6037iab.js (removed) 42.6 kB 🟢 -42.6 kB 🟢 -9.35 kB 🟢 -8.16 kB
assets/SubscriptionRequiredDialogContentUnified-DAax2vq0.js (new) 42.6 kB 🔴 +42.6 kB 🔴 +9.35 kB 🔴 +8.15 kB
assets/LayerEditorContent-CBMdv64j.js (new) 42.5 kB 🔴 +42.5 kB 🔴 +9.61 kB 🔴 +8.43 kB
assets/LayerEditorContent-CFWxEQxf.js (removed) 42.5 kB 🟢 -42.5 kB 🟢 -9.62 kB 🟢 -8.42 kB
assets/WidgetBoundingBoxes-CI7GkoAI.js (new) 33.7 kB 🔴 +33.7 kB 🔴 +9.15 kB 🔴 +8.12 kB
assets/WidgetBoundingBoxes-D3Gmx0pS.js (removed) 33.7 kB 🟢 -33.7 kB 🟢 -9.15 kB 🟢 -8.13 kB
assets/WidgetPainter-BdptZ7lg.js (new) 32.6 kB 🔴 +32.6 kB 🔴 +7.87 kB 🔴 +6.96 kB
assets/WidgetPainter-d4C4NqSq.js (removed) 32.6 kB 🟢 -32.6 kB 🟢 -7.87 kB 🟢 -6.97 kB
assets/Load3dViewerContent-by6AdnML.js (new) 30.8 kB 🔴 +30.8 kB 🔴 +6.28 kB 🔴 +5.45 kB
assets/Load3dViewerContent-DOzuuHWI.js (removed) 30.8 kB 🟢 -30.8 kB 🟢 -6.28 kB 🟢 -5.45 kB
assets/SubscriptionRequiredDialogContent-CRSdHFF7.js (new) 27 kB 🔴 +27 kB 🔴 +6.37 kB 🔴 +5.61 kB
assets/SubscriptionRequiredDialogContent-DLSeXIXY.js (removed) 27 kB 🟢 -27 kB 🟢 -6.37 kB 🟢 -5.61 kB
assets/SubscriptionRequiredDialogContentWorkspace-Bwsm5I-y.js (new) 25.1 kB 🔴 +25.1 kB 🔴 +5.79 kB 🔴 +5.11 kB
assets/SubscriptionRequiredDialogContentWorkspace-CTMDpwvi.js (removed) 25.1 kB 🟢 -25.1 kB 🟢 -5.79 kB 🟢 -5.1 kB
assets/CreditsTile-X26ulYKA.js (new) 24.9 kB 🔴 +24.9 kB 🔴 +6.64 kB 🔴 +5.83 kB
assets/initHostTelemetry-BBmXa4J4.js (new) 24.6 kB 🔴 +24.6 kB 🔴 +5.82 kB 🔴 +4.83 kB
assets/initHostTelemetry-gmLNAqmf.js (removed) 24.6 kB 🟢 -24.6 kB 🟢 -5.83 kB 🟢 -4.83 kB
assets/load3d-5kY-BpaZ.js (removed) 22.2 kB 🟢 -22.2 kB 🟢 -5.4 kB 🟢 -4.67 kB
assets/load3d-DXjKoICg.js (new) 22.2 kB 🔴 +22.2 kB 🔴 +5.4 kB 🔴 +4.67 kB
assets/CurrentUserPopoverWorkspace-3QCwFFlR.js (new) 21.5 kB 🔴 +21.5 kB 🔴 +4.84 kB 🔴 +4.33 kB
assets/CurrentUserPopoverWorkspace-BrelXcaE.js (removed) 21.5 kB 🟢 -21.5 kB 🟢 -4.84 kB 🟢 -4.31 kB
assets/SignInContent-BsQGPzkS.js (removed) 20.2 kB 🟢 -20.2 kB 🟢 -5.09 kB 🟢 -4.45 kB
assets/SignInContent-CNvosfCz.js (new) 20.2 kB 🔴 +20.2 kB 🔴 +5.09 kB 🔴 +4.45 kB
assets/CreditsTile-Dl99jSp6.js (removed) 19.2 kB 🟢 -19.2 kB 🟢 -4.83 kB 🟢 -4.23 kB
assets/WidgetRecordAudio-CV5Tx3vP.js (removed) 16.6 kB 🟢 -16.6 kB 🟢 -4.6 kB 🟢 -4.1 kB
assets/WidgetRecordAudio-D-cTbfRm.js (new) 16.6 kB 🔴 +16.6 kB 🔴 +4.59 kB 🔴 +4.1 kB
assets/WidgetInputNumber-Bq7h2Zfk.js (removed) 13.9 kB 🟢 -13.9 kB 🟢 -3.63 kB 🟢 -3.21 kB
assets/WidgetInputNumber-D-OEXkos.js (new) 13.9 kB 🔴 +13.9 kB 🔴 +3.63 kB 🔴 +3.21 kB
assets/WidgetRange-CXk4ala9.js (new) 13.7 kB 🔴 +13.7 kB 🔴 +3.54 kB 🔴 +3.13 kB
assets/WidgetRange-DZmBAc7b.js (removed) 13.7 kB 🟢 -13.7 kB 🟢 -3.54 kB 🟢 -3.13 kB
assets/WaveAudioPlayer-B4Vx__or.js (new) 12.8 kB 🔴 +12.8 kB 🔴 +3.47 kB 🔴 +3.04 kB
assets/WaveAudioPlayer-COewjLnL.js (removed) 12.8 kB 🟢 -12.8 kB 🟢 -3.46 kB 🟢 -3.04 kB
assets/WidgetCurve-BeEplbQ4.js (removed) 11.2 kB 🟢 -11.2 kB 🟢 -3.47 kB 🟢 -3.15 kB
assets/WidgetCurve-BmIbwI4m.js (new) 11.2 kB 🔴 +11.2 kB 🔴 +3.47 kB 🔴 +3.15 kB
assets/TeamWorkspacesDialogContent-DMPvjQ-n.js (new) 10.3 kB 🔴 +10.3 kB 🔴 +2.97 kB 🔴 +2.63 kB
assets/TeamWorkspacesDialogContent-TVFrJ_Bl.js (removed) 10.3 kB 🟢 -10.3 kB 🟢 -2.96 kB 🟢 -2.62 kB
assets/types-DVQzJgHv.js (removed) 9.33 kB 🟢 -9.33 kB 🟢 -2.95 kB 🟢 -2.4 kB
assets/onboardingCloudRoutes-38rkMhlG.js (removed) 9.22 kB 🟢 -9.22 kB 🟢 -2.82 kB 🟢 -2.41 kB
assets/onboardingCloudRoutes-Coy0P5hl.js (new) 9.22 kB 🔴 +9.22 kB 🔴 +2.82 kB 🔴 +2.4 kB
assets/types-Bk23msdr.js (new) 9.16 kB 🔴 +9.16 kB 🔴 +2.9 kB 🔴 +2.37 kB
assets/Load3DConfiguration-CIEoY2wu.js (removed) 8.91 kB 🟢 -8.91 kB 🟢 -2.61 kB 🟢 -2.3 kB
assets/Load3DConfiguration-CXdywQMO.js (new) 8.91 kB 🔴 +8.91 kB 🔴 +2.61 kB 🔴 +2.3 kB
assets/WidgetImageCrop-B0uQmozZ.js (new) 8.49 kB 🔴 +8.49 kB 🔴 +2.65 kB 🔴 +2.33 kB
assets/WidgetImageCrop-C57WVEyl.js (removed) 8.49 kB 🟢 -8.49 kB 🟢 -2.65 kB 🟢 -2.34 kB
assets/SetMemberCreditLimitDialogContent-CD8AEOSD.js (new) 8.47 kB 🔴 +8.47 kB 🔴 +2.34 kB 🔴 +2.06 kB
assets/SetMemberCreditLimitDialogContent-DCJ2k6Pi.js (removed) 8.47 kB 🟢 -8.47 kB 🟢 -2.34 kB 🟢 -2.06 kB
assets/nodeTemplates-CTdNf5yf.js (new) 8.32 kB 🔴 +8.32 kB 🔴 +2.85 kB 🔴 +2.5 kB
assets/nodeTemplates-D-Dh_ZpA.js (removed) 8.32 kB 🟢 -8.32 kB 🟢 -2.85 kB 🟢 -2.51 kB
assets/NightlySurveyController-_kbKNjFu.js (removed) 7.5 kB 🟢 -7.5 kB 🟢 -2.55 kB 🟢 -2.23 kB
assets/NightlySurveyController-B1ixjRZN.js (new) 7.5 kB 🔴 +7.5 kB 🔴 +2.55 kB 🔴 +2.25 kB
assets/CloudRunButtonWrapper-D4fFB75i.js (new) 6.82 kB 🔴 +6.82 kB 🔴 +2.17 kB 🔴 +1.91 kB
assets/CloudRunButtonWrapper-GrVhDmbt.js (removed) 6.82 kB 🟢 -6.82 kB 🟢 -2.18 kB 🟢 -1.91 kB
assets/WidgetWithControl-B25vfH0k.js (new) 6.41 kB 🔴 +6.41 kB 🔴 +2.61 kB 🔴 +2.31 kB
assets/WidgetWithControl-DduYGOU5.js (removed) 6.41 kB 🟢 -6.41 kB 🟢 -2.61 kB 🟢 -2.3 kB
assets/CancelSubscriptionDialogContent-CZb_Cvvn.js (new) 5.97 kB 🔴 +5.97 kB 🔴 +1.98 kB 🔴 +1.75 kB
assets/CancelSubscriptionDialogContent-D45LsnHb.js (removed) 5.97 kB 🟢 -5.97 kB 🟢 -1.98 kB 🟢 -1.75 kB
assets/load3dPreviewExtensions-BYURUD9C.js (removed) 5.88 kB 🟢 -5.88 kB 🟢 -1.81 kB 🟢 -1.6 kB
assets/load3dPreviewExtensions-sJj-CWUZ.js (new) 5.88 kB 🔴 +5.88 kB 🔴 +1.81 kB 🔴 +1.59 kB
assets/missingModelDownload-B9CVTtzI.js (removed) 5.88 kB 🟢 -5.88 kB 🟢 -2.07 kB 🟢 -1.81 kB
assets/missingModelDownload-CzoRgQLs.js (new) 5.88 kB 🔴 +5.88 kB 🔴 +2.07 kB 🔴 +1.81 kB
assets/launchCancellationFlow-CV4W2yCC.js (removed) 5.18 kB 🟢 -5.18 kB 🟢 -1.78 kB 🟢 -1.56 kB
assets/launchCancellationFlow-rB-QmnBI.js (new) 5.18 kB 🔴 +5.18 kB 🔴 +1.78 kB 🔴 +1.56 kB
assets/CreateWorkspaceDialogContent-CAWcBf7M.js (removed) 5.12 kB 🟢 -5.12 kB 🟢 -1.79 kB 🟢 -1.55 kB
assets/CreateWorkspaceDialogContent-DHqWgCKm.js (new) 5.12 kB 🔴 +5.12 kB 🔴 +1.79 kB 🔴 +1.55 kB
assets/ChangeMemberRoleDialogContent-BgfxNvhQ.js (removed) 4.97 kB 🟢 -4.97 kB 🟢 -1.63 kB 🟢 -1.42 kB
assets/ChangeMemberRoleDialogContent-Cb1FynN7.js (new) 4.97 kB 🔴 +4.97 kB 🔴 +1.63 kB 🔴 +1.42 kB
assets/InviteMemberDialogContent-CmOgXW0B.js (new) 4.96 kB 🔴 +4.96 kB 🔴 +1.64 kB 🔴 +1.43 kB
assets/InviteMemberDialogContent-D4oQl5vY.js (removed) 4.96 kB 🟢 -4.96 kB 🟢 -1.64 kB 🟢 -1.43 kB
assets/EditWorkspaceDialogContent-B1eSJiPy.js (removed) 4.93 kB 🟢 -4.93 kB 🟢 -1.76 kB 🟢 -1.53 kB
assets/EditWorkspaceDialogContent-Omz7-e0T.js (new) 4.93 kB 🔴 +4.93 kB 🔴 +1.76 kB 🔴 +1.53 kB
assets/WidgetTextarea-CioynZC9.js (removed) 4.81 kB 🟢 -4.81 kB 🟢 -1.87 kB 🟢 -1.63 kB
assets/WidgetTextarea-HpOaYaAK.js (new) 4.81 kB 🔴 +4.81 kB 🔴 +1.87 kB 🔴 +1.63 kB
assets/saveMesh-CL_xUWdl.js (removed) 4.76 kB 🟢 -4.76 kB 🟢 -1.52 kB 🟢 -1.35 kB
assets/saveMesh-XQ28tqsw.js (new) 4.76 kB 🔴 +4.76 kB 🔴 +1.52 kB 🔴 +1.35 kB
assets/WorkspacePanelContent-BOwlAsUH.js (removed) 4.74 kB 🟢 -4.74 kB 🟢 -1.62 kB 🟢 -1.43 kB
assets/WorkspacePanelContent-BuO7ElU7.js (new) 4.74 kB 🔴 +4.74 kB 🔴 +1.62 kB 🔴 +1.43 kB
assets/ValueControlPopover-C-H4RZbh.js (removed) 4.49 kB 🟢 -4.49 kB 🟢 -1.55 kB 🟢 -1.38 kB
assets/ValueControlPopover-CTEFbue5.js (new) 4.49 kB 🔴 +4.49 kB 🔴 +1.55 kB 🔴 +1.38 kB
assets/DeleteWorkspaceDialogContent-CxiY5QO1.js (removed) 3.84 kB 🟢 -3.84 kB 🟢 -1.44 kB 🟢 -1.24 kB
assets/DeleteWorkspaceDialogContent-D10eLtX9.js (new) 3.84 kB 🔴 +3.84 kB 🔴 +1.44 kB 🔴 +1.27 kB
assets/RemoveMemberDialogContent-DHTr6ArW.js (removed) 3.76 kB 🟢 -3.76 kB 🟢 -1.38 kB 🟢 -1.2 kB
assets/RemoveMemberDialogContent-QYvqjpUu.js (new) 3.76 kB 🔴 +3.76 kB 🔴 +1.38 kB 🔴 +1.2 kB
assets/RevokeInviteDialogContent-D5c56OMr.js (removed) 3.67 kB 🟢 -3.67 kB 🟢 -1.39 kB 🟢 -1.21 kB
assets/RevokeInviteDialogContent-DAQvX7KT.js (new) 3.67 kB 🔴 +3.67 kB 🔴 +1.39 kB 🔴 +1.21 kB
assets/LeaveWorkspaceDialogContent-B5YKwH7V.js (new) 3.67 kB 🔴 +3.67 kB 🔴 +1.38 kB 🔴 +1.19 kB
assets/LeaveWorkspaceDialogContent-IYkQ8S-r.js (removed) 3.67 kB 🟢 -3.67 kB 🟢 -1.38 kB 🟢 -1.19 kB
assets/InviteMemberUpsellDialogContent-BjZtXW2E.js (removed) 3.47 kB 🟢 -3.47 kB 🟢 -1.24 kB 🟢 -1.07 kB
assets/InviteMemberUpsellDialogContent-drKYYHxq.js (new) 3.47 kB 🔴 +3.47 kB 🔴 +1.24 kB 🔴 +1.07 kB
assets/workspaceCheckoutTelemetry-DwaWjwnf.js (new) 3.4 kB 🔴 +3.4 kB 🔴 +1.52 kB 🔴 +1.32 kB
assets/workspaceCheckoutTelemetry-DWEz7NA1.js (removed) 3.4 kB 🟢 -3.4 kB 🟢 -1.52 kB 🟢 -1.33 kB
assets/GlobalToast-CgWRC-Rg.js (new) 3.25 kB 🔴 +3.25 kB 🔴 +1.3 kB 🔴 +1.11 kB
assets/GlobalToast-IOHuvv_U.js (removed) 3.25 kB 🟢 -3.25 kB 🟢 -1.3 kB 🟢 -1.11 kB
assets/Media3DTop-CbY52Z07.js (new) 3.21 kB 🔴 +3.21 kB 🔴 +1.26 kB 🔴 +1.1 kB
assets/Media3DTop-esgbnn_6.js (removed) 3.21 kB 🟢 -3.21 kB 🟢 -1.26 kB 🟢 -1.1 kB
assets/load3dAdvanced-6L2E6K3K.js (removed) 2.82 kB 🟢 -2.82 kB 🟢 -1.1 kB 🟢 -956 B
assets/load3dAdvanced-B4pdFvJ9.js (new) 2.82 kB 🔴 +2.82 kB 🔴 +1.09 kB 🔴 +956 B
assets/SubscribeToRun-53OQQHDV.js (removed) 2.39 kB 🟢 -2.39 kB 🟢 -1.03 kB 🟢 -900 B
assets/SubscribeToRun-Ct0koUY4.js (new) 2.39 kB 🔴 +2.39 kB 🔴 +1.03 kB 🔴 +923 B
assets/MediaAudioTop-_0Pva9jT.js (new) 1.62 kB 🔴 +1.62 kB 🔴 +805 B 🔴 +669 B
assets/MediaAudioTop-BEeYEDRo.js (removed) 1.62 kB 🟢 -1.62 kB 🟢 -806 B 🟢 -671 B
assets/cloudSessionCookie-Da4Ms6KV.js (removed) 933 B 🟢 -933 B 🟢 -433 B 🟢 -378 B
assets/cloudSessionCookie-DnvAzMst.js (new) 933 B 🔴 +933 B 🔴 +434 B 🔴 +378 B
assets/cloudBadges-Ci2FZI9x.js (removed) 922 B 🟢 -922 B 🟢 -514 B 🟢 -439 B
assets/cloudBadges-DbsE4Cz3.js (new) 922 B 🔴 +922 B 🔴 +514 B 🔴 +438 B
assets/Load3DAdvanced-DVA54Vj1.js (removed) 761 B 🟢 -761 B 🟢 -423 B 🟢 -359 B
assets/Load3DAdvanced-JbCKQ7n-.js (new) 761 B 🔴 +761 B 🔴 +423 B 🔴 +361 B
assets/nightlyBadges-CcDXSZRH.js (new) 411 B 🔴 +411 B 🔴 +273 B 🔴 +229 B
assets/nightlyBadges-PFMc5hUx.js (removed) 411 B 🟢 -411 B 🟢 -272 B 🟢 -228 B
assets/missingModelDownload-9pB-GlR5.js (new) 371 B 🔴 +371 B 🔴 +202 B 🔴 +175 B
assets/missingModelDownload-BOj2923I.js (removed) 371 B 🟢 -371 B 🟢 -203 B 🟢 -173 B
assets/Load3dViewerContent-BSoAHpAN.js (new) 137 B 🔴 +137 B 🔴 +103 B 🔴 +90 B
assets/Load3dViewerContent-PggvJVIr.js (removed) 137 B 🟢 -137 B 🟢 -103 B 🟢 -103 B
assets/Load3DAdvanced-DNxp5shd.js (new) 122 B 🔴 +122 B 🔴 +97 B 🔴 +89 B
assets/Load3DAdvanced-utWHM-Wf.js (removed) 122 B 🟢 -122 B 🟢 -97 B 🟢 -87 B
assets/WidgetLegacy-DmT_Z0dP.js (removed) 117 B 🟢 -117 B 🟢 -106 B 🟢 -102 B
assets/WidgetLegacy-zMG7tltb.js (new) 117 B 🔴 +117 B 🔴 +106 B 🔴 +103 B
assets/workflowDraftStoreV2-Bwq-OXqq.js (removed) 112 B 🟢 -112 B 🟢 -101 B 🟢 -109 B
assets/workflowDraftStoreV2-DaIs7uw5.js (new) 112 B 🔴 +112 B 🔴 +101 B 🔴 +116 B
assets/Load3D-BqpKFcqB.js (new) 98 B 🔴 +98 B 🔴 +89 B 🔴 +89 B
assets/Load3D-DFJsDP-R.js (removed) 98 B 🟢 -98 B 🟢 -89 B 🟢 -83 B
assets/changeTracker-Bt_dOCCf.js (new) 91 B 🔴 +91 B 🔴 +93 B 🔴 +83 B
assets/changeTracker-mNNU01_l.js (removed) 91 B 🟢 -91 B 🟢 -93 B 🟢 -84 B

Status: 70 added / 70 removed / 216 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.2 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 50.2 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.7 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 50.7 MB heap
large-graph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.1 MB heap
large-graph-pan: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 62.6 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 62.0 MB heap
minimap-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.9 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 51.3 MB heap
subgraph-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 55.4 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 51.1 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 135ms TBT · 95.2 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.9 MB heap
vue-large-graph-idle: · 55.4 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 163.5 MB heap
vue-large-graph-pan: · 56.2 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 654ms TBT · 163.8 MB heap
workflow-execution: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 65.4 MB heap

⚠️ 8 regressions detected

Show regressions
Metric Baseline PR (median) Δ Sig
canvas-idle: task duration 494ms 516ms +5% ⚠️ z=3.9
canvas-mouse-sweep: task duration 932ms 999ms +7% ⚠️ z=2.3
canvas-zoom-sweep: task duration 377ms 376ms -0% ⚠️ z=2.1
large-graph-idle: task duration 664ms 780ms +18% ⚠️ z=4.4
large-graph-pan: task duration 1222ms 1305ms +7% ⚠️ z=5.2
minimap-idle: task duration 669ms 671ms +0% ⚠️ z=3.0
subgraph-dom-widget-clipping: task duration 406ms 417ms +3% ⚠️ z=2.1
subgraph-idle: task duration 479ms 515ms +8% ⚠️ z=4.6
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 +1%
canvas-idle: layout duration 0ms 0ms +0%
canvas-idle: style recalc duration 7ms 8ms +14% z=-3.1
canvas-idle: layout count 0 0 +0%
canvas-idle: style recalc count 9 9 +0% z=-3.8
canvas-idle: task duration 494ms 516ms +5% ⚠️ z=3.9
canvas-idle: script duration 19ms 20ms +4% z=-2.6
canvas-idle: TBT 0ms 0ms +0%
canvas-idle: heap used 66.9 MB 67.2 MB +0%
canvas-idle: DOM nodes 18 18 +0% z=-3.6
canvas-idle: event listeners 4 4 +0% z=-1.6
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 +11% z=1.9
canvas-mouse-sweep: style recalc duration 39ms 45ms +14% z=0.6
canvas-mouse-sweep: layout count 12 12 +0%
canvas-mouse-sweep: style recalc count 77 78 +1% z=-0.3
canvas-mouse-sweep: task duration 932ms 999ms +7% ⚠️ z=2.3
canvas-mouse-sweep: script duration 121ms 135ms +11% z=-0.1
canvas-mouse-sweep: TBT 0ms 0ms +0%
canvas-mouse-sweep: heap used 49.9 MB 50.2 MB +1%
canvas-mouse-sweep: DOM nodes -282 -283 +0% z=-133.5
canvas-mouse-sweep: event listeners -153 -152 -1% z=-38.5
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 -3% z=1.0
canvas-zoom-sweep: style recalc duration 16ms 17ms +7% z=-1.4
canvas-zoom-sweep: layout count 6 6 +0%
canvas-zoom-sweep: style recalc count 32 33 +2% z=2.7
canvas-zoom-sweep: task duration 377ms 376ms -0% ⚠️ z=2.1
canvas-zoom-sweep: script duration 20ms 19ms -1% z=-2.6
canvas-zoom-sweep: TBT 0ms 0ms +0%
canvas-zoom-sweep: heap used 69.8 MB 69.7 MB -0%
canvas-zoom-sweep: DOM nodes 77 78 +1% z=-1.6
canvas-zoom-sweep: event listeners 19 19 +0% z=-0.9
dom-widget-clipping: avg frame time 17ms 17ms +0% z=0.1
dom-widget-clipping: p95 frame time 17ms 17ms +0%
dom-widget-clipping: layout duration 0ms 0ms +0%
dom-widget-clipping: style recalc duration 7ms 8ms +15% z=-2.0
dom-widget-clipping: layout count 0 0 +0%
dom-widget-clipping: style recalc count 11 11 +0% z=-4.2
dom-widget-clipping: task duration 371ms 391ms +5% z=1.6
dom-widget-clipping: script duration 56ms 59ms +5% z=-2.6
dom-widget-clipping: TBT 0ms 0ms +0%
dom-widget-clipping: heap used 50.7 MB 50.7 MB -0%
dom-widget-clipping: DOM nodes 18 18 +0% z=-2.9
dom-widget-clipping: event listeners 2 1 -50% variance too high
large-graph-idle: avg frame time 17ms 17ms -0% z=-1.0
large-graph-idle: p95 frame time 17ms 17ms -1%
large-graph-idle: layout duration 0ms 0ms +0%
large-graph-idle: style recalc duration 7ms 9ms +30% z=-3.2
large-graph-idle: layout count 0 0 +0%
large-graph-idle: style recalc count 9 9 +0% z=-8.3
large-graph-idle: task duration 664ms 780ms +18% ⚠️ z=4.4
large-graph-idle: script duration 91ms 114ms +25% z=1.1
large-graph-idle: TBT 0ms 0ms +0%
large-graph-idle: heap used 64.1 MB 64.1 MB -0%
large-graph-idle: DOM nodes -282 -282 +0% z=-339.3
large-graph-idle: event listeners -149 -148 -1% z=-28.6
large-graph-pan: avg frame time 17ms 17ms +0% z=0.3
large-graph-pan: p95 frame time 17ms 17ms +0%
large-graph-pan: layout duration 0ms 0ms +0%
large-graph-pan: style recalc duration 14ms 15ms +14% z=-2.4
large-graph-pan: layout count 0 0 +0%
large-graph-pan: style recalc count 68 69 +1% z=-0.9
large-graph-pan: task duration 1222ms 1305ms +7% ⚠️ z=5.2
large-graph-pan: script duration 399ms 422ms +6% z=0.7
large-graph-pan: TBT 0ms 0ms +0%
large-graph-pan: heap used 62.2 MB 62.6 MB +1%
large-graph-pan: DOM nodes -285 -283 -1% z=-183.0
large-graph-pan: event listeners -149 -149 +0% z=-185.9
large-graph-zoom: avg frame time 17ms 17ms +0%
large-graph-zoom: p95 frame time 17ms 17ms +1%
large-graph-zoom: layout duration 8ms 9ms +8%
large-graph-zoom: style recalc duration 15ms 17ms +10%
large-graph-zoom: layout count 60 60 +0%
large-graph-zoom: style recalc count 65 65 +0%
large-graph-zoom: task duration 1506ms 1607ms +7%
large-graph-zoom: script duration 523ms 557ms +6%
large-graph-zoom: TBT 0ms 0ms +0%
large-graph-zoom: heap used 56.8 MB 62.0 MB +9%
large-graph-zoom: DOM nodes -287 -287 +0%
large-graph-zoom: event listeners -153 -153 +0%
minimap-idle: avg frame time 17ms 17ms +0% z=0.1
minimap-idle: p95 frame time 17ms 17ms -0%
minimap-idle: layout duration 0ms 0ms +0%
minimap-idle: style recalc duration 7ms 7ms +0% z=-3.5
minimap-idle: layout count 0 0 +0%
minimap-idle: style recalc count 8 8 +0% z=-2.3
minimap-idle: task duration 669ms 671ms +0% ⚠️ z=3.0
minimap-idle: script duration 94ms 94ms -0% z=-0.4
minimap-idle: TBT 0ms 0ms +0%
minimap-idle: heap used 64.1 MB 63.9 MB -0%
minimap-idle: DOM nodes -284 -285 +0% z=-222.4
minimap-idle: event listeners -149 -148 -1% z=-231.1
subgraph-dom-widget-clipping: avg frame time 17ms 17ms -0% z=0.1
subgraph-dom-widget-clipping: p95 frame time 17ms 17ms -0%
subgraph-dom-widget-clipping: layout duration 0ms 0ms +0%
subgraph-dom-widget-clipping: style recalc duration 12ms 11ms -5% z=-1.7
subgraph-dom-widget-clipping: layout count 0 0 +0%
subgraph-dom-widget-clipping: style recalc count 48 47 -2% z=-1.6
subgraph-dom-widget-clipping: task duration 406ms 417ms +3% ⚠️ z=2.1
subgraph-dom-widget-clipping: script duration 123ms 125ms +1% z=-0.6
subgraph-dom-widget-clipping: TBT 0ms 0ms +0%
subgraph-dom-widget-clipping: heap used 51.3 MB 51.3 MB +0%
subgraph-dom-widget-clipping: DOM nodes 22 20 -9% 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.4
subgraph-idle: p95 frame time 17ms 17ms +1%
subgraph-idle: layout duration 0ms 0ms +0%
subgraph-idle: style recalc duration 8ms 9ms +11% z=-2.0
subgraph-idle: layout count 0 0 +0%
subgraph-idle: style recalc count 10 10 +0% z=-1.4
subgraph-idle: task duration 479ms 515ms +8% ⚠️ z=4.6
subgraph-idle: script duration 14ms 16ms +21% z=-1.5
subgraph-idle: TBT 0ms 0ms +0%
subgraph-idle: heap used 67.1 MB 55.4 MB -17%
subgraph-idle: DOM nodes 20 10 -53% z=-8.2
subgraph-idle: event listeners 4 -75 -1963% variance too high
subgraph-mouse-sweep: avg frame time 17ms 17ms +0% z=-0.1
subgraph-mouse-sweep: p95 frame time 17ms 17ms +0%
subgraph-mouse-sweep: layout duration 4ms 5ms +7% z=0.0
subgraph-mouse-sweep: style recalc duration 36ms 39ms +6% z=-1.2
subgraph-mouse-sweep: layout count 16 16 +0%
subgraph-mouse-sweep: style recalc count 76 77 +1% z=-1.6
subgraph-mouse-sweep: task duration 778ms 826ms +6% z=0.9
subgraph-mouse-sweep: script duration 88ms 96ms +8% z=-0.8
subgraph-mouse-sweep: TBT 0ms 0ms +0%
subgraph-mouse-sweep: heap used 44.0 MB 51.1 MB +16%
subgraph-mouse-sweep: DOM nodes -1 31 -3150% z=-16.3
subgraph-mouse-sweep: event listeners -153 -75 -51% 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 11ms 12ms +9%
subgraph-transition-enter: style recalc duration 28ms 31ms +10%
subgraph-transition-enter: layout count 15 14 -7%
subgraph-transition-enter: style recalc count 19 18 -5%
subgraph-transition-enter: task duration 887ms 1037ms +17%
subgraph-transition-enter: script duration 33ms 38ms +16%
subgraph-transition-enter: TBT 118ms 135ms +14%
subgraph-transition-enter: heap used 91.5 MB 95.2 MB +4%
subgraph-transition-enter: DOM nodes 13673 13673 +0%
subgraph-transition-enter: event listeners 2375 2375 +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 40ms 42ms +7%
viewport-pan-sweep: layout count 0 0 +0%
viewport-pan-sweep: style recalc count 250 249 -0%
viewport-pan-sweep: task duration 4369ms 4580ms +5%
viewport-pan-sweep: script duration 1307ms 1357ms +4%
viewport-pan-sweep: TBT 0ms 0ms +0%
viewport-pan-sweep: heap used 62.3 MB 64.9 MB +4%
viewport-pan-sweep: DOM nodes -282 -282 -0%
viewport-pan-sweep: event listeners -163 -148 -9%
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 17138ms 18055ms +5%
vue-large-graph-idle: script duration 564ms 587ms +4%
vue-large-graph-idle: TBT 0ms 0ms +0%
vue-large-graph-idle: heap used 159.1 MB 163.5 MB +3%
vue-large-graph-idle: DOM nodes -8312 -8312 +0%
vue-large-graph-idle: event listeners -16389 -16387 -0%
vue-large-graph-pan: avg frame time 18ms 18ms -3%
vue-large-graph-pan: p95 frame time 17ms 17ms +0%
vue-large-graph-pan: layout duration 0ms 0ms +0%
vue-large-graph-pan: style recalc duration 18ms 25ms +41%
vue-large-graph-pan: layout count 0 0 +0%
vue-large-graph-pan: style recalc count 145 167 +15%
vue-large-graph-pan: task duration 20848ms 22528ms +8%
vue-large-graph-pan: script duration 858ms 951ms +11%
vue-large-graph-pan: TBT 220ms 654ms +197%
vue-large-graph-pan: heap used 161.1 MB 163.8 MB +2%
vue-large-graph-pan: DOM nodes -8312 -8312 +0%
vue-large-graph-pan: event listeners -16383 -16381 -0%
workflow-execution: avg frame time 17ms 17ms -0% z=0.1
workflow-execution: p95 frame time 17ms 17ms +0%
workflow-execution: layout duration 1ms 1ms +47% z=-3.7
workflow-execution: style recalc duration 19ms 23ms +16% z=-0.8
workflow-execution: layout count 3 4 +17% z=-2.7
workflow-execution: style recalc count 14 14 +0% z=-1.9
workflow-execution: task duration 113ms 117ms +3% z=-0.6
workflow-execution: script duration 9ms 10ms +12% z=-6.3
workflow-execution: TBT 0ms 0ms +0%
workflow-execution: heap used 65.5 MB 65.4 MB -0%
workflow-execution: DOM nodes 125 125 -0% z=-5.1
workflow-execution: event listeners 97 98 +1% z=10.6
Historical variance (last 15 runs)
Metric μ σ CV
canvas-idle: avg frame time 17ms 0ms 0.0%
canvas-idle: layout duration 0ms 0ms 0.0%
canvas-idle: style recalc duration 11ms 1ms 8.2%
canvas-idle: layout count 0 0 0.0%
canvas-idle: style recalc count 11 1 5.0%
canvas-idle: task duration 395ms 31ms 7.9%
canvas-idle: script duration 25ms 2ms 8.8%
canvas-idle: TBT 0ms 0ms 0.0%
canvas-idle: DOM nodes 23 1 5.6%
canvas-idle: event listeners 12 5 40.9%
canvas-mouse-sweep: avg frame time 17ms 0ms 0.0%
canvas-mouse-sweep: layout duration 4ms 0ms 5.4%
canvas-mouse-sweep: style recalc duration 43ms 3ms 7.4%
canvas-mouse-sweep: layout count 12 0 0.0%
canvas-mouse-sweep: style recalc count 79 2 3.0%
canvas-mouse-sweep: task duration 865ms 58ms 6.7%
canvas-mouse-sweep: script duration 136ms 6ms 4.8%
canvas-mouse-sweep: TBT 0ms 0ms 0.0%
canvas-mouse-sweep: DOM nodes 62 3 4.2%
canvas-mouse-sweep: event listeners 8 4 49.4%
canvas-zoom-sweep: avg frame time 17ms 0ms 0.0%
canvas-zoom-sweep: layout duration 1ms 0ms 7.0%
canvas-zoom-sweep: style recalc duration 19ms 2ms 8.0%
canvas-zoom-sweep: layout count 6 0 0.0%
canvas-zoom-sweep: style recalc count 31 0 1.5%
canvas-zoom-sweep: task duration 327ms 23ms 7.1%
canvas-zoom-sweep: script duration 27ms 3ms 11.1%
canvas-zoom-sweep: TBT 0ms 0ms 0.0%
canvas-zoom-sweep: DOM nodes 79 1 1.0%
canvas-zoom-sweep: event listeners 24 5 21.8%
dom-widget-clipping: avg frame time 17ms 0ms 0.0%
dom-widget-clipping: layout duration 0ms 0ms 0.0%
dom-widget-clipping: style recalc duration 10ms 1ms 8.0%
dom-widget-clipping: layout count 0 0 0.0%
dom-widget-clipping: style recalc count 13 0 3.8%
dom-widget-clipping: task duration 365ms 16ms 4.5%
dom-widget-clipping: script duration 68ms 3ms 4.8%
dom-widget-clipping: TBT 0ms 0ms 0.0%
dom-widget-clipping: DOM nodes 22 1 6.4%
dom-widget-clipping: event listeners 8 6 81.2%
large-graph-idle: avg frame time 17ms 0ms 0.0%
large-graph-idle: layout duration 0ms 0ms 0.0%
large-graph-idle: style recalc duration 12ms 1ms 8.6%
large-graph-idle: layout count 0 0 0.0%
large-graph-idle: style recalc count 12 0 2.7%
large-graph-idle: task duration 542ms 54ms 10.0%
large-graph-idle: script duration 102ms 11ms 10.3%
large-graph-idle: TBT 0ms 0ms 0.0%
large-graph-idle: DOM nodes 25 1 3.7%
large-graph-idle: event listeners 26 6 23.2%
large-graph-pan: avg frame time 17ms 0ms 0.0%
large-graph-pan: layout duration 0ms 0ms 0.0%
large-graph-pan: style recalc duration 17ms 1ms 4.6%
large-graph-pan: layout count 0 0 0.0%
large-graph-pan: style recalc count 70 1 0.9%
large-graph-pan: task duration 1082ms 43ms 4.0%
large-graph-pan: script duration 408ms 20ms 4.8%
large-graph-pan: TBT 0ms 0ms 0.0%
large-graph-pan: DOM nodes 19 2 8.7%
large-graph-pan: event listeners 5 1 16.8%
minimap-idle: avg frame time 17ms 0ms 0.0%
minimap-idle: layout duration 0ms 0ms 0.0%
minimap-idle: style recalc duration 10ms 1ms 8.6%
minimap-idle: layout count 0 0 0.0%
minimap-idle: style recalc count 10 1 7.1%
minimap-idle: task duration 527ms 47ms 9.0%
minimap-idle: script duration 98ms 10ms 10.1%
minimap-idle: TBT 0ms 0ms 0.0%
minimap-idle: DOM nodes 19 1 7.1%
minimap-idle: event listeners 5 1 14.4%
subgraph-dom-widget-clipping: avg frame time 17ms 0ms 0.0%
subgraph-dom-widget-clipping: layout duration 0ms 0ms 0.0%
subgraph-dom-widget-clipping: style recalc duration 13ms 1ms 7.4%
subgraph-dom-widget-clipping: layout count 0 0 0.0%
subgraph-dom-widget-clipping: style recalc count 48 1 1.2%
subgraph-dom-widget-clipping: task duration 378ms 18ms 4.9%
subgraph-dom-widget-clipping: script duration 128ms 6ms 4.9%
subgraph-dom-widget-clipping: TBT 0ms 0ms 0.0%
subgraph-dom-widget-clipping: DOM nodes 22 1 5.0%
subgraph-dom-widget-clipping: event listeners 16 6 36.0%
subgraph-idle: avg frame time 17ms 0ms 0.0%
subgraph-idle: layout duration 0ms 0ms 0.0%
subgraph-idle: style recalc duration 10ms 1ms 7.5%
subgraph-idle: layout count 0 0 0.0%
subgraph-idle: style recalc count 11 1 6.0%
subgraph-idle: task duration 370ms 31ms 8.5%
subgraph-idle: script duration 20ms 3ms 13.2%
subgraph-idle: TBT 0ms 0ms 0.0%
subgraph-idle: DOM nodes 22 1 6.9%
subgraph-idle: event listeners 10 7 64.5%
subgraph-mouse-sweep: avg frame time 17ms 0ms 0.0%
subgraph-mouse-sweep: layout duration 5ms 0ms 6.8%
subgraph-mouse-sweep: style recalc duration 42ms 3ms 7.8%
subgraph-mouse-sweep: layout count 16 0 0.0%
subgraph-mouse-sweep: style recalc count 80 2 2.4%
subgraph-mouse-sweep: task duration 766ms 69ms 9.0%
subgraph-mouse-sweep: script duration 101ms 7ms 6.5%
subgraph-mouse-sweep: TBT 0ms 0ms 0.0%
subgraph-mouse-sweep: DOM nodes 67 2 3.3%
subgraph-mouse-sweep: event listeners 8 4 52.6%
workflow-execution: avg frame time 17ms 0ms 0.0%
workflow-execution: layout duration 2ms 0ms 9.4%
workflow-execution: style recalc duration 24ms 2ms 9.1%
workflow-execution: layout count 5 1 11.0%
workflow-execution: style recalc count 18 2 11.5%
workflow-execution: task duration 123ms 11ms 8.8%
workflow-execution: script duration 29ms 3ms 10.2%
workflow-execution: TBT 0ms 0ms 0.0%
workflow-execution: DOM nodes 161 7 4.4%
workflow-execution: event listeners 52 4 8.4%
Trend (last 15 commits on main)
Metric Trend Dir Latest
canvas-idle: avg frame time ▆▃▆▁▆▃▆█▆▆▄▃▃▄▃ ➡️ 17ms
canvas-idle: p95 frame time ➡️ NaNms
canvas-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: style recalc duration ▇▇▆▆▃█▄▃▄▃▇▄▁▆▇ ➡️ 11ms
canvas-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
canvas-idle: style recalc count █▃▅▂▅▆▃▁▂▁▂▅▆▅▆ ➡️ 12
canvas-idle: task duration ▃▃▃▆▂▃▃▅▆▂█▃▁▃▃ ➡️ 391ms
canvas-idle: script duration ▄▃▅▇▂▅▃▆▇▅█▄▁▅▆ ➡️ 27ms
canvas-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: heap used ➡️ NaN MB
canvas-idle: DOM nodes █▇▆▅▃▇▃▁▂▂▅▆▆▆▇ ➡️ 24
canvas-idle: event listeners ▅█▅▄▁▅▁▁▁▄▅▅▁▅▄ 📉 11
canvas-mouse-sweep: avg frame time ▆█▆▃▁▃▁▆▆▁▃▆▆▃▃ ➡️ 17ms
canvas-mouse-sweep: p95 frame time ➡️ NaNms
canvas-mouse-sweep: layout duration ▁▃▂▄▁▂▁▃▆▂█▇▆▄▃ ➡️ 4ms
canvas-mouse-sweep: style recalc duration ▄▄▂▄▁▂▃▃▅▄█▆▂▄▄ ➡️ 43ms
canvas-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 12
canvas-mouse-sweep: style recalc count █▅▄▃▂▂▁▄▄▅▆▅▂▇▄ ➡️ 79
canvas-mouse-sweep: task duration █▆▄▂▂▃▂▄▄▅█▆▁▆▄ ➡️ 868ms
canvas-mouse-sweep: script duration ▄▅▄▆▄▆▆▆▅▅█▆▁▅▆ ➡️ 139ms
canvas-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-mouse-sweep: heap used ➡️ NaN MB
canvas-mouse-sweep: DOM nodes █▅▃▃▁▂▂▃▂▄▆▅▃▅▅ ➡️ 64
canvas-mouse-sweep: event listeners █▁▁▁▁▁▇▁▁▁██▇▁█ 📈 13
canvas-zoom-sweep: avg frame time ▅▅█▄▅▁▁▁▅▁▁▅▄▅▁ ➡️ 17ms
canvas-zoom-sweep: p95 frame time ➡️ NaNms
canvas-zoom-sweep: layout duration ▆▅▅▄▁▁█▅▃▅▇▆▁▂▆ ➡️ 1ms
canvas-zoom-sweep: style recalc duration ▆▅▄▆▅▃█▆▇▅▇▄▁▃▅ ➡️ 20ms
canvas-zoom-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
canvas-zoom-sweep: style recalc count ▁▁▃▄▆▃▆█▄▄▆▁▆▁▆ ➡️ 32
canvas-zoom-sweep: task duration ▄▂▁▇▂▂▄▅▆▃█▄▁▁▅ ➡️ 338ms
canvas-zoom-sweep: script duration ▃▃▂▇▂▂▅▇▆▅█▄▁▂▆ ➡️ 30ms
canvas-zoom-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-zoom-sweep: heap used ➡️ NaN MB
canvas-zoom-sweep: DOM nodes ▄▃▁▅█▁▃▆▄▅▅▃▃▄▃ ➡️ 79
canvas-zoom-sweep: event listeners ▁▁▂▅█▂▁▅▁▅▅▄▁▅▁ ➡️ 19
dom-widget-clipping: avg frame time ▂▄▅▅▂▄█▇▅▇▇▅▅▁▇ ➡️ 17ms
dom-widget-clipping: p95 frame time ➡️ NaNms
dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: style recalc duration ▆▆▂▆▄▃██▄▁▆▇▆▃▅ ➡️ 10ms
dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-clipping: style recalc count ▇█▅█▅▄█▇▇▁▇▄▇▂▅ ➡️ 13
dom-widget-clipping: task duration ▃▃▁▅▄▃▅▆▅▂▇█▁▅▅ ➡️ 371ms
dom-widget-clipping: script duration ▅▄▄▆▆▅▇▇▆▃█▇▁▇▇ ➡️ 71ms
dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: heap used ➡️ NaN MB
dom-widget-clipping: DOM nodes ▇▇▄▇▅▄█▇▅▁▅▄▇▃▄ ➡️ 21
dom-widget-clipping: event listeners ▅▅▅▅▁▅██▁▁▁▁█▁▁ 📉 2
large-graph-idle: avg frame time ▅▅▅▅▅▂▁▂▄▅▄▂▂▅█ ➡️ 17ms
large-graph-idle: p95 frame time ➡️ NaNms
large-graph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: style recalc duration ▅▅▅▆▄▅▃▄▅▅▆█▁▄▆ ➡️ 13ms
large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-idle: style recalc count █▆█▃▃▁▃▆▃▆▆▃▆██ ➡️ 12
large-graph-idle: task duration ▂▃▂▆▂▃▃▇▅▃██▁▂▅ ➡️ 569ms
large-graph-idle: script duration ▄▅▄▆▄▅▅▇▆▅█▆▁▃▆ ➡️ 110ms
large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: heap used ➡️ NaN MB
large-graph-idle: DOM nodes ▆█▅▂▅▃▁▂▃▅▅▆▂▆▅ ➡️ 25
large-graph-idle: event listeners ███▇██▄▁▄▇▇█▂█▇ ➡️ 29
large-graph-pan: avg frame time ▆▃▃▆█▃▁█▆▆▆▆█▁▆ ➡️ 17ms
large-graph-pan: p95 frame time ➡️ NaNms
large-graph-pan: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: style recalc duration ▃▂▄▄▁▅▂▂▁▄▄█▃▁▂ ➡️ 17ms
large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-pan: style recalc count ▆▃█▂▃▂▂▂▁▇▅▃█▆▃ ➡️ 69
large-graph-pan: task duration ▄▃▄▆▄▄▄▆▄▄█▆▁▂▅ ➡️ 1100ms
large-graph-pan: script duration ▅▄▅▆▆▅▄▆▄▅█▄▁▄▅ ➡️ 413ms
large-graph-pan: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: heap used ➡️ NaN MB
large-graph-pan: DOM nodes ▅▃▆▂▄▁▃▁▁▅▁▂█▅▂ ➡️ 18
large-graph-pan: event listeners █▆█▁▁▆▁▁▃▆▁▃██▃ ➡️ 5
minimap-idle: avg frame time ▃▆▆▃█▁█▆▆▃▃▆█▆█ ➡️ 17ms
minimap-idle: p95 frame time ➡️ NaNms
minimap-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: style recalc duration ▄█▁█▅▅█▅▅▃▅▁▁▄▆ ➡️ 10ms
minimap-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
minimap-idle: style recalc count ▃▅▂▄█▃▆▁▂▅▂▁▅▆▃ ➡️ 9
minimap-idle: task duration ▃▄▁▅▁▃▄▅▇▃█▅▁▁▅ ➡️ 547ms
minimap-idle: script duration ▄▆▃▇▃▅▆▆▇▅█▅▁▃▆ ➡️ 106ms
minimap-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: heap used ➡️ NaN MB
minimap-idle: DOM nodes ▃▅▂▄█▃▆▁▂▅▂▁▅▆▃ ➡️ 19
minimap-idle: event listeners ▃▃▆▁▁▁▃▁▁▆▁▃█▆▁ ➡️ 4
subgraph-dom-widget-clipping: avg frame time ▅▄▄▄▄▄█▄▄▄▃▁▆▃▃ ➡️ 17ms
subgraph-dom-widget-clipping: p95 frame time ➡️ NaNms
subgraph-dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: style recalc duration ▂▄▃▅▅▃▂▅▇▃▄█▁▄▆ ➡️ 14ms
subgraph-dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-dom-widget-clipping: style recalc count ▇█▆▃▆▃▁▆█▇▃▆▇█▅ ➡️ 48
subgraph-dom-widget-clipping: task duration ▂▃▃▆▅▅▂▅█▂▆█▁▂▇ ➡️ 398ms
subgraph-dom-widget-clipping: script duration ▃▃▃▄▅▅▂▄█▂▅▇▁▂▅ ➡️ 131ms
subgraph-dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: heap used ➡️ NaN MB
subgraph-dom-widget-clipping: DOM nodes ▅▇▅▂▅▂▁▅▅▅▁▇▅█▄ ➡️ 22
subgraph-dom-widget-clipping: event listeners ▅▅▅▂▅▁▅██▁▁█▅█▅ 📈 16
subgraph-idle: avg frame time ▆▆█▁▆▃▆▆▆▃▆▁▃▆█ ➡️ 17ms
subgraph-idle: p95 frame time ➡️ NaNms
subgraph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: style recalc duration ▁▇▃▆▂▄▂▃▃▆▆▄▃▇█ ➡️ 12ms
subgraph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-idle: style recalc count ▃▆▃▃▂▅▁▂▁▆▃▃██▇ ➡️ 12
subgraph-idle: task duration ▁▃▁▇▁▁▃▆▅▂█▅▁▁▄ ➡️ 378ms
subgraph-idle: script duration ▁▃▂▇▁▂▃▇▆▂█▅▂▁▅ ➡️ 22ms
subgraph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: heap used ➡️ NaN MB
subgraph-idle: DOM nodes ▃▅▃▂▁▄▁▂▁▅▃▂▇█▇ ➡️ 24
subgraph-idle: event listeners ▁▅▁▁▁▁▁▁▁▅▄▁███ 📈 21
subgraph-mouse-sweep: avg frame time ▅▄▁▃▃▄▆▄▆▃▃█▁▃▃ ➡️ 17ms
subgraph-mouse-sweep: p95 frame time ➡️ NaNms
subgraph-mouse-sweep: layout duration ▁▄▄▄▃▃▅▅▅▂█▇▂▃▆ ➡️ 5ms
subgraph-mouse-sweep: style recalc duration ▃▂▄▅▂▃▄▅█▃█▆▁▂▅ ➡️ 43ms
subgraph-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 16
subgraph-mouse-sweep: style recalc count ▅▂▅▅▁▄▃▅█▅▆▄▂▄▅ ➡️ 81
subgraph-mouse-sweep: task duration ▃▂▄▅▂▄▄▅▇▄█▆▁▃▅ ➡️ 785ms
subgraph-mouse-sweep: script duration ▄▅▄▇▅▅▆▇▆▅██▁▄▆ ➡️ 105ms
subgraph-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-mouse-sweep: heap used ➡️ NaN MB
subgraph-mouse-sweep: DOM nodes ▅▁▄▅▁▄▃▃█▅▅▄▂▅▃ ➡️ 66
subgraph-mouse-sweep: event listeners ▇▁▂▇▁▂▂▂█▇▂▂▇▇▂ 📈 5
workflow-execution: avg frame time ▆▆▆▄▆▆▃▄▁▄█▆▅▄▆ ➡️ 17ms
workflow-execution: p95 frame time ➡️ NaNms
workflow-execution: layout duration ▁▆▁▃▂▄▃▂▃▃▅█▄▂▅ ➡️ 2ms
workflow-execution: style recalc duration ▃▇▅▇▁▅▆▇█▁██▂▄▆ ➡️ 25ms
workflow-execution: layout count ▁█▂▃▂▃▃▁▃▃▄▃▂▃▂ ➡️ 5
workflow-execution: style recalc count ▃█▅▇▁▄▅▆▅▅▅▅▄▄▂ ➡️ 15
workflow-execution: task duration ▂▅▄▅▁▄▆▆▆▁▇█▁▃▃ ➡️ 120ms
workflow-execution: script duration ▄▃▄▄▃▅▄▅▆▂▇█▁▃▄ ➡️ 29ms
workflow-execution: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
workflow-execution: heap used ➡️ NaN MB
workflow-execution: DOM nodes ▂█▃▆▁▄▃▅▃█▃▃▄▃▁ ➡️ 152
workflow-execution: event listeners ▅███▁▅███▁██▅█▅ ➡️ 49
Raw data
{
  "timestamp": "2026-08-09T05:05:37.380Z",
  "gitSha": "797202bc63254ced1e4bcfb6626eec1490f690b7",
  "branch": "fix/payment-topup-refresh",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2016.9109999999364,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.213999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 496.043,
      "heapDeltaBytes": 5981744,
      "heapUsedBytes": 70616220,
      "domNodes": 18,
      "jsHeapTotalBytes": 24379392,
      "scriptDurationMs": 16.755,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-idle",
      "durationMs": 2034.7150000000056,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 8.944999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 535.7650000000001,
      "heapDeltaBytes": 6000096,
      "heapUsedBytes": 70259944,
      "domNodes": 18,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 22.319,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 2006.2619999999924,
      "styleRecalcs": 79,
      "styleRecalcDurationMs": 43.49,
      "layouts": 12,
      "layoutDurationMs": 4.044,
      "taskDurationMs": 1017.8749999999999,
      "heapDeltaBytes": -12706196,
      "heapUsedBytes": 51535632,
      "domNodes": -282,
      "jsHeapTotalBytes": 24879104,
      "scriptDurationMs": 143.323,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1952.7659999998832,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 45.89,
      "layouts": 12,
      "layoutDurationMs": 3.934,
      "taskDurationMs": 979.5279999999999,
      "heapDeltaBytes": -10801172,
      "heapUsedBytes": 53818236,
      "domNodes": -284,
      "jsHeapTotalBytes": 24879104,
      "scriptDurationMs": 126.616,
      "eventListeners": -153,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1739.8250000001099,
      "styleRecalcs": 33,
      "styleRecalcDurationMs": 17.212000000000003,
      "layouts": 6,
      "layoutDurationMs": 0.644,
      "taskDurationMs": 376.18,
      "heapDeltaBytes": 8740560,
      "heapUsedBytes": 73162472,
      "domNodes": 79,
      "jsHeapTotalBytes": 24379392,
      "scriptDurationMs": 19.459000000000003,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1753.537999999935,
      "styleRecalcs": 32,
      "styleRecalcDurationMs": 16.702,
      "layouts": 6,
      "layoutDurationMs": 0.7360000000000001,
      "taskDurationMs": 376.58000000000004,
      "heapDeltaBytes": 8570240,
      "heapUsedBytes": 72994608,
      "domNodes": 77,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 19.336000000000002,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 590.6120000000783,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 8.226,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 385.07899999999995,
      "heapDeltaBytes": -11168532,
      "heapUsedBytes": 53098024,
      "domNodes": 18,
      "jsHeapTotalBytes": 25427968,
      "scriptDurationMs": 57.833000000000006,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 607.9479999998512,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 8.305,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 396.393,
      "heapDeltaBytes": -11218120,
      "heapUsedBytes": 53214348,
      "domNodes": 18,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 60.995,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2089.3089999999575,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 9.936999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 721.6320000000001,
      "heapDeltaBytes": 7550764,
      "heapUsedBytes": 67013148,
      "domNodes": -281,
      "jsHeapTotalBytes": 3248128,
      "scriptDurationMs": 102.48899999999999,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2043.8970000000154,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 7.837999999999997,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 839.327,
      "heapDeltaBytes": 7306812,
      "heapUsedBytes": 67341320,
      "domNodes": -283,
      "jsHeapTotalBytes": 4034560,
      "scriptDurationMs": 125.327,
      "eventListeners": -147,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2160.2170000001024,
      "styleRecalcs": 70,
      "styleRecalcDurationMs": 15.792999999999997,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1262.121,
      "heapDeltaBytes": 3298872,
      "heapUsedBytes": 65960060,
      "domNodes": -281,
      "jsHeapTotalBytes": 4489216,
      "scriptDurationMs": 411.89500000000004,
      "eventListeners": -147,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2199.1199999999935,
      "styleRecalcs": 68,
      "styleRecalcDurationMs": 14.923000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1347.1840000000002,
      "heapDeltaBytes": 4778032,
      "heapUsedBytes": 65402112,
      "domNodes": -285,
      "jsHeapTotalBytes": 3702784,
      "scriptDurationMs": 431.856,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3196.9740000000684,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 16.376,
      "layouts": 60,
      "layoutDurationMs": 8.319999999999999,
      "taskDurationMs": 1537.9279999999999,
      "heapDeltaBytes": -2102256,
      "heapUsedBytes": 60119208,
      "domNodes": -286,
      "jsHeapTotalBytes": 6393856,
      "scriptDurationMs": 528.6759999999999,
      "eventListeners": -153,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3379.0019999999004,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 16.814000000000004,
      "layouts": 60,
      "layoutDurationMs": 8.706999999999999,
      "taskDurationMs": 1676.594,
      "heapDeltaBytes": 7572740,
      "heapUsedBytes": 69935500,
      "domNodes": -288,
      "jsHeapTotalBytes": 5607424,
      "scriptDurationMs": 584.9590000000001,
      "eventListeners": -153,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "minimap-idle",
      "durationMs": 2033.6170000000493,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.225000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 670.123,
      "heapDeltaBytes": 6732936,
      "heapUsedBytes": 67549404,
      "domNodes": -286,
      "jsHeapTotalBytes": 4558848,
      "scriptDurationMs": 92.84699999999998,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "minimap-idle",
      "durationMs": 2013.3030000001781,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 7.140000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 671.646,
      "heapDeltaBytes": 5995360,
      "heapUsedBytes": 66518600,
      "domNodes": -284,
      "jsHeapTotalBytes": 4034560,
      "scriptDurationMs": 95.23300000000002,
      "eventListeners": -147,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 590.3209999999035,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 10.619,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 407.105,
      "heapDeltaBytes": -10981616,
      "heapUsedBytes": 53528216,
      "domNodes": 20,
      "jsHeapTotalBytes": 26738688,
      "scriptDurationMs": 123.90199999999999,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 606.7519999999149,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 11.539,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 427.3419999999999,
      "heapDeltaBytes": -10409196,
      "heapUsedBytes": 54144812,
      "domNodes": 20,
      "jsHeapTotalBytes": 25690112,
      "scriptDurationMs": 125.34800000000001,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2015.5019999999695,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 8.859,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 500.72499999999997,
      "heapDeltaBytes": 5940336,
      "heapUsedBytes": 70292444,
      "domNodes": 20,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 15.978,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2030.1829999998517,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 8.848999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 530.1579999999999,
      "heapDeltaBytes": -18518736,
      "heapUsedBytes": 45926440,
      "domNodes": -1,
      "jsHeapTotalBytes": 23044096,
      "scriptDurationMs": 16.669,
      "eventListeners": -153,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1687.9849999999124,
      "styleRecalcs": 75,
      "styleRecalcDurationMs": 34.928,
      "layouts": 16,
      "layoutDurationMs": 4.382,
      "taskDurationMs": 737.82,
      "heapDeltaBytes": -3527704,
      "heapUsedBytes": 60656348,
      "domNodes": 61,
      "jsHeapTotalBytes": 25427968,
      "scriptDurationMs": 87.896,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1778.2540000000608,
      "styleRecalcs": 79,
      "styleRecalcDurationMs": 42.166999999999994,
      "layouts": 16,
      "layoutDurationMs": 5.038000000000001,
      "taskDurationMs": 913.86,
      "heapDeltaBytes": -17948480,
      "heapUsedBytes": 46423128,
      "domNodes": 0,
      "jsHeapTotalBytes": 23830528,
      "scriptDurationMs": 103.252,
      "eventListeners": -153,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 1392.8480000001855,
      "styleRecalcs": 18,
      "styleRecalcDurationMs": 31.157000000000004,
      "layouts": 14,
      "layoutDurationMs": 12.073999999999998,
      "taskDurationMs": 1037.113,
      "heapDeltaBytes": 30671208,
      "heapUsedBytes": 99822384,
      "domNodes": 13673,
      "jsHeapTotalBytes": 15990784,
      "scriptDurationMs": 38.077,
      "eventListeners": 2375,
      "totalBlockingTimeMs": 135,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8227.919000000042,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 41.211,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4338.2570000000005,
      "heapDeltaBytes": 11797504,
      "heapUsedBytes": 71152912,
      "domNodes": -282,
      "jsHeapTotalBytes": 5537792,
      "scriptDurationMs": 1317.075,
      "eventListeners": -133,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8393.162999999959,
      "styleRecalcs": 248,
      "styleRecalcDurationMs": 43.611999999999995,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4822.1720000000005,
      "heapDeltaBytes": 5554200,
      "heapUsedBytes": 65035108,
      "domNodes": -281,
      "jsHeapTotalBytes": 5013504,
      "scriptDurationMs": 1397.258,
      "eventListeners": -163,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 17931.286,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 17906.668,
      "heapDeltaBytes": -37097472,
      "heapUsedBytes": 167046064,
      "domNodes": -8312,
      "jsHeapTotalBytes": -8593408,
      "scriptDurationMs": 574.736,
      "eventListeners": -16387,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 18.330000000000048,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 18225.081000000046,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 18203.970999999998,
      "heapDeltaBytes": -30921280,
      "heapUsedBytes": 175825916,
      "domNodes": -8312,
      "jsHeapTotalBytes": -6754304,
      "scriptDurationMs": 598.4509999999999,
      "eventListeners": -16387,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 22491.22800000009,
      "styleRecalcs": 168,
      "styleRecalcDurationMs": 25.55000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 22459.314,
      "heapDeltaBytes": -43529304,
      "heapUsedBytes": 164338076,
      "domNodes": -8312,
      "jsHeapTotalBytes": -10133504,
      "scriptDurationMs": 953.398,
      "eventListeners": -16381,
      "totalBlockingTimeMs": 670,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 22625.530000000028,
      "styleRecalcs": 166,
      "styleRecalcDurationMs": 24.453000000000003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 22597.066,
      "heapDeltaBytes": -27352188,
      "heapUsedBytes": 179091496,
      "domNodes": -8312,
      "jsHeapTotalBytes": -7352320,
      "scriptDurationMs": 947.8780000000002,
      "eventListeners": -16381,
      "totalBlockingTimeMs": 638,
      "frameDurationMs": 17.779999999999927,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "workflow-execution",
      "durationMs": 467.08300000000236,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 20.756999999999998,
      "layouts": 3,
      "layoutDurationMs": 0.709,
      "taskDurationMs": 115.983,
      "heapDeltaBytes": 5061220,
      "heapUsedBytes": 68643560,
      "domNodes": 124,
      "jsHeapTotalBytes": 5242880,
      "scriptDurationMs": 11.043000000000001,
      "eventListeners": 99,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "workflow-execution",
      "durationMs": 455.6450000000041,
      "styleRecalcs": 16,
      "styleRecalcDurationMs": 24.334,
      "layouts": 4,
      "layoutDurationMs": 1.315,
      "taskDurationMs": 117.529,
      "heapDeltaBytes": 5035688,
      "heapUsedBytes": 68444580,
      "domNodes": 125,
      "jsHeapTotalBytes": 5242880,
      "scriptDurationMs": 9.620999999999999,
      "eventListeners": 97,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    }
  ]
}

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The top-up tracker preserves valid pending markers during refresh checks. CreditsTile coalesces refresh requests, queues trailing refreshes, and reconciles completed top-ups through customer events. Direct credit purchases start tracking before Stripe checkout opens.

Changes

Top-up refresh reconciliation

Layer / File(s) Summary
Top-up tracker validation and refresh semantics
src/platform/telemetry/topupTracker.ts, src/platform/telemetry/topupTracker.test.ts
The tracker validates pending timestamps, clears invalid or expired markers, recognizes credit_added events, and preserves valid markers across repeated checks.
CreditsTile refresh and billing reconciliation
src/platform/cloud/subscription/components/CreditsTile.vue
CreditsTile coalesces concurrent refreshes, queues trailing refreshes, aggregates balance and status requests, retrieves customer events when required, and propagates the final refresh error.
Refresh and reconciliation test coverage
src/platform/cloud/subscription/components/CreditsTile.test.ts
Tests cover repeated focus refreshes, queued refreshes, failed requests, event reconciliation, marker clearing, retry behavior, deferred refreshes, and localStorage cleanup.
Direct credit purchase tracking validation
src/composables/auth/useAuthActions.test.ts
Tests verify that direct credit purchases start top-up tracking before Stripe checkout opens.

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

Sequence Diagram(s)

sequenceDiagram
  participant WindowFocus
  participant CreditsTile
  participant CustomerEvents
  participant TopupTracker
  WindowFocus->>CreditsTile: trigger refresh
  CreditsTile->>TopupTracker: check pending marker
  CreditsTile->>CustomerEvents: retrieve recent customer events
  CustomerEvents-->>CreditsTile: return billing events
  CreditsTile->>TopupTracker: check completed credit_added event
Loading

Possibly related PRs

Suggested reviewers: benceruleanlu


Important

Pre-merge checks failed

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

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
End-To-End Regression Coverage For Fixes ❓ Inconclusive The changed files are listed, but the PR title and exact commit subjects are unavailable; the required bug-fix signal cannot be verified from the permitted metadata. Provide the PR title and exact commit subjects, then re-evaluate whether the missing browser_tests/ regression coverage and explanation trigger the check.
✅ Passed checks (5 passed)
Check name Status Explanation
Description check ✅ Passed The description includes the required summary, changes, review focus, limitations, regression coverage, and screenshots, with clear scope and no breaking changes.
Title check ✅ Passed The title clearly and concisely identifies the fix for recovering legacy top-up state after returning from Stripe checkout.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Adr Compliance For Entity/Litegraph Changes ✅ Passed The changed files are limited to subscription and telemetry code; none are under src/lib/litegraph/, src/ecs/, or graph-entity files.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/payment-topup-refresh

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.

@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: 2

🤖 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/telemetry/topupTracker.test.ts`:
- Around line 240-253: Update the marker-age tests around
pendingTopupNeedsRefresh to use Vitest fake timers and a fixed
vi.setSystemTime() before deriving timestamps. Restore real timers after each
test, following the pattern in docs/testing/vitest-patterns.md, while preserving
the existing fresh and expired marker assertions.
- Around line 232-258: The pendingTopupNeedsRefresh tests should verify
observable storage state rather than removeItem call counts. Replace the
stateless getItem mock with a stateful storage fake or real test storage, then
assert the fresh marker remains after repeated checks and the expired marker is
absent after checking; keep the no-marker behavior assertion.
🪄 Autofix

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: fbba9e3d-db0a-4aa2-9c4a-7e2307a590f8

📥 Commits

Reviewing files that changed from the base of the PR and between 1485bb3 and 0868b1b.

📒 Files selected for processing (4)
  • src/platform/cloud/subscription/components/CreditsTile.test.ts
  • src/platform/cloud/subscription/components/CreditsTile.vue
  • src/platform/telemetry/topupTracker.test.ts
  • src/platform/telemetry/topupTracker.ts

Comment thread src/platform/telemetry/topupTracker.test.ts Outdated
Comment thread src/platform/telemetry/topupTracker.test.ts
@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##             main   #14886      +/-   ##
==========================================
+ Coverage   78.71%   78.78%   +0.07%     
==========================================
  Files        1804     1869      +65     
  Lines      107023   113081    +6058     
  Branches    30683    33536    +2853     
==========================================
+ Hits        84238    89095    +4857     
- Misses      22330    23491    +1161     
- Partials      455      495      +40     
Flag Coverage Δ
unit 72.39% <100.00%> (+0.84%) ⬆️

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

Files with missing lines Coverage Δ
...form/cloud/subscription/components/CreditsTile.vue 98.93% <100.00%> (+2.12%) ⬆️
src/platform/telemetry/topupTracker.ts 93.75% <100.00%> (-3.03%) ⬇️

... and 494 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dante01yoon dante01yoon changed the title fix: refresh credits after returning from checkout PR 004 fix: refresh credits after returning from checkout Aug 7, 2026
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Aug 7, 2026

@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: 1

🤖 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/cloud/subscription/components/CreditsTile.vue`:
- Around line 424-427: Update the legacy customer-events path in the refresh
flow around getMyEvents and handleRefresh so a null failure response is not
passed to checkForCompletedTopup or treated as success. Make getMyEvents reject
or rethrow its request error, preserve successful response handling, and add a
test covering legacy request failure followed by retry.
🪄 Autofix

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: f1aee5c4-4071-4197-80c6-890c6b16ddcd

📥 Commits

Reviewing files that changed from the base of the PR and between 0868b1b and 93e003d.

📒 Files selected for processing (4)
  • src/platform/cloud/subscription/components/CreditsTile.test.ts
  • src/platform/cloud/subscription/components/CreditsTile.vue
  • src/platform/telemetry/topupTracker.test.ts
  • src/platform/telemetry/topupTracker.ts

Comment thread src/platform/cloud/subscription/components/CreditsTile.vue Outdated
@dante01yoon dante01yoon added needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch core/1.49 Backport PRs for core 1.49 cloud/1.49 Backport PRs for cloud 1.49 labels Aug 7, 2026
@dante01yoon dante01yoon self-assigned this Aug 7, 2026

@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: 1

🤖 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/composables/auth/useAuthActions.test.ts`:
- Around line 143-154: Add a failure-path test alongside the existing
`purchaseCreditsDirect` checkout test, configuring `initiateCreditPurchase` to
reject or return no `checkout_url`; assert that both `mockStartTopupTracking`
and the spied `window.open` remain uncalled, while preserving the existing
successful-flow assertions.
🪄 Autofix

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: 46b7f5ff-bddc-42b3-8cda-5a072d30e67f

📥 Commits

Reviewing files that changed from the base of the PR and between 93e003d and b070623.

📒 Files selected for processing (1)
  • src/composables/auth/useAuthActions.test.ts

Comment thread src/composables/auth/useAuthActions.test.ts
@dante01yoon

dante01yoon commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator Author

Scope clarification: This PR fixes only the legacy billing top-up recovery path (/customers/credit). It preserves pending_topup_timestamp until a matching legacy credit_added event is observed and refreshes billing state when the editor mounts or regains focus.

The normal workspace/new billing top-up path is not changed; it already tracks completion using billing_op_id polling. The previously proposed workspace-event fallback has been removed to avoid mixing two different API contracts without a demonstrated rail-transition requirement.

Current flows, API-contract differences, risks, and possible unification are documented here:
https://app.notion.com/p/3b56d73d365081d1b9afd2d224673b73?pvs=204

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Aug 7, 2026
@dante01yoon dante01yoon changed the title PR 004 fix: refresh credits after returning from checkout fix: recover legacy top-up state after returning from Stripe checkout Aug 7, 2026

@christian-byrne christian-byrne 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.

Reviewing this as the PAY-004 fix. Context for anyone landing it: Marwan confirmed the six Pylon tickets (#16322, #16286, #16285, #16284, #16280, #16274) are all this same bug, the only workaround is a manual refresh, and one of those customers is threatening a formal payment dispute. This PR has been sitting blocked for a day on a single CodeRabbit nit asking for one extra test. That should not be what holds it.

The refresh design looks right to me — preserving the marker across focus events instead of consuming it on first focus, reconciling against /customers/events before clearing, treating a failed event request as a failed refresh so a later focus retries, and serializing overlapping refreshes with one trailing refresh. That directly addresses "the user refreshed and it worked", which is what the tickets describe.

One thing I do want an answer on before this lands.

issue: this narrows top-up detection to the legacy rail and deletes the test that covered the other one.

topupTracker.ts previously matched both event types:

(e.event_type === 'credit_added' || e.event_type === 'topup_completed') &&

with the comment "Legacy /customers/events emits credit_added; the unified /api/billing/events feed emits topup_completed." This PR drops the topup_completed arm, and also removes topupTracker.test.ts's "should detect completed topup for topup_completed (unified billing feed)" case rather than updating it.

checkForCompletedTopup is still reached from UsageLogsTable.vue:164 and CreditsTile.vue:430, and customerEventsService.ts:99 still treats topup_completed as a real event type, so the unified feed can still deliver that event to this code path. The PR body says the workspace/new flow is untouched because "workspace top-ups already track completion with billing_op_id polling" — that may well make the topup_completed arm redundant, but if so it is a deliberate behavioural removal and neither the diff nor the Changes list says so.

Two ways to resolve, either is fine by me:

  1. If the removal is deliberate, add it to the Changes list and keep a test asserting that topup_completed is intentionally ignored here, so the next person does not "restore" it. Deleting the covering test leaves no record that the behaviour was ever considered.
  2. If it is incidental, restore the topup_completed arm and its test.

Given the rails coexist during the migration, I would rather not silently reduce detection coverage on the exact code path we are fixing because it under-detected.

nitpick (non-blocking): getPendingTopupTimestamp now uses Number() where the old code used parseInt(..., 10). That is stricter and I think better — Number('12abc') is NaN and gets cleaned up, where parseInt would have accepted it — but combined with Number.isSafeInteger it means any previously-tolerated malformed marker is now dropped rather than honoured. Worth a line in the PR body since it changes recovery behaviour for existing stored markers.

Not blocking on either point. Once the topup_completed question has an answer, this should go in — it is a customer-facing P0 with an active dispute risk attached.

…ure paths

The narrowing to credit_added is deliberate (see 'scope top-up recovery to
legacy billing'), but the existing exclusion test only used unrelated event
types, so nothing recorded that topup_completed is skipped on purpose. A
future reader would reasonably restore it.

Also adds the direct-purchase failure paths CodeRabbit asked for: neither
tracking nor the checkout window should start when the purchase request
rejects or returns no checkout_url.

@christian-byrne christian-byrne 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.

Resolving my own review comment, and approving so this is not stuck over the weekend.

On the topup_completed question — it is deliberate, and I was missing the commit that says so. The head commit is literally "fix: scope top-up recovery to legacy billing". My concern was that the intent existed nowhere a future reader would find it: the removal is not in the PR body's Changes list, and the surviving exclusion test (should only match credit_added events, not other event types) only uses api_usage_completed and account_created, so nothing pinned the one event type that was deliberately dropped.

Since dante01yoon is out, I pushed the two small test additions rather than leave a P0 blocked on them (ce8a230):

  • topupTracker.test.ts — a case asserting topup_completed is ignored, named for the reason (the unified rail tracks completion via billing_op_id polling). Verified red: re-adding the topup_completed arm to the source makes it fail, so it genuinely pins the scope rather than passing incidentally.
  • useAuthActions.test.ts — the direct-purchase failure paths CodeRabbit asked for: neither startTopupTracking nor window.open fires when initiateCreditPurchase rejects or returns no checkout_url.

No production code touched. pnpm typecheck exit 0, 39 tests pass across the two files.

One thing still worth a line in the PR body before merge, not blocking: getPendingTopupTimestamp moved from parseInt(..., 10) to Number() + Number.isSafeInteger. That is stricter and I think correct, but it changes recovery behaviour for markers already in users' localStorage — a value parseInt would have tolerated is now discarded.

Approving. For anyone landing this: it is the fix for the six Pylon tickets (#16322, #16286, #16285, #16284, #16280, #16274), one of which has a customer threatening a formal payment dispute. Tracking is now at FE-1540.

Scope note carried over from that ticket, for follow-up rather than for this PR: this recovery keys off a pending top-up marker and hangs off CreditsTile. The tickets describe subscription-active users, and the Run gate has no recovery path of its own — CloudRunButtonWrapper's focus refetch is gated behind payment-recovery, so it never fires for a plain status desync. That gap is FE-1540 and I am picking it up separately.

@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: 1

🤖 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/telemetry/topupTracker.test.ts`:
- Around line 193-197: The test around checkForCompletedTopup must also assert
that the pending_topup_timestamp marker remains in localStorage after processing
the topup_completed event. Add a behavioral localStorage assertion alongside the
existing result and telemetry assertions, preserving the current expectations.
🪄 Autofix

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: 576c65ca-8ecb-4136-8bc1-e36d8c73af9f

📥 Commits

Reviewing files that changed from the base of the PR and between 1c75915 and ce8a230.

📒 Files selected for processing (2)
  • src/composables/auth/useAuthActions.test.ts
  • src/platform/telemetry/topupTracker.test.ts

Comment thread src/platform/telemetry/topupTracker.test.ts
@dante01yoon

Copy link
Copy Markdown
Collaborator Author

@coderabbitai approve

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Comments resolved and changes approved.

@dante01yoon
dante01yoon added this pull request to the merge queue Aug 10, 2026
Merged via the queue into main with commit 4640bbe Aug 10, 2026
115 of 120 checks passed
@dante01yoon
dante01yoon deleted the fix/payment-topup-refresh branch August 10, 2026 23:00
@github-actions

Copy link
Copy Markdown

⚠️ Backport to core/1.49 failed

Reason: Merge conflicts detected during cherry-pick of 4640bbe

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

📄 Conflicting files
src/composables/auth/useAuthActions.test.ts
🤖 Prompt for AI Agents
Backport PR #14886 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/14886) to core/1.49.
Cherry-pick merge commit 4640bbe271dfdb55adf9c9cefbbd1a4770e2a589 onto new branch
backport-14886-to-core-1.49 from origin/core/1.49.
Resolve conflicts in: src/composables/auth/useAuthActions.test.ts .



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

cc @dante01yoon

@github-actions

Copy link
Copy Markdown

⚠️ Backport to cloud/1.49 failed

Reason: Merge conflicts detected during cherry-pick of 4640bbe

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

📄 Conflicting files
src/composables/auth/useAuthActions.test.ts
🤖 Prompt for AI Agents
Backport PR #14886 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/14886) to cloud/1.49.
Cherry-pick merge commit 4640bbe271dfdb55adf9c9cefbbd1a4770e2a589 onto new branch
backport-14886-to-cloud-1.49 from origin/cloud/1.49.
Resolve conflicts in: src/composables/auth/useAuthActions.test.ts .



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

cc @dante01yoon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cloud/1.49 Backport PRs for cloud 1.49 core/1.49 Backport PRs for core 1.49 needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants