Skip to content

feat(billing): consolidate embedded checkout frontend - #14483

Merged
huntcsg merged 21 commits into
mainfrom
integration/embedded-checkout-frontend
Aug 25, 2026
Merged

huntcsg merged 21 commits into
mainfrom
integration/embedded-checkout-frontend

Conversation

@huntcsg

@huntcsg huntcsg commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Consolidates the complete embedded subscription checkout frontend onto current main as the single review tip, including the design stack, safety gates, exact quote contract UI, saved methods, and 3DS recovery.

Changes

Review Focus

Review exact quote freshness, reactivation safeguards, saved-method confirmation, and retryable/reconciliation 3DS states together.

Checks run locally: typecheck, browser fixture typecheck, format, lint/oxlint, knip, 231 billing-focused Vitest tests, and cloud Playwright test discovery.

Screenshots (if applicable)

AS IS / TO BE screenshots and preview will be attached after the combined environment exists.

@huntcsg
huntcsg requested a review from a team July 31, 2026 12:28
@dosubot dosubot Bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Jul 31, 2026
@dosubot

dosubot Bot commented Jul 31, 2026

Copy link
Copy Markdown

📄 Knowledge review

Dosu skipped reviewing this PR because your organization has used its 200 included credits for the month. Your usage will reset on 2026-08-01. To have Dosu review this PR before then, ask your organization admin to upgrade to a pro account.


Leave Feedback Ask Dosu about ComfyUI_frontend Add Dosu to your team

@coderabbitai

coderabbitai Bot commented Jul 31, 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

Changes

Subscription contracts and API wiring

Layer / File(s) Summary
Billing API and generated contracts
packages/ingest-types/*, src/platform/workspace/api/workspaceApi.ts, src/vite-env.d.ts, package.json, pnpm-workspace.yaml, .env_example
Added quote, promotion, saved-payment-method, confirmation-token, authentication, reconciliation, and payment-return fields. Added saved-payment-method listing and Stripe configuration support.
Payment authentication and reconciliation
src/platform/workspace/stores/billingOperationStore.ts, src/platform/workspace/stores/billingOperationStore.test.ts
Added Stripe handleNextAction, retryable authentication states, serialized polling, reconciliation handling, secret cleanup, and localized failure mapping.
Quote-aware checkout orchestration
src/platform/workspace/composables/useSubscriptionCheckout.ts, src/platform/workspace/composables/useSubscriptionCheckout.test.ts
Added saved-method loading, quote freshness checks, promotion application, stale-quote recovery, confirmation-token submission, payment return URLs, and authentication retry actions.
Stripe payment and subscription dialogs
src/platform/workspace/components/*Subscription*, src/platform/workspace/components/UnifiedStripePaymentSelector.vue, src/platform/workspace/components/TopUpCreditsDialogContentWorkspace.vue, src/locales/en/main.json, src/assets/css/style.css
Added embedded Stripe payment selection, saved methods, quote-based totals, promotion controls, authentication recovery, reconciliation guidance, responsive dialog states, and updated localization.
Payment-return processing
src/platform/cloud/subscription/utils/paymentReturnUrl.ts, src/platform/cloud/subscription/composables/usePaymentReturnUrlLoader.ts, src/composables/useUrlActionLoaders.ts, src/main.ts
Added payment-return URL generation, Stripe parameter cleanup, pending-return consumption, and billing-status refresh after cloud redirects.

Estimated code review effort: 5 (Critical) | ~120 minutes

Sequence Diagram(s)

sequenceDiagram
  participant CheckoutDialog
  participant useSubscriptionCheckout
  participant workspaceApi
  participant billingOperationStore
  participant Stripe
  CheckoutDialog->>useSubscriptionCheckout: submit quote and payment selection
  useSubscriptionCheckout->>workspaceApi: send quote, promotion, and payment fields
  workspaceApi->>billingOperationStore: start billing operation
  billingOperationStore->>Stripe: handleNextAction(client secret)
  Stripe-->>billingOperationStore: authentication result
  billingOperationStore-->>useSubscriptionCheckout: operation status
  useSubscriptionCheckout-->>CheckoutDialog: success, retry, or reconciliation state
Loading

Possibly related PRs

Suggested labels: cloud/1.49

Suggested reviewers: dante01yoon, christian-byrne


Important

Pre-merge checks failed

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

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
End-To-End Regression Coverage For Fixes ❓ Inconclusive The changed-file list is available, but the PR title and commit subjects are not provided; the required bug-fix signal cannot be verified. Provide the PR title and commit subjects, then reassess whether the missing browser_tests/ regression coverage triggers this check.
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the primary change: consolidating the embedded billing checkout frontend.
Description check ✅ Passed The description includes the required summary, changes, review focus, validation details, dependencies, and screenshot status.
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-file list contains no src/lib/litegraph/, src/ecs/, or graph-entity files, so this check does not apply.
✨ 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 integration/embedded-checkout-frontend

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

@github-actions

github-actions Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 08/25/2026, 05:43:08 AM UTC

Links

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

📊 Browser Reports
  • chromium: View Report (✅ 1974 / ❌ 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: 9.35 MB gzip 🔴 +13.2 kB

Details

Summary

  • Raw size: 39.6 MB baseline 39.5 MB — 🔴 +67.4 kB
  • Gzip: 9.35 MB baseline 9.34 MB — 🔴 +13.2 kB
  • Brotli: 6.56 MB baseline 6.55 MB — 🔴 +10.6 kB
  • Bundles: 445 current • 444 baseline • 204 added / 203 removed

Category Glance
Other 🔴 +42.3 kB (15.1 MB) · Data & Services 🔴 +18.4 kB (3.47 MB) · Vendor & Third-Party 🔴 +6.21 kB (18.1 MB) · Utilities & Hooks 🔴 +329 B (550 kB) · Graph Workspace 🔴 +82 B (1.4 MB) · Views & Navigation 🔴 +41 B (124 kB) · + 5 more

App Entry Points — 3.74 kB (baseline 3.71 kB) • 🔴 +36 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-By90eJhS.js (new) — 3.74 kB 🔴 +3.74 kB 🔴 +1.88 kB 🔴 +1.62 kB
assets/index-D3IRshtH.js (removed) 3.71 kB — 🟢 -3.71 kB 🟢 -1.85 kB 🟢 -1.6 kB

Status: 1 added / 1 removed

Graph Workspace — 1.4 MB (baseline 1.4 MB) • 🔴 +82 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-jef0Nu8T.js (new) — 1.39 MB 🔴 +1.39 MB 🔴 +305 kB 🔴 +229 kB
assets/GraphView-BczpGJOf.js (removed) 1.39 MB — 🟢 -1.39 MB 🟢 -305 kB 🟢 -229 kB
assets/WidgetCompositor-BbYEPjQB.js (removed) 8.17 kB — 🟢 -8.17 kB 🟢 -2.76 kB 🟢 -2.48 kB
assets/WidgetCompositor-DHO-84wp.js (new) — 8.17 kB 🔴 +8.17 kB 🔴 +2.76 kB 🔴 +2.46 kB

Status: 2 added / 2 removed / 1 unchanged

Views & Navigation — 124 kB (baseline 124 kB) • 🔴 +41 B

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-Aox6G5qN.js (removed) 25 kB — 🟢 -25 kB 🟢 -6.24 kB 🟢 -5.52 kB
assets/CloudSurveyView-joLbp2WV.js (new) — 25 kB 🔴 +25 kB 🔴 +6.24 kB 🔴 +5.53 kB
assets/CloudLayoutView-7ng_pK8g.js (removed) 21.8 kB — 🟢 -21.8 kB 🟢 -6.56 kB 🟢 -5.74 kB
assets/CloudLayoutView-cRRw1R6F.js (new) — 21.8 kB 🔴 +21.8 kB 🔴 +6.56 kB 🔴 +5.75 kB
assets/OAuthConsentView-Cz2f2Fvc.js (new) — 15.5 kB 🔴 +15.5 kB 🔴 +4.25 kB 🔴 +3.72 kB
assets/OAuthConsentView-D7kYOfdK.js (removed) 15.5 kB — 🟢 -15.5 kB 🟢 -4.25 kB 🟢 -3.71 kB
assets/UserCheckView-BQKEg8KP.js (removed) 8.75 kB — 🟢 -8.75 kB 🟢 -2.19 kB 🟢 -1.9 kB
assets/UserCheckView-DDVt-Tjj.js (new) — 8.75 kB 🔴 +8.75 kB 🔴 +2.19 kB 🔴 +1.9 kB
assets/CloudLoginView-D_vlJ7vw.js (removed) 8.74 kB — 🟢 -8.74 kB 🟢 -2.55 kB 🟢 -2.25 kB
assets/CloudLoginView-D73Xev2f.js (new) — 8.74 kB 🔴 +8.74 kB 🔴 +2.55 kB 🔴 +2.25 kB
assets/useCloudAuthPage-BwysUKKj.js (removed) 7.08 kB — 🟢 -7.08 kB 🟢 -2.52 kB 🟢 -2.22 kB
assets/useCloudAuthPage-CWeZPyf3.js (new) — 7.08 kB 🔴 +7.08 kB 🔴 +2.52 kB 🔴 +2.2 kB
assets/CloudSignupView-Bg3Pdvvo.js (new) — 6.96 kB 🔴 +6.96 kB 🔴 +2.28 kB 🔴 +2 kB
assets/CloudSignupView-ChUhdW4w.js (removed) 6.96 kB — 🟢 -6.96 kB 🟢 -2.27 kB 🟢 -2 kB
assets/CloudSubscriptionRedirectView-D7xBS1dc.js (new) — 6.09 kB 🔴 +6.09 kB 🔴 +2.27 kB 🔴 +1.98 kB
assets/WidgetTextPreview-8hCLxutc.js (removed) 6.07 kB — 🟢 -6.07 kB 🟢 -2.13 kB 🟢 -1.89 kB
assets/WidgetTextPreview-BXDj2awN.js (new) — 6.07 kB 🔴 +6.07 kB 🔴 +2.13 kB 🔴 +1.9 kB
assets/CloudSubscriptionRedirectView-BlNIcZ_g.js (removed) 6.05 kB — 🟢 -6.05 kB 🟢 -2.25 kB 🟢 -1.97 kB
assets/UserSelectView-BtbV7BWQ.js (removed) 5.49 kB — 🟢 -5.49 kB 🟢 -1.95 kB 🟢 -1.71 kB
assets/UserSelectView-DlaTxMqE.js (new) — 5.49 kB 🔴 +5.49 kB 🔴 +1.96 kB 🔴 +1.71 kB
assets/CloudForgotPasswordView-CXgctFcT.js (new) — 4.97 kB 🔴 +4.97 kB 🔴 +1.72 kB 🔴 +1.49 kB
assets/CloudForgotPasswordView-D6cV-NpY.js (removed) 4.97 kB — 🟢 -4.97 kB 🟢 -1.72 kB 🟢 -1.49 kB
assets/CloudAuthTimeoutView-BR4RlIgC.js (new) — 4.43 kB 🔴 +4.43 kB 🔴 +1.54 kB 🔴 +1.33 kB
assets/CloudAuthTimeoutView-DM8NQKXW.js (removed) 4.43 kB — 🟢 -4.43 kB 🟢 -1.54 kB 🟢 -1.33 kB
assets/OAuthLayoutView-0TeqdGmH.js (removed) 1.31 kB — 🟢 -1.31 kB 🟢 -701 B 🟢 -590 B
assets/OAuthLayoutView-Dqe4KQyz.js (new) — 1.31 kB 🔴 +1.31 kB 🔴 +700 B 🔴 +594 B
assets/layout-2AgNSWNo.js (removed) 403 B — 🟢 -403 B 🟢 -252 B 🟢 -207 B
assets/layout-7BemI4Av.js (new) — 403 B 🔴 +403 B 🔴 +254 B 🔴 +207 B
assets/WidgetTextPreview-B59wjh0y.js (removed) 131 B — 🟢 -131 B 🟢 -100 B 🟢 -88 B
assets/WidgetTextPreview-DKCNHrzS.js (new) — 131 B 🔴 +131 B 🔴 +100 B 🔴 +88 B

Status: 15 added / 15 removed / 2 unchanged

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

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/KeybindingPanel-BO-a7Bsq.js (new) — 49.4 kB 🔴 +49.4 kB 🔴 +9.94 kB 🔴 +8.8 kB
assets/KeybindingPanel-Gjak_jFa.js (removed) 49.4 kB — 🟢 -49.4 kB 🟢 -9.95 kB 🟢 -8.8 kB
assets/CreditsPanel-BjiaER97.js (removed) 36.7 kB — 🟢 -36.7 kB 🟢 -8.91 kB 🟢 -7.8 kB
assets/CreditsPanel-CKwTzY4z.js (new) — 36.7 kB 🔴 +36.7 kB 🔴 +8.92 kB 🔴 +7.82 kB
assets/SecretsPanel-DMMzKDPJ.js (new) — 33.7 kB 🔴 +33.7 kB 🔴 +7.87 kB 🔴 +6.91 kB
assets/SecretsPanel-ZnAJ74ss.js (removed) 33.7 kB — 🟢 -33.7 kB 🟢 -7.87 kB 🟢 -6.9 kB
assets/AboutPanel-CWZ5Xi4X.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.12 kB 🟢 -2.8 kB
assets/AboutPanel-pa_iKv5M.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.12 kB 🔴 +2.81 kB
assets/ExtensionPanel-CgvX-1XU.js (removed) 9.19 kB — 🟢 -9.19 kB 🟢 -2.5 kB 🟢 -2.22 kB
assets/ExtensionPanel-oqwCegGU.js (new) — 9.19 kB 🔴 +9.19 kB 🔴 +2.51 kB 🔴 +2.23 kB
assets/ServerConfigPanel-BEA34ZR8.js (removed) 6.09 kB — 🟢 -6.09 kB 🟢 -1.94 kB 🟢 -1.72 kB
assets/ServerConfigPanel-BeAyBPc9.js (new) — 6.09 kB 🔴 +6.09 kB 🔴 +1.94 kB 🔴 +1.72 kB
assets/UserPanel-CJNVXUr5.js (new) — 5.73 kB 🔴 +5.73 kB 🔴 +1.78 kB 🔴 +1.54 kB
assets/UserPanel-Dyge7vWg.js (removed) 5.73 kB — 🟢 -5.73 kB 🟢 -1.78 kB 🟢 -1.54 kB
assets/refreshRemoteConfig-BDHSdHgc.js (new) — 4.24 kB 🔴 +4.24 kB 🔴 +1.51 kB 🔴 +1.33 kB
assets/refreshRemoteConfig-Bz5sVY8P.js (removed) 4.24 kB — 🟢 -4.24 kB 🟢 -1.51 kB 🟢 -1.33 kB
assets/cloudRemoteConfig-AnFstwmv.js (removed) 951 B — 🟢 -951 B 🟢 -512 B 🟢 -430 B
assets/cloudRemoteConfig-CY6nr9Q0.js (new) — 951 B 🔴 +951 B 🔴 +509 B 🔴 +416 B
assets/CreditsPanel-C2xvrwrw.js (removed) 116 B — 🟢 -116 B 🟢 -95 B 🟢 -93 B
assets/CreditsPanel-RWwl-MjR.js (new) — 116 B 🔴 +116 B 🔴 +95 B 🔴 +90 B
assets/refreshRemoteConfig-CIvYxRaS.js (removed) 110 B — 🟢 -110 B 🟢 -89 B 🟢 -83 B
assets/refreshRemoteConfig-Czrmhd88.js (new) — 110 B 🔴 +110 B 🔴 +89 B 🔴 +87 B

Status: 11 added / 11 removed / 16 unchanged

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

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SignUpForm-DusGpChc.js (removed) 13.3 kB — 🟢 -13.3 kB 🟢 -4.52 kB 🟢 -3.93 kB
assets/SignUpForm-IGOiwQfN.js (new) — 13.3 kB 🔴 +13.3 kB 🔴 +4.52 kB 🔴 +3.93 kB
assets/auth-BZNpslFR.js (new) — 3.48 kB 🔴 +3.48 kB 🔴 +1.21 kB 🔴 +1.01 kB
assets/auth-Cwo9xsYL.js (removed) 3.48 kB — 🟢 -3.48 kB 🟢 -1.21 kB 🟢 -1.01 kB
assets/UpdatePasswordContent-DgFdB-q6.js (new) — 1.85 kB 🔴 +1.85 kB 🔴 +840 B 🔴 +733 B
assets/UpdatePasswordContent-DwWziT1l.js (removed) 1.85 kB — 🟢 -1.85 kB 🟢 -839 B 🟢 -734 B
assets/authStore-4tqFVpEv.js (new) — 128 B 🔴 +128 B 🔴 +107 B 🔴 +102 B
assets/authStore-BdI9TI-k.js (removed) 128 B — 🟢 -128 B 🟢 -107 B 🟢 -104 B
assets/workspaceAuthStore-CS6UmcX4.js (removed) 108 B — 🟢 -108 B 🟢 -99 B 🟢 -103 B
assets/workspaceAuthStore-CzAjdapH.js (new) — 108 B 🔴 +108 B 🔴 +99 B 🔴 +106 B
assets/auth-bctwpLoN.js (new) — 105 B 🔴 +105 B 🔴 +96 B 🔴 +85 B
assets/auth-BpwBGlbq.js (removed) 105 B — 🟢 -105 B 🟢 -96 B 🟢 -94 B

Status: 6 added / 6 removed / 5 unchanged

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

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyHubPublishDialog-B8iEivh3.js (removed) 90.1 kB — 🟢 -90.1 kB 🟢 -19.3 kB 🟢 -16.5 kB
assets/ComfyHubPublishDialog-D6izRk6h.js (new) — 90.1 kB 🔴 +90.1 kB 🔴 +19.3 kB 🔴 +16.5 kB
assets/useShareDialog-CHnuSFCe.js (removed) 23.9 kB — 🟢 -23.9 kB 🟢 -5.69 kB 🟢 -5.03 kB
assets/useShareDialog-egV641Ut.js (new) — 23.9 kB 🔴 +23.9 kB 🔴 +5.7 kB 🔴 +5.04 kB
assets/feedbackDialog-BUBmKE0W.js (new) — 4.45 kB 🔴 +4.45 kB 🔴 +1.86 kB 🔴 +1.59 kB
assets/feedbackDialog-D-KmW9jz.js (removed) 4.45 kB — 🟢 -4.45 kB 🟢 -1.86 kB 🟢 -1.59 kB
assets/useRangeEditor-Defg1L42.js (new) — 3.29 kB 🔴 +3.29 kB 🔴 +1.14 kB 🔴 +1.06 kB
assets/useRangeEditor-KxYrwcOX.js (removed) 3.29 kB — 🟢 -3.29 kB 🟢 -1.14 kB 🟢 -1.06 kB
assets/SubscriptionInactiveMemberDialog-BrvI_NG_.js (removed) 2.48 kB — 🟢 -2.48 kB 🟢 -997 B 🟢 -851 B
assets/SubscriptionInactiveMemberDialog-CDMFV0GO.js (new) — 2.48 kB 🔴 +2.48 kB 🔴 +998 B 🔴 +851 B
assets/useLayerEditor-atrU7YzC.js (new) — 1.01 kB 🔴 +1.01 kB 🔴 +490 B 🔴 +407 B
assets/useLayerEditor-wr_MX0DO.js (removed) 1.01 kB — 🟢 -1.01 kB 🟢 -491 B 🟢 -408 B
assets/ComfyHubPublishDialog-DRE7EnQ1.js (new) — 143 B 🔴 +143 B 🔴 +105 B 🔴 +91 B
assets/ComfyHubPublishDialog-xVWo4vQ7.js (removed) 143 B — 🟢 -143 B 🟢 -105 B 🟢 -90 B
assets/useSubscriptionDialog-BxT01s6u.js (new) — 108 B 🔴 +108 B 🔴 +102 B 🔴 +97 B
assets/useSubscriptionDialog-DBcvVpS4.js (removed) 108 B — 🟢 -108 B 🟢 -102 B 🟢 -90 B

Status: 8 added / 8 removed

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

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useMoreOptionsMenu-CRSA7OkS.js (removed) 45 kB — 🟢 -45 kB 🟢 -10.8 kB 🟢 -9.35 kB
assets/useMoreOptionsMenu-DjEUlyu7.js (new) — 45 kB 🔴 +45 kB 🔴 +10.8 kB 🔴 +9.35 kB
assets/ComfyQueueButton-CkHUzCVj.js (new) — 14.6 kB 🔴 +14.6 kB 🔴 +3.97 kB 🔴 +3.53 kB
assets/ComfyQueueButton-DTiqG4S6.js (removed) 14.6 kB — 🟢 -14.6 kB 🟢 -3.97 kB 🟢 -3.52 kB
assets/useTerminalTabs-BZ4yqSyb.js (new) — 11.8 kB 🔴 +11.8 kB 🔴 +3.69 kB 🔴 +3.27 kB
assets/useTerminalTabs-DmNUTghX.js (removed) 11.8 kB — 🟢 -11.8 kB 🟢 -3.69 kB 🟢 -3.27 kB
assets/InviteMembersForm-2kCpOvB3.js (new) — 8.23 kB 🔴 +8.23 kB 🔴 +2.74 kB 🔴 +2.43 kB
assets/InviteMembersForm-BwdndyYS.js (removed) 8.23 kB — 🟢 -8.23 kB 🟢 -2.74 kB 🟢 -2.45 kB
assets/TopbarBadge-CJOCElDc.js (removed) 7.65 kB — 🟢 -7.65 kB 🟢 -1.83 kB 🟢 -1.62 kB
assets/TopbarBadge-o-XXSOt_.js (new) — 7.65 kB 🔴 +7.65 kB 🔴 +1.83 kB 🔴 +1.62 kB
assets/ScrubableNumberInput-B_ro9sfO.js (removed) 6.49 kB — 🟢 -6.49 kB 🟢 -2.17 kB 🟢 -1.92 kB
assets/ScrubableNumberInput-Ddl_353R.js (new) — 6.49 kB 🔴 +6.49 kB 🔴 +2.17 kB 🔴 +1.92 kB
assets/WidgetInputNumberInput-DazSl-UV.js (new) — 5.83 kB 🔴 +5.83 kB 🔴 +2.07 kB 🔴 +1.85 kB
assets/WidgetInputNumberInput-DBTIotZ1.js (removed) 5.83 kB — 🟢 -5.83 kB 🟢 -2.07 kB 🟢 -1.84 kB
assets/Button-D2pl4KJe.js (removed) 4.64 kB — 🟢 -4.64 kB 🟢 -1.62 kB 🟢 -1.42 kB
assets/Button-DJMuJrk2.js (new) — 4.64 kB 🔴 +4.64 kB 🔴 +1.62 kB 🔴 +1.42 kB
assets/SubscribeButton-BjumjQng.js (removed) 2.15 kB — 🟢 -2.15 kB 🟢 -968 B 🟢 -847 B
assets/SubscribeButton-Dpn0C8A8.js (new) — 2.15 kB 🔴 +2.15 kB 🔴 +970 B 🔴 +856 B
assets/WidgetButton-AtrL9JNP.js (removed) 1.91 kB — 🟢 -1.91 kB 🟢 -887 B 🟢 -773 B
assets/WidgetButton-DjEu6Riy.js (new) — 1.91 kB 🔴 +1.91 kB 🔴 +887 B 🔴 +774 B
assets/Input-B5ScUGO7.js (removed) 1.76 kB — 🟢 -1.76 kB 🟢 -872 B 🟢 -768 B
assets/Input-D6bFcUog.js (new) — 1.76 kB 🔴 +1.76 kB 🔴 +872 B 🔴 +765 B
assets/cloudFeedbackTopbarButton-BPTN2dLa.js (removed) 705 B — 🟢 -705 B 🟢 -420 B 🟢 -378 B
assets/cloudFeedbackTopbarButton-CJcTBEqD.js (new) — 705 B 🔴 +705 B 🔴 +419 B 🔴 +362 B
assets/ComfyQueueButton-Bk_NSoNe.js (new) — 128 B 🔴 +128 B 🔴 +99 B 🔴 +91 B
assets/ComfyQueueButton-DpuJYBYp.js (removed) 128 B — 🟢 -128 B 🟢 -99 B 🟢 -87 B
assets/toggle-group-Bncp3Mpq.js (new) — 40 B 🔴 +40 B 🔴 +60 B 🔴 +44 B
assets/toggle-group-DEWGipqL.js (removed) 40 B — 🟢 -40 B 🟢 -60 B 🟢 -44 B

Status: 14 added / 14 removed / 1 unchanged

Data & Services — 3.47 MB (baseline 3.45 MB) • 🔴 +18.4 kB

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/settingStore-S9Dpp9Ic.js (new) — 3.16 MB 🔴 +3.16 MB 🔴 +741 kB 🔴 +559 kB
assets/settingStore-CUFjqjnf.js (removed) 3.14 MB — 🟢 -3.14 MB 🟢 -737 kB 🟢 -556 kB
assets/api-BUB7Gogj.js (new) — 179 kB 🔴 +179 kB 🔴 +40.4 kB 🔴 +33.9 kB
assets/api-DGlOkc1J.js (removed) 179 kB — 🟢 -179 kB 🟢 -40.4 kB 🟢 -33.9 kB
assets/load3dService-BkTMzYh9.js (new) — 87 kB 🔴 +87 kB 🔴 +20.4 kB 🔴 +17.6 kB
assets/load3dService-D5LI4kmn.js (removed) 87 kB — 🟢 -87 kB 🟢 -20.4 kB 🟢 -17.6 kB
assets/workflowShareService-Cmnhjxk7.js (removed) 16.5 kB — 🟢 -16.5 kB 🟢 -4.91 kB 🟢 -4.34 kB
assets/workflowShareService-Dzbh5JnQ.js (new) — 16.5 kB 🔴 +16.5 kB 🔴 +4.91 kB 🔴 +4.34 kB
assets/keybindingService-B-J6QSIA.js (new) — 6.95 kB 🔴 +6.95 kB 🔴 +1.75 kB 🔴 +1.51 kB
assets/keybindingService-DacOyw2k.js (removed) 6.95 kB — 🟢 -6.95 kB 🟢 -1.75 kB 🟢 -1.51 kB
assets/releaseStore-B9ceB5mK.js (new) — 6.72 kB 🔴 +6.72 kB 🔴 +2.03 kB 🔴 +1.77 kB
assets/releaseStore-DSLWJ4mw.js (removed) 6.72 kB — 🟢 -6.72 kB 🟢 -2.03 kB 🟢 -1.77 kB
assets/dialogStore-Cn_hEx5F.js (new) — 5.35 kB 🔴 +5.35 kB 🔴 +1.64 kB 🔴 +1.43 kB
assets/dialogStore-NiMHW0V4.js (removed) 5.35 kB — 🟢 -5.35 kB 🟢 -1.64 kB 🟢 -1.44 kB
assets/extensionStore-D14V14t7.js (new) — 4.93 kB 🔴 +4.93 kB 🔴 +1.75 kB 🔴 +1.47 kB
assets/extensionStore-SQxj68jG.js (removed) 4.93 kB — 🟢 -4.93 kB 🟢 -1.75 kB 🟢 -1.47 kB
assets/userStore-68jDX5I-.js (new) — 2.38 kB 🔴 +2.38 kB 🔴 +898 B 🔴 +795 B
assets/userStore-CD7NNuvk.js (removed) 2.38 kB — 🟢 -2.38 kB 🟢 -898 B 🟢 -795 B
assets/audioService-CssKGOFL.js (removed) 1.71 kB — 🟢 -1.71 kB 🟢 -830 B 🟢 -723 B
assets/audioService-g4hK2k1E.js (new) — 1.71 kB 🔴 +1.71 kB 🔴 +830 B 🔴 +722 B
assets/dialogService-CnFLiVoy.js (new) — 98 B 🔴 +98 B 🔴 +97 B 🔴 +81 B
assets/dialogService-CsB13de-.js (removed) 98 B — 🟢 -98 B 🟢 -97 B 🟢 -83 B
assets/releaseStore-D9XTtFd7.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -93 B
assets/releaseStore-DeDB-v2l.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +86 B
assets/settingStore-CKyyvjnQ.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +87 B
assets/settingStore-D2kRPBkZ.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -82 B
assets/assetsStore-9XdIh_QG.js (new) — 94 B 🔴 +94 B 🔴 +92 B 🔴 +81 B
assets/assetsStore-BmcvTerR.js (removed) 94 B — 🟢 -94 B 🟢 -92 B 🟢 -85 B
assets/api-BbK02-Lu.js (new) — 62 B 🔴 +62 B 🔴 +74 B 🔴 +66 B
assets/api-xN1ifi1Q.js (removed) 62 B — 🟢 -62 B 🟢 -74 B 🟢 -66 B

Status: 15 added / 15 removed / 2 unchanged

Utilities & Hooks — 550 kB (baseline 549 kB) • 🔴 +329 B

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useConflictDetection-BaKcyyc6.js (removed) 236 kB — 🟢 -236 kB 🟢 -53.1 kB 🟢 -43.2 kB
assets/useConflictDetection-DONITqCY.js (new) — 236 kB 🔴 +236 kB 🔴 +53.1 kB 🔴 +43.2 kB
assets/useLayerEditorSession-B9F0RrwM.js (removed) 158 kB — 🟢 -158 kB 🟢 -40.8 kB 🟢 -34.3 kB
assets/useLayerEditorSession-CvRxx1_E.js (new) — 158 kB 🔴 +158 kB 🔴 +40.8 kB 🔴 +34.3 kB
assets/useLoad3d-LbARWrpf.js (new) — 26.2 kB 🔴 +26.2 kB 🔴 +5.91 kB 🔴 +5.25 kB
assets/useLoad3d-RqickPSC.js (removed) 26.2 kB — 🟢 -26.2 kB 🟢 -5.92 kB 🟢 -5.25 kB
assets/useLoad3dViewer-BOmctDtw.js (removed) 21.2 kB — 🟢 -21.2 kB 🟢 -4.98 kB 🟢 -4.36 kB
assets/useLoad3dViewer-DMs-cfT9.js (new) — 21.2 kB 🔴 +21.2 kB 🔴 +4.98 kB 🔴 +4.36 kB
assets/useImageCrop-BG9QoGu6.js (new) — 14.9 kB 🔴 +14.9 kB 🔴 +3.42 kB 🔴 +2.98 kB
assets/useImageCrop-BTXnwZj_.js (removed) 14.9 kB — 🟢 -14.9 kB 🟢 -3.42 kB 🟢 -2.98 kB
assets/useDowngradeToPersonal-B8qdKtIU.js (removed) 10.9 kB — 🟢 -10.9 kB 🟢 -2.73 kB 🟢 -2.35 kB
assets/useDowngradeToPersonal-R8-pFoRI.js (new) — 10.9 kB 🔴 +10.9 kB 🔴 +2.73 kB 🔴 +2.35 kB
assets/useFeatureFlags-CRCXoh77.js (new) — 7.58 kB 🔴 +7.58 kB 🔴 +2.15 kB 🔴 +1.81 kB
assets/useFeatureFlags-DjWbvsbo.js (removed) 7.25 kB — 🟢 -7.25 kB 🟢 -2.05 kB 🟢 -1.76 kB
assets/useCompositorLayers-CHdJmOGc.js (removed) 2.94 kB — 🟢 -2.94 kB 🟢 -897 B 🟢 -803 B
assets/useCompositorLayers-CnHzo8Li.js (new) — 2.94 kB 🔴 +2.94 kB 🔴 +897 B 🔴 +802 B
assets/useExternalLink-CEk853cR.js (new) — 2.85 kB 🔴 +2.85 kB 🔴 +1.07 kB 🔴 +922 B
assets/useExternalLink-DEU0jLFW.js (removed) 2.85 kB — 🟢 -2.85 kB 🟢 -1.07 kB 🟢 -922 B
assets/assetPreviewUtil-B2DVQ0A-.js (removed) 2.35 kB — 🟢 -2.35 kB 🟢 -969 B 🟢 -844 B
assets/assetPreviewUtil-BPvWHdaL.js (new) — 2.35 kB 🔴 +2.35 kB 🔴 +968 B 🔴 +846 B
assets/downloadUtil-BXBzIs3W.js (removed) 2.04 kB — 🟢 -2.04 kB 🟢 -907 B 🟢 -727 B
assets/downloadUtil-Dt5zGycB.js (new) — 2.04 kB 🔴 +2.04 kB 🔴 +907 B 🔴 +727 B
assets/useUpstreamValue-B7YESlsE.js (new) — 1.97 kB 🔴 +1.97 kB 🔴 +750 B 🔴 +695 B
assets/useUpstreamValue-Dn-vEv8S.js (removed) 1.97 kB — 🟢 -1.97 kB 🟢 -748 B 🟢 -661 B
assets/useWorkspaceTierLabel-BcTUdnTs.js (new) — 1.97 kB 🔴 +1.97 kB 🔴 +841 B 🔴 +715 B
assets/useWorkspaceTierLabel-N66KEk-t.js (removed) 1.97 kB — 🟢 -1.97 kB 🟢 -843 B 🟢 -714 B
assets/useErrorHandling-CagADUMe.js (new) — 1.49 kB 🔴 +1.49 kB 🔴 +615 B 🔴 +522 B
assets/useErrorHandling-pk06q9dn.js (removed) 1.49 kB — 🟢 -1.49 kB 🟢 -615 B 🟢 -530 B
assets/subscriptionCheckoutUtil-CkV6DUA-.js (removed) 877 B — 🟢 -877 B 🟢 -524 B 🟢 -432 B
assets/subscriptionCheckoutUtil-ysxb0svd.js (new) — 877 B 🔴 +877 B 🔴 +522 B 🔴 +435 B
assets/useSessionCookie-BICK1Qe0.js (new) — 652 B 🔴 +652 B 🔴 +336 B 🔴 +314 B
assets/useSessionCookie-DaKKIMUf.js (removed) 652 B — 🟢 -652 B 🟢 -335 B 🟢 -293 B
assets/useLoad3d-BpMwkNYk.js (removed) 311 B — 🟢 -311 B 🟢 -162 B 🟢 -147 B
assets/useLoad3d-HSD-5-do.js (new) — 311 B 🔴 +311 B 🔴 +163 B 🔴 +147 B
assets/useSessionCookie-BqWlGX-P.js (removed) 101 B — 🟢 -101 B 🟢 -86 B 🟢 -84 B
assets/useSessionCookie-Buer1pNT.js (new) — 101 B 🔴 +101 B 🔴 +86 B 🔴 +79 B
assets/useFeatureFlags-EWywjjU-.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -79 B
assets/useFeatureFlags-fPK0GzoU.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +84 B
assets/useLoad3dViewer-BjflFF25.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +84 B
assets/useLoad3dViewer-C9lHtw50.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -83 B
assets/useCurrentUser-BA7nIUCe.js (new) — 94 B 🔴 +94 B 🔴 +95 B 🔴 +84 B
assets/useCurrentUser-Bql-AtL6.js (removed) 94 B — 🟢 -94 B 🟢 -95 B 🟢 -83 B

Status: 21 added / 21 removed / 16 unchanged

Vendor & Third-Party — 18.1 MB (baseline 18.1 MB) • 🔴 +6.21 kB

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-other-4nlT1zAb.js (new) — 3.5 MB 🔴 +3.5 MB 🔴 +741 kB 🔴 +567 kB
assets/vendor-other-B2Q0WDjS.js (removed) 3.5 MB — 🟢 -3.5 MB 🟢 -739 kB 🟢 -566 kB

Status: 1 added / 1 removed / 17 unchanged

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

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/main-BzqXvq2k.js (new) — 211 kB 🔴 +211 kB 🔴 +61.5 kB 🔴 +51.5 kB
assets/main-DZ2QvWFv.js (removed) 209 kB — 🟢 -209 kB 🟢 -60.8 kB 🟢 -51 kB
assets/core-BZzJ6zcE.js (new) — 116 kB 🔴 +116 kB 🔴 +30.2 kB 🔴 +25.5 kB
assets/core-DnWULdJO.js (removed) 116 kB — 🟢 -116 kB 🟢 -30.2 kB 🟢 -25.6 kB
assets/WorkspaceSettingsPanelContent-DIBRqVfR.js (new) — 109 kB 🔴 +109 kB 🔴 +21.4 kB 🔴 +18 kB
assets/WorkspaceSettingsPanelContent-DqoaEgz4.js (removed) 109 kB — 🟢 -109 kB 🟢 -21.4 kB 🟢 -18 kB
assets/SubscriptionTransitionPreviewWorkspace-B5NGg6Jx.js (new) — 96.6 kB 🔴 +96.6 kB 🔴 +18.6 kB 🔴 +15.7 kB
assets/WidgetSelect-C4VsrwKc.js (new) — 88.7 kB 🔴 +88.7 kB 🔴 +20.1 kB 🔴 +17.2 kB
assets/WidgetSelect-ifU-Ux_b.js (removed) 88.7 kB — 🟢 -88.7 kB 🟢 -20.1 kB 🟢 -17.2 kB
assets/WidgetVideoEdit-CkICq34Q.js (removed) 72.7 kB — 🟢 -72.7 kB 🟢 -17.2 kB 🟢 -15.1 kB
assets/WidgetVideoEdit-DgoJalN5.js (new) — 72.7 kB 🔴 +72.7 kB 🔴 +17.2 kB 🔴 +15.1 kB
assets/Load3D-CksM2VhK.js (new) — 72.1 kB 🔴 +72.1 kB 🔴 +11.9 kB 🔴 +10.2 kB
assets/Load3D-D4PrgtXR.js (removed) 72.1 kB — 🟢 -72.1 kB 🟢 -11.9 kB 🟢 -10.2 kB
assets/CameraInfo-C4sysegC.js (new) — 67 kB 🔴 +67 kB 🔴 +14.5 kB 🔴 +12.7 kB
assets/CameraInfo-CT4P9tRC.js (removed) 67 kB — 🟢 -67 kB 🟢 -14.5 kB 🟢 -12.7 kB
assets/SubscriptionTransitionPreviewWorkspace-BariAAWm.js (removed) 66.4 kB — 🟢 -66.4 kB 🟢 -13.4 kB 🟢 -11.7 kB
assets/Preview3d-BtMMx5yQ.js (new) — 52.6 kB 🔴 +52.6 kB 🔴 +8.59 kB 🔴 +7.51 kB
assets/Preview3d-C6FJWTFN.js (removed) 52.6 kB — 🟢 -52.6 kB 🟢 -8.59 kB 🟢 -7.5 kB
assets/SubscriptionRequiredDialogContentUnified-Dwau__Td.js (new) — 51.6 kB 🔴 +51.6 kB 🔴 +10.7 kB 🔴 +9.32 kB
assets/main-BjILSUa8.js (new) — 47.5 kB 🔴 +47.5 kB 🔴 +13.7 kB 🔴 +11.9 kB
assets/main-DujsiX9T.js (removed) 47.5 kB — 🟢 -47.5 kB 🟢 -13.7 kB 🟢 -11.9 kB
assets/Viewport3d-CTscj70Q.js (new) — 47.5 kB 🔴 +47.5 kB 🔴 +10.1 kB 🔴 +8.92 kB
assets/Viewport3d-CYbfusM7.js (removed) 47.5 kB — 🟢 -47.5 kB 🟢 -10.1 kB 🟢 -8.91 kB
assets/SubscriptionRequiredDialogContentUnified-B1hZ1QHC.js (removed) 42.7 kB — 🟢 -42.7 kB 🟢 -9.38 kB 🟢 -8.19 kB
assets/LayerEditorContent-BwlvrJmy.js (removed) 42.5 kB — 🟢 -42.5 kB 🟢 -9.62 kB 🟢 -8.43 kB
assets/LayerEditorContent-DNs44Q8m.js (new) — 42.5 kB 🔴 +42.5 kB 🔴 +9.62 kB 🔴 +8.43 kB
assets/WidgetBoundingBoxes-BuNfbFhs.js (removed) 33.7 kB — 🟢 -33.7 kB 🟢 -9.16 kB 🟢 -8.12 kB
assets/WidgetBoundingBoxes-DCqe0_6W.js (new) — 33.7 kB 🔴 +33.7 kB 🔴 +9.16 kB 🔴 +8.12 kB
assets/WidgetPainter-DwmZwR--.js (new) — 32.6 kB 🔴 +32.6 kB 🔴 +7.88 kB 🔴 +6.97 kB
assets/WidgetPainter-sqDJJHJy.js (removed) 32.6 kB — 🟢 -32.6 kB 🟢 -7.88 kB 🟢 -6.95 kB
assets/Load3dViewerContent-CYpXtY_Y.js (new) — 30.8 kB 🔴 +30.8 kB 🔴 +6.28 kB 🔴 +5.45 kB
assets/Load3dViewerContent-Dsub8YfV.js (removed) 30.8 kB — 🟢 -30.8 kB 🟢 -6.28 kB 🟢 -5.45 kB
assets/HdrViewerContent-B-cxgaDP.js (removed) 29.8 kB — 🟢 -29.8 kB 🟢 -8.25 kB 🟢 -7.28 kB
assets/HdrViewerContent-GArQqIUF.js (new) — 29.8 kB 🔴 +29.8 kB 🔴 +8.25 kB 🔴 +7.28 kB
assets/ColorPicker-C61NmFNm.js (removed) 29.2 kB — 🟢 -29.2 kB 🟢 -7.59 kB 🟢 -6.68 kB
assets/ColorPicker-DcLmFnyX.js (new) — 29.2 kB 🔴 +29.2 kB 🔴 +7.58 kB 🔴 +6.68 kB
assets/SubscriptionRequiredDialogContentWorkspace-91_u9yJU.js (new) — 27.1 kB 🔴 +27.1 kB 🔴 +6.07 kB 🔴 +5.36 kB
assets/SubscriptionRequiredDialogContent-C_e-XSs8.js (removed) 26.9 kB — 🟢 -26.9 kB 🟢 -6.35 kB 🟢 -5.59 kB
assets/SubscriptionRequiredDialogContent-CCyHNB2R.js (new) — 26.9 kB 🔴 +26.9 kB 🔴 +6.35 kB 🔴 +5.6 kB
assets/SubscriptionRequiredDialogContentWorkspace-BiaApFdu.js (removed) 25.1 kB — 🟢 -25.1 kB 🟢 -5.81 kB 🟢 -5.11 kB
assets/load3d-CMWU6Im2.js (removed) 22.2 kB — 🟢 -22.2 kB 🟢 -5.41 kB 🟢 -4.68 kB
assets/load3d-PcTxQQr9.js (new) — 22.2 kB 🔴 +22.2 kB 🔴 +5.41 kB 🔴 +4.68 kB
assets/SignInContent-BMt2Nvlr.js (new) — 20.6 kB 🔴 +20.6 kB 🔴 +5.18 kB 🔴 +4.53 kB
assets/SignInContent-Do8yGVjj.js (removed) 20.6 kB — 🟢 -20.6 kB 🟢 -5.17 kB 🟢 -4.53 kB
assets/DialogHeader-vqhE1E8F.js (new) — 17.5 kB 🔴 +17.5 kB 🔴 +5.27 kB 🔴 +4.61 kB
assets/DialogHeader-ZBXW696G.js (removed) 17.5 kB — 🟢 -17.5 kB 🟢 -5.28 kB 🟢 -4.6 kB
assets/CurrentUserPopoverWorkspace-CxXD5W8I.js (removed) 16.9 kB — 🟢 -16.9 kB 🟢 -3.95 kB 🟢 -3.48 kB
assets/CurrentUserPopoverWorkspace-Dtez44wk.js (new) — 16.9 kB 🔴 +16.9 kB 🔴 +3.95 kB 🔴 +3.47 kB
assets/i18n-CiQF_Sqk.js (removed) 16.7 kB — 🟢 -16.7 kB 🟢 -4.56 kB 🟢 -3.82 kB
assets/i18n-CLxpyB6H.js (new) — 16.7 kB 🔴 +16.7 kB 🔴 +4.56 kB 🔴 +3.81 kB
assets/WidgetRecordAudio-Ci7df7_i.js (new) — 16.6 kB 🔴 +16.6 kB 🔴 +4.6 kB 🔴 +4.09 kB
assets/WidgetRecordAudio-DB6FpMPb.js (removed) 16.6 kB — 🟢 -16.6 kB 🟢 -4.6 kB 🟢 -4.1 kB
assets/WidgetInputNumber-2OcbxsrM.js (removed) 13.9 kB — 🟢 -13.9 kB 🟢 -3.63 kB 🟢 -3.21 kB
assets/WidgetInputNumber-DkU0rY03.js (new) — 13.9 kB 🔴 +13.9 kB 🔴 +3.63 kB 🔴 +3.21 kB
assets/WidgetRange-BFrOgW-5.js (removed) 13.7 kB — 🟢 -13.7 kB 🟢 -3.55 kB 🟢 -3.13 kB
assets/WidgetRange-C2sP8Wvq.js (new) — 13.7 kB 🔴 +13.7 kB 🔴 +3.55 kB 🔴 +3.12 kB
assets/WaveAudioPlayer-BmrymA8G.js (new) — 12.8 kB 🔴 +12.8 kB 🔴 +3.46 kB 🔴 +3.04 kB
assets/WaveAudioPlayer-DPEcR5Bi.js (removed) 12.8 kB — 🟢 -12.8 kB 🟢 -3.46 kB 🟢 -3.04 kB
assets/WidgetCurve-DTn3GYqU.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.48 kB 🟢 -3.14 kB
assets/WidgetCurve-HzuVE0hp.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.47 kB 🔴 +3.15 kB
assets/SelectValue-B4lA6vH9.js (removed) 10.6 kB — 🟢 -10.6 kB 🟢 -2.61 kB 🟢 -2.33 kB
assets/SelectValue-DPccruaI.js (new) — 10.6 kB 🔴 +10.6 kB 🔴 +2.61 kB 🔴 +2.33 kB
assets/AudioPreviewPlayer-C_AoVEFv.js (new) — 10.6 kB 🔴 +10.6 kB 🔴 +3.05 kB 🔴 +2.72 kB
assets/AudioPreviewPlayer-CvhDBqty.js (removed) 10.6 kB — 🟢 -10.6 kB 🟢 -3.05 kB 🟢 -2.72 kB
assets/TeamWorkspacesDialogContent-ChqlgAXJ.js (new) — 10.3 kB 🔴 +10.3 kB 🔴 +2.96 kB 🔴 +2.62 kB
assets/TeamWorkspacesDialogContent-tri1dS4L.js (removed) 10.3 kB — 🟢 -10.3 kB 🟢 -2.97 kB 🟢 -2.63 kB
assets/onboardingCloudRoutes-BsOwQz1P.js (new) — 9.52 kB 🔴 +9.52 kB 🔴 +2.87 kB 🔴 +2.45 kB
assets/onboardingCloudRoutes-DWfaT5wa.js (removed) 9.49 kB — 🟢 -9.49 kB 🟢 -2.85 kB 🟢 -2.44 kB
assets/Load3DConfiguration-BfysKRoA.js (removed) 8.91 kB — 🟢 -8.91 kB 🟢 -2.61 kB 🟢 -2.31 kB
assets/Load3DConfiguration-Cf7U5gzy.js (new) — 8.91 kB 🔴 +8.91 kB 🔴 +2.61 kB 🔴 +2.31 kB
assets/WidgetImageCrop-DBT4HlxV.js (removed) 8.49 kB — 🟢 -8.49 kB 🟢 -2.65 kB 🟢 -2.34 kB
assets/WidgetImageCrop-DofN1o3G.js (new) — 8.49 kB 🔴 +8.49 kB 🔴 +2.65 kB 🔴 +2.35 kB
assets/SetMemberCreditLimitDialogContent-B1K2Bg2k.js (removed) 8.47 kB — 🟢 -8.47 kB 🟢 -2.34 kB 🟢 -2.06 kB
assets/SetMemberCreditLimitDialogContent-CBuf2v0A.js (new) — 8.47 kB 🔴 +8.47 kB 🔴 +2.34 kB 🔴 +2.05 kB
assets/nodeTemplates-b49WfmLw.js (removed) 8.32 kB — 🟢 -8.32 kB 🟢 -2.86 kB 🟢 -2.52 kB
assets/nodeTemplates-DQWg56u5.js (new) — 8.32 kB 🔴 +8.32 kB 🔴 +2.85 kB 🔴 +2.51 kB
assets/WidgetImageCompare-BdqocdG3.js (new) — 8.13 kB 🔴 +8.13 kB 🔴 +2.3 kB 🔴 +2.02 kB
assets/WidgetImageCompare-DG_Aioqm.js (removed) 8.13 kB — 🟢 -8.13 kB 🟢 -2.3 kB 🟢 -2.02 kB
assets/Popover-CftHJS1A.js (new) — 8.13 kB 🔴 +8.13 kB 🔴 +2.89 kB 🔴 +2.56 kB
assets/Popover-D8H6LMcv.js (removed) 8.13 kB — 🟢 -8.13 kB 🟢 -2.88 kB 🟢 -2.55 kB
assets/WorkspaceSwitcherPopover-0mC_fG-T.js (new) — 8.01 kB 🔴 +8.01 kB 🔴 +2.38 kB 🔴 +2.12 kB
assets/WorkspaceSwitcherPopover-lDH14z4T.js (removed) 8.01 kB — 🟢 -8.01 kB 🟢 -2.38 kB 🟢 -2.12 kB
assets/NightlySurveyController-BVJlz4EQ.js (removed) 7.5 kB — 🟢 -7.5 kB 🟢 -2.55 kB 🟢 -2.24 kB
assets/NightlySurveyController-DfS_3BWL.js (new) — 7.5 kB 🔴 +7.5 kB 🔴 +2.55 kB 🔴 +2.24 kB
assets/CloudRunButtonWrapper-BCAfipHn.js (removed) 7.29 kB — 🟢 -7.29 kB 🟢 -2.29 kB 🟢 -2.01 kB
assets/CloudRunButtonWrapper-C5A1H39p.js (new) — 7.29 kB 🔴 +7.29 kB 🔴 +2.29 kB 🔴 +2.01 kB
assets/WidgetWithControl-CP2_r0HT.js (new) — 6.5 kB 🔴 +6.5 kB 🔴 +2.66 kB 🔴 +2.33 kB
assets/WidgetWithControl-Difgcqhi.js (removed) 6.5 kB — 🟢 -6.5 kB 🟢 -2.66 kB 🟢 -2.33 kB
assets/missingModelMetadata-_TiG9gd0.js (removed) 6.45 kB — 🟢 -6.45 kB 🟢 -2.21 kB 🟢 -1.93 kB
assets/missingModelMetadata-CJDEqpB2.js (new) — 6.45 kB 🔴 +6.45 kB 🔴 +2.21 kB 🔴 +1.93 kB
assets/AnimationControls-DbnihaQo.js (removed) 6.1 kB — 🟢 -6.1 kB 🟢 -1.85 kB 🟢 -1.64 kB
assets/AnimationControls-I2K6YPmJ.js (new) — 6.1 kB 🔴 +6.1 kB 🔴 +1.85 kB 🔴 +1.64 kB
assets/CancelSubscriptionDialogContent-B47LfQ9Y.js (removed) 5.97 kB — 🟢 -5.97 kB 🟢 -1.98 kB 🟢 -1.75 kB
assets/CancelSubscriptionDialogContent-D7-aqKJl.js (new) — 5.97 kB 🔴 +5.97 kB 🔴 +1.98 kB 🔴 +1.74 kB
assets/main-7nEFi8iN.js (new) — 5.94 kB 🔴 +5.94 kB 🔴 +1.92 kB 🔴 +1.59 kB
assets/main-DU04XoiJ.js (removed) 5.94 kB — 🟢 -5.94 kB 🟢 -1.92 kB 🟢 -1.59 kB
assets/load3dPreviewExtensions-CZ5IASde.js (new) — 5.88 kB 🔴 +5.88 kB 🔴 +1.81 kB 🔴 +1.6 kB
assets/load3dPreviewExtensions-DIYOtehg.js (removed) 5.88 kB — 🟢 -5.88 kB 🟢 -1.81 kB 🟢 -1.6 kB
assets/src-B6h0OJRf.js (removed) 5.69 kB — 🟢 -5.69 kB 🟢 -1.61 kB 🟢 -1.47 kB
assets/src-BSvyWvKt.js (new) — 5.69 kB 🔴 +5.69 kB 🔴 +1.61 kB 🔴 +1.47 kB
assets/DowngradeRemoveMembersDialogContent-B6lPgyc8.js (new) — 5.58 kB 🔴 +5.58 kB 🔴 +1.89 kB 🔴 +1.64 kB
assets/DowngradeRemoveMembersDialogContent-DN55l7Gj.js (removed) 5.58 kB — 🟢 -5.58 kB 🟢 -1.89 kB 🟢 -1.64 kB
assets/launchCancellationFlow-BUlBx6fh.js (removed) 5.18 kB — 🟢 -5.18 kB 🟢 -1.78 kB 🟢 -1.56 kB
assets/launchCancellationFlow-CGZEH98D.js (new) — 5.18 kB 🔴 +5.18 kB 🔴 +1.78 kB 🔴 +1.56 kB
assets/CreateWorkspaceDialogContent-_f0_e8Te.js (new) — 5.12 kB 🔴 +5.12 kB 🔴 +1.79 kB 🔴 +1.55 kB
assets/CreateWorkspaceDialogContent-DwvDkeE9.js (removed) 5.12 kB — 🟢 -5.12 kB 🟢 -1.79 kB 🟢 -1.55 kB
assets/CloudNotificationContent-Bb0NblRP.js (new) — 5.05 kB 🔴 +5.05 kB 🔴 +1.75 kB 🔴 +1.51 kB
assets/CloudNotificationContent-DJ6Wu2_5.js (removed) 5.05 kB — 🟢 -5.05 kB 🟢 -1.76 kB 🟢 -1.51 kB
assets/ChangeMemberRoleDialogContent-DVADSiP2.js (removed) 4.97 kB — 🟢 -4.97 kB 🟢 -1.63 kB 🟢 -1.43 kB
assets/ChangeMemberRoleDialogContent-QbwdsxSx.js (new) — 4.97 kB 🔴 +4.97 kB 🔴 +1.63 kB 🔴 +1.43 kB
assets/InviteMemberDialogContent-C4-c1KZR.js (new) — 4.96 kB 🔴 +4.96 kB 🔴 +1.64 kB 🔴 +1.43 kB
assets/InviteMemberDialogContent-C8NE7LOC.js (removed) 4.96 kB — 🟢 -4.96 kB 🟢 -1.64 kB 🟢 -1.43 kB
assets/EditWorkspaceDialogContent-BXjm2078.js (removed) 4.93 kB — 🟢 -4.93 kB 🟢 -1.76 kB 🟢 -1.52 kB
assets/EditWorkspaceDialogContent-gdXjRHmv.js (new) — 4.93 kB 🔴 +4.93 kB 🔴 +1.76 kB 🔴 +1.52 kB
assets/PaletteSwatchRow-B3FC9FnE.js (new) — 4.86 kB 🔴 +4.86 kB 🔴 +1.87 kB 🔴 +1.66 kB
assets/PaletteSwatchRow-C3Qa2rWE.js (removed) 4.86 kB — 🟢 -4.86 kB 🟢 -1.87 kB 🟢 -1.66 kB
assets/WidgetTextarea-BZcKP760.js (removed) 4.83 kB — 🟢 -4.83 kB 🟢 -1.88 kB 🟢 -1.64 kB
assets/WidgetTextarea-DEzkDl1J.js (new) — 4.83 kB 🔴 +4.83 kB 🔴 +1.88 kB 🔴 +1.64 kB
assets/saveMesh-0BaJmOv7.js (new) — 4.76 kB 🔴 +4.76 kB 🔴 +1.52 kB 🔴 +1.34 kB
assets/saveMesh-BsWtWn2r.js (removed) 4.76 kB — 🟢 -4.76 kB 🟢 -1.52 kB 🟢 -1.34 kB
assets/ValueControlPopover-aVZ_tYCQ.js (removed) 4.49 kB — 🟢 -4.49 kB 🟢 -1.55 kB 🟢 -1.38 kB
assets/ValueControlPopover-Df227vs3.js (new) — 4.49 kB 🔴 +4.49 kB 🔴 +1.55 kB 🔴 +1.38 kB
assets/ToggleGroupItem-CBJ1C7BI.js (removed) 4.14 kB — 🟢 -4.14 kB 🟢 -1.41 kB 🟢 -1.24 kB
assets/ToggleGroupItem-CEHygpc0.js (new) — 4.14 kB 🔴 +4.14 kB 🔴 +1.41 kB 🔴 +1.24 kB
assets/ApiNodesSignInContent-BMtGWI4h.js (removed) 4.08 kB — 🟢 -4.08 kB 🟢 -1.31 kB 🟢 -1.15 kB
assets/ApiNodesSignInContent-CycP2gGq.js (new) — 4.08 kB 🔴 +4.08 kB 🔴 +1.31 kB 🔴 +1.15 kB
assets/Slider-BUwrwxtc.js (removed) 3.91 kB — 🟢 -3.91 kB 🟢 -1.43 kB 🟢 -1.24 kB
assets/Slider-okd87z8A.js (new) — 3.91 kB 🔴 +3.91 kB 🔴 +1.43 kB 🔴 +1.24 kB
assets/DeleteWorkspaceDialogContent-B3YTERrw.js (new) — 3.84 kB 🔴 +3.84 kB 🔴 +1.44 kB 🔴 +1.24 kB
assets/DeleteWorkspaceDialogContent-B5YM0sin.js (removed) 3.84 kB — 🟢 -3.84 kB 🟢 -1.44 kB 🟢 -1.24 kB
assets/WidgetBoundingBox-CNtTncre.js (new) — 3.76 kB 🔴 +3.76 kB 🔴 +1.03 kB 🔴 +893 B
assets/WidgetBoundingBox-CzsfZDb9.js (removed) 3.76 kB — 🟢 -3.76 kB 🟢 -1.03 kB 🟢 -898 B
assets/RemoveMemberDialogContent-C--dpiBV.js (new) — 3.76 kB 🔴 +3.76 kB 🔴 +1.38 kB 🔴 +1.19 kB
assets/RemoveMemberDialogContent-C7bpsFZj.js (removed) 3.76 kB — 🟢 -3.76 kB 🟢 -1.38 kB 🟢 -1.19 kB
assets/RevokeInviteDialogContent-CP4fVrlj.js (removed) 3.67 kB — 🟢 -3.67 kB 🟢 -1.39 kB 🟢 -1.21 kB
assets/RevokeInviteDialogContent-CU-wTHUE.js (new) — 3.67 kB 🔴 +3.67 kB 🔴 +1.39 kB 🔴 +1.21 kB
assets/LeaveWorkspaceDialogContent-C6PUpqCu.js (removed) 3.67 kB — 🟢 -3.67 kB 🟢 -1.38 kB 🟢 -1.18 kB
assets/LeaveWorkspaceDialogContent-CfQvHh-M.js (new) — 3.67 kB 🔴 +3.67 kB 🔴 +1.38 kB 🔴 +1.19 kB
assets/WidgetToggleSwitch-Dx17CWfl.js (removed) 3.56 kB — 🟢 -3.56 kB 🟢 -1.3 kB 🟢 -1.15 kB
assets/WidgetToggleSwitch-RZ9jLqg6.js (new) — 3.56 kB 🔴 +3.56 kB 🔴 +1.3 kB 🔴 +1.15 kB
assets/InviteMemberUpsellDialogContent-BkcfWyyC.js (removed) 3.47 kB — 🟢 -3.47 kB 🟢 -1.24 kB 🟢 -1.07 kB
assets/InviteMemberUpsellDialogContent-qxyFyxjh.js (new) — 3.47 kB 🔴 +3.47 kB 🔴 +1.24 kB 🔴 +1.09 kB
assets/workspaceCheckoutTelemetry-Vsul2eGO.js (removed) 3.4 kB — 🟢 -3.4 kB 🟢 -1.52 kB 🟢 -1.32 kB
assets/GlobalToast-DSgI2mV2.js (removed) 3.25 kB — 🟢 -3.25 kB 🟢 -1.3 kB 🟢 -1.11 kB
assets/GlobalToast-SKvW8WnI.js (new) — 3.25 kB 🔴 +3.25 kB 🔴 +1.3 kB 🔴 +1.11 kB
assets/Media3DTop-aiCRkU-f.js (new) — 3.21 kB 🔴 +3.21 kB 🔴 +1.26 kB 🔴 +1.11 kB
assets/Media3DTop-H8qhdFV_.js (removed) 3.21 kB — 🟢 -3.21 kB 🟢 -1.26 kB 🟢 -1.1 kB
assets/WidgetMarkdown-C4dAHK2I.js (new) — 3.07 kB 🔴 +3.07 kB 🔴 +1.26 kB 🔴 +1.11 kB
assets/WidgetMarkdown-MnoAi_GS.js (removed) 3.07 kB — 🟢 -3.07 kB 🟢 -1.26 kB 🟢 -1.09 kB
assets/WidgetInputText-B0Yq1-Lz.js (new) — 3.04 kB 🔴 +3.04 kB 🔴 +1.27 kB 🔴 +1.14 kB
assets/WidgetInputText-DC_k1aL-.js (removed) 3.04 kB — 🟢 -3.04 kB 🟢 -1.27 kB 🟢 -1.14 kB
assets/MediaVideoTop-BrYB4bDz.js (new) — 2.96 kB 🔴 +2.96 kB 🔴 +1.19 kB 🔴 +1.04 kB
assets/MediaVideoTop-SN1RgDN7.js (removed) 2.96 kB — 🟢 -2.96 kB 🟢 -1.19 kB 🟢 -1.04 kB
assets/load3dAdvanced-C-OQjAfV.js (new) — 2.82 kB 🔴 +2.82 kB 🔴 +1.1 kB 🔴 +955 B
assets/load3dAdvanced-D5EGzCGO.js (removed) 2.82 kB — 🟢 -2.82 kB 🟢 -1.09 kB 🟢 -957 B
assets/ErrorPanelSurveyCta-Cwoega45.js (new) — 2.64 kB 🔴 +2.64 kB 🔴 +1.14 kB 🔴 +1.01 kB
assets/ErrorPanelSurveyCta-DElLx_wI.js (removed) 2.64 kB — 🟢 -2.64 kB 🟢 -1.14 kB 🟢 -1.01 kB
assets/Switch-BmmAFla1.js (removed) 2.49 kB — 🟢 -2.49 kB 🟢 -1.09 kB 🟢 -969 B
assets/Switch-DSnWvzh6.js (new) — 2.49 kB 🔴 +2.49 kB 🔴 +1.09 kB 🔴 +943 B
assets/SubscribeToRun-4h9q5bCx.js (removed) 2.39 kB — 🟢 -2.39 kB 🟢 -1.03 kB 🟢 -907 B
assets/SubscribeToRun-BbG9qHd9.js (new) — 2.39 kB 🔴 +2.39 kB 🔴 +1.03 kB 🔴 +904 B
assets/WidgetLayoutField-B7h3SSfJ.js (new) — 2.38 kB 🔴 +2.38 kB 🔴 +1.03 kB 🔴 +934 B
assets/WidgetLayoutField-DrX6dxZ-.js (removed) 2.38 kB — 🟢 -2.38 kB 🟢 -1.02 kB 🟢 -936 B
assets/TopBarHeader-Bwz87xWF.js (new) — 2.01 kB 🔴 +2.01 kB 🔴 +843 B 🔴 +735 B
assets/TopBarHeader-CmY9ndnn.js (removed) 2.01 kB — 🟢 -2.01 kB 🟢 -840 B 🟢 -729 B
assets/WidgetColorPicker-BGFrbeJJ.js (new) — 1.69 kB 🔴 +1.69 kB 🔴 +757 B 🔴 +672 B
assets/WidgetColorPicker-Crv7bAJa.js (removed) 1.69 kB — 🟢 -1.69 kB 🟢 -756 B 🟢 -670 B
assets/Loader-C7rrUp-N.js (removed) 1.64 kB — 🟢 -1.64 kB 🟢 -783 B 🟢 -694 B
assets/Loader-D7vbGjwk.js (new) — 1.64 kB 🔴 +1.64 kB 🔴 +779 B 🔴 +692 B
assets/WidgetColors-BzSA1aGH.js (new) — 1.63 kB 🔴 +1.63 kB 🔴 +807 B 🔴 +710 B
assets/WidgetColors-D9IUfc9A.js (removed) 1.63 kB — 🟢 -1.63 kB 🟢 -805 B 🟢 -710 B
assets/MediaAudioTop-BaImMhxL.js (new) — 1.62 kB 🔴 +1.62 kB 🔴 +807 B 🔴 +667 B
assets/MediaAudioTop-CpE3OVuw.js (removed) 1.62 kB — 🟢 -1.62 kB 🟢 -807 B 🟢 -669 B
assets/paymentReturnUrl-BRlPBsBb.js (new) — 1.58 kB 🔴 +1.58 kB 🔴 +785 B 🔴 +622 B
assets/Textarea-C4Kg5mhr.js (new) — 1.56 kB 🔴 +1.56 kB 🔴 +812 B 🔴 +714 B
assets/Textarea-CIOdLsAn.js (removed) 1.56 kB — 🟢 -1.56 kB 🟢 -810 B 🟢 -713 B
assets/signInSchema-CeD5f-TY.js (new) — 1.55 kB 🔴 +1.55 kB 🔴 +553 B 🔴 +509 B
assets/signInSchema-DptLg_mI.js (removed) 1.55 kB — 🟢 -1.55 kB 🟢 -554 B 🟢 -485 B
assets/menuBarStyles-8XlQj5r-.js (removed) 1.52 kB — 🟢 -1.52 kB 🟢 -581 B 🟢 -488 B
assets/menuBarStyles-DfQ7frUs.js (new) — 1.52 kB 🔴 +1.52 kB 🔴 +583 B 🔴 +492 B
assets/VideoPlayOverlay-Bf0p3Ltu.js (new) — 1.46 kB 🔴 +1.46 kB 🔴 +730 B 🔴 +646 B
assets/VideoPlayOverlay-Pj8ipWNv.js (removed) 1.46 kB — 🟢 -1.46 kB 🟢 -729 B 🟢 -645 B
assets/ButtonGroup-CbiAdmBE.js (removed) 1.24 kB — 🟢 -1.24 kB 🟢 -643 B 🟢 -561 B
assets/ButtonGroup-DcBTAflP.js (new) — 1.24 kB 🔴 +1.24 kB 🔴 +644 B 🔴 +561 B
assets/DialogClose-Qo-2__eP.js (removed) 1.18 kB — 🟢 -1.18 kB 🟢 -610 B 🟢 -545 B
assets/DialogClose-SW3NAbTK.js (new) — 1.18 kB 🔴 +1.18 kB 🔴 +610 B 🔴 +545 B
assets/cameraInfo-BMidhenE.js (removed) 1.1 kB — 🟢 -1.1 kB 🟢 -572 B 🟢 -495 B
assets/cameraInfo-D35xzn-e.js (new) — 1.1 kB 🔴 +1.1 kB 🔴 +571 B 🔴 +525 B
assets/cloudSessionCookie-BSEtE1-R.js (new) — 933 B 🔴 +933 B 🔴 +432 B 🔴 +379 B
assets/cloudSessionCookie-DAZxeu1F.js (removed) 933 B — 🟢 -933 B 🟢 -428 B 🟢 -376 B
assets/cloudBadges-B8J4MHbf.js (removed) 922 B — 🟢 -922 B 🟢 -513 B 🟢 -439 B
assets/cloudBadges-rB40Emp2.js (new) — 922 B 🔴 +922 B 🔴 +515 B 🔴 +441 B
assets/Load3DAdvanced-B2ahYylS.js (new) — 761 B 🔴 +761 B 🔴 +424 B 🔴 +359 B
assets/Load3DAdvanced-DX3TxPY9.js (removed) 761 B — 🟢 -761 B 🟢 -422 B 🟢 -358 B
assets/workspaceCheckoutTelemetry-CHhZxmKM.js (new) — 681 B 🔴 +681 B 🔴 +384 B 🔴 +342 B
assets/nightlyBadges-CTGWKGDu.js (removed) 411 B — 🟢 -411 B 🟢 -270 B 🟢 -262 B
assets/nightlyBadges-DXnpd9Hf.js (new) — 411 B 🔴 +411 B 🔴 +272 B 🔴 +274 B
assets/src-3i75gwLe.js (removed) 407 B — 🟢 -407 B 🟢 -290 B 🟢 -244 B
assets/src-DfP8EUGj.js (new) — 407 B 🔴 +407 B 🔴 +287 B 🔴 +244 B
assets/Load3dViewerContent-Qj0p04YD.js (removed) 137 B — 🟢 -137 B 🟢 -103 B 🟢 -92 B
assets/Load3dViewerContent-XtVt7RrB.js (new) — 137 B 🔴 +137 B 🔴 +103 B 🔴 +90 B
assets/WidgetBoundingBox-CWXOiORZ.js (removed) 131 B — 🟢 -131 B 🟢 -100 B 🟢 -100 B
assets/WidgetBoundingBox-qGeeujXj.js (new) — 131 B 🔴 +131 B 🔴 +100 B 🔴 +96 B
assets/missingModelMetadata-CYjZLb32.js (new) — 125 B 🔴 +125 B 🔴 +103 B 🔴 +99 B
assets/missingModelMetadata-DQoylFdo.js (removed) 125 B — 🟢 -125 B 🟢 -103 B 🟢 -104 B
assets/Load3DAdvanced-BFq7wSXi.js (new) — 122 B 🔴 +122 B 🔴 +97 B 🔴 +91 B
assets/Load3DAdvanced-CfsTYyS8.js (removed) 122 B — 🟢 -122 B 🟢 -97 B 🟢 -91 B
assets/WidgetLegacy-C0U_h726.js (new) — 117 B 🔴 +117 B 🔴 +106 B 🔴 +100 B
assets/WidgetLegacy-CbB96PVG.js (removed) 117 B — 🟢 -117 B 🟢 -106 B 🟢 -94 B
assets/workflowDraftStoreV2-DffQ82Vz.js (new) — 112 B 🔴 +112 B 🔴 +101 B 🔴 +106 B
assets/workflowDraftStoreV2-hbBugC-1.js (removed) 112 B — 🟢 -112 B 🟢 -101 B 🟢 -108 B
assets/CameraInfo-BFg9jKzV.js (new) — 110 B 🔴 +110 B 🔴 +93 B 🔴 +89 B
assets/CameraInfo-oYI66ls_.js (removed) 110 B — 🟢 -110 B 🟢 -93 B 🟢 -90 B
assets/Load3D-CUKqFYzI.js (new) — 98 B 🔴 +98 B 🔴 +89 B 🔴 +78 B
assets/Load3D-Y8cfhP19.js (removed) 98 B — 🟢 -98 B 🟢 -89 B 🟢 -79 B
assets/i18n-C6dqTqhZ.js (new) — 97 B 🔴 +97 B 🔴 +92 B 🔴 +86 B
assets/i18n-lz7HCfuc.js (removed) 97 B — 🟢 -97 B 🟢 -92 B 🟢 -95 B
assets/changeTracker-C7gh1vEr.js (removed) 91 B — 🟢 -91 B 🟢 -93 B 🟢 -81 B
assets/changeTracker-DzF368RF.js (new) — 91 B 🔴 +91 B 🔴 +93 B 🔴 +78 B

Status: 110 added / 109 removed / 181 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 56.8 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 59.6 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.5 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 59.2 MB heap
large-graph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 68.0 MB heap
large-graph-pan: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 81.8 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.8 MB heap
legacy-node-drag: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.6 MB heap
minimap-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.5 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 83.8 MB heap
subgraph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 54.8 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 68.6 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 135ms TBT · 83.4 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 9ms TBT · 93.0 MB heap
vue-large-graph-idle: · 57.1 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 168.3 MB heap
vue-large-graph-pan: · 56.2 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 31ms TBT · 169.8 MB heap
workflow-execution: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.6 MB heap

⚠️ 10 regressions detected

Show regressions
Metric Baseline PR (median) Δ Sig
canvas-idle: task duration 500ms 480ms -4% ⚠️ z=2.8
canvas-mouse-sweep: task duration 1236ms 1278ms +3% ⚠️ z=7.1
canvas-mouse-sweep: script duration 162ms 168ms +4% ⚠️ z=5.1
dom-widget-clipping: task duration 430ms 418ms -3% ⚠️ z=3.3
large-graph-pan: task duration 2731ms 2673ms -2% ⚠️ z=37.0
large-graph-pan: script duration 988ms 982ms -1% ⚠️ z=29.0
subgraph-dom-widget-clipping: task duration 510ms 504ms -1% ⚠️ z=6.8
subgraph-idle: task duration 486ms 467ms -4% ⚠️ z=3.1
subgraph-mouse-sweep: task duration 1122ms 1079ms -4% ⚠️ z=4.5
workflow-execution: event listeners 25 61 +144% ⚠️ z=2.1
All metrics
Metric Baseline PR (median) Δ Sig
canvas-idle: avg frame time 17ms 17ms +0% z=0.4
canvas-idle: p95 frame time 17ms 17ms -0% —
canvas-idle: layout duration 0ms 0ms +0% —
canvas-idle: style recalc duration 8ms 6ms -18% z=-5.1
canvas-idle: layout count 0 0 +0% —
canvas-idle: style recalc count 8 8 -6% z=-6.5
canvas-idle: task duration 500ms 480ms -4% ⚠️ z=2.8
canvas-idle: script duration 10ms 8ms -21% z=-7.8
canvas-idle: TBT 0ms 0ms +0% —
canvas-idle: heap used 64.1 MB 56.8 MB -11% —
canvas-idle: DOM nodes -281 -283 +1% z=-239.2
canvas-idle: event listeners -185 -170 -8% z=-38.4
canvas-mouse-sweep: avg frame time 17ms 17ms +0% z=-0.4
canvas-mouse-sweep: p95 frame time 17ms 17ms +0% —
canvas-mouse-sweep: layout duration 3ms 3ms +3% z=-0.6
canvas-mouse-sweep: style recalc duration 42ms 40ms -3% z=-0.7
canvas-mouse-sweep: layout count 12 12 +0% —
canvas-mouse-sweep: style recalc count 79 78 -1% z=-0.3
canvas-mouse-sweep: task duration 1236ms 1278ms +3% ⚠️ z=7.1
canvas-mouse-sweep: script duration 162ms 168ms +4% ⚠️ z=5.1
canvas-mouse-sweep: TBT 0ms 0ms +0% —
canvas-mouse-sweep: heap used 70.5 MB 59.6 MB -15% —
canvas-mouse-sweep: DOM nodes -281 -283 +1% z=-133.3
canvas-mouse-sweep: event listeners -155 -185 +19% z=-46.4
canvas-zoom-sweep: avg frame time 17ms 17ms -0% z=-1.1
canvas-zoom-sweep: p95 frame time 17ms 17ms +0% —
canvas-zoom-sweep: layout duration 1ms 1ms -3% z=-0.8
canvas-zoom-sweep: style recalc duration 18ms 16ms -11% z=-2.4
canvas-zoom-sweep: layout count 6 6 +0% —
canvas-zoom-sweep: style recalc count 31 31 +0% z=-0.6
canvas-zoom-sweep: task duration 356ms 343ms -4% z=0.7
canvas-zoom-sweep: script duration 11ms 10ms -14% z=-5.8
canvas-zoom-sweep: TBT 0ms 0ms +0% —
canvas-zoom-sweep: heap used 69.6 MB 69.5 MB -0% —
canvas-zoom-sweep: DOM nodes 76 76 +0% z=-4.1
canvas-zoom-sweep: event listeners 19 19 +0% z=-0.9
dom-widget-clipping: avg frame time 17ms 17ms +0% z=0.5
dom-widget-clipping: p95 frame time 17ms 17ms +0% —
dom-widget-clipping: layout duration 0ms 0ms +0% —
dom-widget-clipping: style recalc duration 7ms 7ms -5% z=-4.2
dom-widget-clipping: layout count 0 0 +0% —
dom-widget-clipping: style recalc count 10 10 +0% z=-6.2
dom-widget-clipping: task duration 430ms 418ms -3% ⚠️ z=3.3
dom-widget-clipping: script duration 32ms 31ms -1% z=-11.2
dom-widget-clipping: TBT 0ms 0ms +0% —
dom-widget-clipping: heap used 59.2 MB 59.2 MB -0% —
dom-widget-clipping: DOM nodes 16 16 +0% z=-4.3
dom-widget-clipping: event listeners 2 2 +0% variance too high
large-graph-idle: avg frame time 17ms 17ms +0% z=-0.2
large-graph-idle: p95 frame time 17ms 17ms -1% —
large-graph-idle: layout duration 0ms 0ms +0% —
large-graph-idle: style recalc duration 4ms 5ms +24% z=-6.7
large-graph-idle: layout count 0 0 +0% —
large-graph-idle: style recalc count 4 5 +25% z=-21.0
large-graph-idle: task duration 572ms 562ms -2% z=0.4
large-graph-idle: script duration 40ms 41ms +3% z=-5.9
large-graph-idle: TBT 0ms 0ms +0% —
large-graph-idle: heap used 68.8 MB 68.0 MB -1% —
large-graph-idle: DOM nodes -276 -276 -0% z=-332.1
large-graph-idle: event listeners -155 -154 -1% z=-29.5
large-graph-pan: avg frame time 17ms 17ms +0% z=0.8
large-graph-pan: p95 frame time 17ms 17ms -0% —
large-graph-pan: layout duration 0ms 0ms +0% —
large-graph-pan: style recalc duration 11ms 10ms -5% z=-8.8
large-graph-pan: layout count 0 0 +0% —
large-graph-pan: style recalc count 66 65 -2% z=-7.1
large-graph-pan: task duration 2731ms 2673ms -2% ⚠️ z=37.0
large-graph-pan: script duration 988ms 982ms -1% ⚠️ z=29.0
large-graph-pan: TBT 11ms 0ms -100% —
large-graph-pan: heap used 93.8 MB 81.8 MB -13% —
large-graph-pan: DOM nodes -281 -278 -1% z=-180.0
large-graph-pan: event listeners -151 -151 +0% z=-188.3
large-graph-zoom: avg frame time 17ms 17ms +0% —
large-graph-zoom: p95 frame time 17ms 17ms -0% —
large-graph-zoom: layout duration 7ms 7ms -7% —
large-graph-zoom: style recalc duration 11ms 10ms -7% —
large-graph-zoom: layout count 60 60 +0% —
large-graph-zoom: style recalc count 66 66 +0% —
large-graph-zoom: task duration 2643ms 2495ms -6% —
large-graph-zoom: script duration 914ms 862ms -6% —
large-graph-zoom: TBT 0ms 0ms +0% —
large-graph-zoom: heap used 70.0 MB 67.8 MB -3% —
large-graph-zoom: DOM nodes -255 -106 -59% —
large-graph-zoom: event listeners -147 -84 -43% —
legacy-node-drag: avg frame time 17ms 17ms +0% —
legacy-node-drag: p95 frame time 17ms 17ms -0% —
legacy-node-drag: layout duration 0ms 0ms +0% —
legacy-node-drag: style recalc duration 5ms 6ms +12% —
legacy-node-drag: layout count 0 0 +0% —
legacy-node-drag: style recalc count 41 42 +1% —
legacy-node-drag: task duration 2136ms 2062ms -3% —
legacy-node-drag: script duration 215ms 204ms -5% —
legacy-node-drag: TBT 1ms 0ms -100% —
legacy-node-drag: heap used 74.7 MB 67.6 MB -9% —
legacy-node-drag: DOM nodes -286 -287 +0% —
legacy-node-drag: event listeners -1 14 -1500% —
minimap-idle: avg frame time 17ms 17ms +0% z=0.1
minimap-idle: p95 frame time 17ms 17ms -1% —
minimap-idle: layout duration 0ms 0ms +0% —
minimap-idle: style recalc duration 4ms 3ms -25% z=-7.8
minimap-idle: layout count 0 0 +0% —
minimap-idle: style recalc count 4 4 -13% z=-8.9
minimap-idle: task duration 581ms 544ms -6% z=0.3
minimap-idle: script duration 40ms 32ms -20% z=-6.6
minimap-idle: TBT 0ms 0ms +0% —
minimap-idle: heap used 67.4 MB 69.5 MB +3% —
minimap-idle: DOM nodes -277 -274 -1% z=-214.3
minimap-idle: event listeners -185 -155 -16% z=-241.7
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 9ms 9ms +1% z=-3.4
subgraph-dom-widget-clipping: layout count 0 0 +0% —
subgraph-dom-widget-clipping: style recalc count 45 46 +2% z=-3.3
subgraph-dom-widget-clipping: task duration 510ms 504ms -1% ⚠️ z=6.8
subgraph-dom-widget-clipping: script duration 136ms 135ms -0% z=1.1
subgraph-dom-widget-clipping: TBT 0ms 0ms +0% —
subgraph-dom-widget-clipping: heap used 76.5 MB 83.8 MB +10% —
subgraph-dom-widget-clipping: DOM nodes 16 18 +13% z=-3.7
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 +0% —
subgraph-idle: layout duration 0ms 0ms +0% —
subgraph-idle: style recalc duration 8ms 7ms -13% z=-4.1
subgraph-idle: layout count 0 0 +0% —
subgraph-idle: style recalc count 9 9 -6% z=-3.7
subgraph-idle: task duration 486ms 467ms -4% ⚠️ z=3.1
subgraph-idle: script duration 8ms 7ms -11% z=-5.0
subgraph-idle: TBT 0ms 0ms +0% —
subgraph-idle: heap used 76.7 MB 54.8 MB -29% —
subgraph-idle: DOM nodes -297 -298 +0% z=-213.6
subgraph-idle: event listeners -201 -201 +0% variance too high
subgraph-mouse-sweep: avg frame time 17ms 17ms +0% z=0.4
subgraph-mouse-sweep: p95 frame time 17ms 17ms -1% —
subgraph-mouse-sweep: layout duration 4ms 4ms +0% z=-0.9
subgraph-mouse-sweep: style recalc duration 39ms 35ms -8% z=-2.1
subgraph-mouse-sweep: layout count 16 16 +0% —
subgraph-mouse-sweep: style recalc count 77 76 -2% z=-2.4
subgraph-mouse-sweep: task duration 1122ms 1079ms -4% ⚠️ z=4.5
subgraph-mouse-sweep: script duration 118ms 113ms -4% z=1.9
subgraph-mouse-sweep: TBT 0ms 0ms +0% —
subgraph-mouse-sweep: heap used 71.3 MB 68.6 MB -4% —
subgraph-mouse-sweep: DOM nodes -296 -298 +1% z=-163.1
subgraph-mouse-sweep: event listeners -231 -217 -6% 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 15ms 15ms -1% —
subgraph-transition-enter: style recalc duration 32ms 32ms -2% —
subgraph-transition-enter: layout count 14 14 +0% —
subgraph-transition-enter: style recalc count 19 19 +0% —
subgraph-transition-enter: task duration 951ms 913ms -4% —
subgraph-transition-enter: script duration 33ms 30ms -8% —
subgraph-transition-enter: TBT 136ms 135ms -1% —
subgraph-transition-enter: heap used 80.9 MB 83.4 MB +3% —
subgraph-transition-enter: DOM nodes 13671 13671 +0% —
subgraph-transition-enter: event listeners 2383 2381 -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 36ms 34ms -5% —
viewport-pan-sweep: layout count 0 0 +0% —
viewport-pan-sweep: style recalc count 247 247 +0% —
viewport-pan-sweep: task duration 9617ms 9271ms -4% —
viewport-pan-sweep: script duration 3458ms 3294ms -5% —
viewport-pan-sweep: TBT 1ms 9ms +800% —
viewport-pan-sweep: heap used 72.1 MB 93.0 MB +29% —
viewport-pan-sweep: DOM nodes -276 -279 +1% —
viewport-pan-sweep: event listeners -129 -144 +12% —
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 16862ms 15823ms -6% —
vue-large-graph-idle: script duration 357ms 297ms -17% —
vue-large-graph-idle: TBT 0ms 0ms +0% —
vue-large-graph-idle: heap used 169.1 MB 168.3 MB -0% —
vue-large-graph-idle: DOM nodes -6548 -6548 +0% —
vue-large-graph-idle: event listeners -7473 -7473 +0% —
vue-large-graph-pan: avg frame time 18ms 18ms +0% —
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 17ms -4% —
vue-large-graph-pan: layout count 0 0 +0% —
vue-large-graph-pan: style recalc count 174 176 +1% —
vue-large-graph-pan: task duration 20648ms 20382ms -1% —
vue-large-graph-pan: script duration 904ms 951ms +5% —
vue-large-graph-pan: TBT 163ms 31ms -81% —
vue-large-graph-pan: heap used 161.7 MB 169.8 MB +5% —
vue-large-graph-pan: DOM nodes -6548 -6548 +0% —
vue-large-graph-pan: event listeners -7469 -7468 -0% —
workflow-execution: avg frame time 17ms 17ms +0% z=0.6
workflow-execution: p95 frame time 17ms 17ms -1% —
workflow-execution: layout duration 1ms 1ms -7% z=-2.7
workflow-execution: style recalc duration 19ms 19ms -0% z=-2.6
workflow-execution: layout count 4 5 +13% z=-0.8
workflow-execution: style recalc count 9 12 +33% z=-2.8
workflow-execution: task duration 97ms 114ms +17% z=-0.8
workflow-execution: script duration 5ms 7ms +34% z=-7.6
workflow-execution: TBT 0ms 0ms +0% —
workflow-execution: heap used 66.5 MB 67.6 MB +2% —
workflow-execution: DOM nodes 130 128 -2% z=-4.6
workflow-execution: event listeners 25 61 +144% ⚠️ z=2.1
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-25T05:54:42.705Z",
  "gitSha": "f2192fde2282e42db285053e92383e568b993988",
  "branch": "integration/embedded-checkout-frontend",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2023.0169999999816,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 5.960000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 483.463,
      "heapDeltaBytes": -5974240,
      "heapUsedBytes": 63225688,
      "domNodes": -283,
      "jsHeapTotalBytes": 4710400,
      "scriptDurationMs": 7.967000000000002,
      "eventListeners": -185,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-idle",
      "durationMs": 2038.7719999999945,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.657999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 477.37999999999994,
      "heapDeltaBytes": -12968404,
      "heapUsedBytes": 55953196,
      "domNodes": -282,
      "jsHeapTotalBytes": 4448256,
      "scriptDurationMs": 7.809,
      "eventListeners": -155,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66999999999998,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 2356.54999999997,
      "styleRecalcs": 79,
      "styleRecalcDurationMs": 42.556999999999995,
      "layouts": 12,
      "layoutDurationMs": 3.815,
      "taskDurationMs": 1344.683,
      "heapDeltaBytes": -10361652,
      "heapUsedBytes": 58588792,
      "domNodes": -281,
      "jsHeapTotalBytes": 5496832,
      "scriptDurationMs": 176.047,
      "eventListeners": -185,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 2174.6540000000323,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 38.187,
      "layouts": 12,
      "layoutDurationMs": 3.1650000000000005,
      "taskDurationMs": 1210.4430000000002,
      "heapDeltaBytes": 3541616,
      "heapUsedBytes": 66473236,
      "domNodes": -284,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 160.85000000000002,
      "eventListeners": -185,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1767.201,
      "styleRecalcs": 30,
      "styleRecalcDurationMs": 15.677000000000003,
      "layouts": 6,
      "layoutDurationMs": 0.673,
      "taskDurationMs": 341.32,
      "heapDeltaBytes": 4160500,
      "heapUsedBytes": 72774604,
      "domNodes": 75,
      "jsHeapTotalBytes": 5242880,
      "scriptDurationMs": 9.479000000000001,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1721.243999999956,
      "styleRecalcs": 32,
      "styleRecalcDurationMs": 15.375,
      "layouts": 6,
      "layoutDurationMs": 0.5440000000000002,
      "taskDurationMs": 343.704,
      "heapDeltaBytes": 3969476,
      "heapUsedBytes": 73018016,
      "domNodes": 77,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 9.909,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 756.0099999999466,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 7.517000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 417.05,
      "heapDeltaBytes": -6842768,
      "heapUsedBytes": 62187084,
      "domNodes": 18,
      "jsHeapTotalBytes": 6291456,
      "scriptDurationMs": 31.251,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 706.8140000000085,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 5.512999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 419.369,
      "heapDeltaBytes": -6917268,
      "heapUsedBytes": 62015528,
      "domNodes": 14,
      "jsHeapTotalBytes": 5767168,
      "scriptDurationMs": 31.692000000000004,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2056.43299999997,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 5.6720000000000015,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 555.3240000000001,
      "heapDeltaBytes": -19597508,
      "heapUsedBytes": 70785628,
      "domNodes": -276,
      "jsHeapTotalBytes": -1318912,
      "scriptDurationMs": 42.274,
      "eventListeners": -155,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2070.577000000071,
      "styleRecalcs": 5,
      "styleRecalcDurationMs": 4.778,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 569.523,
      "heapDeltaBytes": -18607608,
      "heapUsedBytes": 71903024,
      "domNodes": -275,
      "jsHeapTotalBytes": -532480,
      "scriptDurationMs": 39.638000000000005,
      "eventListeners": -153,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 3308.357000000001,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 10.358,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 2619.446,
      "heapDeltaBytes": -7031380,
      "heapUsedBytes": 84477948,
      "domNodes": -278,
      "jsHeapTotalBytes": 217088,
      "scriptDurationMs": 949.662,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666696,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 3336.7430000000695,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 10.147000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 2726.5660000000003,
      "heapDeltaBytes": -4762144,
      "heapUsedBytes": 87149468,
      "domNodes": -278,
      "jsHeapTotalBytes": 479232,
      "scriptDurationMs": 1014.5059999999999,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 4295.7380000000285,
      "styleRecalcs": 66,
      "styleRecalcDurationMs": 10.369,
      "layouts": 60,
      "layoutDurationMs": 7.004,
      "taskDurationMs": 2457.8819999999996,
      "heapDeltaBytes": 7693528,
      "heapUsedBytes": 74222216,
      "domNodes": 24,
      "jsHeapTotalBytes": 2097152,
      "scriptDurationMs": 859.07,
      "eventListeners": 12,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 4335.510999999997,
      "styleRecalcs": 66,
      "styleRecalcDurationMs": 10.558000000000002,
      "layouts": 60,
      "layoutDurationMs": 6.836,
      "taskDurationMs": 2532.762,
      "heapDeltaBytes": -4487272,
      "heapUsedBytes": 67949044,
      "domNodes": -235,
      "jsHeapTotalBytes": -1093632,
      "scriptDurationMs": 864.271,
      "eventListeners": -179,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.80000000000109
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 3187.4210000000858,
      "styleRecalcs": 41,
      "styleRecalcDurationMs": 5.232999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 2054.2670000000003,
      "heapDeltaBytes": -2101892,
      "heapUsedBytes": 70695864,
      "domNodes": -288,
      "jsHeapTotalBytes": -831488,
      "scriptDurationMs": 200.006,
      "eventListeners": -1,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "legacy-node-drag",
      "durationMs": 3232.2530000000143,
      "styleRecalcs": 42,
      "styleRecalcDurationMs": 6.099999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 2070.2369999999996,
      "heapDeltaBytes": -2016576,
      "heapUsedBytes": 71046264,
      "domNodes": -286,
      "jsHeapTotalBytes": -831488,
      "scriptDurationMs": 207.92100000000002,
      "eventListeners": 29,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666636,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "minimap-idle",
      "durationMs": 2029.6120000000428,
      "styleRecalcs": 3,
      "styleRecalcDurationMs": 2.8469999999999986,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 542.4309999999999,
      "heapDeltaBytes": -20137236,
      "heapUsedBytes": 72415424,
      "domNodes": -273,
      "jsHeapTotalBytes": -1318912,
      "scriptDurationMs": 33.186,
      "eventListeners": -155,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2053.809000000001,
      "styleRecalcs": 4,
      "styleRecalcDurationMs": 3.530000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 544.7420000000001,
      "heapDeltaBytes": -18905772,
      "heapUsedBytes": 73396144,
      "domNodes": -275,
      "jsHeapTotalBytes": -1581056,
      "scriptDurationMs": 31.791000000000007,
      "eventListeners": -155,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 705.8639999999059,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 9.501,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 501.271,
      "heapDeltaBytes": 18084368,
      "heapUsedBytes": 87716056,
      "domNodes": 18,
      "jsHeapTotalBytes": 5242880,
      "scriptDurationMs": 133.86900000000003,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 697.5980000000845,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 9.491,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 506.59600000000006,
      "heapDeltaBytes": 17599924,
      "heapUsedBytes": 88037024,
      "domNodes": 18,
      "jsHeapTotalBytes": 4980736,
      "scriptDurationMs": 136.28600000000003,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2021.808999999962,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.722000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 470.77000000000004,
      "heapDeltaBytes": -12726040,
      "heapUsedBytes": 56895288,
      "domNodes": -297,
      "jsHeapTotalBytes": 5234688,
      "scriptDurationMs": 6.754,
      "eventListeners": -201,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2022.297999999978,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.704,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 462.529,
      "heapDeltaBytes": -12146188,
      "heapUsedBytes": 58120276,
      "domNodes": -298,
      "jsHeapTotalBytes": 4972544,
      "scriptDurationMs": 6.860999999999999,
      "eventListeners": -201,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1837.5720000000229,
      "styleRecalcs": 76,
      "styleRecalcDurationMs": 35.431,
      "layouts": 16,
      "layoutDurationMs": 4.474,
      "taskDurationMs": 1082.062,
      "heapDeltaBytes": 13813176,
      "heapUsedBytes": 76503816,
      "domNodes": -297,
      "jsHeapTotalBytes": 5234688,
      "scriptDurationMs": 113.64699999999999,
      "eventListeners": -233,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1825.6470000000036,
      "styleRecalcs": 75,
      "styleRecalcDurationMs": 35.525,
      "layouts": 16,
      "layoutDurationMs": 4.321999999999999,
      "taskDurationMs": 1076.7799999999997,
      "heapDeltaBytes": -2848908,
      "heapUsedBytes": 67255980,
      "domNodes": -298,
      "jsHeapTotalBytes": 6021120,
      "scriptDurationMs": 113.253,
      "eventListeners": -201,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 1399.9350000000277,
      "styleRecalcs": 19,
      "styleRecalcDurationMs": 31.648999999999997,
      "layouts": 14,
      "layoutDurationMs": 14.578000000000001,
      "taskDurationMs": 912.8739999999998,
      "heapDeltaBytes": -7446844,
      "heapUsedBytes": 87400932,
      "domNodes": 13671,
      "jsHeapTotalBytes": 10747904,
      "scriptDurationMs": 29.994999999999994,
      "eventListeners": 2381,
      "totalBlockingTimeMs": 135,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 12315.66900000007,
      "styleRecalcs": 246,
      "styleRecalcDurationMs": 33.407,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9077.515000000001,
      "heapDeltaBytes": 8364284,
      "heapUsedBytes": 98529488,
      "domNodes": -278,
      "jsHeapTotalBytes": 3067904,
      "scriptDurationMs": 3187.9390000000003,
      "eventListeners": -129,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 12436.083999999937,
      "styleRecalcs": 248,
      "styleRecalcDurationMs": 34.518,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 9465.017,
      "heapDeltaBytes": 6053604,
      "heapUsedBytes": 96534164,
      "domNodes": -280,
      "jsHeapTotalBytes": 5951488,
      "scriptDurationMs": 3399.451,
      "eventListeners": -159,
      "totalBlockingTimeMs": 18,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 16579.931999999986,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 15772.357,
      "heapDeltaBytes": -24133444,
      "heapUsedBytes": 176216944,
      "domNodes": -6548,
      "jsHeapTotalBytes": 4288512,
      "scriptDurationMs": 296.625,
      "eventListeners": -7473,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.223333333333237,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 16603.202000000012,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 15874.127,
      "heapDeltaBytes": -27476544,
      "heapUsedBytes": 176813660,
      "domNodes": -6548,
      "jsHeapTotalBytes": 249856,
      "scriptDurationMs": 296.818,
      "eventListeners": -7473,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.776666666666763,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 20631.198999999924,
      "styleRecalcs": 176,
      "styleRecalcDurationMs": 17.14299999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 20264.308,
      "heapDeltaBytes": -27487300,
      "heapUsedBytes": 177233232,
      "domNodes": -6548,
      "jsHeapTotalBytes": 1064960,
      "scriptDurationMs": 933.4419999999999,
      "eventListeners": -7469,
      "totalBlockingTimeMs": 46,
      "frameDurationMs": 17.780000000000047,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 20891.089999999964,
      "styleRecalcs": 175,
      "styleRecalcDurationMs": 16.941999999999986,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 20499.965000000004,
      "heapDeltaBytes": -27311476,
      "heapUsedBytes": 178809284,
      "domNodes": -6548,
      "jsHeapTotalBytes": 249856,
      "scriptDurationMs": 969.481,
      "eventListeners": -7467,
      "totalBlockingTimeMs": 15,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "workflow-execution",
      "durationMs": 141.18700000005902,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 19.77,
      "layouts": 7,
      "layoutDurationMs": 1.8970000000000002,
      "taskDurationMs": 120.10700000000001,
      "heapDeltaBytes": 3768236,
      "heapUsedBytes": 69897204,
      "domNodes": 137,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 6.754,
      "eventListeners": 25,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "workflow-execution",
      "durationMs": 452.4750000000495,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 17.326999999999998,
      "layouts": 2,
      "layoutDurationMs": 0.41999999999999993,
      "taskDurationMs": 108.021,
      "heapDeltaBytes": 5472692,
      "heapUsedBytes": 71921564,
      "domNodes": 119,
      "jsHeapTotalBytes": 262144,
      "scriptDurationMs": 6.538,
      "eventListeners": 97,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    }
  ]
}

🌐 Website E2E

Tip

All tests passed.

Status ✅ Passed
Report View Report

@socket-security

socket-security Bot commented Jul 31, 2026 •

Copy link
Copy Markdown

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​stripe/​stripe-js@​9.12.1100100100100100

View full report

@codecov

codecov Bot commented Jul 31, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.59073% with 170 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...m/workspace/composables/useSubscriptionCheckout.ts 79.18% 55 Missing and 1 partial ⚠️
...nents/SubscriptionRequiredDialogContentUnified.vue 50.00% 32 Missing ⚠️
...platform/workspace/stores/billingOperationStore.ts 89.81% 22 Missing ⚠️
...ponents/SubscriptionTransitionPreviewWorkspace.vue 74.64% 18 Missing ⚠️
...ponents/SubscriptionAddPaymentPreviewWorkspace.vue 87.09% 15 Missing and 1 partial ⚠️
...kspace/components/UnifiedStripePaymentSelector.vue 88.63% 9 Missing and 1 partial ⚠️
...orm/workspace/utils/pendingSubscriptionCheckout.ts 90.32% 6 Missing ⚠️
.../subscription/composables/useSubscriptionDialog.ts 89.18% 4 Missing ⚠️
...kspace/components/SubscriptionSuccessWorkspace.vue 81.81% 2 Missing ⚠️
src/composables/useUrlActionLoaders.ts 90.00% 1 Missing ⚠️
... and 3 more
@@            Coverage Diff             @@
##             main   #14483      +/-   ##
==========================================
+ Coverage   80.01%   80.08%   +0.07%     
==========================================
  Files        2251     2256       +5     
  Lines      114237   115195     +958     
  Branches    31139    35892    +4753     
==========================================
+ Hits        91402    92258     +856     
- Misses      22364    22447      +83     
- Partials      471      490      +19     
Flag Coverage Δ
e2e 66.90% <4.68%> (-0.17%) ⬇️
unit 74.48% <84.35%> (+0.14%) ⬆️
website-unit 27.80% <ø> (+0.79%) ⬆️

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

Files with missing lines Coverage Δ
src/composables/useFeatureFlags.ts 87.96% <100.00%> (+0.83%) ⬆️
...scription/composables/usePaymentReturnUrlLoader.ts 100.00% <100.00%> (ø)
...tform/cloud/subscription/utils/paymentReturnUrl.ts 100.00% <100.00%> (ø)
.../subscription/utils/subscriptionQuoteFormatting.ts 100.00% <100.00%> (ø)
...subscription/utils/teamSubscriptionCheckoutUtil.ts 100.00% <ø> (ø)
src/platform/telemetry/types.ts 97.05% <ø> (ø)
src/platform/workspace/auth/WorkspaceAuthGate.vue 97.79% <ø> (-0.07%) ⬇️
...nts/SubscriptionRequiredDialogContentWorkspace.vue 100.00% <ø> (ø)
src/composables/useUrlActionLoaders.ts 94.73% <90.00%> (-1.70%) ⬇️
src/main.ts 39.53% <0.00%> (-0.95%) ⬇️
... and 11 more

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

@huntcsg

huntcsg commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Status update (2026-08-04): b01583fd4f merges frontend main (47 commits) and reconciles the checkout stack:

  • billingOperationStore keeps main's cancel-aware 23h timeout rule alongside this branch's embedded authentication handling; useSubscriptionCheckout adopts main's recovery ordering with this branch's stale-quote recovery in the chain.
  • SavedPaymentMethod.isDefault is renamed to is_default end to end, matching the ingest spec convention fixed on the backend PR (Comfy-Org/cloud#5968); ingest-types are regenerated from the current cloud spec, and billing fixtures gain the now-required max_seats/occupied_seats.
  • The previously failing chromium-2x/mobile-chrome shards failed on default-canvas screenshot baselines from before the merge — unrelated to this branch's changes; this run has main's current expectations.

Cloud's preview environments now pin this tip (6d58b92fd7 on #5968).

@huntcsg huntcsg added the New Browser Test Expectations New browser test screenshot should be set by github action label Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Updating Playwright Expectations

@github-actions github-actions Bot removed the New Browser Test Expectations New browser test screenshot should be set by github action label Aug 4, 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: 15

🤖 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/assets/css/style.css`:
- Around line 3-10: Update the .p-toast rule to use pointer-events: none, and
add a pointer-events: auto rule for the toast message element so only visible
toast surfaces remain interactive while transparent container areas pass clicks
through.

In `@src/platform/workspace/api/workspaceApi.test.ts`:
- Around line 460-472: Extend the previewSubscribe() test to also call it
without a promotionCode and assert the resulting POST payload excludes
promotion_code entirely. Keep the existing supplied-code assertion, and verify
the no-promotion request path prevents blank or stale promotion values from
being sent.

In
`@src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue`:
- Around line 480-498: Update amountDueCents to derive directly from
previewData.amount_due_cents, using the existing zero fallback for missing quote
data. Remove the unused totalDueTodayUsd computed value and leave totalDueToday
and formatQuoteMoney unchanged.
- Around line 234-263: Update the button visibility conditions around the retry
button and the actionUrl button so only one verification action renders when
authenticationState is requires_action, canRetryAuthentication is true, and
actionUrl is present. Preserve retryAuthentication as the sole action for that
state while retaining openVerification for actionUrl cases that do not use the
retry flow.
- Around line 138-153: Update the promotionCode input in
SubscriptionAddPaymentPreviewWorkspace to provide a persistent accessible name,
such as an associated visible label or an appropriate aria-label, while
preserving its existing placeholder and behavior.

In
`@src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue`:
- Around line 310-319: Reset collectingNewPaymentMethod when checkoutStep
transitions away from preview, including the handleBackToPricing flow, so
returning to the confirm step repopulates savedMethodsForConfirm and restores
the saved-method layout. Keep selectSavedPaymentMethod behavior unchanged for
explicit saved-method and new-method selections.

In
`@src/platform/workspace/components/SubscriptionRequiredDialogContentWorkspace.vue`:
- Around line 90-97: Update SubscriptionRequiredDialogContentWorkspace to
destructure quoteIsCurrent from useSubscriptionCheckout and forward it as
quote-is-current to both workspace preview components, so their confirm actions
can enable correctly. If this flow supports the payment-element paths, also
forward use-payment-element, saved-methods, and selected-saved-method-id to both
components.

In
`@src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.vue`:
- Around line 198-203: Add a localized aria-label to the promotion-code input
bound to promotionCode, using the existing subscription translation namespace
and a suitable promotion-code label key. Keep the current placeholder, v-model,
and invalidateQuote behavior unchanged.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue`:
- Around line 13-18: Add the ARIA alert role to the error container div in
UnifiedStripePaymentSelector.vue that conditionally displays the
configurationError. Include role="alert" on the div element with the
v-if="configurationError" condition to ensure screen readers announce payment
configuration and submission errors to assistive technology users, following the
same pattern already established in SubscriptionAddPaymentPreviewWorkspace.vue.
- Around line 29-31: In the icon element within UnifiedStripePaymentSelector.vue
that renders the shield-check icon, replace the class text-success-foreground
with text-(--success-foreground) to use the CSS token form instead of the
descoped foreground alias utility.
- Around line 105-152: The stripe.elements() call in onMounted captures
amountCents and currency once, but these props can change when a promotion code
is applied in the parent component (SubscriptionAddPaymentPreviewWorkspace.vue).
When the amount changes, the Stripe element must be refreshed to reflect the
updated total. Add a watcher that monitors both amountCents and currency props,
and when either changes, call the update method on stripeElements.value with the
new amount and currency values to keep the Stripe element in sync with the
current quote state.

In `@src/platform/workspace/composables/useSubscriptionCheckout.test.ts`:
- Around line 433-487: Add a test alongside the existing promotion checkout test
that loads the preview via handleSubscribeClick, calls invalidateQuote before
handleConfirmTransition, and verifies mockSubscribe is not called. Assert
mockToastAdd receives an object whose detail is
subscription.preview.applyQuoteBeforeContinuing, covering the quoteIsCurrent
guard in the subscription confirmation flow.

In `@src/platform/workspace/composables/useSubscriptionCheckout.ts`:
- Around line 830-859: Update recoverStaleQuote to use the existing hasErrorCode
helper for SUBSCRIPTION_QUOTE_STALE matching, removing the local
instanceof/property checks so plain objects with the code are recovered
consistently. Replace the try/catch and throw-on-false flow around
applyPromotionCode with a direct boolean conditional: show the stale-quote toast
when it succeeds, otherwise call handleBackToPricing and show the refresh-failed
toast.

In `@src/platform/workspace/stores/billingOperationStore.ts`:
- Around line 569-583: Update handleReconciliationNeeded to emit
telemetry?.trackBillingEvent like handleFailure and handleTimeout, passing the
same operation context and recording reconciliation_needed as failure_category.
Ensure the telemetry type accepts this category, extending the closed union if
necessary, while preserving the existing cleanup and terminal-resolution flow.
- Around line 350-358: Move the loadStripe call in the authentication flow into
the existing try/catch so rejected Stripe.js loading is handled by the
established error path. Ensure the catch invokes setAuthenticationRetry for
opId, restoring the retry state instead of leaving authentication flags active.
🪄 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: 2e1e93e1-8308-4fea-bd20-4ca20cef3634

📥 Commits

Reviewing files that changed from the base of the PR and between 3dc1734 and fcc2b5e.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (32)
  • .env_example
  • apps/website/e2e/minimax.spec.ts
  • apps/website/src/templates/model-launch/modelLaunchPages.test.ts
  • browser_tests/fixtures/data/cloudWorkspace.ts
  • browser_tests/tests/dialogs/pricingTableDeepLink.spec.ts
  • package.json
  • packages/ingest-types/src/index.ts
  • packages/ingest-types/src/types.gen.ts
  • packages/ingest-types/src/zod.gen.ts
  • pnpm-workspace.yaml
  • src/assets/css/style.css
  • src/components/dialog/GlobalDialog.test.ts
  • src/locales/en/main.json
  • src/platform/cloud/subscription/composables/useSubscriptionDialog.ts
  • src/platform/workspace/api/workspaceApi.test.ts
  • src/platform/workspace/api/workspaceApi.ts
  • src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.test.ts
  • src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue
  • src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.test.ts
  • src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue
  • src/platform/workspace/components/SubscriptionRequiredDialogContentWorkspace.vue
  • src/platform/workspace/components/SubscriptionSuccessWorkspace.vue
  • src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.test.ts
  • src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.vue
  • src/platform/workspace/components/SubscriptionTransitionPreviewWorkspaceReactivation.test.ts
  • src/platform/workspace/components/UnifiedStripePaymentSelector.test.ts
  • src/platform/workspace/components/UnifiedStripePaymentSelector.vue
  • src/platform/workspace/composables/useSubscriptionCheckout.test.ts
  • src/platform/workspace/composables/useSubscriptionCheckout.ts
  • src/platform/workspace/stores/billingOperationStore.test.ts
  • src/platform/workspace/stores/billingOperationStore.ts
  • src/vite-env.d.ts

Comment thread src/assets/css/style.css Resolved

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

🤖 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/assets/css/style.css`:
- Around line 3-10: Ensure the `.p-toast` pointer-events override takes
precedence over PrimeVue theme styles regardless of stylesheet load order.
Update the `.p-toast` rule in the stylesheet to use stronger specificity or
`!important`, while preserving `pointer-events: auto` so toast controls remain
interactive during modal state.

In `@src/platform/workspace/api/workspaceApi.test.ts`:
- Around line 460-472: Add an unapplied-promotion test alongside
previewSubscribe() that calls workspaceApi.previewSubscribe without a
promotionCode, then assert the posted payload’s promotion_code is absent or
undefined per the API contract. Keep the existing applied-code assertion
unchanged and use the same mockAxiosInstance.post setup.

In
`@src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue`:
- Around line 234-263: Update the retry button condition in the component’s
authentication-state button block so it is rendered only when no actionUrl is
available, preventing it from appearing alongside the openVerification button;
keep the existing actionUrl button behavior unchanged.
- Line 350: Replace the manually declared selectedSavedMethodId prop and
update:selectedSavedMethodId emit with defineModel<string |
null>('selectedSavedMethodId') in the component’s script setup. Update
references to use the model value while preserving the add-new branch in the
selectedMethod setter.
- Around line 138-153: The promotion-code inputs in
src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue:138-153
and
src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.vue:197-212
must emit invalidateQuote only when promotionCode differs from
previewData?.promotion_code, while preserving the existing applyPromotionCode
behavior. Add an aria-label to both inputs using the
subscription.preview.promoCodePlaceholder translation, or extract both fields
into a shared component implementing these changes.
- Around line 139-144: Update the promotion-code input in
SubscriptionAddPaymentPreviewWorkspace to include an aria-label using the
existing subscription.preview.promoCodePlaceholder translation key, while
preserving its current placeholder and input behavior.
- Around line 500-516: Update the renewalTerms computed formatter to pass
timeZone: 'UTC' in the toLocaleDateString options, matching
SubscriptionTransitionPreviewWorkspace.formatDate and preserving the intended
UTC calendar date.
- Line 498: Update the amountDueCents computed property to read the cent amount
directly from its source value instead of multiplying totalDueTodayUsd.value by
100 and rounding. Identify the underlying cents value that totalDueTodayUsd is
derived from, and have amountDueCents reference that source directly to avoid
the unnecessary float conversion round-trip and Math.round call.
- Around line 265-273: Update the UnifiedStripePaymentSelector render condition
in SubscriptionAddPaymentPreviewWorkspace to require a complete quote with a
present currency and positive amountDueCents before rendering. Preserve the
existing captureMode requirement, and pass the validated quote currency without
falling back to an empty string.

In
`@src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue`:
- Around line 234-246: Move the useSubscriptionCheckout destructuring, including
savedPaymentMethods, checkoutStep, and previewVariant, above the
savedMethodsForConfirm and isEmbeddedPaymentStep computed declarations. Keep the
computed logic unchanged while ensuring all referenced bindings are initialized
before these computeds are created.
- Around line 31-36: Update the keydown listener near handleBackToPricing so
Backspace navigation during checkoutStep === 'preview' also requires
!isEmbeddedPaymentStep and !isEmbeddedConfirmStep, matching the Button v-if
conditions and preventing navigation when the back button is hidden.
- Around line 336-356: Update the watcher around checkoutStep and
savedMethodsForConfirm to guard both window.matchMedia and el.animate before
invoking them, while preserving the reduced-motion early return and height
animation behavior when those APIs are available.

In
`@src/platform/workspace/components/SubscriptionRequiredDialogContentWorkspace.vue`:
- Around line 90-97: Bind quoteIsCurrent from the composable to both
SubscriptionAddPaymentPreviewWorkspace and
SubscriptionTransitionPreviewWorkspace usages, and include quoteIsCurrent in the
composable destructuring so each child receives the current value instead of its
false default.

In `@src/platform/workspace/components/SubscriptionSuccessWorkspace.vue`:
- Around line 45-60: Remove the unused promoApplied prop and the conditional
promotion paragraph from SubscriptionSuccessWorkspace, including its
promoApplied translation references, since no current caller provides the data.
Leave the existing subscription-success content and dark-surface behavior
unchanged.

In
`@src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.test.ts`:
- Around line 71-81: The quote fixture’s defaults are inconsistent:
amount_due_cents should use result.cost_today_cents, and overrides must be
re-spread after applying defaults so explicitly undefined fields can clear
generated values. Update the fixture return in
SubscriptionTransitionPreviewWorkspace.test.ts to match the reactivation
fixture’s ordering and fallback behavior, while preserving explicit override
values.

In
`@src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.vue`:
- Around line 187-196: Update the total-due display around exactAmountDue so an
unavailable quote renders a clear placeholder or explicit unavailable message
instead of an empty value. Keep the existing exact amount rendering when
previewData.amount_due_cents is present, and ensure the fallback communicates
why confirmation may be unavailable.
- Around line 215-264: Extract the duplicated reconciliation and verification
footer markup into a shared component accepting authenticationState,
authenticationError, canRetryAuthentication, isAuthenticating,
reconciliationOperationId, and actionUrl, emitting retryAuthentication, and
rendering only one verification action when requires_action is active. Update
src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.vue#L215-L264
and
src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue#L234-L263
to use it, and remove the local verificationRecoveryActive duplicate in
SubscriptionAddPaymentPreviewWorkspace.vue#L388-L393.
- Around line 602-614: Move formatQuoteMoney out of
SubscriptionTransitionPreviewWorkspace.vue and
SubscriptionAddPaymentPreviewWorkspace.vue into a shared module, then import and
reuse it in both components. Update the formatter to accept the active i18n
locale and pass that locale to Intl.NumberFormat, preserving the existing
currency and cents-to-major-unit behavior while keeping exactAmountDue
unchanged.

In
`@src/platform/workspace/components/SubscriptionTransitionPreviewWorkspaceReactivation.test.ts`:
- Around line 548-570: The test combines clearing all quote fields with passing
quoteIsCurrent as false, but only quoteIsCurrent controls the disabled state,
leaving the missing-quote render path untested. Modify the existing test to
focus on the quoteIsCurrent: false case by populating the quote fields in
makePreview while keeping the third parameter (quoteIsCurrent) as false. Then
add a second test case that reverses this: keep quoteIsCurrent as true by
changing the third makePreview parameter to true, but clear the quote fields as
currently done, and assert the resulting total display instead of checking the
button disabled state.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.test.ts`:
- Around line 82-150: Extend the UnifiedStripePaymentSelector tests around
renderSelector with three cases covering the gated checkout paths: verify
canSubmit: false leaves the pay button disabled and emits no confirmation,
verificationPending: true demotes the pay button, and an absent
VITE_STRIPE_PUBLISHABLE_KEY renders “Stripe is unavailable” without calling
loadStripe. Configure each scenario through the existing renderSelector options
and reset relevant Stripe/environment mocks between cases.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue`:
- Around line 29-31: Update the icon element in UnifiedStripePaymentSelector to
replace the descoped text-success-foreground alias with the project’s
arbitrary-value success foreground token utility, preserving the existing icon
sizing and layout classes.
- Around line 92-103: Wrap the code inside the onMounted callback in a try/catch
block to handle potential rejections from loadStripe. In the catch block, set
configurationError.value to t('subscription.preview.stripeUnavailable') so users
see an error message when the Stripe script fails to load due to network issues,
content blockers, or CSP rules. Keep the existing conditional checks for
publishableKey, amountCents, stripe, paymentElementTarget.value, and isUnmounted
within the try block unchanged.
- Around line 105-110: The UnifiedStripePaymentSelector component must update
the existing Stripe Elements instance when the quote changes. Add a watcher for
amountCents and currency that calls stripeElements.value.update with the latest
amount and normalized currency, while preserving the existing initialization in
onMounted.

In `@src/platform/workspace/composables/useSubscriptionCheckout.test.ts`:
- Around line 489-531: Add a new test case in useSubscriptionCheckout.test.ts
that covers the failure scenario of recoverStaleQuote by setting up
mockPreviewSubscribe to either reject or return allowed: false when the refresh
is attempted after a SUBSCRIPTION_QUOTE_STALE error from mockSubscribe. After
calling handleConfirmTransition, assert that checkoutStep.value returns to
'pricing' (not remaining at 'preview') and that a toast with detail matching
'subscription.quoteRefreshFailed' was added, validating the fixed behavior where
handleBackToPricing completes successfully.
- Around line 183-196: Replace the inline mockSubscriptionActionOperation shape
with a Partial of the production operation type, importing
BillingAuthenticationState, OperationStatus, and the operation type from the
existing workspace API definitions as needed. Widen the mock to support all
production authentication and status values, then add fixtures covering the
requires_action isPolling branch and the
reconciliation_needed/reconciliationOperationId branch in
useSubscriptionCheckout.

In `@src/platform/workspace/composables/useSubscriptionCheckout.ts`:
- Around line 850-857: Replace the handleBackToPricing() call in the
recoverStaleQuote catch block with resetToPricing(), so recovery navigates to
pricing even while isSubscribing.value remains true. Keep the existing error
toast unchanged.
- Around line 762-765: Route both direct previewData.value assignments in
assertReactivationAmountUnchanged and refreshExpiredProrationQuote through
installPreview instead, preserving the fetched preview data while marking it
current. This must satisfy the quote guards in the submit flows, including
handleTeamSubscription, so reactivation can proceed after the user re-confirms.
- Around line 766-777: Extract the duplicated payment and quote option
construction into a shared buildPaymentOptions helper in
src/platform/workspace/composables/useSubscriptionCheckout.ts, preserving
confirmationToken versus savedPaymentMethodId selection, promotion-code
precedence, and exact-quote fields. At
src/platform/workspace/composables/useSubscriptionCheckout.ts:766-777, spread
the helper result into subscribe; apply the same replacement at :1063-1074 while
keeping teamCreditStopId and billingCycle at the team call site.

In `@src/platform/workspace/stores/billingOperationStore.test.ts`:
- Around line 96-105: Add a test in the billing operation store test suite
covering runPaymentIntentAction when Stripe cannot load, using
mockLoadStripe.mockResolvedValue(null) or an empty publishable key. Start an
operation requiring authentication, advance the timers, and assert it becomes
failed_retryable with isAuthenticating false and the
billingOperation.authenticationUnavailable error message.

In `@src/platform/workspace/stores/billingOperationStore.ts`:
- Around line 401-408: Update updateOperationActionUrl to call updateOperation
with the operation ID and action-URL patch instead of duplicating the
operations.value map-copy assignment. Keep updateOperation as the single owner
of writes to operations.
🪄 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: 83948c01-3933-4eeb-a4f6-51514124e518

📥 Commits

Reviewing files that changed from the base of the PR and between 3dc1734 and cda70e5.

⛔ Files ignored due to path filters (7)
  • browser_tests/tests/interaction.spec.ts-snapshots/default-chromium-2x-linux.png is excluded by !**/*.png
  • browser_tests/tests/mobileBaseline.spec.ts-snapshots/mobile-default-workflow-mobile-chrome-linux.png is excluded by !**/*.png
  • browser_tests/tests/mobileBaseline.spec.ts-snapshots/mobile-graph-canvas-toolbar-mobile-chrome-linux.png is excluded by !**/*.png
  • browser_tests/tests/rerouteNode.spec.ts-snapshots/native-reroute-alt-click-chromium-0-5x-linux.png is excluded by !**/*.png
  • browser_tests/tests/rerouteNode.spec.ts-snapshots/native-reroute-alt-click-chromium-2x-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/nodeStates/mute.spec.ts-snapshots/vue-node-muted-state-chromium-linux.png is excluded by !**/*.png
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (32)
  • .env_example
  • apps/website/e2e/minimax.spec.ts
  • apps/website/src/templates/model-launch/modelLaunchPages.test.ts
  • browser_tests/fixtures/data/cloudWorkspace.ts
  • browser_tests/tests/dialogs/pricingTableDeepLink.spec.ts
  • package.json
  • packages/ingest-types/src/index.ts
  • packages/ingest-types/src/types.gen.ts
  • packages/ingest-types/src/zod.gen.ts
  • pnpm-workspace.yaml
  • src/assets/css/style.css
  • src/components/dialog/GlobalDialog.test.ts
  • src/locales/en/main.json
  • src/platform/cloud/subscription/composables/useSubscriptionDialog.ts
  • src/platform/workspace/api/workspaceApi.test.ts
  • src/platform/workspace/api/workspaceApi.ts
  • src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.test.ts
  • src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue
  • src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.test.ts
  • src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue
  • src/platform/workspace/components/SubscriptionRequiredDialogContentWorkspace.vue
  • src/platform/workspace/components/SubscriptionSuccessWorkspace.vue
  • src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.test.ts
  • src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.vue
  • src/platform/workspace/components/SubscriptionTransitionPreviewWorkspaceReactivation.test.ts
  • src/platform/workspace/components/UnifiedStripePaymentSelector.test.ts
  • src/platform/workspace/components/UnifiedStripePaymentSelector.vue
  • src/platform/workspace/composables/useSubscriptionCheckout.test.ts
  • src/platform/workspace/composables/useSubscriptionCheckout.ts
  • src/platform/workspace/stores/billingOperationStore.test.ts
  • src/platform/workspace/stores/billingOperationStore.ts
  • src/vite-env.d.ts

Comment thread src/assets/css/style.css Resolved
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Note

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

@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

Caution

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

⚠️ Outside diff range comments (3)
src/platform/workspace/api/workspaceApi.ts (1)

171-194: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Forward idempotencyKey in subscribe().

The generated contract uses idempotency_key to prevent duplicate billing operations. Add the option, map it to the request, and add a forwarding test.

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

In `@src/platform/workspace/api/workspaceApi.ts` around lines 171 - 194, Update
SubscribeOptions and the subscribe() request mapping to accept and forward
idempotencyKey as idempotency_key, preserving the generated contract’s naming.
Add a forwarding test verifying the option reaches the request payload.
src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue (1)

359-377: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Backspace still navigates back after the back button is hidden.

Lines 31-36 hide the back button when isEmbeddedPaymentStep or isEmbeddedConfirmStep is true. The keydown listener at Line 359 still calls handleBackToPricing for Backspace whenever checkoutStep === 'preview'.

The Stripe Payment Element renders inside an iframe, so event.target is not one of the editable elements excluded at Lines 367-374. A Backspace press outside the iframe discards entered card details. That is the exact outcome dismissableMask: false in useSubscriptionDialog.ts was added to prevent.

Add the same embedded-step conditions to the keyboard handler.

🐛 Proposed fix
 useEventListener(window, 'keydown', (event: KeyboardEvent) => {
   if (
     event.key !== 'Backspace' ||
     checkoutStep.value !== 'preview' ||
+    isEmbeddedPaymentStep.value ||
+    isEmbeddedConfirmStep.value ||
     isPolling.value
   )
     return
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue`
around lines 359 - 377, Add the existing isEmbeddedPaymentStep and
isEmbeddedConfirmStep guards to the Backspace keydown handler in
useEventListener, so it returns before handleBackToPricing when either embedded
step is active; preserve the current preview, polling, and editable-target
checks for all other cases.
src/platform/workspace/composables/useSubscriptionCheckout.ts (1)

336-337: 🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win

Route the remaining direct previewData.value assignments through installPreview.

Line 337 and Line 456 assign previewData.value without setting quoteIsCurrent. Both assign a preview that previewSubscribe just returned, so the quote is current by definition.

After either assignment, the guard at Lines 774-776 and the identical guard at Lines 1072-1074 throw subscription.preview.applyQuoteBeforeContinuing on every later submit. The reactivation screen has no Apply control, so the user cannot clear the flag.

🐛 Proposed fix
       if (amountChanged || materialChanged) {
-        previewData.value = freshPreview
+        installPreview(freshPreview)
         throw new ReactivationAmountChangedError(
     const amountChanged =
       freshPreview.cost_today_cents !== previewData.value?.cost_today_cents
-    previewData.value = freshPreview
+    installPreview(freshPreview)
     toast.add({
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/composables/useSubscriptionCheckout.ts` around lines
336 - 337, Replace the direct previewData.value assignments in the
amount/material-change flow and the corresponding assignment near the second
previewSubscribe result with calls to installPreview, so each freshly returned
preview also sets quoteIsCurrent. Preserve the existing conditions and preview
values while ensuring both later submission guards recognize the quote as
current.
♻️ Duplicate comments (16)
src/platform/workspace/components/UnifiedStripePaymentSelector.vue (4)

29-31: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Replace text-success-foreground with the token form.

The text-*-foreground alias utilities are descoped in this repository. Use the arbitrary-value token form.

🎨 Proposed fix
         <i
-          class="text-success-foreground mt-0.5 icon-[lucide--shield-check] size-4 shrink-0"
+          class="mt-0.5 size-4 shrink-0 text-(--success-foreground) icon-[lucide--shield-check]"
         />

Based on learnings: do not use the Tailwind foreground alias utility classes like text-success-foreground; instead use arbitrary-value CSS tokens such as text-(--success-foreground).

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

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue` around
lines 29 - 31, Update the icon element in UnifiedStripePaymentSelector to
replace the unsupported text-success-foreground utility with the arbitrary-value
token form text-(--success-foreground), preserving all other classes and markup.

Source: Learnings


13-18: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Announce the payment error to assistive technology.

configurationError carries both configuration failures and Stripe submission errors from Lines 198 and 205. The container has no live-region role, so screen reader users receive no announcement after a failed submit. The sibling error banner in SubscriptionAddPaymentPreviewWorkspace.vue at Line 230 already uses role="alert".

♿ Proposed fix
     <div
       v-if="configurationError"
+      role="alert"
       class="border-danger-background bg-danger-background/10 text-danger rounded-lg border px-3 py-2 text-sm"
     >
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue` around
lines 13 - 18, Add role="alert" to the configurationError container in
UnifiedStripePaymentSelector so screen readers announce both configuration and
Stripe submission errors, matching the existing error-banner behavior.

110-113: 🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift

Update the Stripe Elements amount and currency when the quote changes.

stripe.elements() runs once in onMounted and captures amountCents and currency at that moment. The parent re-quotes while this component stays mounted: SubscriptionAddPaymentPreviewWorkspace.vue binds :amount-cents="amountDueCents" and :currency="previewData?.currency ?? ''", and applying a promotion code changes previewData.amount_due_cents. captureMode does not change during that refresh, so the element is not remounted.

In the deferred-intent pattern the element amount drives the wallet sheets, the Alipay redirect amount, and payment-method eligibility. A stale amount shows the pre-discount total to the customer. Call elements.update() when the props change.

🔧 Proposed fix
-import { onBeforeUnmount, onMounted, ref } from 'vue'
+import { onBeforeUnmount, onMounted, ref, watch } from 'vue'
 onBeforeUnmount(() => {
   isUnmounted = true
   paymentElement?.destroy()
 })
+
+watch(
+  () => [amountCents, currency] as const,
+  ([nextAmount, nextCurrency]) => {
+    if (!stripeElements.value || nextAmount <= 0 || !nextCurrency) return
+    stripeElements.value.update({
+      amount: nextAmount,
+      currency: nextCurrency.toLowerCase()
+    })
+  }
+)
Stripe.js elements.update amount deferred intent subscription mode
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue` around
lines 110 - 113, Update the UnifiedStripePaymentSelector setup so the existing
Stripe Elements instance calls elements.update with the latest amountCents and
lowercase currency whenever those props change, including quote and promotion
refreshes. Reuse the mounted element rather than remounting it, and ensure the
update occurs only after stripeElements.value exists.

104-108: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Handle a loadStripe rejection.

loadStripe rejects when the Stripe script fails to load, for example on a network error, a content blocker, or a CSP rule. The rejection escapes the onMounted callback as an unhandled promise rejection. configurationError stays empty, so the user sees an empty payment area with no message and a permanently disabled pay button, because Line 41 binds :disabled="!stripeElements || !canSubmit".

🛡️ Proposed fix
-  stripe = await loadStripe(publishableKey)
+  try {
+    stripe = await loadStripe(publishableKey)
+  } catch {
+    stripe = null
+  }
   if (!stripe || !paymentElementTarget.value || isUnmounted) {
     configurationError.value = t('subscription.preview.stripeUnavailable')
     return
   }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue` around
lines 104 - 108, Handle promise rejection around the loadStripe call in the
component’s onMounted initialization flow: catch failures, set
configurationError to the existing Stripe-unavailable translation, and return so
the UI displays the error instead of leaving the payment area and pay button
unusable without feedback. Preserve the existing null, missing-target, and
unmounted checks.
src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue (3)

233-269: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Declare these computeds after the useSubscriptionCheckout call.

savedMethodsForConfirm reads savedPaymentMethods. isEmbeddedPaymentStep, isEmbeddedConfirmStep, and isEmbeddedSuccessStep read checkoutStep and previewVariant. All four bindings are created by the destructuring at Line 271.

The code works today because the getters run lazily during render, after setup finishes. Any future synchronous read during setup, for example a watchEffect, throws a ReferenceError from the temporal dead zone.

Move the useSubscriptionCheckout destructuring above these computeds.

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

In
`@src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue`
around lines 233 - 269, Move the useSubscriptionCheckout destructuring,
including savedPaymentMethods, checkoutStep, and previewVariant, above the
collectingNewPaymentMethod, savedMethodsForConfirm, isEmbeddedPaymentStep,
isEmbeddedConfirmStep, and isEmbeddedSuccessStep declarations so every computed
is created after its dependencies are initialized.

335-355: 🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

Guard the Web Animations API and matchMedia before calling them.

Line 345 calls matchMedia(...) and Line 350 calls el.animate(...). happy-dom does not provide Element.animate by default. This watcher runs on every checkoutStep transition, so a component test that moves from preview to success throws inside the async callback and produces an unhandled rejection.

Check for both APIs before use.

🛡️ Proposed fix
-    if (matchMedia('(prefers-reduced-motion: reduce)').matches) return
+    if (
+      typeof matchMedia === 'function' &&
+      matchMedia('(prefers-reduced-motion: reduce)').matches
+    ) {
+      return
+    }
+    if (typeof el.animate !== 'function') return
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue`
around lines 335 - 355, Update the watcher around checkoutStep and
savedMethodsForConfirm to guard both matchMedia and the element’s animate method
before invoking them. Preserve the existing reduced-motion and height-change
checks, and return early when either API is unavailable so transitions cannot
produce an unhandled rejection in test environments.

309-318: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Reset collectingNewPaymentMethod when the user leaves the preview step.

selectSavedPaymentMethod(null) sets collectingNewPaymentMethod to true. Only selecting a saved method by id sets it back to false. handleBackToPricing does not reset it.

A user who chooses "add new payment method", presses the back arrow, and then re-enters the confirm step still sees savedMethodsForConfirm as empty. The saved card row and the picker stay hidden, and the dialog stays in the wide capture layout. The saved method is unreachable until the dialog is reopened.

🐛 Proposed fix
   collectingNewPaymentMethod.value = false
   selectedSavedPaymentMethodId.value = id
 }
+
+watch(checkoutStep, (step) => {
+  if (step !== 'preview') collectingNewPaymentMethod.value = false
+})
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue`
around lines 309 - 318, Update handleBackToPricing to reset
collectingNewPaymentMethod to false when leaving the preview step, so
re-entering confirmation restores savedMethodsForConfirm, the saved-card picker,
and the standard layout. Keep selectSavedPaymentMethod behavior unchanged.
src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue (5)

510-525: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Pin the timezone for the renewal date.

Line 517 formats renewal_at in the viewer's local timezone. renewal_at is a UTC timestamp, so a user west of UTC sees the previous calendar day as the renewal date. SubscriptionTransitionPreviewWorkspace.formatDate already pins timeZone: 'UTC' for the same field.

🐛 Proposed fix
   const date = new Date(previewData.renewal_at).toLocaleDateString(undefined, {
     month: 'short',
     day: 'numeric',
-    year: 'numeric'
+    year: 'numeric',
+    timeZone: 'UTC'
   })
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue`
around lines 510 - 525, Update the renewalTerms computed property’s
Date.toLocaleDateString call to include the UTC timezone, matching
SubscriptionTransitionPreviewWorkspace.formatDate, so renewal_at always displays
its UTC calendar date.

143-158: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

The promotion-code input invalidates the quote on every keystroke and has no accessible name.

Line 148 emits invalidateQuote on every input event. That clears quoteIsCurrent, which gates every primary payment action through Lines 281, 291, and 303. A user who types a code and then pays without pressing Apply finds all pay actions disabled and receives no explanation.

Line 147 supplies only a placeholder. A placeholder is not an accessible name and it disappears once the user types.

Emit invalidateQuote only when the typed value differs from previewData?.promotion_code, and add an aria-label that reuses the existing translation key.

♿ Proposed fix
         <input
           v-model="promotionCode"
           class="h-10 min-w-0 flex-1 rounded-lg border border-interface-stroke bg-secondary-background px-3 text-base-foreground"
+          :aria-label="$t('subscription.preview.promoCodePlaceholder')"
           :placeholder="$t('subscription.preview.promoCodePlaceholder')"
-          `@input`="$emit('invalidateQuote')"
+          `@input`="onPromotionCodeInput"
         />
function onPromotionCodeInput() {
  if (promotionCode.value === (previewData?.promotion_code ?? '')) return
  emit('invalidateQuote')
}
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue`
around lines 143 - 158, Update the promotion-code input handling in
SubscriptionAddPaymentPreviewWorkspace so invalidateQuote is emitted only when
promotionCode differs from previewData?.promotion_code, preserving the current
value without invalidation. Replace the inline input emission with the
component’s handler and add an aria-label using the existing
subscription.preview.promoCodePlaceholder translation.

272-283: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Do not render the payment selector with an incomplete quote.

Line 275 forwards an empty string when the quote has no currency. PreviewSubscribeResponse.currency is optional. UnifiedStripePaymentSelector then calls stripe.elements({ currency: '' }), which Stripe rejects.

Line 274 resolves to 0 when amount_due_cents is absent. UnifiedStripePaymentSelector treats amountCents <= 0 as a configuration failure at its Line 99 and renders subscription.preview.stripeUnavailable, so the user reaches a dead end with a misleading message.

Gate the selector on a complete quote.

🐛 Proposed fix
       <UnifiedStripePaymentSelector
-        v-if="captureMode"
+        v-if="captureMode && previewData?.currency && amountDueCents > 0"
         :amount-cents="amountDueCents"
-        :currency="previewData?.currency ?? ''"
+        :currency="previewData.currency"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue`
around lines 272 - 283, Update the UnifiedStripePaymentSelector rendering in the
captureMode block to require a complete quote: render it only when
previewData.amount_due_cents is present and positive and previewData.currency is
non-empty. Keep the existing amount and currency bindings, but prevent fallback
values from reaching the selector when either required quote field is missing.

360-360: 📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Use defineModel for selectedSavedMethodId.

The component declares the selectedSavedMethodId prop at Line 360 and the matching update:selectedSavedMethodId emit at Line 387 by hand.

Replace the pair with defineModel<string | null>('selectedSavedMethodId'). Keep the add-new branch in the selectedMethod setter.

As per coding guidelines: "Prefer defineModel for v-model bindings".

Also applies to: 387-387

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

In `@src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue`
at line 360, Replace the manually declared selectedSavedMethodId prop and
matching update:selectedSavedMethodId emit with defineModel<string |
null>('selectedSavedMethodId') in the component. Update references to use the
resulting model ref while preserving the add-new branch in the selectedMethod
setter.

Source: Coding guidelines


241-270: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Two buttons can render with the same "Complete verification" label.

The button at Line 241 renders when authenticationState === 'requires_action' and canRetryAuthentication is true. For that state its label resolves to subscription.preview.completeVerification. The button at Line 262 renders when actionUrl is set and uses the same label.

Both conditions hold when the operation requires action and the backend also returns an actionUrl. The two buttons perform different actions: one emits retryAuthentication, the other opens actionUrl in a new tab. The user cannot tell them apart.

Render one action for the requires_action state.

🐛 Proposed fix
       <Button
-        v-if="actionUrl"
+        v-if="actionUrl && authenticationState !== 'requires_action'"
         variant="inverted"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue`
around lines 241 - 270, Update the button visibility conditions around the
authentication retry button and the actionUrl button so only one action renders
when authenticationState is 'requires_action'. Preserve the retryAuthentication
button for retryable authentication, and suppress the actionUrl button when
requires_action is being handled by the retry flow, while retaining it for other
states that provide an actionUrl.
src/platform/workspace/composables/useSubscriptionCheckout.ts (2)

777-790: 📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Extract the duplicated subscribe payload builder.

Lines 777-790 and Lines 1075-1090 build the same payment and quote options: the confirmationToken versus savedPaymentMethodId choice, the subscribeAcceptsSavedMethod() gate, the promotionCode precedence, the hasExactQuote spread, and returnUrl. This revision added subscribeAcceptsSavedMethod() to both copies, which shows the two blocks must be edited together on every change.

Extract a buildPaymentOptions(quote, confirmationToken, promotionCode) helper and spread its result at both call sites. Keep teamCreditStopId and billingCycle at the team call site.

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

In `@src/platform/workspace/composables/useSubscriptionCheckout.ts` around lines
777 - 790, Extract the duplicated payment and quote payload construction into a
shared buildPaymentOptions(quote, confirmationToken, promotionCode) helper,
preserving the confirmationToken versus savedPaymentMethodId selection,
subscribeAcceptsSavedMethod() gate, promotion-code precedence, exact-quote
fields, and returnUrl. Replace both subscribe payload blocks with the helper
result, while retaining teamCreditStopId and billingCycle only at the team call
site.

842-871: 🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win

Fix the dead-end recovery and reuse the shared error predicate.

Three problems in recoverStaleQuote:

  1. Line 863 calls handleBackToPricing(). That function returns immediately when isSubscribing.value is true. recoverStaleQuote runs from the catch block at Line 824 and Line 1133, before the finally block clears isSubscribing. The navigation never happens. The user stays on the preview step with quoteIsCurrent set to false, so every later submit throws subscription.preview.applyQuoteBeforeContinuing. Call resetToPricing() instead.
  2. Lines 843-849 re-implement hasErrorCode from Line 372 and additionally require error instanceof Error. Use the shared helper so all recovery branches in the same catch chain agree on one predicate.
  3. Line 856 throws only for the catch at Line 862 to swallow it. applyPromotionCode already returns a boolean and handles its own errors.
♻️ Proposed fix
 async function recoverStaleQuote(error: unknown): Promise<boolean> {
-    if (
-      !(error instanceof Error) ||
-      !('code' in error) ||
-      error.code !== 'SUBSCRIPTION_QUOTE_STALE'
-    ) {
-      return false
-    }
+    if (!hasErrorCode(error, 'SUBSCRIPTION_QUOTE_STALE')) return false
     quoteIsCurrent.value = false
-    try {
-      const refreshed = await applyPromotionCode(
-        previewData.value?.promotion_code ?? '',
-        false
-      )
-      if (!refreshed) throw new Error('quote refresh failed')
-      toast.add({
-        severity: 'error',
-        summary: t('g.error'),
-        detail: t('subscription.preview.quoteStale')
-      })
-    } catch {
-      handleBackToPricing()
+    const refreshed = await applyPromotionCode(
+      previewData.value?.promotion_code ?? '',
+      false
+    )
+    if (!refreshed) {
+      resetToPricing()
       toast.add({
         severity: 'error',
         summary: t('g.error'),
         detail: t('subscription.preview.quoteRefreshFailed')
       })
+      return true
     }
+    toast.add({
+      severity: 'error',
+      summary: t('g.error'),
+      detail: t('subscription.preview.quoteStale')
+    })
     return true
   }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/composables/useSubscriptionCheckout.ts` around lines
842 - 871, Update recoverStaleQuote to use the shared hasErrorCode predicate
instead of duplicating error checks, call resetToPricing() in the
refresh-failure path so recovery can navigate while subscribing, and remove the
artificial throw after applyPromotionCode; branch on its boolean result to show
the success or refresh-failed toast while preserving the true return value for
stale-quote errors.
src/platform/workspace/composables/useSubscriptionCheckout.test.ts (2)

183-196: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Widen the mocked operation shape to the production types.

status is fixed to 'pending' and authenticationState to the single literal 'failed_retryable'. The production types include 'reconciliation_needed' and the full BillingAuthenticationState union.

This shape blocks fixtures for two newly added branches: the requires_action arm of isPolling at Lines 178-184 of useSubscriptionCheckout.ts, and reconciliationOperationId at Lines 173-177. Both are untested.

Import the production types and widen the mock, then add fixtures for requires_action and reconciliation_needed.

Based on learnings: "In TypeScript test files, avoid duplicating interface/type definitions. Import real type definitions from the component modules under test and reference them directly."

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

In `@src/platform/workspace/composables/useSubscriptionCheckout.test.ts` around
lines 183 - 196, Import the production operation and authentication-state types
used by useSubscriptionCheckout instead of duplicating the inline mock shape,
then type mockSubscriptionActionOperation with those definitions. Expand
fixtures to cover status 'requires_action', authenticationState
'reconciliation_needed', and reconciliationOperationId so the corresponding
isPolling and reconciliation branches are tested.

Sources: Path instructions, Learnings


525-567: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Add coverage for the failed stale-quote refresh and the unapplied-quote guard.

This test covers only the successful refresh arm of recoverStaleQuote. Two adjacent behaviors have no test:

  • The failure arm at Lines 862-869 of useSubscriptionCheckout.ts. Make the refresh preview reject or return allowed: false, then assert checkoutStep.value and the quoteRefreshFailed toast. Written against the fixed implementation, checkoutStep.value must be 'pricing'.
  • The quoteIsCurrent guard. Call invalidateQuote() after the preview loads, then assert that mockSubscribe is not called and the toast detail is subscription.preview.applyQuoteBeforeContinuing. That guard is the only client-side control that stops a charge against a quote the user changed but never applied.

As per path instructions, .agents/checks/test-quality.md requires colocated coverage of promotion, recovery, and reconciliation behavior "including failure, empty, and edge cases".

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

In `@src/platform/workspace/composables/useSubscriptionCheckout.test.ts` around
lines 525 - 567, Extend the colocated tests around handleConfirmTransition and
recoverStaleQuote to cover a failed stale-quote refresh by rejecting the refresh
preview or returning allowed: false, asserting checkoutStep.value is 'pricing'
and the quoteRefreshFailed toast. Add a quoteIsCurrent guard test that calls
invalidateQuote() after preview loading, then verifies mockSubscribe is not
called and the subscription.preview.applyQuoteBeforeContinuing toast is shown.

Source: Path instructions

🤖 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/utils/paymentReturnUrl.test.ts`:
- Around line 14-22: Add a Vitest case in paymentReturnUrl.test.ts covering
paymentReturnUrl() with an http:// location.origin, while preserving the
existing pathname and stripping search/hash. Assert the expected HTTP return URL
so regressions affecting the non-HTTPS origin branch are detected.

In `@src/platform/workspace/api/workspaceApi.ts`:
- Around line 272-295: Replace the locally declared PreviewSubscribeResponse,
SubscriptionDiscount, SavedPaymentMethod, and BillingOpStatusResponse contracts
in the workspace API module with imports from packages/ingest-types and
re-export those generated types. Remove the duplicate interfaces while
preserving existing consumers, and derive BillingAuthenticationState from the
generated response field when no standalone generated type exists.

---

Outside diff comments:
In `@src/platform/workspace/api/workspaceApi.ts`:
- Around line 171-194: Update SubscribeOptions and the subscribe() request
mapping to accept and forward idempotencyKey as idempotency_key, preserving the
generated contract’s naming. Add a forwarding test verifying the option reaches
the request payload.

In
`@src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue`:
- Around line 359-377: Add the existing isEmbeddedPaymentStep and
isEmbeddedConfirmStep guards to the Backspace keydown handler in
useEventListener, so it returns before handleBackToPricing when either embedded
step is active; preserve the current preview, polling, and editable-target
checks for all other cases.

In `@src/platform/workspace/composables/useSubscriptionCheckout.ts`:
- Around line 336-337: Replace the direct previewData.value assignments in the
amount/material-change flow and the corresponding assignment near the second
previewSubscribe result with calls to installPreview, so each freshly returned
preview also sets quoteIsCurrent. Preserve the existing conditions and preview
values while ensuring both later submission guards recognize the quote as
current.

---

Duplicate comments:
In
`@src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue`:
- Around line 510-525: Update the renewalTerms computed property’s
Date.toLocaleDateString call to include the UTC timezone, matching
SubscriptionTransitionPreviewWorkspace.formatDate, so renewal_at always displays
its UTC calendar date.
- Around line 143-158: Update the promotion-code input handling in
SubscriptionAddPaymentPreviewWorkspace so invalidateQuote is emitted only when
promotionCode differs from previewData?.promotion_code, preserving the current
value without invalidation. Replace the inline input emission with the
component’s handler and add an aria-label using the existing
subscription.preview.promoCodePlaceholder translation.
- Around line 272-283: Update the UnifiedStripePaymentSelector rendering in the
captureMode block to require a complete quote: render it only when
previewData.amount_due_cents is present and positive and previewData.currency is
non-empty. Keep the existing amount and currency bindings, but prevent fallback
values from reaching the selector when either required quote field is missing.
- Line 360: Replace the manually declared selectedSavedMethodId prop and
matching update:selectedSavedMethodId emit with defineModel<string |
null>('selectedSavedMethodId') in the component. Update references to use the
resulting model ref while preserving the add-new branch in the selectedMethod
setter.
- Around line 241-270: Update the button visibility conditions around the
authentication retry button and the actionUrl button so only one action renders
when authenticationState is 'requires_action'. Preserve the retryAuthentication
button for retryable authentication, and suppress the actionUrl button when
requires_action is being handled by the retry flow, while retaining it for other
states that provide an actionUrl.

In
`@src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue`:
- Around line 233-269: Move the useSubscriptionCheckout destructuring, including
savedPaymentMethods, checkoutStep, and previewVariant, above the
collectingNewPaymentMethod, savedMethodsForConfirm, isEmbeddedPaymentStep,
isEmbeddedConfirmStep, and isEmbeddedSuccessStep declarations so every computed
is created after its dependencies are initialized.
- Around line 335-355: Update the watcher around checkoutStep and
savedMethodsForConfirm to guard both matchMedia and the element’s animate method
before invoking them. Preserve the existing reduced-motion and height-change
checks, and return early when either API is unavailable so transitions cannot
produce an unhandled rejection in test environments.
- Around line 309-318: Update handleBackToPricing to reset
collectingNewPaymentMethod to false when leaving the preview step, so
re-entering confirmation restores savedMethodsForConfirm, the saved-card picker,
and the standard layout. Keep selectSavedPaymentMethod behavior unchanged.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue`:
- Around line 29-31: Update the icon element in UnifiedStripePaymentSelector to
replace the unsupported text-success-foreground utility with the arbitrary-value
token form text-(--success-foreground), preserving all other classes and markup.
- Around line 13-18: Add role="alert" to the configurationError container in
UnifiedStripePaymentSelector so screen readers announce both configuration and
Stripe submission errors, matching the existing error-banner behavior.
- Around line 110-113: Update the UnifiedStripePaymentSelector setup so the
existing Stripe Elements instance calls elements.update with the latest
amountCents and lowercase currency whenever those props change, including quote
and promotion refreshes. Reuse the mounted element rather than remounting it,
and ensure the update occurs only after stripeElements.value exists.
- Around line 104-108: Handle promise rejection around the loadStripe call in
the component’s onMounted initialization flow: catch failures, set
configurationError to the existing Stripe-unavailable translation, and return so
the UI displays the error instead of leaving the payment area and pay button
unusable without feedback. Preserve the existing null, missing-target, and
unmounted checks.

In `@src/platform/workspace/composables/useSubscriptionCheckout.test.ts`:
- Around line 183-196: Import the production operation and authentication-state
types used by useSubscriptionCheckout instead of duplicating the inline mock
shape, then type mockSubscriptionActionOperation with those definitions. Expand
fixtures to cover status 'requires_action', authenticationState
'reconciliation_needed', and reconciliationOperationId so the corresponding
isPolling and reconciliation branches are tested.
- Around line 525-567: Extend the colocated tests around handleConfirmTransition
and recoverStaleQuote to cover a failed stale-quote refresh by rejecting the
refresh preview or returning allowed: false, asserting checkoutStep.value is
'pricing' and the quoteRefreshFailed toast. Add a quoteIsCurrent guard test that
calls invalidateQuote() after preview loading, then verifies mockSubscribe is
not called and the subscription.preview.applyQuoteBeforeContinuing toast is
shown.

In `@src/platform/workspace/composables/useSubscriptionCheckout.ts`:
- Around line 777-790: Extract the duplicated payment and quote payload
construction into a shared buildPaymentOptions(quote, confirmationToken,
promotionCode) helper, preserving the confirmationToken versus
savedPaymentMethodId selection, subscribeAcceptsSavedMethod() gate,
promotion-code precedence, exact-quote fields, and returnUrl. Replace both
subscribe payload blocks with the helper result, while retaining
teamCreditStopId and billingCycle only at the team call site.
- Around line 842-871: Update recoverStaleQuote to use the shared hasErrorCode
predicate instead of duplicating error checks, call resetToPricing() in the
refresh-failure path so recovery can navigate while subscribing, and remove the
artificial throw after applyPromotionCode; branch on its boolean result to show
the success or refresh-failed toast while preserving the true return value for
stale-quote errors.
🪄 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: 57d7a10d-0129-4261-aa27-ae8ded8267b5

📥 Commits

Reviewing files that changed from the base of the PR and between 0381d46 and 8cad3ec.

⛔ Files ignored due to path filters (6)
  • browser_tests/tests/interaction.spec.ts-snapshots/default-chromium-2x-linux.png is excluded by !**/*.png
  • browser_tests/tests/mobileBaseline.spec.ts-snapshots/mobile-default-workflow-mobile-chrome-linux.png is excluded by !**/*.png
  • browser_tests/tests/mobileBaseline.spec.ts-snapshots/mobile-graph-canvas-toolbar-mobile-chrome-linux.png is excluded by !**/*.png
  • browser_tests/tests/rerouteNode.spec.ts-snapshots/native-reroute-alt-click-chromium-0-5x-linux.png is excluded by !**/*.png
  • browser_tests/tests/rerouteNode.spec.ts-snapshots/native-reroute-alt-click-chromium-2x-linux.png is excluded by !**/*.png
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (38)
  • .env_example
  • apps/website/src/components/product/local/MobileDownloadEmailForm.vue
  • apps/website/src/components/ui/icon-button/index.ts
  • browser_tests/tests/dialogs/pricingTableDeepLink.spec.ts
  • package.json
  • packages/ingest-types/src/index.ts
  • packages/ingest-types/src/types.gen.ts
  • packages/ingest-types/src/zod.gen.ts
  • pnpm-workspace.yaml
  • src/assets/css/style.css
  • src/components/dialog/GlobalDialog.test.ts
  • src/composables/useUrlActionLoaders.test.ts
  • src/composables/useUrlActionLoaders.ts
  • src/locales/en/main.json
  • src/platform/cloud/subscription/composables/usePaymentReturnUrlLoader.test.ts
  • src/platform/cloud/subscription/composables/usePaymentReturnUrlLoader.ts
  • src/platform/cloud/subscription/composables/useSubscriptionDialog.ts
  • src/platform/cloud/subscription/utils/paymentReturnUrl.test.ts
  • src/platform/cloud/subscription/utils/paymentReturnUrl.ts
  • src/platform/cloud/subscription/utils/teamSubscriptionCheckoutUtil.ts
  • src/platform/workspace/api/workspaceApi.test.ts
  • src/platform/workspace/api/workspaceApi.ts
  • src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.test.ts
  • src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue
  • src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.test.ts
  • src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue
  • src/platform/workspace/components/SubscriptionRequiredDialogContentWorkspace.vue
  • src/platform/workspace/components/SubscriptionSuccessWorkspace.vue
  • src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.test.ts
  • src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.vue
  • src/platform/workspace/components/SubscriptionTransitionPreviewWorkspaceReactivation.test.ts
  • src/platform/workspace/components/UnifiedStripePaymentSelector.test.ts
  • src/platform/workspace/components/UnifiedStripePaymentSelector.vue
  • src/platform/workspace/composables/useSubscriptionCheckout.test.ts
  • src/platform/workspace/composables/useSubscriptionCheckout.ts
  • src/platform/workspace/stores/billingOperationStore.test.ts
  • src/platform/workspace/stores/billingOperationStore.ts
  • src/vite-env.d.ts

@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

Caution

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

⚠️ Outside diff range comments (2)
src/platform/workspace/composables/useSubscriptionCheckout.ts (1)

346-348: 🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win

Two paths assign previewData.value directly and leave quoteIsCurrent false. Only installPreview sets quoteIsCurrent to true. Both sites install a freshly fetched, allowed preview and then surface a drift error, so the user re-confirms. On the next attempt the submit guards at Line 784 and Line 1082 throw subscription.preview.applyQuoteBeforeContinuing, and the reactivation screen has no Apply control to clear the flag. Every later submit fails the same way, on both the personal and the team reactivation flow.

  • src/platform/workspace/composables/useSubscriptionCheckout.ts#L346-L348: replace previewData.value = freshPreview in the proration_at branch of assertReactivationAmountUnchanged with installPreview(freshPreview).
  • src/platform/workspace/composables/useSubscriptionCheckout.ts#L464-L466: replace previewData.value = freshPreview in refreshExpiredProrationQuote with installPreview(freshPreview).
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/composables/useSubscriptionCheckout.ts` around lines
346 - 348, Update both preview refresh sites in
src/platform/workspace/composables/useSubscriptionCheckout.ts: lines 346-348 in
assertReactivationAmountUnchanged and lines 464-466 in
refreshExpiredProrationQuote. Replace direct previewData.value assignments with
installPreview(freshPreview) so quoteIsCurrent is set consistently before
surfacing the drift error.
src/platform/workspace/components/UnifiedStripePaymentSelector.vue (1)

29-31: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Replace text-success-foreground with the token utility.

The text-*-foreground alias utilities are descoped in this repository. Use text-(--success-foreground).

Based on learnings: do not use the Tailwind foreground alias utility classes like text-success-foreground; instead use arbitrary-value CSS tokens such as text-(--success-foreground).

🎨 Proposed fix
         <i
-          class="text-success-foreground mt-0.5 icon-[lucide--shield-check] size-4 shrink-0"
+          class="mt-0.5 icon-[lucide--shield-check] size-4 shrink-0 text-(--success-foreground)"
         />
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue` around
lines 29 - 31, Update the icon element in UnifiedStripePaymentSelector to
replace the descoped text-success-foreground utility with the arbitrary token
utility text-(--success-foreground), preserving all other classes.

Source: Learnings

♻️ Duplicate comments (10)
src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue (3)

241-270: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Two buttons can render the same "Complete verification" label.

The retry button at Line 241 renders when authenticationState === 'requires_action' and canRetryAuthentication is true; its label then resolves to subscription.preview.completeVerification. The button at Line 262 renders whenever actionUrl is set and uses the same label. Both conditions hold when the operation requires action and the server also returns an actionUrl.

The two buttons then look identical but behave differently: one emits retryAuthentication, the other opens actionUrl in a new tab. Render one action for the requires_action state.

🐛 Proposed fix
       <Button
-        v-if="actionUrl"
+        v-if="actionUrl && authenticationState !== 'requires_action'"
         variant="inverted"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue`
around lines 241 - 270, Update the button visibility conditions in the component
so the actionUrl button does not render when authenticationState is
requires_action and canRetryAuthentication is true, leaving only the
retryAuthentication action for that state. Preserve the actionUrl button for
other states where it remains the appropriate verification action.

143-158: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

The promotion-code input invalidates the quote on every keystroke and has no accessible name.

Each keystroke emits invalidateQuote, which clears quoteIsCurrent. quoteIsCurrent gates the pay buttons at Line 291 and Line 303 and the selector can-submit at Line 281. A user who types a code and does not press Apply cannot pay, and the UI gives no explanation.

The input also has only a placeholder. A placeholder is not an accessible name and it disappears once the user types.

Emit invalidateQuote only when the typed value differs from previewData?.promotion_code, and add an aria-label.

🐛 Proposed fix
         <input
           v-model="promotionCode"
           class="h-10 min-w-0 flex-1 rounded-lg border border-interface-stroke bg-secondary-background px-3 text-base-foreground"
+          :aria-label="$t('subscription.preview.promoCodePlaceholder')"
           :placeholder="$t('subscription.preview.promoCodePlaceholder')"
-          `@input`="$emit('invalidateQuote')"
+          `@input`="onPromotionCodeInput"
         />
function onPromotionCodeInput() {
  if (promotionCode.value === (previewData?.promotion_code ?? '')) return
  emit('invalidateQuote')
}
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue`
around lines 143 - 158, Update the promotion-code input handling in
SubscriptionAddPaymentPreviewWorkspace so invalidateQuote is emitted only when
promotionCode differs from previewData?.promotion_code, using the existing input
event flow and preserving the current-value no-op behavior. Add an aria-label to
the input so it remains accessible after the placeholder disappears.

518-534: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Pin the renewal date to UTC.

renewal_at is a UTC timestamp. Line 525 formats it with the viewer's local timezone, so a user west of UTC sees the previous calendar day as the renewal date. SubscriptionTransitionPreviewWorkspace.formatDate already pins timeZone: 'UTC' for the same field.

🐛 Proposed fix
   const date = new Date(previewData.renewal_at).toLocaleDateString(undefined, {
     month: 'short',
     day: 'numeric',
-    year: 'numeric'
+    year: 'numeric',
+    timeZone: 'UTC'
   })
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue`
around lines 518 - 534, Update the renewalTerms computed property to format
previewData.renewal_at with the UTC timezone, matching
SubscriptionTransitionPreviewWorkspace.formatDate, so the displayed renewal
calendar date is independent of the viewer’s local timezone.
src/platform/workspace/stores/billingOperationStore.ts (2)

644-657: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Emit telemetry for the reconciliation_needed terminal state.

handleFailure and handleTimeout both call telemetry?.trackBillingEvent. handleReconciliationNeeded emits nothing, and it is terminal. reconciliation_needed means the charge may have succeeded while provisioning did not, so support must reconcile it. Without an event, these cases are invisible to dashboards and alerts.

Emit an event with the same operation context the sibling handlers pass. Confirm that failure_category accepts 'reconciliation_needed'; if the field is a closed union, extend it first.

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

In `@src/platform/workspace/stores/billingOperationStore.ts` around lines 644 -
657, Update handleReconciliationNeeded to emit telemetry via
telemetry?.trackBillingEvent using the same operation context and terminal-event
pattern as handleFailure and handleTimeout, with failure_category set to
'reconciliation_needed'. If failure_category uses a closed union, extend it to
include this value before emitting the event.

401-409: 🩺 Stability & Availability | 🔴 Critical | ⚡ Quick win

Route a loadStripe rejection through setAuthenticationRetry.

loadStripe rejects when the Stripe.js script fails to load. Line 402 runs before the try block at Line 411, so the rejection escapes runPaymentIntentAction. The operation then keeps isAuthenticating: true and canRetryAuthentication: false, and the customer has no retry path. The rejection also propagates out of retryPaymentAuthentication to the composable, which does not catch it.

Move the load into the existing try block, or wrap it separately and set stripe = null on failure.

🛡️ Proposed fix
     const publishableKey = import.meta.env.VITE_STRIPE_PUBLISHABLE_KEY
-    const stripe = publishableKey ? await loadStripe(publishableKey) : null
+    let stripe: Stripe | null = null
+    try {
+      stripe = publishableKey ? await loadStripe(publishableKey) : null
+    } catch {
+      stripe = null
+    }
     if (!stripe) {
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/stores/billingOperationStore.ts` around lines 401 -
409, Move the loadStripe call in runPaymentIntentAction into the existing try
block, or handle its rejection separately by setting stripe to null, so every
load failure reaches setAuthenticationRetry with the existing
authenticationUnavailable message and returns false.
src/platform/workspace/components/UnifiedStripePaymentSelector.vue (3)

115-118: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Update the Elements instance when amountCents or currency changes.

stripe.elements() runs once in onMounted and captures amountCents and currency at that moment. The parent keeps this component mounted across a re-quote: SubscriptionAddPaymentPreviewWorkspace.vue binds :amount-cents="amountDueCents" and applying a promotion code changes previewData.amount_due_cents. captureMode does not change during that refresh, so the element is not remounted.

In the deferred-intent pattern the element amount drives the displayed total, wallet sheets, and payment-method eligibility. A stale amount shows the pre-discount total to the customer. Call elements.update() when the props change.

🔧 Proposed fix
-import { onBeforeUnmount, onMounted, ref } from 'vue'
+import { onBeforeUnmount, onMounted, ref, watch } from 'vue'
 onBeforeUnmount(() => {
   isUnmounted = true
   paymentElement?.destroy()
 })
+
+watch(
+  () => [amountCents, currency] as const,
+  ([nextAmount, nextCurrency]) => {
+    if (!stripeElements.value || nextAmount <= 0) return
+    stripeElements.value.update({
+      amount: nextAmount,
+      currency: nextCurrency.toLowerCase()
+    })
+  }
+)
Stripe.js elements.update amount currency deferred intent subscription mode
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue` around
lines 115 - 118, Update the UnifiedStripePaymentSelector component so its Stripe
Elements instance is refreshed via elements.update() whenever amountCents or
currency changes, rather than retaining the values captured during onMounted
initialization. Watch both props, preserve the existing subscription
configuration, and ensure the updated amount and normalized currency drive the
displayed total and payment eligibility without remounting.

13-18: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Announce the payment error to assistive technology.

configurationError carries both configuration failures and Stripe submission errors from submit(). The container has no live-region role, so screen reader users receive no announcement after a failed submit. The sibling error banner in SubscriptionAddPaymentPreviewWorkspace.vue (Line 230) already uses role="alert".

♿ Proposed fix
     <div
       v-if="configurationError"
+      role="alert"
       class="border-danger-background bg-danger-background/10 text-danger rounded-lg border px-3 py-2 text-sm"
     >
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue` around
lines 13 - 18, Add role="alert" to the configurationError container in
UnifiedStripePaymentSelector.vue so both configuration and Stripe submission
errors are announced to assistive technology, matching the existing sibling
error banner behavior.

109-113: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Handle a loadStripe rejection.

loadStripe rejects when the Stripe.js script fails to load, for example on a network error, a content blocker, or a CSP rule. Line 109 is not guarded, so the rejection escapes the onMounted callback as an unhandled promise rejection. configurationError stays empty. The customer sees an empty payment area and a permanently disabled pay button with no message.

Wrap the load and fall through to the existing error path.

🛡️ Proposed fix
-  stripe = await loadStripe(publishableKey)
+  try {
+    stripe = await loadStripe(publishableKey)
+  } catch {
+    stripe = null
+  }
   if (!stripe || !paymentElementTarget.value || isUnmounted) {
     configurationError.value = t('subscription.preview.stripeUnavailable')
     return
   }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue` around
lines 109 - 113, Update the Stripe initialization in the component’s onMounted
flow around loadStripe so rejected script loads are caught and handled by the
existing configurationError path. Ensure the rejection does not escape as an
unhandled promise and preserves the current unavailable-state handling for
missing Stripe, missing paymentElementTarget, or unmounted state.
src/platform/workspace/composables/useSubscriptionCheckout.ts (2)

787-799: 📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

The personal and team submit paths build byte-identical payment and quote options. The confirmationToken versus savedPaymentMethodId choice, the subscribeAcceptsSavedMethod() gate, the promotionCode precedence, and the hasExactQuote spread are duplicated. Two copies of a money-path payload must stay in sync, and any change to quote or payment-method precedence has to be applied twice. Extract one buildPaymentOptions(quote, confirmationToken, promotionCode) helper.

  • src/platform/workspace/composables/useSubscriptionCheckout.ts#L787-L799: replace the inline option construction in handleSubscription with a spread of the shared helper.
  • src/platform/workspace/composables/useSubscriptionCheckout.ts#L1085-L1097: replace the identical construction in handleTeamSubscription with the same helper spread, keeping teamCreditStopId and billingCycle at the call site.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/composables/useSubscriptionCheckout.ts` around lines
787 - 799, Extract a shared buildPaymentOptions(quote, confirmationToken,
promotionCode) helper containing the existing confirmationToken versus
savedPaymentMethodId selection, subscribeAcceptsSavedMethod gate, promotionCode
precedence, and hasExactQuote fields. In
src/platform/workspace/composables/useSubscriptionCheckout.ts lines 787-799,
replace the inline options in handleSubscription with the helper spread; apply
the same replacement at lines 1085-1097 in handleTeamSubscription, preserving
teamCreditStopId and billingCycle at that call site.

852-881: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

handleBackToPricing is a no-op here, so a failed refresh dead-ends the checkout.

recoverStaleQuote runs from the catch block of handleSubscription (Line 834) and of handleTeamSubscription (Line 1143). At that point isSubscribing.value is still true, because the finally block that clears it has not run. handleBackToPricing (Line 739) returns immediately while isSubscribing.value is true.

The user stays on the preview step with quoteIsCurrent set to false and a quoteRefreshFailed toast. Every later submit throws subscription.preview.applyQuoteBeforeContinuing. Call resetToPricing() instead, which has no in-flight guard.

Two further points on this function:

  • Lines 853-859 re-implement hasErrorCode (Lines 382-389) and add an error instanceof Error requirement. A plain object carrying code skips recovery here while every sibling handler in the same catch chain matches it. Use the shared predicate.
  • Line 866 throws only for the catch two lines below to swallow it. applyPromotionCode already returns a boolean and catches its own errors, so a conditional expresses the same branch.
♻️ Proposed rewrite
 async function recoverStaleQuote(error: unknown): Promise<boolean> {
-    if (
-      !(error instanceof Error) ||
-      !('code' in error) ||
-      error.code !== 'SUBSCRIPTION_QUOTE_STALE'
-    ) {
-      return false
-    }
+    if (!hasErrorCode(error, 'SUBSCRIPTION_QUOTE_STALE')) return false
     quoteIsCurrent.value = false
-    try {
-      const refreshed = await applyPromotionCode(
-        previewData.value?.promotion_code ?? '',
-        false
-      )
-      if (!refreshed) throw new Error('quote refresh failed')
-      toast.add({
-        severity: 'error',
-        summary: t('g.error'),
-        detail: t('subscription.preview.quoteStale')
-      })
-    } catch {
-      handleBackToPricing()
-      toast.add({
-        severity: 'error',
-        summary: t('g.error'),
-        detail: t('subscription.preview.quoteRefreshFailed')
-      })
-    }
+    const refreshed = await applyPromotionCode(
+      previewData.value?.promotion_code ?? '',
+      false
+    )
+    if (!refreshed) {
+      resetToPricing()
+      toast.add({
+        severity: 'error',
+        summary: t('g.error'),
+        detail: t('subscription.preview.quoteRefreshFailed')
+      })
+      return true
+    }
+    toast.add({
+      severity: 'error',
+      summary: t('g.error'),
+      detail: t('subscription.preview.quoteStale')
+    })
     return true
   }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/platform/workspace/composables/useSubscriptionCheckout.ts` around lines
852 - 881, Update recoverStaleQuote to use the shared hasErrorCode predicate for
SUBSCRIPTION_QUOTE_STALE instead of reimplementing the check or requiring Error
instances. When applyPromotionCode returns false, call resetToPricing() rather
than handleBackToPricing(), and replace the throw-based branch with a
conditional that shows the success toast only when refresh succeeds; otherwise
reset and show quoteRefreshFailed.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@src/platform/workspace/components/TopUpCreditsDialogContentWorkspace.test.ts`:
- Around line 317-319: Replace the mock-call-only assertions in the top-up
recovery tests with behavioral assertions that verify the pending top-up enters
and completes the required-action recovery flow, such as the observable
verification or final success outcome. Keep the mockStartOperation argument
assertion only as secondary coverage if forwarding autoHandleRequiresAction is
explicitly part of the contract under test.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.test.ts`:
- Around line 156-159: Update the disabled-state assertion for the payButton
returned by getByRole in UnifiedStripePaymentSelector tests to use the jest-dom
toBeDisabled() matcher, removing the unnecessary HTMLButtonElement cast.

---

Outside diff comments:
In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue`:
- Around line 29-31: Update the icon element in UnifiedStripePaymentSelector to
replace the descoped text-success-foreground utility with the arbitrary token
utility text-(--success-foreground), preserving all other classes.

In `@src/platform/workspace/composables/useSubscriptionCheckout.ts`:
- Around line 346-348: Update both preview refresh sites in
src/platform/workspace/composables/useSubscriptionCheckout.ts: lines 346-348 in
assertReactivationAmountUnchanged and lines 464-466 in
refreshExpiredProrationQuote. Replace direct previewData.value assignments with
installPreview(freshPreview) so quoteIsCurrent is set consistently before
surfacing the drift error.

---

Duplicate comments:
In
`@src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue`:
- Around line 241-270: Update the button visibility conditions in the component
so the actionUrl button does not render when authenticationState is
requires_action and canRetryAuthentication is true, leaving only the
retryAuthentication action for that state. Preserve the actionUrl button for
other states where it remains the appropriate verification action.
- Around line 143-158: Update the promotion-code input handling in
SubscriptionAddPaymentPreviewWorkspace so invalidateQuote is emitted only when
promotionCode differs from previewData?.promotion_code, using the existing input
event flow and preserving the current-value no-op behavior. Add an aria-label to
the input so it remains accessible after the placeholder disappears.
- Around line 518-534: Update the renewalTerms computed property to format
previewData.renewal_at with the UTC timezone, matching
SubscriptionTransitionPreviewWorkspace.formatDate, so the displayed renewal
calendar date is independent of the viewer’s local timezone.

In `@src/platform/workspace/components/UnifiedStripePaymentSelector.vue`:
- Around line 115-118: Update the UnifiedStripePaymentSelector component so its
Stripe Elements instance is refreshed via elements.update() whenever amountCents
or currency changes, rather than retaining the values captured during onMounted
initialization. Watch both props, preserve the existing subscription
configuration, and ensure the updated amount and normalized currency drive the
displayed total and payment eligibility without remounting.
- Around line 13-18: Add role="alert" to the configurationError container in
UnifiedStripePaymentSelector.vue so both configuration and Stripe submission
errors are announced to assistive technology, matching the existing sibling
error banner behavior.
- Around line 109-113: Update the Stripe initialization in the component’s
onMounted flow around loadStripe so rejected script loads are caught and handled
by the existing configurationError path. Ensure the rejection does not escape as
an unhandled promise and preserves the current unavailable-state handling for
missing Stripe, missing paymentElementTarget, or unmounted state.

In `@src/platform/workspace/composables/useSubscriptionCheckout.ts`:
- Around line 787-799: Extract a shared buildPaymentOptions(quote,
confirmationToken, promotionCode) helper containing the existing
confirmationToken versus savedPaymentMethodId selection,
subscribeAcceptsSavedMethod gate, promotionCode precedence, and hasExactQuote
fields. In src/platform/workspace/composables/useSubscriptionCheckout.ts lines
787-799, replace the inline options in handleSubscription with the helper
spread; apply the same replacement at lines 1085-1097 in handleTeamSubscription,
preserving teamCreditStopId and billingCycle at that call site.
- Around line 852-881: Update recoverStaleQuote to use the shared hasErrorCode
predicate for SUBSCRIPTION_QUOTE_STALE instead of reimplementing the check or
requiring Error instances. When applyPromotionCode returns false, call
resetToPricing() rather than handleBackToPricing(), and replace the throw-based
branch with a conditional that shows the success toast only when refresh
succeeds; otherwise reset and show quoteRefreshFailed.

In `@src/platform/workspace/stores/billingOperationStore.ts`:
- Around line 644-657: Update handleReconciliationNeeded to emit telemetry via
telemetry?.trackBillingEvent using the same operation context and terminal-event
pattern as handleFailure and handleTimeout, with failure_category set to
'reconciliation_needed'. If failure_category uses a closed union, extend it to
include this value before emitting the event.
- Around line 401-409: Move the loadStripe call in runPaymentIntentAction into
the existing try block, or handle its rejection separately by setting stripe to
null, so every load failure reaches setAuthenticationRetry with the existing
authenticationUnavailable message and returns false.
🪄 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: cd0e93c2-52d5-4b74-ab36-3b7bffdd6817

📥 Commits

Reviewing files that changed from the base of the PR and between 8cad3ec and 000cbc0.

📒 Files selected for processing (12)
  • src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.test.ts
  • src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue
  • src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.test.ts
  • src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue
  • src/platform/workspace/components/TopUpCreditsDialogContentWorkspace.test.ts
  • src/platform/workspace/components/TopUpCreditsDialogContentWorkspace.vue
  • src/platform/workspace/components/UnifiedStripePaymentSelector.test.ts
  • src/platform/workspace/components/UnifiedStripePaymentSelector.vue
  • src/platform/workspace/composables/useSubscriptionCheckout.test.ts
  • src/platform/workspace/composables/useSubscriptionCheckout.ts
  • src/platform/workspace/stores/billingOperationStore.test.ts
  • src/platform/workspace/stores/billingOperationStore.ts

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

🤖 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 `@browser_tests/fixtures/cloudAppFixture.ts`:
- Line 5: Centralize the application URL fallback by exporting APP_URL from
browser_tests/fixtures/cloudAppFixture.ts. In
browser_tests/fixtures/helpers/BillingCheckoutStateMachineHelper.ts, remove the
local URL constant and import APP_URL from `@e2e/fixtures/cloudAppFixture`; in
browser_tests/tests/billing/billingCheckoutStateMachine.spec.ts, replace the
inline fallback with the same imported APP_URL.
- Around line 24-42: Update gotoCloudApp and the payment-return loading flow so
runUrlActionLoaders executes after the router.replace navigation completes,
ensuring payment-return query parameters are processed even when navigation
occurs after GraphCanvas.vue mounting. Reuse the existing loader entry point or
route-change mechanism rather than relying solely on GraphCanvas.vue’s onMounted
hook.

In `@browser_tests/fixtures/helpers/BillingCheckoutStateMachineHelper.ts`:
- Around line 398-412: Update BillingCheckoutStateMachineHelper’s fulfill method
and its corresponding request/response recording path to sanitize payment data
before storing it in requests or responses. Redact payment_intent_client_secret,
confirmation-token fields, and other payment secrets while preserving the
remaining body structure, so attachEvidence only emits sanitized bodies.
- Line 21: Change the numeric error variant in OperationResponse to use a
distinct key for the HTTP status code, then update the runtime check in the
response-handling logic around the existing line 363 to discriminate using that
key instead of typeof response.status. Preserve BillingOpStatusResponse’s string
status handling and update any related property access accordingly.
- Around line 97-98: Update the requests and responses collections in
BillingCheckoutStateMachineHelper to use explicit entry types instead of
Array<Record<string, unknown>>. Define the required request and response fields,
including path with its actual string type, and apply those types consistently
to the recording and reading logic around the referenced request/response
handling.
- Around line 342-346: Update the subscribe route handler in the billing
checkout state-machine helper to fulfill a 500 response containing the “No
queued subscribe response” diagnostic when subscribeResponses is empty, rather
than throwing. In the related opId extraction logic, parse route.request().url()
and use the URL pathname before selecting the final path segment, so query
strings cannot contaminate the operation ID.
- Around line 380-396: Make operationResponse use explicit per-entry queue
metadata instead of inferring behavior from queue length. Update the
OperationResponse entries and operationResponse method so repeating responses
declare a repeat flag, and authentication responses declare the
advanceAfterActionCalls threshold, while preserving the existing requires_action
transition behavior without relying on exact queue size or implicit shift
ordering.
- Around line 222-260: Update topupAfterStaleRail to stop importing or returning
useBillingContext, useWorkspaceBilling, and useTeamWorkspaceStore state; retain
only the setup and topup action needed for the end-to-end flow. Remove the
consuming test’s billingRail and billingType assertions, relying on the existing
/api/billing/topup and /customers/credit request-count assertions for observable
routing behavior. Move any necessary store-state coverage into an appropriate
Vitest store test without adding implementation-detail-only end-to-end
assertions.
- Around line 129-145: The Stripe stub in BillingCheckoutStateMachineHelper must
implement the checkout APIs used by UnifiedStripePaymentSelector.vue. Extend the
object returned by window.Stripe with elements(), whose create('payment') result
supports mount() and on(), plus submit() and createConfirmationToken(), while
preserving the existing handleNextAction behavior and expected successful
checkout responses.

In `@browser_tests/README.md`:
- Around line 103-106: Update the billing browser-test instructions in the
README to separate the foreground pnpm dev command into its own step and code
block, explicitly stating that it must remain running in one terminal; instruct
readers to run the test:browser:local command from a second terminal.

In `@browser_tests/tests/billing/billingCheckoutStateMachine.spec.ts`:
- Around line 18-21: Update the billing checkout assertions around the terminal
“You're all set” heading and the corresponding `operationPollCount('op-return')`
check: wait for the terminal UI state first, then perform one direct count
assertion so delayed duplicate submissions are detected. Replace the polling
equality checks without changing the expected count or terminal-state behavior.
- Around line 165-171: Update the assertions in the billing checkout
state-machine test to first wait for a positive signal that the decline/failure
state has been applied, using the existing observed state-change indicator in
the test. Only after that signal, retain the negative assertions for the
“Complete verification” and “Retry verification” buttons and the enabled
payButton assertion.
- Around line 183-198: Update the inline status response used by the billing
checkout state-machine test to validate its object with satisfies
BillingStatusResponse, importing BillingStatusResponse from the generated ingest
types per the repository guidance. Ensure the fixture includes all required
contract fields, including billing_rail, max_seats, and occupied_seats, while
preserving the existing override values.
🪄 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: 958e6dbd-3af4-4cb6-9856-9102d6e3501e

📥 Commits

Reviewing files that changed from the base of the PR and between 000cbc0 and 44a7cdd.

📒 Files selected for processing (21)
  • browser_tests/README.md
  • browser_tests/fixtures/billingCheckoutStateMachineFixture.ts
  • browser_tests/fixtures/cloudAppFixture.ts
  • browser_tests/fixtures/helpers/BillingCheckoutStateMachineHelper.ts
  • browser_tests/tests/billing/billingCheckoutStateMachine.spec.ts
  • browser_tests/tests/dialogs/pricingTableDeepLink.spec.ts
  • packages/ingest-types/src/types.gen.ts
  • packages/ingest-types/src/zod.gen.ts
  • src/locales/en/main.json
  • src/platform/cloud/subscription/composables/usePaymentReturnUrlLoader.ts
  • src/platform/workspace/api/workspaceApi.test.ts
  • src/platform/workspace/api/workspaceApi.ts
  • src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue
  • src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue
  • src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.vue
  • src/platform/workspace/components/UnifiedStripePaymentSelector.test.ts
  • src/platform/workspace/components/UnifiedStripePaymentSelector.vue
  • src/platform/workspace/composables/useSubscriptionCheckout.test.ts
  • src/platform/workspace/composables/useSubscriptionCheckout.ts
  • src/platform/workspace/stores/billingOperationStore.test.ts
  • src/platform/workspace/stores/billingOperationStore.ts

Comment thread browser_tests/README.md Resolved
@huntcsg
huntcsg force-pushed the integration/embedded-checkout-frontend branch from 44a7cdd to 0958194 Compare August 12, 2026 17:56
@dosubot dosubot Bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Aug 12, 2026
MaanilVerma added a commit that referenced this pull request Aug 25, 2026
…fields

The embedded-checkout consolidation (#14483) landed on the base and made the
transition screen read amount_due_cents/currency/renewal_amount_cents/renewal_at
for its Total-due and renewal lines. The local plan-change and subscribe preview
fixtures now supply those, so the confirm step shows the charge again.
huntcsg added a commit that referenced this pull request Aug 25, 2026
Consolidates the complete embedded subscription checkout frontend onto
current `main` as the single review tip, including the design stack,
safety gates, exact quote contract UI, saved methods, and 3DS recovery.

- **What**: Replays and reconciles the frontend work from #14447,
branches.
- **Dependencies**: Requires the combined backend environment for
end-to-end preview validation.

Review exact quote freshness, reactivation safeguards, saved-method
confirmation, and retryable/reconciliation 3DS states together.

Checks run locally: typecheck, browser fixture typecheck, format,
lint/oxlint, knip, 231 billing-focused Vitest tests, and cloud
Playwright test discovery.

AS IS / TO BE screenshots and preview will be attached after the
combined environment exists.

---------

Co-authored-by: Amp <amp@ampcode.com>
huntcsg added a commit that referenced this pull request Aug 25, 2026
Consolidates the complete embedded subscription checkout frontend onto
current `main` as the single review tip, including the design stack,
safety gates, exact quote contract UI, saved methods, and 3DS recovery.

- **What**: Replays and reconciles the frontend work from #14447,
branches.
- **Dependencies**: Requires the combined backend environment for
end-to-end preview validation.

Review exact quote freshness, reactivation safeguards, saved-method
confirmation, and retryable/reconciliation 3DS states together.

Checks run locally: typecheck, browser fixture typecheck, format,
lint/oxlint, knip, 231 billing-focused Vitest tests, and cloud
Playwright test discovery.

AS IS / TO BE screenshots and preview will be attached after the
combined environment exists.

---------

Co-authored-by: Amp <amp@ampcode.com>
pull Bot pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Aug 26, 2026
Comfy-Org#15915)

## Summary

`workspaceApi.subscribe()` guards `confirmationToken` and
`savedPaymentMethodId` as mutually exclusive, but tests truthiness:

```ts
if (options.confirmationToken && options.savedPaymentMethodId) {
  throw new TypeError('confirmationToken and savedPaymentMethodId are mutually exclusive')
}
```

An empty-string `confirmationToken` is falsy, so it slips the guard and
**both** credential fields are serialized into the request body —
`confirmation_token: ''` alongside `saved_payment_method_id`. Checking
presence instead refuses that combination.

## Scope

One condition and one test. Valid single-credential calls are unchanged:
passing only a token, only a saved method, or neither all behave exactly
as before, since the guard only fires when both keys are present.

Note this makes the guard stricter in one further case — explicitly
passing `undefined` for one of them still passes, but passing both keys
with *any* defined values now throws, which is what "mutually exclusive"
should mean.

## Verification

- The new test `subscribe() rejects an empty credential alongside a
saved one` was confirmed to **fail against the unfixed guard** (1 failed
/ 41 passed) and pass with it (42/42) — not assumed.
- `pnpm typecheck` and `typecheck:browser` clean.
- Full unit suite: **17,727 passed**. The 12 `check-binary-size`
failures are pre-existing and environmental.

## Origin

Found by CodeRabbit on Comfy-Org#15803, where it landed as an outside-diff-range
comment with no thread. The code is not that PR's — it came from Comfy-Org#14483
and reached the branch through a merge from `main` — so it is fixed here
on its own rather than folded into a capability-migration PR.

**Sequencing note:** Comfy-Org#15906 backports Comfy-Org#14483 to `cloud/1.51` and carries
the same guard. Landing this on `main` first lets that backport pick the
fix up, rather than shipping the bug to the release line and needing a
second backport.
comfy-pr-bot pushed a commit that referenced this pull request Aug 26, 2026
…gh the generated contract (#15939)

Backport of #15855 to `cloud/1.52`, combined with a regeneration of the
`ingest-types` package from the cloud OpenAPI spec.

Enterprise is scoped to the 1.52 release per Jaewon (frontend team
lead), with Wei Hai confirming Enterprise targets 1.52. **No new product
sign-off is needed** — this behaviour was already reviewed and merged on
`main` as #15855.

## Why regeneration and ENTERPRISE support are one commit

They cannot be split into two green commits, and upstream didn't split
them either:

- **Regeneration alone → 3 type errors.** Regenerating widens
`SubscriptionTier` with `ENTERPRISE`, which breaks two files:
- `useBillingPolicyState.ts` — `TS1360: Type '"ENTERPRISE"' does not
satisfy the expected type 'never'` (plus a knock-on `TS2322`)
- `tierPricing.ts` — `TS7053: Property 'ENTERPRISE' does not exist on
Record<"FREE"|...>`
- **#15855's source half alone → 4 type errors**, because it references
an `ENTERPRISE` member the generated contract does not yet carry.
- **Both together → 0 errors.**

## Generated half: regenerated, not cherry-picked

Per team guidance the generated files are regenerated from the cloud
spec rather than taken from #15855's diff, using the full pipeline in
`cloud/.github/workflows/push-ingest-types-to-frontend.yml`:

1. `go run ./services/ingest/scripts/openapi-project -fe -in
services/ingest/openapi.yaml -out
<frontend>/packages/ingest-types/openapi.yaml` — the **mandatory**
spec-projection step, which strips cloud's `x-internal` / `/admin/` /
M2M surface before codegen
2. `pnpm generate` in `packages/ingest-types` (pinned
`@hey-api/openapi-ts` **0.97.3**, unchanged)
3. `npx oxfmt --write src/` — raw generator output is 4-space +
semicolons; committing without this makes the diff ~99% whitespace noise
(24k lines vs 2.8k)

**Cloud spec SHA:**
`Comfy-Org/cloud@3e3f06a7f43b99fe96b5da066379dbba6433e252`

`origin/main` has since advanced to `b47b91183f`, adding 73 spec lines —
all of them the `x-internal` `/admin/api/billing/credit-deduction`
endpoint. Projecting from either SHA yields a **byte-identical**
projected spec, so the SHA choice is immaterial here.

`packages/ingest-types/openapi.yaml` is gitignored and is not committed;
only `src/*.gen.ts` and `src/index.ts` are.

## Leak guard

The projection step is what the previous attempt on this branch skipped,
which leaked 52 `Admin*` refs into the generated types and would have
tripped the CI leak guard (the same defect #15878 was created to
revert). This branch was rebuilt from scratch on `origin/cloud/1.52`.

```
Admin refs in types.gen.ts: 0
Admin refs in zod.gen.ts:   0
Admin refs in index.ts:     0
```

The CI guard's own regex —
`(/admin|/api/internal|/api/webhooks|/m2m|/monitoring|/debug)([^A-Za-z0-9_-]|$)`
— also matches **0** times in the projected spec and both generated
files. Projection reported `kept 192 ops | excluded 45 x-internal |
pruned 40 schemas`.

## Delta shape

```
 packages/ingest-types/src/index.ts     |   54 +
 packages/ingest-types/src/types.gen.ts |  744 +++++++++++-
 packages/ingest-types/src/zod.gen.ts   | 2024 ++++++++++++--------------------
```

`zod.gen.ts` shows large churn because the committed files on
`cloud/1.52` are **stale**, not because types were removed: 184 combined
`z*Data` schemas are replaced by 186 split `z*Body` / `z*Path` /
`z*Query` / `z*Response` schemas. `cloud/1.52` pins the same generator
version (0.97.3) with an identical `openapi-ts.config.ts` as `main`, so
its committed output simply predates a regeneration.

Verification that this output is correct: it is **byte-identical to
`origin/main`'s committed `zod.gen.ts` and `index.ts`**, and differs
from `main`'s `types.gen.ts` by only 10 lines — three additive
documentation/`404: ErrorResponse` entries on the agent-skill-packs
routes, present because the pinned spec is slightly ahead of `main`'s
last regeneration. No types are removed relative to `main`.

## Verification

- `pnpm typecheck` — **green (exit 0)** with #14483 *not* applied
- `pnpm vitest run` over the four suites #15855 ships/touches — **102
passed (4 files)**: `tierPricing.test.ts` (new),
`useBillingPolicyState.test.ts`, `billingPolicyCapabilities.test.ts`,
`useWorkspaceTierLabel.test.ts`
- Committed through the normal pre-commit hook (oxfmt + `pnpm lint` +
`pnpm typecheck` all passed); **no `--no-verify`**

#15855's source half applied cleanly with `git apply --3way` across 10
files: `src/locales/en/main.json`,
`billingPolicyCapabilities.ts`/`.test.ts`, `billingPolicyState.ts`,
`useBillingPolicyState.ts`/`.test.ts`, `tierPricing.ts` + new
`tierPricing.test.ts`, `useWorkspaceTierLabel.ts`/`.test.ts`.

## Merge order

This PR is a **prerequisite** for the #14483 embedded-checkout backport,
which is stacked on top of it and should merge second.
comfy-pr-bot pushed a commit that referenced this pull request Aug 26, 2026
…pi (#15927)

Regenerates `packages/ingest-types` on `cloud/1.51` so the branch
carries the billing contract that the embedded-checkout backport
[#15906](#15906)
consumes. **Types only** — no runtime code, no behaviour change.

## Regenerated, not cherry-picked

Per team guidance (Jaewon), this is a regeneration rather than a
cherry-pick of `main`'s ingest-types commits. Those commits are
interleaved with an `@hey-api/openapi-ts` bump (#15166) and the
ENTERPRISE tier addition (#15855), neither of which belongs on a release
branch. Regenerating lets us pick the exact contract snapshot 1.51
needs.

## Spec pin: cloud `8c26db3a68`, not current main

Source: `Comfy-Org/cloud` @
**`8c26db3a684a0595254c5051cba88b60e40810c8`** (2026-08-21),
`services/ingest/openapi.yaml`.

That commit is pinned deliberately. It carries **all 17 billing
symbols** #14483 needs while **predating the ENTERPRISE tier**:

- Verified at the pin: all 17 of `SavedPaymentMethod`,
`authentication_state`, `decline_reason`,
`payment_intent_client_secret`, `reconciliation_needed`,
`confirmation_token`, `quote_id`, `quote_version`,
`saved_payment_method_id`, `promotion_code`, `amount_due_cents`,
`requires_reactivation_confirmation`, `renewal_at`,
`renewal_amount_cents`, `discounts`, `currency`,
`payment_method_configuration_id` are present.
- Verified at the pin: **zero** `ENTERPRISE` occurrences.

Regenerating from **current** cloud main would widen `SubscriptionTier`
with `ENTERPRISE`, which trips the `satisfies never` exhaustiveness
guard in `useBillingPolicyState.ts` and `tierPricing.ts` — breaking
files #14483 never touches, and pulling a product decision into a
release branch. **Enterprise is scoped to 1.52** (confirmed by Jaewon
and Wei Hai), not 1.51.

Generated `SubscriptionTier` on this branch stays at six members:

```ts
export type SubscriptionTier =
  | 'FREE' | 'STANDARD' | 'CREATOR' | 'PRO' | 'FOUNDERS_EDITION' | 'TEAM'
```

## Pipeline

Followed `cloud/.github/workflows/push-ingest-types-to-frontend.yml`
exactly — `pnpm generate` alone is **not** sufficient:

1. **Project the spec** (mandatory, BE-2669 security boundary):
`go run ./services/ingest/scripts/openapi-project -fe -in
services/ingest/openapi.yaml -out
<fe>/packages/ingest-types/openapi.yaml`
Result: `kept 186 ops | excluded 41 x-internal | removed 36 empty paths
+ 3 orphaned tag decls | kept 192 schemas, pruned 40 schemas + 1
security scheme` (17070 → 13436 lines).
2. `pnpm generate` using **this branch's own pinned
`@hey-api/openapi-ts` 0.93.0** (not bumped; handles this spec cleanly).
3. `npx oxfmt --write src/` — raw generator output is 4-space +
semicolons; committed files are oxfmt-normalized. Skipping this makes
the diff ~99% whitespace noise (`+11499/−12702` unformatted vs `+413/−7`
formatted).

Skipping step 1 is what leaked cloud's internal admin surface previously
(52 `Admin*` refs), the defect #15878 reverted.

**Leak guard:** `git grep -c 'Admin'
packages/ingest-types/src/types.gen.ts` → **0**. The workflow's full
guard pattern
(`/admin|/api/internal|/api/webhooks|/m2m|/monitoring|/debug`) also
returns clean on the projected spec, `types.gen.ts` and `zod.gen.ts`.

`packages/ingest-types/openapi.yaml` is gitignored and is **not**
committed. Only `src/*.gen.ts` and `src/index.ts` are.

## Delta — purely additive

```
 packages/ingest-types/src/index.ts     |  13 ++
 packages/ingest-types/src/types.gen.ts | 282 +++++++++++++++++++++++++++++-
 packages/ingest-types/src/zod.gen.ts   | 125 ++++++++++++++-
 3 files changed, 413 insertions(+), 7 deletions(-)
```

- **Zero exported symbols removed** (1014 → 1027; set difference in the
removal direction is empty).
- **13 new exported types**: `SavedPaymentMethod`,
`SubscriptionDiscount`, `CurrentWorkspaceResponse`,
`ListSavedPaymentMethods{Data,Error,Errors,Response,Responses}`,
`GetCurrentWorkspace{Data,Error,Errors,Response,Responses}`.
- All 7 deleted lines are benign: 5 are doc-comment rewordings, and the
other 2 are the same union being **widened** —
`status: 'pending' | 'succeeded' | 'failed'` → `… |
'reconciliation_needed'` (plus its Zod counterpart). No narrowing
anywhere.

## Verification

- `pnpm typecheck` → **exit 0, zero errors**, with #14483 **not**
applied. Because the spec predates ENTERPRISE this is genuinely
types-only: no `satisfies never` breakage and no compatibility shims
were needed.
- `npx oxfmt --check packages/ingest-types/src/` → clean.
- Committed **through** the pre-commit hooks (oxfmt, `oxlint
--type-aware`, eslint, whole-project `pnpm typecheck`) — no
`--no-verify`.

## Merge order

Prerequisite for **#15906** (embedded-checkout backport), which is
stacked on this branch and fails typecheck with 94 errors without it.
**Merge this first.** Not merged here, auto-merge not enabled.
comfy-pr-bot pushed a commit that referenced this pull request Aug 27, 2026
…ontend (#15906)

Manual backport of #14483 to `cloud/1.51`. The auto-backport workflow
failed on merge conflicts, so this was cherry-picked and resolved by
hand.

Source commit: `8c48cb56506c47fd082afdff971e6fc2372b3fcd` (single-parent
squash; plain `cherry-pick`, no `-m 1`).

> [!IMPORTANT]
> **Stacked PR — merge order matters.** This is based on
[#15927](#15927)
(`chore: regenerate ingest types from cloud openapi`), not directly on
`cloud/1.51`. **Merge #15927 first.** GitHub will auto-retarget this PR
to `cloud/1.51` once #15927 lands. Without #15927 this branch fails
`pnpm typecheck` with 94 errors.

## Blocker resolved

The previous revision of this PR was a draft blocked by 94 typecheck
errors: `cloud/1.51` carried an older generated `@comfyorg/ingest-types`
contract lacking the embedded-checkout fields this PR consumes
(`SavedPaymentMethod`, `authentication_state`,
`payment_intent_client_secret`, `decline_reason`,
`reconciliation_needed`, `confirmation_token`, `quote_id`,
`quote_version`, `saved_payment_method_id`, `promotion_code`,
`amount_due_cents`, `requires_reactivation_confirmation`, `renewal_at`,
`renewal_amount_cents`, `discounts`, `currency`,
`payment_method_configuration_id`).

#15927 supplies exactly that contract, regenerated from cloud spec
`8c26db3a68` (2026-08-21) — pinned deliberately to a snapshot that has
all 17 symbols but **predates the ENTERPRISE tier**, so it does not
widen `SubscriptionTier` and trip the `satisfies never` guards in
`useBillingPolicyState.ts` / `tierPricing.ts`. Enterprise is
1.52-scoped.

**`pnpm typecheck` now: 94 errors → 0 errors (exit 0).**

## Conflicts and how each was resolved

Three files conflicted. The root cause in all three is that **#15281
("fix: use generated workspace API response types") is on `main` but has
not been backported to `cloud/1.51`.** #15281 removed the frontend-only
`billing_cycle` field from the preview-subscribe request; `cloud/1.51`
still has it. #14483 was written on top of that removal.

**`src/platform/workspace/api/workspaceApi.ts`** — two hunks, both the
same underlying issue. `PreviewSubscribeOptions` and the
`previewSubscribe` request body. `main` has only `teamCreditStopId`
(post-#15281) and #14483 adds `promotionCode`; `cloud/1.51` still has
`billingCycle`. Resolved as a **union**: kept `cloud/1.51`'s
`billingCycle` / `billing_cycle` and added #14483's `promotionCode` /
`promotion_code`. Dropping `billingCycle` would have silently reverted
`cloud/1.51` behaviour that #15281 has not yet removed there.

**`src/platform/workspace/composables/useSubscriptionCheckout.ts`** —
the team preview call. `cloud/1.51` calls `previewSubscribe(planSlug, {
teamCreditStopId, billingCycle })`; #14483 rewrites it as
`Promise.all([previewSubscribe(...), loadSavedPaymentMethods()])`. Kept
#14483's parallel structure (that is the PR's intent — warm saved
payment methods alongside the preview) and retained `cloud/1.51`'s
`billingCycle` argument.

**`src/platform/workspace/api/workspaceApi.test.ts`** — kept all five
tests #14483 adds (`listSavedPaymentMethods`, promotion-code preview,
quote/saved-method echo, promotion-code omission, mutually-exclusive
credentials). The only other difference was a test rename that came from
#15281, not #14483: `'previewSubscribe() sends POST with plan_slug'` →
`'…sends fields defined by the ingest contract'`. **Kept `cloud/1.51`'s
original name**, because on `cloud/1.51` the request still sends
`billing_cycle`, which #15281 explicitly describes as *not* defined by
the ingest contract — importing that wording here would have made the
test name false.

One follow-on change outside the conflict regions, in its own commit:
`useSubscriptionCheckout.test.ts` asserted `previewSubscribe` was called
with `{ teamCreditStopId }` only. On `cloud/1.51` that call legitimately
also carries `billingCycle`, so the assertion was updated to match —
consistent with the sibling team-change test at line 1255 which already
asserts `{ teamCreditStopId: 'team_1400', billingCycle: 'monthly' }`.

## The `billing_cycle` union — re-verified against the new contract

Re-checked against the newly generated types from #15927, because if the
regenerated `PreviewSubscribeRequest` had gained `billing_cycle`, the
local augmentation would be redundant. It has not:

```ts
// packages/ingest-types/src/types.gen.ts — generated
export type PreviewSubscribeRequest = {
  plan_slug: string
  promotion_code?: string
  team_credit_stop_id?: string
}                                  // <- no billing_cycle

export type SubscribeRequest = {
  billing_cycle?: 'monthly' | 'yearly'   // <- has it
  promotion_code?: string                // <- and promotion_code
  ...
}
```

- **`PreviewSubscribeRequest` still has no `billing_cycle`.**
`cloud/1.51` supplies it through a local augmentation at
`workspaceApi.ts:88`, which predates this backport:
  ```ts
interface PreviewSubscribeRequest extends
GeneratedPreviewSubscribeRequest {
    billing_cycle?: SubscribeBillingCycle
  }
  ```
That augmentation is load-bearing — the `satisfies
PreviewSubscribeRequest` on the request body would not compile without
it.
- **`SubscribeRequest` has both `billing_cycle` and `promotion_code`**,
so no augmentation is needed there.

**Verdict: the union resolution stands and is still required.** Taking
#14483's side verbatim would have dropped `billingCycle` from the
preview request and silently reverted live `cloud/1.51` behaviour.

## #15401 ordering — not a stacking conflict

The workflow flagged that #15401 (`[backport cloud/1.51]
refactor(workspace): simplify ended subscription state`) is open against
this branch and might be the cause. **It is not.** This is genuine
`main` ↔ `cloud/1.51` divergence.

- #15401 touches exactly one file,
`SubscriptionPanelContentWorkspace.vue`. That file is not among #14483's
49 files, nor among the three conflicted files.
- Verified empirically: merging #15401 into `cloud/1.51` and *then*
cherry-picking #14483 produces the **identical three conflicts**.

**#15401 and this PR are independent and can land in either order.** No
ordering constraint.

## Verification

Run in the checkout, real results, on the rebased branch:

- `pnpm install --frozen-lockfile` — passes (exit 0)
- `pnpm typecheck` — **exit 0, zero errors**. Before the rebase onto
#15927 this same tree produced **94 errors** (exit 2); all 94 were the
contract gap and none were resolution mistakes.
- `pnpm vitest run src/platform/workspace
src/platform/cloud/subscription
src/composables/useUrlActionLoaders.test.ts
src/composables/useFeatureFlags.test.ts
src/components/dialog/GlobalDialog.test.ts
src/components/graph/GraphCanvas.firstRunEntry.test.ts` — **91 files,
1656 tests, all pass** (exit 0)
- `oxfmt --check`, `oxlint --type-aware`, `eslint` across all **41**
changed `.ts`/`.vue` files — all pass (exit 0)

Note that green Vitest is not evidence of type safety on its own —
Vitest strips types. The `pnpm typecheck` exit 0 above is the type-level
evidence.

**No `--no-verify` commits remain on this branch.** The earlier
`460b275120` was made with `--no-verify` because the pre-commit hook
runs whole-project typecheck, which no commit could pass before the
contract landed. It has been dropped and recommitted as `89bcd823b1`
**through** the full hook chain (oxfmt, `oxlint --type-aware`, eslint,
`pnpm typecheck`), which now passes.

Per the workflow rules: no `browser_tests/**/*-snapshots/` files were
involved; `package.json` version correctly stays at `cloud/1.51`'s
version; `pnpm-lock.yaml` passes `--frozen-lockfile`.

## Not done

Not merged, auto-merge not enabled. `main`, #14483, #15401 and all other
branches untouched.

## CI status

**65 checks pass, 1 fails: `playwright-video-new-tests`.** That failure
is a pre-existing tagging/workflow mismatch, not a broken test and not a
regression from this backport:

```
NEW_SPEC_FILES: browser_tests/tests/dialogs/checkoutRecovery.spec.ts
$ pnpm exec playwright test --project=chromium browser_tests/tests/dialogs/checkoutRecovery.spec.ts
Error: No tests found.
```

- Every test in `checkoutRecovery.spec.ts` is under
`test.describe('Redirect checkout recovery', { tag: '@cloud' }, …)`.
- `playwright.config.ts`'s `chromium` project sets `grepInvert:
/@mobile|@Perf|@Audit|@cloud/`, so it deliberately excludes `@cloud`. A
`@cloud`-tagged spec can only run under the `cloud` project.
- The `playwright-video-new-tests` job hardcodes `--project=chromium`,
so for any newly added `@cloud`-only spec it matches zero tests and
exits 1.

No test executed and none failed. This backport does not touch
`playwright.config.ts`, and `checkoutRecovery.spec.ts` is
**byte-identical** to the version #14483 merged to `main` — where the
`chromium` project carries the same `@cloud` grepInvert. Fixing the job
to select the right project is out of scope for a backport; flagging it
for whoever owns `ci-tests-e2e.yaml`.

The `@cloud` specs themselves are exercised by the `cloud` project, and
`website-e2e`, `perf-tests`, `lint-and-format`, `build`,
`storybook-build`, `scan`, `validate-licenses` and `validate-fonts` all
pass.

---------

Co-authored-by: Amp <amp@ampcode.com>
comfy-pr-bot pushed a commit that referenced this pull request Aug 27, 2026
…ontend (#15941)

Backport of #14483 to `cloud/1.52`.

## ⚠️ Merge order — this PR is stacked

**Base is deliberately set to `backport-ingest-types-to-cloud-1.52`, not
`cloud/1.52`.** GitHub will auto-retarget this PR to `cloud/1.52` once
the types PR merges.

- Depends on: #15939 — `[backport cloud/1.52] feat(billing): render the
ENTERPRISE tier through the generated contract`
- **#15939 must merge first.** This branch does not compile without it:
on `cloud/1.52` alone it produces **94 type errors**, every one of them
a missing member on a generated `@comfyorg/ingest-types` type
(`SavedPaymentMethod`, `quote_id`, `quote_version`, `discounts`,
`currency`, `authentication_state`, `decline_reason`, `promotion_code`,
`confirmation_token`, …).

## Verification

**`pnpm typecheck`: 94 → 0.**

Before (this branch's feature commit on `cloud/1.52`, types PR *not*
applied) — `exit 2`, 94 errors, e.g.:

```
src/platform/workspace/api/workspaceApi.ts(28,3): error TS2305: Module '"@comfyorg/ingest-types"' has no exported member 'SavedPaymentMethod'.
src/platform/workspace/api/workspaceApi.ts(119,27): error TS2339: Property 'authentication_state' does not exist on type 'BillingOpStatusResponse'.
src/platform/workspace/api/workspaceApi.ts(478,11): error TS2353: Object literal may only specify known properties, and 'promotion_code' does not exist in type 'PreviewSubscribeRequest'.
src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue(124,28): error TS2339: Property 'discounts' does not exist on type 'PreviewSubscribeResponse'.
...
```

After (rebased onto #15939) — **`exit 0`, empty output, 0 errors.**

Tests (`pnpm vitest run`):

| Suite | Result |
|---|---|
| `src/composables/useUrlActionLoaders.test.ts` | 6 passed (1 file) |
| `src/platform/workspace/` + `src/platform/cloud/subscription/` |
**1606 passed (88 files)** |
| `useFeatureFlags`, `GlobalDialog`, `GraphCanvas.firstRunEntry` | 94
passed (3 files) |

Lint/format on the 43 changed TS/Vue files: `eslint` exit 0, `oxfmt
--check` — "All matched files use the correct format."

Note that green Vitest is not evidence of type safety (Vitest strips
types) — the `vue-tsc` result above is the type-safety evidence.

## Rebase

Rebased conflict-free onto the types branch; the feature commit's own
conflict resolutions were carried through unchanged.

## Conflict resolutions

These were resolved, reviewed and verified in a prior pass and are
**not** re-derived here. They cover two files:

- `src/composables/useUrlActionLoaders.ts`
- `src/composables/useUrlActionLoaders.test.ts`

Both drop the `?settings` deep-link references. Those come from #15808,
which is not on this branch — `src/composables/useSettingsUrlLoader.ts`
does not exist on `cloud/1.52` (verified absent). No `settings`
references remain in either file.

### Judgement call for reviewers 👀

The upstream test `isolates a settings-loader failure so it does not
abort the boot chain` was **deleted** (its subject, the settings loader,
doesn't exist on this branch). Its two tail assertions were **folded
into the surviving top-up isolation test** rather than dropped, so the
coverage they provided is retained:

```ts
it('isolates a top-up-loader failure so it does not abort the boot chain', async () => {
  mocks.loadTopUp.mockRejectedValueOnce(new Error('boom'))

  const { runUrlActionLoaders } = useUrlActionLoaders()
  await expect(runUrlActionLoaders()).resolves.toBeUndefined()

  expect(mocks.loadPricingTable).toHaveBeenCalledOnce()
  expect(mocks.loadPaymentReturn).toHaveBeenCalledOnce()      // folded in
  expect(mocks.resumePendingPricingFlow).toHaveBeenCalledOnce() // folded in
})
```

This leaves 6 tests in the file instead of upstream's 7. If reviewers
would rather see the assertions dropped with the deleted test, that's a
one-line change.

---------

Co-authored-by: Amp <amp@ampcode.com>
zeus-onl pushed a commit to zeus-onl/ComfyUI_frontend that referenced this pull request Sep 2, 2026
Comfy-Org#16517)

## Summary

The subscription confirm screens rendered no amount at all whenever
embedded checkout was off — a blank "Total due today" on new
subscriptions and "Unavailable" on plan changes. Resolve the amount from
the legacy cost fields the server always sends.

## Changes

- **What**: `formatAmountDueToday` / `formatRenewalAmount` /
`resolveRenewalDate` in `subscriptionQuoteFormatting.ts` resolve each
figure from the exact quote when the server sent one and from the
always-present legacy costs otherwise.
`SubscriptionAddPaymentPreviewWorkspace` and
`SubscriptionTransitionPreviewWorkspace` consume them. New
`subscription.preview.renewsAtAmount` message for the case where the
server supplies an amount but no renewal date.

### Root cause

Comfy-Org#14483 ("consolidate embedded checkout frontend") rewrote both quote
computeds to read only the embedded-checkout field family:

```ts
const totalDueToday = computed(() =>
  previewData?.amount_due_cents === undefined ? '' : formatQuoteMoney(...)
)
```

`POST /api/billing/preview-subscribe` returns two different shapes.
`packages/ingest-types` documents the split on the sibling field:
`payment_method_configuration_id` is *"Present on every successful
preview while embedded checkout is enabled and absent from legacy
previews."* The same holds for the whole family:

| field | contract | legacy preview |
| --- | --- | --- |
| `amount_due_cents`, `currency` | optional | absent |
| `renewal_amount_cents`, `renewal_at` | optional | absent |
| `cost_today_cents`, `cost_next_period_cents` | **required** |
**present** |

So with the flag off, `amount_due_cents` is `undefined` and
`totalDueToday` short-circuits to `''`.
`SubscriptionTransitionPreviewWorkspace` falls through to
`subscription.preview.quoteUnavailable` and prints "Unavailable" twice.

Two things widen the blast radius beyond "someone turned the flag off":

- `embeddedCheckoutEnabled` resolves **fail-closed**
(`resolveFailClosedBooleanFlag`), so a flag that cannot be read is
treated as off and takes this same path.
- `formatQuoteMoney` returns `''` when `currency` is missing, so even
reading `cost_today_cents` while passing the absent `currency` through
would still render blank.

Note the branch here is on the **response shape**, not on the
`embeddedCheckoutEnabled` prop. The shape is what the contract actually
guarantees, it needs no prop threaded into
`SubscriptionTransitionPreviewWorkspace`, and it stays correct if the
flag is on while the backend still serves a legacy preview.
`chargeCents` in the same component already branched this way
(`amount_due_cents ?? cost_today_cents`) — the consolidation just missed
the display computeds.

The renewal **date** is deliberately not synthesized.
`PreviewPlanInfo.period_end` is documented "only for current_plan" and
is absent on a new-subscription preview, so the legacy path shows the
server-provided renewal amount without inventing a date.

## Review Focus

- `LEGACY_QUOTE_CURRENCY = 'usd'` is the one assumption added. The
legacy rail carries no `currency` field because it prices in USD; this
keeps that assumption in a single named constant instead of at each call
site.
- `SubscriptionTransitionPreviewWorkspaceReactivation.test.ts` had a
test asserting "Unavailable" appeared twice for a preview with no exact
quote. That test codified this bug, so it now asserts the legacy amount
renders.
- `cloudSubscribeDeepLink.spec.ts` already drove a legacy-shaped preview
through the real checkout but only asserted the heading, which is how
this reached QA. It now asserts the total.

## Tests

- 8 unit tests on the pure resolvers (exact quote, legacy fallback,
non-USD, missing date)
- 3 component regression tests; verified they fail without the fix and
pass with it
- 1 E2E assertion on the existing flag-off deep-link spec

## Screenshots

Captured in the running app (cloud distribution,
`embedded_checked_enabled` off) — posting them in a follow-up comment.

<!-- Supersedes Comfy-Org#16515, which fixes the same bug by branching on the
flag prop and drops the renewal line when the server sends no date. -->
@huang47 huang47 added the risk:xhigh PR risk grade (advisory shadow check; grader-owned) label Sep 2, 2026 — with ChatGPT Codex Connector
@huang47 huang47 removed the risk:R3 PR risk grade (advisory shadow check; grader-owned) label Sep 2, 2026
@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to cloud/1.51 failed

Reason: Merge conflicts detected during cherry-pick of 8c48cb5

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

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

📄 Conflicting files
src/composables/useFeatureFlags.test.ts
src/platform/workspace/api/workspaceApi.test.ts
src/platform/workspace/api/workspaceApi.ts
src/platform/workspace/composables/useSubscriptionCheckout.test.ts
src/platform/workspace/composables/useSubscriptionCheckout.ts
🤖 Prompt for AI Agents
Backport PR #14483 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/14483) to cloud/1.51.
Cherry-pick merge commit 8c48cb56506c47fd082afdff971e6fc2372b3fcd onto new branch
backport-14483-to-cloud-1.51 from origin/cloud/1.51.
Resolve conflicts in: src/composables/useFeatureFlags.test.ts src/platform/workspace/api/workspaceApi.test.ts src/platform/workspace/api/workspaceApi.ts src/platform/workspace/composables/useSubscriptionCheckout.test.ts src/platform/workspace/composables/useSubscriptionCheckout.ts .

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

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

cc @huntcsg

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to core/1.52 failed

Reason: Merge conflicts detected during cherry-pick of 8c48cb5

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

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

📄 Conflicting files
src/composables/useUrlActionLoaders.test.ts
src/composables/useUrlActionLoaders.ts
🤖 Prompt for AI Agents
Backport PR #14483 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/14483) to core/1.52.
Cherry-pick merge commit 8c48cb56506c47fd082afdff971e6fc2372b3fcd onto new branch
backport-14483-to-core-1.52 from origin/core/1.52.
Resolve conflicts in: src/composables/useUrlActionLoaders.test.ts src/composables/useUrlActionLoaders.ts .

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

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

cc @huntcsg

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to cloud/1.52 failed

Reason: Merge conflicts detected during cherry-pick of 8c48cb5

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

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

📄 Conflicting files
src/platform/cloud/subscription/composables/useSubscriptionDialog.test.ts
src/platform/cloud/subscription/composables/useSubscriptionDialog.ts
src/platform/workspace/auth/WorkspaceAuthGate.vue
src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.vue
src/platform/workspace/components/TopUpCreditsDialogContentWorkspace.test.ts
src/platform/workspace/components/TopUpCreditsDialogContentWorkspace.vue
src/platform/workspace/composables/useSubscriptionCheckout.ts
src/platform/workspace/stores/billingOperationStore.test.ts
src/platform/workspace/stores/billingOperationStore.ts
src/platform/workspace/utils/pendingSubscriptionCheckout.test.ts
src/platform/workspace/utils/pendingSubscriptionCheckout.ts
🤖 Prompt for AI Agents
Backport PR #14483 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/14483) to cloud/1.52.
Cherry-pick merge commit 8c48cb56506c47fd082afdff971e6fc2372b3fcd onto new branch
backport-14483-to-cloud-1.52 from origin/cloud/1.52.
Resolve conflicts in: src/platform/cloud/subscription/composables/useSubscriptionDialog.test.ts src/platform/cloud/subscription/composables/useSubscriptionDialog.ts src/platform/workspace/auth/WorkspaceAuthGate.vue src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.vue src/platform/workspace/components/TopUpCreditsDialogContentWorkspace.test.ts src/platform/workspace/components/TopUpCreditsDialogContentWorkspace.vue src/platform/workspace/composables/useSubscriptionCheckout.ts src/platform/workspace/stores/billingOperationStore.test.ts src/platform/workspace/stores/billingOperationStore.ts src/platform/workspace/utils/pendingSubscriptionCheckout.test.ts src/platform/workspace/utils/pendingSubscriptionCheckout.ts .

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

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

cc @huntcsg

comfy-pr-bot pushed a commit that referenced this pull request Sep 2, 2026
…s from the server costs (#16573)

Backport of #16517 to `cloud/1.53`.

Cherry-pick of `c989dee4077e195a11dee00f31dbf532305fb3e8` — applied
cleanly with **no conflicts**, and the resulting diff is byte-identical
to the commit merged to `main` (9 files, +298/-50).

## Why this is needed on this branch

The subscription confirm screens render **no amount at all** whenever
embedded checkout is off — a blank "Total due today" on new
subscriptions, and "Unavailable" on plan changes. Any release branch
shipping without this fix shows users a checkout screen with no price on
it.

## Root cause

#14483 ("consolidate embedded checkout frontend") rewrote both quote
computeds to read **only** the embedded-checkout field family:

```ts
const totalDueToday = computed(() =>
  previewData?.amount_due_cents === undefined ? '' : formatQuoteMoney(...)
)
```

When embedded checkout is off the server never sends `amount_due_cents`,
so the computed resolves to `''` and the UI renders nothing — even
though the server *always* sends the legacy cost fields that carry the
same figure.

## What changes

- `formatAmountDueToday` / `formatRenewalAmount` / `resolveRenewalDate`
in `subscriptionQuoteFormatting.ts` resolve each figure from the exact
quote **when the server sent one**, and from the always-present legacy
costs otherwise.
- `SubscriptionAddPaymentPreviewWorkspace` and
`SubscriptionTransitionPreviewWorkspace` consume them.
- New `subscription.preview.renewsAtAmount` message for the case where
the server supplies an amount but no renewal date.

## Verification

AS IS / TO BE screenshots are on the original PR: #16517

Regression coverage came across with the cherry-pick:
- `subscriptionQuoteFormatting.test.ts` (new, 8 cases covering
exact-quote / legacy-fallback / non-USD / missing-date)
- `SubscriptionAddPaymentPreviewWorkspace.test.ts`,
`SubscriptionTransitionPreviewWorkspace.test.ts`,
`SubscriptionTransitionPreviewWorkspaceReactivation.test.ts`
- `browser_tests/tests/cloudSubscribeDeepLink.spec.ts` (e2e)

Unit tests were not runnable in the backport sandbox (a local happy-dom
issue fails untouched pre-existing specs identically), so CI on this PR
is the verifying signal.
@comfy-pr-bot comfy-pr-bot added the released:cloud PR has been released to cloud label Sep 3, 2026
@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to cloud/1.51 failed

Reason: Merge conflicts detected during cherry-pick of 8c48cb5

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

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

📄 Conflicting files
src/composables/useFeatureFlags.test.ts
src/platform/workspace/api/workspaceApi.test.ts
src/platform/workspace/api/workspaceApi.ts
src/platform/workspace/composables/useSubscriptionCheckout.test.ts
src/platform/workspace/composables/useSubscriptionCheckout.ts
🤖 Prompt for AI Agents
Backport PR #14483 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/14483) to cloud/1.51.
Cherry-pick merge commit 8c48cb56506c47fd082afdff971e6fc2372b3fcd onto new branch
backport-14483-to-cloud-1.51 from origin/cloud/1.51.
Resolve conflicts in: src/composables/useFeatureFlags.test.ts src/platform/workspace/api/workspaceApi.test.ts src/platform/workspace/api/workspaceApi.ts src/platform/workspace/composables/useSubscriptionCheckout.test.ts src/platform/workspace/composables/useSubscriptionCheckout.ts .

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

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

cc @huntcsg

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to core/1.52 failed

Reason: Merge conflicts detected during cherry-pick of 8c48cb5

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

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

📄 Conflicting files
src/composables/useUrlActionLoaders.test.ts
src/composables/useUrlActionLoaders.ts
🤖 Prompt for AI Agents
Backport PR #14483 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/14483) to core/1.52.
Cherry-pick merge commit 8c48cb56506c47fd082afdff971e6fc2372b3fcd onto new branch
backport-14483-to-core-1.52 from origin/core/1.52.
Resolve conflicts in: src/composables/useUrlActionLoaders.test.ts src/composables/useUrlActionLoaders.ts .

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

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

cc @huntcsg

@comfy-pr-bot

Copy link
Copy Markdown
Member

⚠️ Backport to cloud/1.52 failed

Reason: Merge conflicts detected during cherry-pick of 8c48cb5

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

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

📄 Conflicting files
src/locales/en/main.json
src/platform/cloud/subscription/composables/useSubscriptionDialog.test.ts
src/platform/cloud/subscription/composables/useSubscriptionDialog.ts
src/platform/cloud/subscription/utils/subscriptionQuoteFormatting.ts
src/platform/workspace/auth/WorkspaceAuthGate.vue
src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.test.ts
src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue
src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.test.ts
src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue
src/platform/workspace/components/SubscriptionRequiredDialogContentWorkspace.test.ts
src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.vue
src/platform/workspace/components/SubscriptionTransitionPreviewWorkspaceReactivation.test.ts
src/platform/workspace/components/TopUpCreditsDialogContentWorkspace.test.ts
src/platform/workspace/components/TopUpCreditsDialogContentWorkspace.vue
src/platform/workspace/composables/useSubscriptionCheckout.ts
src/platform/workspace/stores/billingOperationStore.test.ts
src/platform/workspace/stores/billingOperationStore.ts
src/platform/workspace/utils/pendingSubscriptionCheckout.test.ts
src/platform/workspace/utils/pendingSubscriptionCheckout.ts
🤖 Prompt for AI Agents
Backport PR #14483 (https://github.com/Comfy-Org/ComfyUI_frontend/pull/14483) to cloud/1.52.
Cherry-pick merge commit 8c48cb56506c47fd082afdff971e6fc2372b3fcd onto new branch
backport-14483-to-cloud-1.52 from origin/cloud/1.52.
Resolve conflicts in: src/locales/en/main.json src/platform/cloud/subscription/composables/useSubscriptionDialog.test.ts src/platform/cloud/subscription/composables/useSubscriptionDialog.ts src/platform/cloud/subscription/utils/subscriptionQuoteFormatting.ts src/platform/workspace/auth/WorkspaceAuthGate.vue src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.test.ts src/platform/workspace/components/SubscriptionAddPaymentPreviewWorkspace.vue src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.test.ts src/platform/workspace/components/SubscriptionRequiredDialogContentUnified.vue src/platform/workspace/components/SubscriptionRequiredDialogContentWorkspace.test.ts src/platform/workspace/components/SubscriptionTransitionPreviewWorkspace.vue src/platform/workspace/components/SubscriptionTransitionPreviewWorkspaceReactivation.test.ts src/platform/workspace/components/TopUpCreditsDialogContentWorkspace.test.ts src/platform/workspace/components/TopUpCreditsDialogContentWorkspace.vue src/platform/workspace/composables/useSubscriptionCheckout.ts src/platform/workspace/stores/billingOperationStore.test.ts src/platform/workspace/stores/billingOperationStore.ts src/platform/workspace/utils/pendingSubscriptionCheckout.test.ts src/platform/workspace/utils/pendingSubscriptionCheckout.ts .

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

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

cc @huntcsg

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

Labels

cloud/1.52 Backport PRs for cloud/1.52 core/1.52 Backport PRs for core/1.52 needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch preview-cpu Creates a preview ephemeral environment for this PR (CPU only) released:cloud PR has been released to cloud retain-preview Keep the ephemeral preview environment from being torn down for inactivity risk:xhigh PR risk grade (advisory shadow check; grader-owned) size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants