Skip to content

fix: isolate and preserve workflow drafts on workspace switch - #14290

Merged
dante01yoon merged 4 commits into
mainfrom
fix/workspace-switch-restore-isolation
Jul 29, 2026
Merged

dante01yoon merged 4 commits into
mainfrom
fix/workspace-switch-restore-isolation

Conversation

@dante01yoon

@dante01yoon dante01yoon commented Jul 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #14266: flushes the source workspace's pending draft, clears transient restore pointers, and blocks later persistence writes before a successful workspace switch changes auth context and reloads.

Denys' cross-check on the #14266 test environment confirmed that the successful-switch path still reproduced the Cloud 1.48 QA report.

Root cause

#14266 fixed failed token exchange and logout, but a successful switch still cleared the current workspace context before reload without first draining and stopping workflow persistence or removing transitional restore state. A save queued inside the 512 ms debounce window could be lost or resolve against the destination identity, while unscoped legacy and per-tab session pointers survived the reload. Workspace A tabs and dirty content could then restore in Workspace B.

The transition sequence was introduced with workspace switching in #8194 on 2026-01-21. The user-visible tabs/unsaved-edit leak became possible when draft and tab-state persistence shipped in #8519 on 2026-02-19; #8520 added workspace scoping two days later but did not add a transition write barrier.

The earlier #14266 browser fixture seeded already-scoped V2 state, which naturally stayed isolated and therefore missed this transition path.

Reproduction

  1. Open Workspace A and leave one or more workflow tabs with unsaved edits.
  2. Switch successfully to Workspace B (the team-to-personal path is deterministic because the cleared context resolves to personal).
  3. After reload, observe Workspace A's tabs and dirty content in Workspace B.

Changes

  • Flush pending workflow persistence while the source workspace is still active, then block later writes before changing workspace auth context.
  • Treat the terminal write barrier as unavailable storage so delayed saves cannot enter quota eviction and delete preserved drafts.
  • Remove only unscoped legacy and per-tab session restore pointers during workspace-changing reloads.
  • Preserve workspace-scoped V1/V2 draft payloads and indexes, so returning to Workspace A can restore Workspace A's own work.
  • Clear transitional restore state when initialization falls back from a deleted or revoked session workspace.
  • Reuse the same targeted key-removal primitive for full logout cleanup.

Review Focus

Confirm the transition ordering is flush source draft → block writes → clear transient pointers → clear auth context → reload, and that scoped draft keys are preserved.

Screenshots

AS IS

Workspace B is active, but Workspace A's private Markdown Note and dirty workflow remain visible.

AS IS — Workspace A private content visible in Workspace B

AS IS reproduction

Also see Denys' independent reproduction recording.

TO BE

After the same successful switch, Workspace B initializes without Workspace A's private note or workflow state. The default destination workflow may still be dirty in this mocked environment; the isolation assertion is that the source-only Workspace A only note and restore pointers are absent.

TO BE — Workspace B has no Workspace A private content

TO BE verification

Verified at final head 4c102a62c on the #14290 test deployment in both Team → Personal and Personal → Team directions. In both directions, source-only workflow content, the dirty source tab, unscoped workflow data, and per-tab active/open restore pointers were absent after the switch.

Verification

  • Deterministic red → green regression proof using the exact same checked-in behavioral test:
    • Before the flush fix (bfb4e8a69): fails — a Workspace A edit queued inside the 512 ms debounce window has no A-scoped payload after transition (sourcePayload is null).
    • After the flush fix (4c102a62c): passes — Workspace A's final edit is stored under A, a post-barrier write cannot create a Workspace B payload, and per-tab active/open restore pointers are removed.
  • Earlier transition-order regression proof:
  • pnpm test:unit src/platform/workflow/persistence/composables/useWorkflowPersistenceV2.test.ts src/platform/workflow/persistence/base/storageIO.test.ts src/platform/workspace/stores/teamWorkspaceStore.test.ts — 121 passed
  • pnpm typecheck
  • pnpm exec eslint src/platform/workflow/persistence/base/storageIO.ts src/platform/workflow/persistence/composables/useWorkflowPersistenceV2.ts src/platform/workflow/persistence/composables/useWorkflowPersistenceV2.test.ts src/platform/workspace/stores/teamWorkspaceStore.ts src/platform/workspace/stores/teamWorkspaceStore.test.ts
  • pnpm exec oxfmt --check ...
  • pnpm knip (pre-push hook)
  • git diff --check

The deployment fixture separately verifies the browser-visible outcome using mocked Cloud workspace APIs. The checked-in unit regression is the CI gate for transition ordering and scoped-draft preservation; the screenshots and GIFs document the end-to-end user behavior.

@dante01yoon
dante01yoon requested a review from a team July 29, 2026 19:12
@dante01yoon dante01yoon added needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch core/1.48 labels Jul 29, 2026
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 29, 2026
@dosubot

dosubot Bot commented Jul 29, 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

@github-actions

github-actions Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

✅ All contributors have signed the CLA. Thank you! This PR is ready to be merged.
Posted by the CLA Assistant Lite bot.

@github-actions

github-actions Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 07/29/2026, 09:03:19 PM UTC

Links

🎭 Playwright: ✅ 1759 passed, 0 failed

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

📦 Bundle: 8.15 MB gzip 🔴 +296 B

Details

Summary

  • Raw size: 34.2 MB baseline 34.2 MB — 🔴 +1.15 kB
  • Gzip: 8.15 MB baseline 8.15 MB — 🔴 +296 B
  • Brotli: 5.64 MB baseline 5.64 MB — 🔴 +11 B
  • Bundles: 419 current • 419 baseline • 140 added / 140 removed

Category Glance
Data & Services 🔴 +974 B (3.42 MB) · Graph Workspace 🔴 +174 B (1.28 MB) · Vendor & Third-Party ⚪ 0 B (15.7 MB) · Other ⚪ 0 B (12.5 MB) · Panels & Settings ⚪ 0 B (551 kB) · Utilities & Hooks ⚪ 0 B (371 kB) · + 5 more

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

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-a9WdJnpi.js (removed) 3.66 kB — 🟢 -3.66 kB 🟢 -1.84 kB 🟢 -1.6 kB
assets/index-DiMOf1vg.js (new) — 3.66 kB 🔴 +3.66 kB 🔴 +1.84 kB 🔴 +1.6 kB

Status: 1 added / 1 removed

Graph Workspace — 1.28 MB (baseline 1.28 MB) • 🔴 +174 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-C-esphld.js (new) — 1.28 MB 🔴 +1.28 MB 🔴 +276 kB 🔴 +207 kB
assets/GraphView-DR4BoJy9.js (removed) 1.28 MB — 🟢 -1.28 MB 🟢 -276 kB 🟢 -207 kB

Status: 1 added / 1 removed / 1 unchanged

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

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-D_Yu6yrZ.js (removed) 25 kB — 🟢 -25 kB 🟢 -6.26 kB 🟢 -5.54 kB
assets/CloudSurveyView-DKb5OcSc.js (new) — 25 kB 🔴 +25 kB 🔴 +6.26 kB 🔴 +5.53 kB
assets/CloudLoginView-BLTZ3t5v.js (removed) 11.6 kB — 🟢 -11.6 kB 🟢 -3.14 kB 🟢 -2.75 kB
assets/CloudLoginView-Czcknax7.js (new) — 11.6 kB 🔴 +11.6 kB 🔴 +3.14 kB 🔴 +2.76 kB
assets/CloudSignupView-BoGJFMtP.js (new) — 9.96 kB 🔴 +9.96 kB 🔴 +2.81 kB 🔴 +2.46 kB
assets/CloudSignupView-DzuaqB20.js (removed) 9.96 kB — 🟢 -9.96 kB 🟢 -2.81 kB 🟢 -2.47 kB
assets/CloudLayoutView-CVWUvjCG.js (removed) 9.54 kB — 🟢 -9.54 kB 🟢 -2.35 kB 🟢 -2.02 kB
assets/CloudLayoutView-Cxwdr1Zj.js (new) — 9.54 kB 🔴 +9.54 kB 🔴 +2.35 kB 🔴 +2.02 kB
assets/UserCheckView-CqAACF9m.js (removed) 8.8 kB — 🟢 -8.8 kB 🟢 -2.22 kB 🟢 -1.92 kB
assets/UserCheckView-DSIePPtR.js (new) — 8.8 kB 🔴 +8.8 kB 🔴 +2.22 kB 🔴 +1.93 kB
assets/WidgetTextPreview-BEfqCbHO.js (new) — 6.13 kB 🔴 +6.13 kB 🔴 +2.16 kB 🔴 +1.92 kB
assets/WidgetTextPreview-C7GxYYqI.js (removed) 6.13 kB — 🟢 -6.13 kB 🟢 -2.16 kB 🟢 -1.92 kB
assets/CloudSubscriptionRedirectView-BJ7561gv.js (new) — 6.06 kB 🔴 +6.06 kB 🔴 +2.26 kB 🔴 +1.97 kB
assets/CloudSubscriptionRedirectView-CcnMu5pz.js (removed) 6.06 kB — 🟢 -6.06 kB 🟢 -2.26 kB 🟢 -1.96 kB
assets/UserSelectView-C93M84OS.js (removed) 5.54 kB — 🟢 -5.54 kB 🟢 -1.99 kB 🟢 -1.74 kB
assets/UserSelectView-ZNyDZoYy.js (new) — 5.54 kB 🔴 +5.54 kB 🔴 +1.99 kB 🔴 +1.74 kB
assets/CloudForgotPasswordView-B586XSpB.js (removed) 5.15 kB — 🟢 -5.15 kB 🟢 -1.76 kB 🟢 -1.53 kB
assets/CloudForgotPasswordView-BzOHn3Od.js (new) — 5.15 kB 🔴 +5.15 kB 🔴 +1.76 kB 🔴 +1.54 kB
assets/CloudAuthTimeoutView-D3Wot6io.js (removed) 4.49 kB — 🟢 -4.49 kB 🟢 -1.57 kB 🟢 -1.36 kB
assets/CloudAuthTimeoutView-Db4VEBnB.js (new) — 4.49 kB 🔴 +4.49 kB 🔴 +1.57 kB 🔴 +1.36 kB
assets/OAuthLayoutView-5adiey0K.js (new) — 1.36 kB 🔴 +1.36 kB 🔴 +734 B 🔴 +621 B
assets/OAuthLayoutView-B-l5B-df.js (removed) 1.36 kB — 🟢 -1.36 kB 🟢 -732 B 🟢 -620 B
assets/WidgetTextPreview-BJR-Sh_r.js (new) — 131 B 🔴 +131 B 🔴 +100 B 🔴 +91 B
assets/WidgetTextPreview-BKPuTr36.js (removed) 131 B — 🟢 -131 B 🟢 -100 B 🟢 -89 B

Status: 12 added / 12 removed / 4 unchanged

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

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/KeybindingPanel-F4jiz9NM.js (new) — 49.5 kB 🔴 +49.5 kB 🔴 +9.97 kB 🔴 +8.84 kB
assets/KeybindingPanel-qUa7E8x2.js (removed) 49.5 kB — 🟢 -49.5 kB 🟢 -9.97 kB 🟢 -8.85 kB
assets/SecretsPanel-D-3UDZyW.js (removed) 31.3 kB — 🟢 -31.3 kB 🟢 -7.62 kB 🟢 -6.67 kB
assets/SecretsPanel-iBAyBOZT.js (new) — 31.3 kB 🔴 +31.3 kB 🔴 +7.62 kB 🔴 +6.68 kB
assets/CreditsPanel-C2lFP8QU.js (removed) 16 kB — 🟢 -16 kB 🟢 -4.66 kB 🟢 -4.09 kB
assets/CreditsPanel-lTWp2-V_.js (new) — 16 kB 🔴 +16 kB 🔴 +4.66 kB 🔴 +4.09 kB
assets/SubscriptionPanel-D_-8-UgN.js (removed) 11.5 kB — 🟢 -11.5 kB 🟢 -3.66 kB 🟢 -3.21 kB
assets/SubscriptionPanel-Dfaz3SaS.js (new) — 11.5 kB 🔴 +11.5 kB 🔴 +3.66 kB 🔴 +3.24 kB
assets/AboutPanel-Co1Cx3Fd.js (removed) 11.2 kB — 🟢 -11.2 kB 🟢 -3.06 kB 🟢 -2.74 kB
assets/AboutPanel-DAAp8XRR.js (new) — 11.2 kB 🔴 +11.2 kB 🔴 +3.06 kB 🔴 +2.74 kB
assets/ExtensionPanel-CywgkrPL.js (new) — 9.24 kB 🔴 +9.24 kB 🔴 +2.54 kB 🔴 +2.25 kB
assets/ExtensionPanel-D4vRYDq0.js (removed) 9.24 kB — 🟢 -9.24 kB 🟢 -2.54 kB 🟢 -2.25 kB
assets/ServerConfigPanel-CpKBPp0n.js (removed) 6.15 kB — 🟢 -6.15 kB 🟢 -1.97 kB 🟢 -1.75 kB
assets/ServerConfigPanel-DiunaCyW.js (new) — 6.15 kB 🔴 +6.15 kB 🔴 +1.97 kB 🔴 +1.75 kB
assets/UserPanel-CSb3Y0pN.js (removed) 5.78 kB — 🟢 -5.78 kB 🟢 -1.81 kB 🟢 -1.57 kB
assets/UserPanel-CzchKTrR.js (new) — 5.78 kB 🔴 +5.78 kB 🔴 +1.81 kB 🔴 +1.57 kB
assets/refreshRemoteConfig-CFThBKTl.js (new) — 2.97 kB 🔴 +2.97 kB 🔴 +1.27 kB 🔴 +1.12 kB
assets/refreshRemoteConfig-lsxDxBgI.js (removed) 2.97 kB — 🟢 -2.97 kB 🟢 -1.27 kB 🟢 -1.11 kB
assets/cloudRemoteConfig-BqXXe3Hb.js (removed) 988 B — 🟢 -988 B 🟢 -537 B 🟢 -452 B
assets/cloudRemoteConfig-C0mr1dgG.js (new) — 988 B 🔴 +988 B 🔴 +535 B 🔴 +446 B
assets/refreshRemoteConfig-BJ6menmi.js (new) — 110 B 🔴 +110 B 🔴 +89 B 🔴 +90 B
assets/refreshRemoteConfig-DHqCniec.js (removed) 110 B — 🟢 -110 B 🟢 -89 B 🟢 -86 B

Status: 11 added / 11 removed / 15 unchanged

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

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SignUpForm-C9-1gzv8.js (removed) 12.3 kB — 🟢 -12.3 kB 🟢 -4.18 kB 🟢 -3.65 kB
assets/SignUpForm-CeJ4UJjF.js (new) — 12.3 kB 🔴 +12.3 kB 🔴 +4.18 kB 🔴 +3.65 kB
assets/auth-Csd2JgRU.js (new) — 3.69 kB 🔴 +3.69 kB 🔴 +1.3 kB 🔴 +1.12 kB
assets/auth-DkCUDQph.js (removed) 3.69 kB — 🟢 -3.69 kB 🟢 -1.3 kB 🟢 -1.12 kB
assets/usePostAuthRedirect-CHTUNTjM.js (new) — 3.33 kB 🔴 +3.33 kB 🔴 +1.27 kB 🔴 +1.11 kB
assets/usePostAuthRedirect-Zh7L_Xsl.js (removed) 3.33 kB — 🟢 -3.33 kB 🟢 -1.27 kB 🟢 -1.11 kB
assets/UpdatePasswordContent-BOMH1KU3.js (removed) 1.91 kB — 🟢 -1.91 kB 🟢 -871 B 🟢 -758 B
assets/UpdatePasswordContent-Dm_VzwOs.js (new) — 1.91 kB 🔴 +1.91 kB 🔴 +870 B 🔴 +761 B
assets/authStore-B0thq8wx.js (removed) 128 B — 🟢 -128 B 🟢 -104 B 🟢 -105 B
assets/authStore-CcJ3gxqH.js (new) — 128 B 🔴 +128 B 🔴 +104 B 🔴 +104 B
assets/workspaceAuthStore-aBRLM7ST.js (removed) 108 B — 🟢 -108 B 🟢 -99 B 🟢 -108 B
assets/workspaceAuthStore-CkVnQ21U.js (new) — 108 B 🔴 +108 B 🔴 +99 B 🔴 +106 B
assets/auth-BFs_LwUc.js (removed) 105 B — 🟢 -105 B 🟢 -96 B 🟢 -85 B
assets/auth-rKvpx2Ge.js (new) — 105 B 🔴 +105 B 🔴 +96 B 🔴 +94 B

Status: 7 added / 7 removed / 3 unchanged

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

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyHubPublishDialog-DiIpglJe.js (removed) 89.9 kB — 🟢 -89.9 kB 🟢 -19.2 kB 🟢 -16.5 kB
assets/ComfyHubPublishDialog-Dr94JxoB.js (new) — 89.9 kB 🔴 +89.9 kB 🔴 +19.2 kB 🔴 +16.5 kB
assets/useShareDialog-8GsvJ6yM.js (new) — 23.7 kB 🔴 +23.7 kB 🔴 +5.58 kB 🔴 +4.97 kB
assets/useShareDialog-BTdVZXFU.js (removed) 23.7 kB — 🟢 -23.7 kB 🟢 -5.58 kB 🟢 -4.97 kB
assets/feedbackDialog-Cjn4wdWP.js (removed) 4.5 kB — 🟢 -4.5 kB 🟢 -1.89 kB 🟢 -1.62 kB
assets/feedbackDialog-DuuU_AdP.js (new) — 4.5 kB 🔴 +4.5 kB 🔴 +1.89 kB 🔴 +1.61 kB
assets/ComfyHubPublishDialog-B8lgKkWB.js (new) — 143 B 🔴 +143 B 🔴 +105 B 🔴 +87 B
assets/ComfyHubPublishDialog-D8JGqfpl.js (removed) 143 B — 🟢 -143 B 🟢 -105 B 🟢 -89 B
assets/useSubscriptionDialog-CDj-xkVy.js (removed) 108 B — 🟢 -108 B 🟢 -102 B 🟢 -89 B
assets/useSubscriptionDialog-Vmfc_6u3.js (new) — 108 B 🔴 +108 B 🔴 +102 B 🔴 +86 B

Status: 5 added / 5 removed / 1 unchanged

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

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyQueueButton-CnNVtT4d.js (new) — 13.5 kB 🔴 +13.5 kB 🔴 +3.76 kB 🔴 +3.34 kB
assets/ComfyQueueButton-Dq9PcMhP.js (removed) 13.5 kB — 🟢 -13.5 kB 🟢 -3.76 kB 🟢 -3.34 kB
assets/useTerminalTabs-3cDBqJAP.js (new) — 11.8 kB 🔴 +11.8 kB 🔴 +3.72 kB 🔴 +3.29 kB
assets/useTerminalTabs-h2VWS2Lj.js (removed) 11.8 kB — 🟢 -11.8 kB 🟢 -3.72 kB 🟢 -3.29 kB
assets/InviteMembersForm-BVOXLxsv.js (removed) 8.02 kB — 🟢 -8.02 kB 🟢 -2.68 kB 🟢 -2.37 kB
assets/InviteMembersForm-WilpPIAx.js (new) — 8.02 kB 🔴 +8.02 kB 🔴 +2.68 kB 🔴 +2.4 kB
assets/SubscribeButton-9yicMW2E.js (removed) 2.18 kB — 🟢 -2.18 kB 🟢 -987 B 🟢 -863 B
assets/SubscribeButton-D9KWcS-1.js (new) — 2.18 kB 🔴 +2.18 kB 🔴 +987 B 🔴 +864 B
assets/cloudFeedbackTopbarButton-BojFWqWX.js (new) — 768 B 🔴 +768 B 🔴 +454 B 🔴 +388 B
assets/cloudFeedbackTopbarButton-DFaOuYMQ.js (removed) 768 B — 🟢 -768 B 🟢 -454 B 🟢 -412 B
assets/ComfyQueueButton-D3loeqWh.js (removed) 128 B — 🟢 -128 B 🟢 -99 B 🟢 -89 B
assets/ComfyQueueButton-DuKtuqSA.js (new) — 128 B 🔴 +128 B 🔴 +99 B 🔴 +90 B

Status: 6 added / 6 removed / 8 unchanged

Data & Services — 3.42 MB (baseline 3.42 MB) • 🔴 +974 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/settingStore-BshH7Rmu.js (new) — 3.15 MB 🔴 +3.15 MB 🔴 +730 kB 🔴 +550 kB
assets/settingStore-Cpnn15Ki.js (removed) 3.15 MB — 🟢 -3.15 MB 🟢 -729 kB 🟢 -550 kB
assets/load3dService-Cm4PigYT.js (removed) 132 kB — 🟢 -132 kB 🟢 -29.3 kB 🟢 -24.6 kB
assets/load3dService-DWehnu14.js (new) — 132 kB 🔴 +132 kB 🔴 +29.3 kB 🔴 +24.6 kB
assets/api-9JqJbe7x.js (removed) 91.4 kB — 🟢 -91.4 kB 🟢 -25.3 kB 🟢 -21.8 kB
assets/api-HX_um4Wo.js (new) — 91.4 kB 🔴 +91.4 kB 🔴 +25.3 kB 🔴 +21.8 kB
assets/workflowShareService-CmgLtG-Z.js (removed) 16.5 kB — 🟢 -16.5 kB 🟢 -4.92 kB 🟢 -4.36 kB
assets/workflowShareService-CTDQ5Pdm.js (new) — 16.5 kB 🔴 +16.5 kB 🔴 +4.92 kB 🔴 +4.37 kB
assets/keybindingService-DOHJjG3M.js (removed) 7.28 kB — 🟢 -7.28 kB 🟢 -1.9 kB 🟢 -1.62 kB
assets/keybindingService-DParoSoR.js (new) — 7.28 kB 🔴 +7.28 kB 🔴 +1.9 kB 🔴 +1.62 kB
assets/releaseStore-CKWeye59.js (new) — 6.77 kB 🔴 +6.77 kB 🔴 +2.06 kB 🔴 +1.8 kB
assets/releaseStore-Dus7ffZd.js (removed) 6.77 kB — 🟢 -6.77 kB 🟢 -2.06 kB 🟢 -1.8 kB
assets/systemStatsStore-DPf5O6dH.js (new) — 4.99 kB 🔴 +4.99 kB 🔴 +1.77 kB 🔴 +1.5 kB
assets/systemStatsStore-xNtU1kQv.js (removed) 4.99 kB — 🟢 -4.99 kB 🟢 -1.77 kB 🟢 -1.5 kB
assets/userStore-B7GtLxYg.js (new) — 2.42 kB 🔴 +2.42 kB 🔴 +932 B 🔴 +825 B
assets/userStore-DITAKBWR.js (removed) 2.42 kB — 🟢 -2.42 kB 🟢 -932 B 🟢 -818 B
assets/audioService-CJwBYDAf.js (removed) 1.76 kB — 🟢 -1.76 kB 🟢 -863 B 🟢 -751 B
assets/audioService-CRloHeby.js (new) — 1.76 kB 🔴 +1.76 kB 🔴 +860 B 🔴 +752 B
assets/dialogService-CdpGRJgi.js (new) — 98 B 🔴 +98 B 🔴 +97 B 🔴 +85 B
assets/dialogService-D6VY9bk1.js (removed) 98 B — 🟢 -98 B 🟢 -97 B 🟢 -80 B
assets/releaseStore-HODMfSpC.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +85 B
assets/releaseStore-RvFwlZgE.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -77 B
assets/settingStore-1LxV0OLa.js (removed) 95 B — 🟢 -95 B 🟢 -86 B 🟢 -81 B
assets/settingStore-CMmLLBSu.js (new) — 95 B 🔴 +95 B 🔴 +86 B 🔴 +86 B
assets/assetsStore-DFRgFsEB.js (removed) 94 B — 🟢 -94 B 🟢 -92 B 🟢 -84 B
assets/assetsStore-DVniEoDo.js (new) — 94 B 🔴 +94 B 🔴 +92 B 🔴 +83 B
assets/api-FayI3nKj.js (new) — 62 B 🔴 +62 B 🔴 +74 B 🔴 +66 B
assets/api-TUDwFIB9.js (removed) 62 B — 🟢 -62 B 🟢 -74 B 🟢 -66 B

Status: 14 added / 14 removed / 3 unchanged

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

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useConflictDetection-D2zOu7GI.js (new) — 235 kB 🔴 +235 kB 🔴 +52.5 kB 🔴 +42.7 kB
assets/useConflictDetection-Q4tI-I-U.js (removed) 235 kB — 🟢 -235 kB 🟢 -52.5 kB 🟢 -42.8 kB
assets/useLoad3d-CLWaimF8.js (removed) 25.8 kB — 🟢 -25.8 kB 🟢 -5.82 kB 🟢 -5.16 kB
assets/useLoad3d-DROB9Szi.js (new) — 25.8 kB 🔴 +25.8 kB 🔴 +5.82 kB 🔴 +5.16 kB
assets/useLoad3dViewer-6kjjii2V.js (new) — 21.3 kB 🔴 +21.3 kB 🔴 +5 kB 🔴 +4.38 kB
assets/useLoad3dViewer-B9zyxFBc.js (removed) 21.3 kB — 🟢 -21.3 kB 🟢 -5.01 kB 🟢 -4.38 kB
assets/useDowngradeToPersonal-_0hyDhxl.js (removed) 8.21 kB — 🟢 -8.21 kB 🟢 -2.39 kB 🟢 -2.04 kB
assets/useDowngradeToPersonal-DaRHElQj.js (new) — 8.21 kB 🔴 +8.21 kB 🔴 +2.39 kB 🔴 +2.04 kB
assets/useFeatureFlags-BdSv6blA.js (new) — 7.26 kB 🔴 +7.26 kB 🔴 +2.17 kB 🔴 +1.83 kB
assets/useFeatureFlags-DNtDDK3h.js (removed) 7.26 kB — 🟢 -7.26 kB 🟢 -2.17 kB 🟢 -1.84 kB
assets/assetPreviewUtil-CNgXWDwn.js (new) — 2.41 kB 🔴 +2.41 kB 🔴 +1 kB 🔴 +870 B
assets/assetPreviewUtil-sv3-o3X6.js (removed) 2.41 kB — 🟢 -2.41 kB 🟢 -1 kB 🟢 -866 B
assets/useUpstreamValue-BfP8BIEm.js (removed) 2.04 kB — 🟢 -2.04 kB 🟢 -789 B 🟢 -706 B
assets/useUpstreamValue-DpxLFlcR.js (new) — 2.04 kB 🔴 +2.04 kB 🔴 +787 B 🔴 +702 B
assets/useWorkspaceTierLabel-BFA0LWEn.js (removed) 1.99 kB — 🟢 -1.99 kB 🟢 -846 B 🟢 -733 B
assets/useWorkspaceTierLabel-BoD_JeSG.js (new) — 1.99 kB 🔴 +1.99 kB 🔴 +847 B 🔴 +727 B
assets/subscriptionCheckoutUtil-Dzf9rP1T.js (removed) 903 B — 🟢 -903 B 🟢 -535 B 🟢 -456 B
assets/subscriptionCheckoutUtil-MEUnqnt3.js (new) — 903 B 🔴 +903 B 🔴 +537 B 🔴 +455 B
assets/useSessionCookie-D5Uxb-tY.js (removed) 746 B — 🟢 -746 B 🟢 -390 B 🟢 -335 B
assets/useSessionCookie-S6sLL2pn.js (new) — 746 B 🔴 +746 B 🔴 +390 B 🔴 +338 B
assets/useLoad3d-B2SEO5ab.js (new) — 311 B 🔴 +311 B 🔴 +164 B 🔴 +150 B
assets/useLoad3d-Nz1jq4Ze.js (removed) 311 B — 🟢 -311 B 🟢 -164 B 🟢 -147 B
assets/useSessionCookie-Flhf4kfb.js (new) — 101 B 🔴 +101 B 🔴 +86 B 🔴 +83 B
assets/useSessionCookie-zvaTdRLm.js (removed) 101 B — 🟢 -101 B 🟢 -86 B 🟢 -86 B
assets/useFeatureFlags-DC4jYcGk.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -80 B
assets/useFeatureFlags-OFM1_dFz.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +81 B
assets/useLoad3dViewer-BnAzJAgU.js (removed) 98 B — 🟢 -98 B 🟢 -85 B 🟢 -85 B
assets/useLoad3dViewer-CRF8Wogb.js (new) — 98 B 🔴 +98 B 🔴 +85 B 🔴 +84 B
assets/useCurrentUser-B7PFuiyk.js (removed) 94 B — 🟢 -94 B 🟢 -95 B 🟢 -85 B
assets/useCurrentUser-Dw86o9SY.js (new) — 94 B 🔴 +94 B 🔴 +95 B 🔴 +85 B

Status: 15 added / 15 removed / 20 unchanged

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

External libraries and shared vendor chunks

Status: 16 unchanged

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

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/core-C1JzvzxL.js (new) — 111 kB 🔴 +111 kB 🔴 +28.7 kB 🔴 +24.3 kB
assets/core-DeZjP_xj.js (removed) 111 kB — 🟢 -111 kB 🟢 -28.7 kB 🟢 -24.3 kB
assets/WidgetSelect-DIezx118.js (new) — 88 kB 🔴 +88 kB 🔴 +20 kB 🔴 +17.1 kB
assets/WidgetSelect-DyhcTGmB.js (removed) 88 kB — 🟢 -88 kB 🟢 -20 kB 🟢 -17.1 kB
assets/Load3D-CzIrAsU6.js (removed) 71.3 kB — 🟢 -71.3 kB 🟢 -11.7 kB 🟢 -10 kB
assets/Load3D-ojc7dZCO.js (new) — 71.3 kB 🔴 +71.3 kB 🔴 +11.7 kB 🔴 +10 kB
assets/WorkspaceSettingsPanelContent-BON36Drh.js (new) — 61.6 kB 🔴 +61.6 kB 🔴 +13.2 kB 🔴 +11.5 kB
assets/WorkspaceSettingsPanelContent-DgkUZjK5.js (removed) 61.6 kB — 🟢 -61.6 kB 🟢 -13.2 kB 🟢 -11.5 kB
assets/SubscriptionTransitionPreviewWorkspace-BQzWDOn-.js (removed) 53.9 kB — 🟢 -53.9 kB 🟢 -11.3 kB 🟢 -9.92 kB
assets/SubscriptionTransitionPreviewWorkspace-CkkjEVbf.js (new) — 53.9 kB 🔴 +53.9 kB 🔴 +11.3 kB 🔴 +9.91 kB
assets/Preview3d-D0kG0LX5.js (new) — 50.9 kB 🔴 +50.9 kB 🔴 +8.34 kB 🔴 +7.26 kB
assets/Preview3d-DWiV-ZsT.js (removed) 50.9 kB — 🟢 -50.9 kB 🟢 -8.34 kB 🟢 -7.27 kB
assets/main-DAT0uRGj.js (new) — 46.7 kB 🔴 +46.7 kB 🔴 +13.8 kB 🔴 +11.9 kB
assets/main-DCXqfHbx.js (removed) 46.7 kB — 🟢 -46.7 kB 🟢 -13.8 kB 🟢 -11.9 kB
assets/SubscriptionRequiredDialogContentUnified-ChByq3U7.js (new) — 42.1 kB 🔴 +42.1 kB 🔴 +9.37 kB 🔴 +8.15 kB
assets/SubscriptionRequiredDialogContentUnified-D9VAp_9n.js (removed) 42.1 kB — 🟢 -42.1 kB 🟢 -9.37 kB 🟢 -8.19 kB
assets/MembersPanelContent-BMpRt60C.js (new) — 41.9 kB 🔴 +41.9 kB 🔴 +8.8 kB 🔴 +7.84 kB
assets/MembersPanelContent-DCMMm4nl.js (removed) 41.9 kB — 🟢 -41.9 kB 🟢 -8.8 kB 🟢 -7.84 kB
assets/WidgetBoundingBoxes-9pmYt9j_.js (removed) 33.8 kB — 🟢 -33.8 kB 🟢 -9.19 kB 🟢 -8.15 kB
assets/WidgetBoundingBoxes-DZ7z6fyN.js (new) — 33.8 kB 🔴 +33.8 kB 🔴 +9.19 kB 🔴 +8.15 kB
assets/WidgetPainter-BMxrYyMw.js (removed) 32.7 kB — 🟢 -32.7 kB 🟢 -7.9 kB 🟢 -7 kB
assets/WidgetPainter-PVb3QyTx.js (new) — 32.7 kB 🔴 +32.7 kB 🔴 +7.9 kB 🔴 +6.97 kB
assets/Load3dViewerContent-B2iOGmvj.js (new) — 30.8 kB 🔴 +30.8 kB 🔴 +6.29 kB 🔴 +5.46 kB
assets/Load3dViewerContent-BKbO7WRV.js (removed) 30.8 kB — 🟢 -30.8 kB 🟢 -6.3 kB 🟢 -5.46 kB
assets/SubscriptionPanelContentWorkspace-bXiaqYBI.js (new) — 26.6 kB 🔴 +26.6 kB 🔴 +6.21 kB 🔴 +5.46 kB
assets/SubscriptionPanelContentWorkspace-CTtNCrZK.js (removed) 26.6 kB — 🟢 -26.6 kB 🟢 -6.21 kB 🟢 -5.46 kB
assets/SubscriptionRequiredDialogContent-CHzlk3ap.js (removed) 26.1 kB — 🟢 -26.1 kB 🟢 -6.17 kB 🟢 -5.43 kB
assets/SubscriptionRequiredDialogContent-DXtn3Z5x.js (new) — 26.1 kB 🔴 +26.1 kB 🔴 +6.17 kB 🔴 +5.43 kB
assets/SubscriptionRequiredDialogContentWorkspace-BiI4MOIX.js (removed) 24.9 kB — 🟢 -24.9 kB 🟢 -5.77 kB 🟢 -5.07 kB
assets/SubscriptionRequiredDialogContentWorkspace-YF05WGy_.js (new) — 24.9 kB 🔴 +24.9 kB 🔴 +5.77 kB 🔴 +5.06 kB
assets/WidgetImageCrop-DDFCIoLT.js (removed) 23.3 kB — 🟢 -23.3 kB 🟢 -5.75 kB 🟢 -5.04 kB
assets/WidgetImageCrop-e_K6SPs8.js (new) — 23.3 kB 🔴 +23.3 kB 🔴 +5.75 kB 🔴 +5.04 kB
assets/load3d-B8bwl0-b.js (new) — 22.2 kB 🔴 +22.2 kB 🔴 +5.44 kB 🔴 +4.69 kB
assets/load3d-BP3_Mz6b.js (removed) 22.2 kB — 🟢 -22.2 kB 🟢 -5.44 kB 🟢 -4.7 kB
assets/CurrentUserPopoverWorkspace-BUnPdfFi.js (removed) 20.6 kB — 🟢 -20.6 kB 🟢 -4.72 kB 🟢 -4.2 kB
assets/CurrentUserPopoverWorkspace-CS7pEwYO.js (new) — 20.6 kB 🔴 +20.6 kB 🔴 +4.72 kB 🔴 +4.2 kB
assets/SignInContent-B7-XKKMY.js (new) — 20.3 kB 🔴 +20.3 kB 🔴 +5.13 kB 🔴 +4.48 kB
assets/SignInContent-D3xuHU-k.js (removed) 20.3 kB — 🟢 -20.3 kB 🟢 -5.13 kB 🟢 -4.47 kB
assets/WidgetInputNumber-DfFERIpe.js (removed) 19.1 kB — 🟢 -19.1 kB 🟢 -4.83 kB 🟢 -4.29 kB
assets/WidgetInputNumber-DTrhbUUj.js (new) — 19.1 kB 🔴 +19.1 kB 🔴 +4.83 kB 🔴 +4.29 kB
assets/CreditsTile-0cUxyDS9.js (removed) 17.3 kB — 🟢 -17.3 kB 🟢 -4.58 kB 🟢 -4.04 kB
assets/CreditsTile-CuOu1jIc.js (new) — 17.3 kB 🔴 +17.3 kB 🔴 +4.58 kB 🔴 +4.04 kB
assets/WidgetRange-CZptbf6E.js (new) — 16.7 kB 🔴 +16.7 kB 🔴 +4.3 kB 🔴 +3.85 kB
assets/WidgetRange-Gp6iWx6Y.js (removed) 16.7 kB — 🟢 -16.7 kB 🟢 -4.3 kB 🟢 -3.85 kB
assets/WidgetRecordAudio-RpgMhrrS.js (removed) 16.6 kB — 🟢 -16.6 kB 🟢 -4.63 kB 🟢 -4.13 kB
assets/WidgetRecordAudio-vr-z9FJz.js (new) — 16.6 kB 🔴 +16.6 kB 🔴 +4.63 kB 🔴 +4.13 kB
assets/WaveAudioPlayer-Bs6105zu.js (new) — 12.8 kB 🔴 +12.8 kB 🔴 +3.5 kB 🔴 +3.06 kB
assets/WaveAudioPlayer-D9hAIttR.js (removed) 12.8 kB — 🟢 -12.8 kB 🟢 -3.5 kB 🟢 -3.06 kB
assets/WidgetCurve-CW7A2H-o.js (new) — 11.3 kB 🔴 +11.3 kB 🔴 +3.51 kB 🔴 +3.16 kB
assets/WidgetCurve-MSguNyBJ.js (removed) 11.3 kB — 🟢 -11.3 kB 🟢 -3.5 kB 🟢 -3.16 kB
assets/TeamWorkspacesDialogContent-7kdgAI0p.js (removed) 10.3 kB — 🟢 -10.3 kB 🟢 -3 kB 🟢 -2.67 kB
assets/TeamWorkspacesDialogContent-DkJKZvzS.js (new) — 10.3 kB 🔴 +10.3 kB 🔴 +3 kB 🔴 +2.66 kB
assets/onboardingCloudRoutes-BWqFAJbD.js (new) — 9.08 kB 🔴 +9.08 kB 🔴 +2.78 kB 🔴 +2.4 kB
assets/onboardingCloudRoutes-Dx5e0xn0.js (removed) 9.08 kB — 🟢 -9.08 kB 🟢 -2.78 kB 🟢 -2.39 kB
assets/Load3DConfiguration-DraVy8GN.js (removed) 8.97 kB — 🟢 -8.97 kB 🟢 -2.64 kB 🟢 -2.32 kB
assets/Load3DConfiguration-xzcT5ERL.js (new) — 8.97 kB 🔴 +8.97 kB 🔴 +2.63 kB 🔴 +2.32 kB
assets/SetMemberCreditLimitDialogContent-DiwWQAPf.js (removed) 8.54 kB — 🟢 -8.54 kB 🟢 -2.37 kB 🟢 -2.08 kB
assets/SetMemberCreditLimitDialogContent-DVKLqdgd.js (new) — 8.54 kB 🔴 +8.54 kB 🔴 +2.37 kB 🔴 +2.07 kB
assets/nodeTemplates-DMJ8kgr4.js (new) — 8.33 kB 🔴 +8.33 kB 🔴 +2.87 kB 🔴 +2.52 kB
assets/nodeTemplates-Ftx_pgU4.js (removed) 8.33 kB — 🟢 -8.33 kB 🟢 -2.87 kB 🟢 -2.54 kB
assets/NightlySurveyController-CfBIaT-Q.js (new) — 7.56 kB 🔴 +7.56 kB 🔴 +2.59 kB 🔴 +2.28 kB
assets/NightlySurveyController-CzJ-mt5T.js (removed) 7.56 kB — 🟢 -7.56 kB 🟢 -2.59 kB 🟢 -2.28 kB
assets/WidgetWithControl-Bx6cz9n_.js (new) — 6.4 kB 🔴 +6.4 kB 🔴 +2.61 kB 🔴 +2.29 kB
assets/WidgetWithControl-DFggRynD.js (removed) 6.4 kB — 🟢 -6.4 kB 🟢 -2.61 kB 🟢 -2.32 kB
assets/tierBenefits-DgSE2ipb.js (new) — 6.25 kB 🔴 +6.25 kB 🔴 +2 kB 🔴 +1.74 kB
assets/tierBenefits-DmuVqdZC.js (removed) 6.25 kB — 🟢 -6.25 kB 🟢 -2 kB 🟢 -1.74 kB
assets/CancelSubscriptionDialogContent-FB3GxB4E.js (new) — 5.98 kB 🔴 +5.98 kB 🔴 +2.04 kB 🔴 +1.79 kB
assets/CancelSubscriptionDialogContent-HcQ9NNwD.js (removed) 5.98 kB — 🟢 -5.98 kB 🟢 -2.04 kB 🟢 -1.79 kB
assets/load3dPreviewExtensions-B4HYQ6Yi.js (removed) 5.94 kB — 🟢 -5.94 kB 🟢 -1.84 kB 🟢 -1.63 kB
assets/load3dPreviewExtensions-OflCu4ov.js (new) — 5.94 kB 🔴 +5.94 kB 🔴 +1.84 kB 🔴 +1.62 kB
assets/CreateWorkspaceDialogContent-Dyuf7zM0.js (removed) 5.19 kB — 🟢 -5.19 kB 🟢 -1.83 kB 🟢 -1.58 kB
assets/CreateWorkspaceDialogContent-W6i6o5jH.js (new) — 5.19 kB 🔴 +5.19 kB 🔴 +1.83 kB 🔴 +1.58 kB
assets/ChangeMemberRoleDialogContent-C_csAA3_.js (removed) 5.04 kB — 🟢 -5.04 kB 🟢 -1.67 kB 🟢 -1.46 kB
assets/ChangeMemberRoleDialogContent-sgwWHg6u.js (new) — 5.04 kB 🔴 +5.04 kB 🔴 +1.67 kB 🔴 +1.46 kB
assets/missingModelDownload-B6v7Qh_5.js (removed) 5.03 kB — 🟢 -5.03 kB 🟢 -1.95 kB 🟢 -1.7 kB
assets/missingModelDownload-EKnGN4Sn.js (new) — 5.03 kB 🔴 +5.03 kB 🔴 +1.95 kB 🔴 +1.7 kB
assets/EditWorkspaceDialogContent-Ca2yEHkK.js (removed) 5 kB — 🟢 -5 kB 🟢 -1.79 kB 🟢 -1.55 kB
assets/EditWorkspaceDialogContent-D-Tbs7tF.js (new) — 5 kB 🔴 +5 kB 🔴 +1.79 kB 🔴 +1.55 kB
assets/WidgetTextarea-B4GZbjkv.js (new) — 4.86 kB 🔴 +4.86 kB 🔴 +1.9 kB 🔴 +1.66 kB
assets/WidgetTextarea-Buw5EdG-.js (removed) 4.86 kB — 🟢 -4.86 kB 🟢 -1.9 kB 🟢 -1.66 kB
assets/saveMesh-1DcvY8aI.js (removed) 4.81 kB — 🟢 -4.81 kB 🟢 -1.55 kB 🟢 -1.37 kB
assets/saveMesh-rMNFW16T.js (new) — 4.81 kB 🔴 +4.81 kB 🔴 +1.55 kB 🔴 +1.37 kB
assets/WorkspacePanelContent-Bf4F-ypI.js (removed) 4.78 kB — 🟢 -4.78 kB 🟢 -1.63 kB 🟢 -1.43 kB
assets/WorkspacePanelContent-BZW8yYCA.js (new) — 4.78 kB 🔴 +4.78 kB 🔴 +1.63 kB 🔴 +1.43 kB
assets/InviteMemberDialogContent-B4mR6ep-.js (new) — 4.75 kB 🔴 +4.75 kB 🔴 +1.61 kB 🔴 +1.4 kB
assets/InviteMemberDialogContent-DFC8e7mK.js (removed) 4.75 kB — 🟢 -4.75 kB 🟢 -1.61 kB 🟢 -1.4 kB
assets/ValueControlPopover-Clkvm0-U.js (removed) 4.54 kB — 🟢 -4.54 kB 🟢 -1.58 kB 🟢 -1.41 kB
assets/ValueControlPopover-CvPSOHyv.js (new) — 4.54 kB 🔴 +4.54 kB 🔴 +1.58 kB 🔴 +1.41 kB
assets/DeleteWorkspaceDialogContent-BPaDnZjV.js (new) — 3.91 kB 🔴 +3.91 kB 🔴 +1.47 kB 🔴 +1.26 kB
assets/DeleteWorkspaceDialogContent-CeazoyiQ.js (removed) 3.91 kB — 🟢 -3.91 kB 🟢 -1.47 kB 🟢 -1.26 kB
assets/LeaveWorkspaceDialogContent-B27YJLrJ.js (removed) 3.73 kB — 🟢 -3.73 kB 🟢 -1.41 kB 🟢 -1.22 kB
assets/LeaveWorkspaceDialogContent-CUzOPz78.js (new) — 3.73 kB 🔴 +3.73 kB 🔴 +1.42 kB 🔴 +1.22 kB
assets/RemoveMemberDialogContent-CP_xKEto.js (new) — 3.71 kB 🔴 +3.71 kB 🔴 +1.37 kB 🔴 +1.18 kB
assets/RemoveMemberDialogContent-DSxehqMC.js (removed) 3.71 kB — 🟢 -3.71 kB 🟢 -1.37 kB 🟢 -1.18 kB
assets/RevokeInviteDialogContent-05drticv.js (new) — 3.62 kB 🔴 +3.62 kB 🔴 +1.38 kB 🔴 +1.2 kB
assets/RevokeInviteDialogContent-CST6S5wb.js (removed) 3.62 kB — 🟢 -3.62 kB 🟢 -1.38 kB 🟢 -1.2 kB
assets/InviteMemberUpsellDialogContent-BxV6VRkV.js (new) — 3.51 kB 🔴 +3.51 kB 🔴 +1.26 kB 🔴 +1.1 kB
assets/InviteMemberUpsellDialogContent-DXubcUi0.js (removed) 3.51 kB — 🟢 -3.51 kB 🟢 -1.26 kB 🟢 -1.11 kB
assets/workspaceCheckoutTelemetry-Bxbe5XkE.js (removed) 3.46 kB — 🟢 -3.46 kB 🟢 -1.55 kB 🟢 -1.35 kB
assets/workspaceCheckoutTelemetry-C513cAM-.js (new) — 3.46 kB 🔴 +3.46 kB 🔴 +1.55 kB 🔴 +1.35 kB
assets/Media3DTop-CSJUM9u8.js (new) — 3.26 kB 🔴 +3.26 kB 🔴 +1.29 kB 🔴 +1.13 kB
assets/Media3DTop-Doje6AtN.js (removed) 3.26 kB — 🟢 -3.26 kB 🟢 -1.29 kB 🟢 -1.13 kB
assets/GlobalToast-CtCcvRiD.js (removed) 3.05 kB — 🟢 -3.05 kB 🟢 -1.25 kB 🟢 -1.11 kB
assets/GlobalToast-rnDLS8iP.js (new) — 3.05 kB 🔴 +3.05 kB 🔴 +1.25 kB 🔴 +1.1 kB
assets/load3dAdvanced-CXOwwCgg.js (removed) 2.87 kB — 🟢 -2.87 kB 🟢 -1.13 kB 🟢 -980 B
assets/load3dAdvanced-spXX_rT0.js (new) — 2.87 kB 🔴 +2.87 kB 🔴 +1.13 kB 🔴 +981 B
assets/SubscribeToRun-CUOLWxqe.js (removed) 2.45 kB — 🟢 -2.45 kB 🟢 -1.06 kB 🟢 -925 B
assets/SubscribeToRun-DGrTCUTw.js (new) — 2.45 kB 🔴 +2.45 kB 🔴 +1.06 kB 🔴 +925 B
assets/MediaAudioTop-6i3pTL9C.js (new) — 1.67 kB 🔴 +1.67 kB 🔴 +836 B 🔴 +696 B
assets/MediaAudioTop-BPEZ1BtE.js (removed) 1.67 kB — 🟢 -1.67 kB 🟢 -838 B 🟢 -697 B
assets/CloudRunButtonWrapper-BE1xahoE.js (new) — 1.11 kB 🔴 +1.11 kB 🔴 +544 B 🔴 +483 B
assets/CloudRunButtonWrapper-CdCBWQqn.js (removed) 1.11 kB — 🟢 -1.11 kB 🟢 -544 B 🟢 -480 B
assets/cloudSessionCookie-Dbb4x74S.js (new) — 989 B 🔴 +989 B 🔴 +463 B 🔴 +429 B
assets/cloudSessionCookie-DUpRI1Ql.js (removed) 989 B — 🟢 -989 B 🟢 -463 B 🟢 -423 B
assets/cloudBadges-3tx0_EHI.js (removed) 971 B — 🟢 -971 B 🟢 -548 B 🟢 -463 B
assets/cloudBadges-PuZtlx0m.js (new) — 971 B 🔴 +971 B 🔴 +548 B 🔴 +460 B
assets/Load3DAdvanced-azjS4vQI.js (removed) 813 B — 🟢 -813 B 🟢 -453 B 🟢 -411 B
assets/Load3DAdvanced-CPfGr40h.js (new) — 813 B 🔴 +813 B 🔴 +453 B 🔴 +382 B
assets/nightlyBadges-qGiO_MXP.js (removed) 462 B — 🟢 -462 B 🟢 -305 B 🟢 -250 B
assets/nightlyBadges-qppBQLXP.js (new) — 462 B 🔴 +462 B 🔴 +305 B 🔴 +249 B
assets/missingModelDownload-BvVeSZ_i.js (removed) 228 B — 🟢 -228 B 🟢 -151 B 🟢 -131 B
assets/missingModelDownload-DwjwGN4l.js (new) — 228 B 🔴 +228 B 🔴 +151 B 🔴 +131 B
assets/SubscriptionPanelContentWorkspace-BJSNtX0h.js (new) — 179 B 🔴 +179 B 🔴 +117 B 🔴 +92 B
assets/SubscriptionPanelContentWorkspace-GnEH7YNB.js (removed) 179 B — 🟢 -179 B 🟢 -117 B 🟢 -102 B
assets/Load3dViewerContent-DG2AMfg1.js (removed) 137 B — 🟢 -137 B 🟢 -103 B 🟢 -93 B
assets/Load3dViewerContent-MMMkFV_u.js (new) — 137 B 🔴 +137 B 🔴 +103 B 🔴 +92 B
assets/Load3DAdvanced-BlbXPRme.js (new) — 122 B 🔴 +122 B 🔴 +97 B 🔴 +88 B
assets/Load3DAdvanced-jIKAHV9M.js (removed) 122 B — 🟢 -122 B 🟢 -97 B 🟢 -90 B
assets/WidgetLegacy-DFaaeK46.js (removed) 117 B — 🟢 -117 B 🟢 -106 B 🟢 -96 B
assets/WidgetLegacy-Eplw0guW.js (new) — 117 B 🔴 +117 B 🔴 +106 B 🔴 +103 B
assets/workflowDraftStoreV2-BcooPd-Q.js (new) — 112 B 🔴 +112 B 🔴 +101 B 🔴 +110 B
assets/workflowDraftStoreV2-BIF-5zyg.js (removed) 112 B — 🟢 -112 B 🟢 -101 B 🟢 -109 B
assets/Load3D-Q-QxtiBZ.js (removed) 98 B — 🟢 -98 B 🟢 -89 B 🟢 -83 B
assets/Load3D-r4qrJ_sp.js (new) — 98 B 🔴 +98 B 🔴 +89 B 🔴 +78 B
assets/changeTracker-C10I-cpJ.js (new) — 91 B 🔴 +91 B 🔴 +93 B 🔴 +86 B
assets/changeTracker-CgBn6-FZ.js (removed) 91 B — 🟢 -91 B 🟢 -93 B 🟢 -85 B

Status: 68 added / 68 removed / 208 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 68.3 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 47.3 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 71.8 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 53.2 MB heap
large-graph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 62.2 MB heap
large-graph-pan: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 57.6 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 61.9 MB heap
minimap-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.3 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 53.6 MB heap
subgraph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 68.3 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 52.4 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 123ms TBT · 94.8 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 62.0 MB heap
vue-large-graph-idle: · 58.1 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 158.2 MB heap
vue-large-graph-pan: · 57.1 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 84ms TBT · 164.7 MB heap
workflow-execution: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 48.8 MB heap

⚠️ 7 regressions detected

Show regressions
Metric Baseline PR (median) Δ Sig
canvas-idle: task duration 552ms 526ms -5% ⚠️ z=4.2
canvas-zoom-sweep: task duration 382ms 417ms +9% ⚠️ z=3.9
dom-widget-clipping: task duration 386ms 420ms +9% ⚠️ z=3.4
large-graph-idle: task duration 682ms 731ms +7% ⚠️ z=3.5
large-graph-pan: task duration 1224ms 1294ms +6% ⚠️ z=4.9
minimap-idle: task duration 715ms 731ms +2% ⚠️ z=4.3
subgraph-idle: task duration 483ms 524ms +9% ⚠️ z=4.9
All metrics
Metric Baseline PR (median) Δ Sig
canvas-idle: avg frame time 17ms 17ms +0% z=-0.1
canvas-idle: p95 frame time 17ms 17ms -0% —
canvas-idle: layout duration 0ms 0ms +0% —
canvas-idle: style recalc duration 9ms 12ms +38% z=1.7
canvas-idle: layout count 0 0 +0% —
canvas-idle: style recalc count 10 9 -10% z=-3.8
canvas-idle: task duration 552ms 526ms -5% ⚠️ z=4.2
canvas-idle: script duration 21ms 25ms +19% z=-0.3
canvas-idle: TBT 0ms 0ms +0% —
canvas-idle: heap used 68.0 MB 68.3 MB +0% —
canvas-idle: DOM nodes 16 18 +13% z=-3.6
canvas-idle: event listeners 4 4 +0% z=-1.6
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 4ms 4ms -1% z=0.8
canvas-mouse-sweep: style recalc duration 42ms 40ms -6% z=-0.9
canvas-mouse-sweep: layout count 12 12 +0% —
canvas-mouse-sweep: style recalc count 76 76 -1% z=-1.4
canvas-mouse-sweep: task duration 990ms 915ms -8% z=0.9
canvas-mouse-sweep: script duration 135ms 117ms -14% z=-2.8
canvas-mouse-sweep: TBT 0ms 0ms +0% —
canvas-mouse-sweep: heap used 50.2 MB 47.3 MB -6% —
canvas-mouse-sweep: DOM nodes -276 -272 -1% z=-129.3
canvas-mouse-sweep: event listeners -148 -148 +0% z=-37.5
canvas-zoom-sweep: avg frame time 17ms 17ms +0% z=0.5
canvas-zoom-sweep: p95 frame time 17ms 17ms +0% —
canvas-zoom-sweep: layout duration 1ms 1ms +10% z=1.8
canvas-zoom-sweep: style recalc duration 16ms 19ms +17% z=0.1
canvas-zoom-sweep: layout count 6 6 +0% —
canvas-zoom-sweep: style recalc count 30 32 +7% z=1.6
canvas-zoom-sweep: task duration 382ms 417ms +9% ⚠️ z=3.9
canvas-zoom-sweep: script duration 19ms 26ms +41% z=-0.3
canvas-zoom-sweep: TBT 0ms 0ms +0% —
canvas-zoom-sweep: heap used 71.7 MB 71.8 MB +0% —
canvas-zoom-sweep: DOM nodes 76 79 +3% z=-0.9
canvas-zoom-sweep: event listeners 19 19 +0% z=-0.9
dom-widget-clipping: avg frame time 17ms 17ms -0% z=-0.6
dom-widget-clipping: p95 frame time 17ms 17ms -0% —
dom-widget-clipping: layout duration 0ms 0ms +0% —
dom-widget-clipping: style recalc duration 8ms 9ms +8% z=-1.3
dom-widget-clipping: layout count 0 0 +0% —
dom-widget-clipping: style recalc count 12 13 +4% z=-1.2
dom-widget-clipping: task duration 386ms 420ms +9% ⚠️ z=3.4
dom-widget-clipping: script duration 57ms 62ms +9% z=-1.7
dom-widget-clipping: TBT 0ms 0ms +0% —
dom-widget-clipping: heap used 53.3 MB 53.2 MB -0% —
dom-widget-clipping: DOM nodes 20 21 +5% z=-0.8
dom-widget-clipping: event listeners 2 2 +0% variance too high
large-graph-idle: avg frame time 17ms 17ms -0% z=-0.6
large-graph-idle: p95 frame time 17ms 17ms +0% —
large-graph-idle: layout duration 0ms 0ms +0% —
large-graph-idle: style recalc duration 7ms 9ms +28% z=-3.2
large-graph-idle: layout count 0 0 +0% —
large-graph-idle: style recalc count 8 10 +19% z=-6.7
large-graph-idle: task duration 682ms 731ms +7% ⚠️ z=3.5
large-graph-idle: script duration 105ms 105ms -0% z=0.2
large-graph-idle: TBT 0ms 0ms +0% —
large-graph-idle: heap used 62.7 MB 62.2 MB -1% —
large-graph-idle: DOM nodes -275 -276 +0% z=-332.7
large-graph-idle: event listeners -144 -143 -1% z=-27.7
large-graph-pan: avg frame time 17ms 17ms -0% z=-0.2
large-graph-pan: p95 frame time 17ms 17ms -0% —
large-graph-pan: layout duration 0ms 0ms +0% —
large-graph-pan: style recalc duration 14ms 17ms +20% z=-0.3
large-graph-pan: layout count 0 0 +0% —
large-graph-pan: style recalc count 68 69 +1% z=-1.7
large-graph-pan: task duration 1224ms 1294ms +6% ⚠️ z=4.9
large-graph-pan: script duration 413ms 409ms -1% z=0.1
large-graph-pan: TBT 0ms 0ms +0% —
large-graph-pan: heap used 62.4 MB 57.6 MB -8% —
large-graph-pan: DOM nodes -278 -277 -1% z=-179.1
large-graph-pan: event listeners -144 -143 -1% z=-178.6
large-graph-zoom: avg frame time 17ms 17ms +0% —
large-graph-zoom: p95 frame time 17ms 17ms +0% —
large-graph-zoom: layout duration 8ms 9ms +16% —
large-graph-zoom: style recalc duration 16ms 17ms +9% —
large-graph-zoom: layout count 60 60 +0% —
large-graph-zoom: style recalc count 65 64 -2% —
large-graph-zoom: task duration 1495ms 1563ms +4% —
large-graph-zoom: script duration 532ms 507ms -5% —
large-graph-zoom: TBT 0ms 0ms +0% —
large-graph-zoom: heap used 64.0 MB 61.9 MB -3% —
large-graph-zoom: DOM nodes -279 -281 +1% —
large-graph-zoom: event listeners -148 -148 +0% —
minimap-idle: avg frame time 17ms 17ms -0% z=-0.4
minimap-idle: p95 frame time 17ms 17ms +0% —
minimap-idle: layout duration 0ms 0ms +0% —
minimap-idle: style recalc duration 7ms 7ms +10% z=-2.5
minimap-idle: layout count 0 0 +0% —
minimap-idle: style recalc count 8 8 +0% z=-2.3
minimap-idle: task duration 715ms 731ms +2% ⚠️ z=4.3
minimap-idle: script duration 108ms 109ms +0% z=1.1
minimap-idle: TBT 0ms 0ms +0% —
minimap-idle: heap used 64.0 MB 64.3 MB +0% —
minimap-idle: DOM nodes -276 -277 +0% z=-216.5
minimap-idle: event listeners -144 -143 -1% z=-223.5
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 11ms 12ms +7% z=-1.1
subgraph-dom-widget-clipping: layout count 0 0 +0% —
subgraph-dom-widget-clipping: style recalc count 47 48 +1% z=-0.8
subgraph-dom-widget-clipping: task duration 415ms 405ms -2% z=1.5
subgraph-dom-widget-clipping: script duration 125ms 117ms -6% z=-1.7
subgraph-dom-widget-clipping: TBT 0ms 0ms +0% —
subgraph-dom-widget-clipping: heap used 53.5 MB 53.6 MB +0% —
subgraph-dom-widget-clipping: DOM nodes 20 21 +5% z=-1.1
subgraph-dom-widget-clipping: event listeners 6 6 +0% z=-1.7
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 8ms +1% z=-2.7
subgraph-idle: layout count 0 0 +0% —
subgraph-idle: style recalc count 11 10 -14% z=-2.1
subgraph-idle: task duration 483ms 524ms +9% ⚠️ z=4.9
subgraph-idle: script duration 14ms 21ms +51% z=0.2
subgraph-idle: TBT 0ms 0ms +0% —
subgraph-idle: heap used 68.3 MB 68.3 MB +0% —
subgraph-idle: DOM nodes 22 19 -14% z=-1.9
subgraph-idle: event listeners 4 5 +25% variance too high
subgraph-mouse-sweep: avg frame time 17ms 17ms +0% z=0.4
subgraph-mouse-sweep: p95 frame time 17ms 17ms -0% —
subgraph-mouse-sweep: layout duration 4ms 5ms +22% z=0.9
subgraph-mouse-sweep: style recalc duration 34ms 44ms +27% z=0.3
subgraph-mouse-sweep: layout count 16 16 +0% —
subgraph-mouse-sweep: style recalc count 75 77 +2% z=-1.9
subgraph-mouse-sweep: task duration 758ms 861ms +14% z=1.4
subgraph-mouse-sweep: script duration 84ms 98ms +17% z=-0.4
subgraph-mouse-sweep: TBT 0ms 0ms +0% —
subgraph-mouse-sweep: heap used 46.4 MB 52.4 MB +13% —
subgraph-mouse-sweep: DOM nodes -273 -105 -62% z=-76.7
subgraph-mouse-sweep: event listeners -148 -72 -51% variance too high
subgraph-transition-enter: avg frame time 17ms 17ms +0% —
subgraph-transition-enter: p95 frame time 17ms 17ms +0% —
subgraph-transition-enter: layout duration 12ms 10ms -14% —
subgraph-transition-enter: style recalc duration 31ms 29ms -7% —
subgraph-transition-enter: layout count 15 15 +0% —
subgraph-transition-enter: style recalc count 19 19 +0% —
subgraph-transition-enter: task duration 1053ms 946ms -10% —
subgraph-transition-enter: script duration 41ms 38ms -7% —
subgraph-transition-enter: TBT 124ms 123ms -1% —
subgraph-transition-enter: heap used 96.3 MB 94.8 MB -2% —
subgraph-transition-enter: DOM nodes 13673 13673 +0% —
subgraph-transition-enter: event listeners 2371 2371 +0% —
viewport-pan-sweep: avg frame time 17ms 17ms -0% —
viewport-pan-sweep: p95 frame time 17ms 17ms +0% —
viewport-pan-sweep: layout duration 0ms 0ms +0% —
viewport-pan-sweep: style recalc duration 40ms 48ms +19% —
viewport-pan-sweep: layout count 0 0 +0% —
viewport-pan-sweep: style recalc count 249 250 +0% —
viewport-pan-sweep: task duration 4511ms 4615ms +2% —
viewport-pan-sweep: script duration 1360ms 1377ms +1% —
viewport-pan-sweep: TBT 0ms 0ms +0% —
viewport-pan-sweep: heap used 66.6 MB 62.0 MB -7% —
viewport-pan-sweep: DOM nodes -275 -274 -1% —
viewport-pan-sweep: event listeners -128 -128 +0% —
vue-large-graph-idle: avg frame time 18ms 17ms -3% —
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 17982ms 14912ms -17% —
vue-large-graph-idle: script duration 525ms 541ms +3% —
vue-large-graph-idle: TBT 0ms 0ms +0% —
vue-large-graph-idle: heap used 159.3 MB 158.2 MB -1% —
vue-large-graph-idle: DOM nodes -8312 -8312 +0% —
vue-large-graph-idle: event listeners -16385 -16391 +0% —
vue-large-graph-pan: avg frame time 18ms 17ms -2% —
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 23ms 20ms -12% —
vue-large-graph-pan: layout count 0 0 +0% —
vue-large-graph-pan: style recalc count 159 124 -22% —
vue-large-graph-pan: task duration 22283ms 18033ms -19% —
vue-large-graph-pan: script duration 904ms 847ms -6% —
vue-large-graph-pan: TBT 475ms 84ms -82% —
vue-large-graph-pan: heap used 158.9 MB 164.7 MB +4% —
vue-large-graph-pan: DOM nodes -8313 -8314 +0% —
vue-large-graph-pan: event listeners -16383 -16385 +0% —
workflow-execution: avg frame time 17ms 17ms -0% z=0.1
workflow-execution: p95 frame time 17ms 17ms -1% —
workflow-execution: layout duration 1ms 1ms +25% z=-5.0
workflow-execution: style recalc duration 18ms 21ms +16% z=-1.5
workflow-execution: layout count 3 3 +0% z=-3.6
workflow-execution: style recalc count 12 14 +17% z=-1.9
workflow-execution: task duration 110ms 138ms +25% z=1.4
workflow-execution: script duration 9ms 13ms +36% z=-5.6
workflow-execution: TBT 0ms 0ms +0% —
workflow-execution: heap used 49.1 MB 48.8 MB -1% —
workflow-execution: DOM nodes 117 126 +7% z=-5.0
workflow-execution: event listeners 65 66 +2% z=3.2
Historical variance (last 15 runs)
Metric μ σ CV
canvas-idle: avg frame time 17ms 0ms 0.0%
canvas-idle: layout duration 0ms 0ms 0.0%
canvas-idle: style recalc duration 11ms 1ms 8.2%
canvas-idle: layout count 0 0 0.0%
canvas-idle: style recalc count 11 1 5.0%
canvas-idle: task duration 395ms 31ms 7.9%
canvas-idle: script duration 25ms 2ms 8.8%
canvas-idle: TBT 0ms 0ms 0.0%
canvas-idle: DOM nodes 23 1 5.6%
canvas-idle: event listeners 12 5 40.9%
canvas-mouse-sweep: avg frame time 17ms 0ms 0.0%
canvas-mouse-sweep: layout duration 4ms 0ms 5.4%
canvas-mouse-sweep: style recalc duration 43ms 3ms 7.4%
canvas-mouse-sweep: layout count 12 0 0.0%
canvas-mouse-sweep: style recalc count 79 2 3.0%
canvas-mouse-sweep: task duration 865ms 58ms 6.7%
canvas-mouse-sweep: script duration 136ms 6ms 4.8%
canvas-mouse-sweep: TBT 0ms 0ms 0.0%
canvas-mouse-sweep: DOM nodes 62 3 4.2%
canvas-mouse-sweep: event listeners 8 4 49.4%
canvas-zoom-sweep: avg frame time 17ms 0ms 0.0%
canvas-zoom-sweep: layout duration 1ms 0ms 7.0%
canvas-zoom-sweep: style recalc duration 19ms 2ms 8.0%
canvas-zoom-sweep: layout count 6 0 0.0%
canvas-zoom-sweep: style recalc count 31 0 1.5%
canvas-zoom-sweep: task duration 327ms 23ms 7.1%
canvas-zoom-sweep: script duration 27ms 3ms 11.1%
canvas-zoom-sweep: TBT 0ms 0ms 0.0%
canvas-zoom-sweep: DOM nodes 79 1 1.0%
canvas-zoom-sweep: event listeners 24 5 21.8%
dom-widget-clipping: avg frame time 17ms 0ms 0.0%
dom-widget-clipping: layout duration 0ms 0ms 0.0%
dom-widget-clipping: style recalc duration 10ms 1ms 8.0%
dom-widget-clipping: layout count 0 0 0.0%
dom-widget-clipping: style recalc count 13 0 3.8%
dom-widget-clipping: task duration 365ms 16ms 4.5%
dom-widget-clipping: script duration 68ms 3ms 4.8%
dom-widget-clipping: TBT 0ms 0ms 0.0%
dom-widget-clipping: DOM nodes 22 1 6.4%
dom-widget-clipping: event listeners 8 6 81.2%
large-graph-idle: avg frame time 17ms 0ms 0.0%
large-graph-idle: layout duration 0ms 0ms 0.0%
large-graph-idle: style recalc duration 12ms 1ms 8.6%
large-graph-idle: layout count 0 0 0.0%
large-graph-idle: style recalc count 12 0 2.7%
large-graph-idle: task duration 542ms 54ms 10.0%
large-graph-idle: script duration 102ms 11ms 10.3%
large-graph-idle: TBT 0ms 0ms 0.0%
large-graph-idle: DOM nodes 25 1 3.7%
large-graph-idle: event listeners 26 6 23.2%
large-graph-pan: avg frame time 17ms 0ms 0.0%
large-graph-pan: layout duration 0ms 0ms 0.0%
large-graph-pan: style recalc duration 17ms 1ms 4.6%
large-graph-pan: layout count 0 0 0.0%
large-graph-pan: style recalc count 70 1 0.9%
large-graph-pan: task duration 1082ms 43ms 4.0%
large-graph-pan: script duration 408ms 20ms 4.8%
large-graph-pan: TBT 0ms 0ms 0.0%
large-graph-pan: DOM nodes 19 2 8.7%
large-graph-pan: event listeners 5 1 16.8%
minimap-idle: avg frame time 17ms 0ms 0.0%
minimap-idle: layout duration 0ms 0ms 0.0%
minimap-idle: style recalc duration 10ms 1ms 8.6%
minimap-idle: layout count 0 0 0.0%
minimap-idle: style recalc count 10 1 7.1%
minimap-idle: task duration 527ms 47ms 9.0%
minimap-idle: script duration 98ms 10ms 10.1%
minimap-idle: TBT 0ms 0ms 0.0%
minimap-idle: DOM nodes 19 1 7.1%
minimap-idle: event listeners 5 1 14.4%
subgraph-dom-widget-clipping: avg frame time 17ms 0ms 0.0%
subgraph-dom-widget-clipping: layout duration 0ms 0ms 0.0%
subgraph-dom-widget-clipping: style recalc duration 13ms 1ms 7.4%
subgraph-dom-widget-clipping: layout count 0 0 0.0%
subgraph-dom-widget-clipping: style recalc count 48 1 1.2%
subgraph-dom-widget-clipping: task duration 378ms 18ms 4.9%
subgraph-dom-widget-clipping: script duration 128ms 6ms 4.9%
subgraph-dom-widget-clipping: TBT 0ms 0ms 0.0%
subgraph-dom-widget-clipping: DOM nodes 22 1 5.0%
subgraph-dom-widget-clipping: event listeners 16 6 36.0%
subgraph-idle: avg frame time 17ms 0ms 0.0%
subgraph-idle: layout duration 0ms 0ms 0.0%
subgraph-idle: style recalc duration 10ms 1ms 7.5%
subgraph-idle: layout count 0 0 0.0%
subgraph-idle: style recalc count 11 1 6.0%
subgraph-idle: task duration 370ms 31ms 8.5%
subgraph-idle: script duration 20ms 3ms 13.2%
subgraph-idle: TBT 0ms 0ms 0.0%
subgraph-idle: DOM nodes 22 1 6.9%
subgraph-idle: event listeners 10 7 64.5%
subgraph-mouse-sweep: avg frame time 17ms 0ms 0.0%
subgraph-mouse-sweep: layout duration 5ms 0ms 6.8%
subgraph-mouse-sweep: style recalc duration 42ms 3ms 7.8%
subgraph-mouse-sweep: layout count 16 0 0.0%
subgraph-mouse-sweep: style recalc count 80 2 2.4%
subgraph-mouse-sweep: task duration 766ms 69ms 9.0%
subgraph-mouse-sweep: script duration 101ms 7ms 6.5%
subgraph-mouse-sweep: TBT 0ms 0ms 0.0%
subgraph-mouse-sweep: DOM nodes 67 2 3.3%
subgraph-mouse-sweep: event listeners 8 4 52.6%
workflow-execution: avg frame time 17ms 0ms 0.0%
workflow-execution: layout duration 2ms 0ms 9.4%
workflow-execution: style recalc duration 24ms 2ms 9.1%
workflow-execution: layout count 5 1 11.0%
workflow-execution: style recalc count 18 2 11.5%
workflow-execution: task duration 123ms 11ms 8.8%
workflow-execution: script duration 29ms 3ms 10.2%
workflow-execution: TBT 0ms 0ms 0.0%
workflow-execution: DOM nodes 161 7 4.4%
workflow-execution: event listeners 52 4 8.4%
Trend (last 15 commits on main)
Metric Trend Dir Latest
canvas-idle: avg frame time ▆▃▆▁▆▃▆█▆▆▄▃▃▄▃ ➡️ 17ms
canvas-idle: p95 frame time ➡️ NaNms
canvas-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: style recalc duration ▇▇▆▆▃█▄▃▄▃▇▄▁▆▇ ➡️ 11ms
canvas-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
canvas-idle: style recalc count █▃▅▂▅▆▃▁▂▁▂▅▆▅▆ ➡️ 12
canvas-idle: task duration ▃▃▃▆▂▃▃▅▆▂█▃▁▃▃ ➡️ 391ms
canvas-idle: script duration ▄▃▅▇▂▅▃▆▇▅█▄▁▅▆ ➡️ 27ms
canvas-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: heap used ➡️ NaN MB
canvas-idle: DOM nodes █▇▆▅▃▇▃▁▂▂▅▆▆▆▇ ➡️ 24
canvas-idle: event listeners ▅█▅▄▁▅▁▁▁▄▅▅▁▅▄ 📉 11
canvas-mouse-sweep: avg frame time ▆█▆▃▁▃▁▆▆▁▃▆▆▃▃ ➡️ 17ms
canvas-mouse-sweep: p95 frame time ➡️ NaNms
canvas-mouse-sweep: layout duration ▁▃▂▄▁▂▁▃▆▂█▇▆▄▃ ➡️ 4ms
canvas-mouse-sweep: style recalc duration ▄▄▂▄▁▂▃▃▅▄█▆▂▄▄ ➡️ 43ms
canvas-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 12
canvas-mouse-sweep: style recalc count █▅▄▃▂▂▁▄▄▅▆▅▂▇▄ ➡️ 79
canvas-mouse-sweep: task duration █▆▄▂▂▃▂▄▄▅█▆▁▆▄ ➡️ 868ms
canvas-mouse-sweep: script duration ▄▅▄▆▄▆▆▆▅▅█▆▁▅▆ ➡️ 139ms
canvas-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-mouse-sweep: heap used ➡️ NaN MB
canvas-mouse-sweep: DOM nodes █▅▃▃▁▂▂▃▂▄▆▅▃▅▅ ➡️ 64
canvas-mouse-sweep: event listeners █▁▁▁▁▁▇▁▁▁██▇▁█ 📈 13
canvas-zoom-sweep: avg frame time ▅▅█▄▅▁▁▁▅▁▁▅▄▅▁ ➡️ 17ms
canvas-zoom-sweep: p95 frame time ➡️ NaNms
canvas-zoom-sweep: layout duration ▆▅▅▄▁▁█▅▃▅▇▆▁▂▆ ➡️ 1ms
canvas-zoom-sweep: style recalc duration ▆▅▄▆▅▃█▆▇▅▇▄▁▃▅ ➡️ 20ms
canvas-zoom-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
canvas-zoom-sweep: style recalc count ▁▁▃▄▆▃▆█▄▄▆▁▆▁▆ ➡️ 32
canvas-zoom-sweep: task duration ▄▂▁▇▂▂▄▅▆▃█▄▁▁▅ ➡️ 338ms
canvas-zoom-sweep: script duration ▃▃▂▇▂▂▅▇▆▅█▄▁▂▆ ➡️ 30ms
canvas-zoom-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-zoom-sweep: heap used ➡️ NaN MB
canvas-zoom-sweep: DOM nodes ▄▃▁▅█▁▃▆▄▅▅▃▃▄▃ ➡️ 79
canvas-zoom-sweep: event listeners ▁▁▂▅█▂▁▅▁▅▅▄▁▅▁ ➡️ 19
dom-widget-clipping: avg frame time ▂▄▅▅▂▄█▇▅▇▇▅▅▁▇ ➡️ 17ms
dom-widget-clipping: p95 frame time ➡️ NaNms
dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: style recalc duration ▆▆▂▆▄▃██▄▁▆▇▆▃▅ ➡️ 10ms
dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-clipping: style recalc count ▇█▅█▅▄█▇▇▁▇▄▇▂▅ ➡️ 13
dom-widget-clipping: task duration ▃▃▁▅▄▃▅▆▅▂▇█▁▅▅ ➡️ 371ms
dom-widget-clipping: script duration ▅▄▄▆▆▅▇▇▆▃█▇▁▇▇ ➡️ 71ms
dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: heap used ➡️ NaN MB
dom-widget-clipping: DOM nodes ▇▇▄▇▅▄█▇▅▁▅▄▇▃▄ ➡️ 21
dom-widget-clipping: event listeners ▅▅▅▅▁▅██▁▁▁▁█▁▁ 📉 2
large-graph-idle: avg frame time ▅▅▅▅▅▂▁▂▄▅▄▂▂▅█ ➡️ 17ms
large-graph-idle: p95 frame time ➡️ NaNms
large-graph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: style recalc duration ▅▅▅▆▄▅▃▄▅▅▆█▁▄▆ ➡️ 13ms
large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-idle: style recalc count █▆█▃▃▁▃▆▃▆▆▃▆██ ➡️ 12
large-graph-idle: task duration ▂▃▂▆▂▃▃▇▅▃██▁▂▅ ➡️ 569ms
large-graph-idle: script duration ▄▅▄▆▄▅▅▇▆▅█▆▁▃▆ ➡️ 110ms
large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: heap used ➡️ NaN MB
large-graph-idle: DOM nodes ▆█▅▂▅▃▁▂▃▅▅▆▂▆▅ ➡️ 25
large-graph-idle: event listeners ███▇██▄▁▄▇▇█▂█▇ ➡️ 29
large-graph-pan: avg frame time ▆▃▃▆█▃▁█▆▆▆▆█▁▆ ➡️ 17ms
large-graph-pan: p95 frame time ➡️ NaNms
large-graph-pan: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: style recalc duration ▃▂▄▄▁▅▂▂▁▄▄█▃▁▂ ➡️ 17ms
large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-pan: style recalc count ▆▃█▂▃▂▂▂▁▇▅▃█▆▃ ➡️ 69
large-graph-pan: task duration ▄▃▄▆▄▄▄▆▄▄█▆▁▂▅ ➡️ 1100ms
large-graph-pan: script duration ▅▄▅▆▆▅▄▆▄▅█▄▁▄▅ ➡️ 413ms
large-graph-pan: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: heap used ➡️ NaN MB
large-graph-pan: DOM nodes ▅▃▆▂▄▁▃▁▁▅▁▂█▅▂ ➡️ 18
large-graph-pan: event listeners █▆█▁▁▆▁▁▃▆▁▃██▃ ➡️ 5
minimap-idle: avg frame time ▃▆▆▃█▁█▆▆▃▃▆█▆█ ➡️ 17ms
minimap-idle: p95 frame time ➡️ NaNms
minimap-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: style recalc duration ▄█▁█▅▅█▅▅▃▅▁▁▄▆ ➡️ 10ms
minimap-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
minimap-idle: style recalc count ▃▅▂▄█▃▆▁▂▅▂▁▅▆▃ ➡️ 9
minimap-idle: task duration ▃▄▁▅▁▃▄▅▇▃█▅▁▁▅ ➡️ 547ms
minimap-idle: script duration ▄▆▃▇▃▅▆▆▇▅█▅▁▃▆ ➡️ 106ms
minimap-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: heap used ➡️ NaN MB
minimap-idle: DOM nodes ▃▅▂▄█▃▆▁▂▅▂▁▅▆▃ ➡️ 19
minimap-idle: event listeners ▃▃▆▁▁▁▃▁▁▆▁▃█▆▁ ➡️ 4
subgraph-dom-widget-clipping: avg frame time ▅▄▄▄▄▄█▄▄▄▃▁▆▃▃ ➡️ 17ms
subgraph-dom-widget-clipping: p95 frame time ➡️ NaNms
subgraph-dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: style recalc duration ▂▄▃▅▅▃▂▅▇▃▄█▁▄▆ ➡️ 14ms
subgraph-dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-dom-widget-clipping: style recalc count ▇█▆▃▆▃▁▆█▇▃▆▇█▅ ➡️ 48
subgraph-dom-widget-clipping: task duration ▂▃▃▆▅▅▂▅█▂▆█▁▂▇ ➡️ 398ms
subgraph-dom-widget-clipping: script duration ▃▃▃▄▅▅▂▄█▂▅▇▁▂▅ ➡️ 131ms
subgraph-dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: heap used ➡️ NaN MB
subgraph-dom-widget-clipping: DOM nodes ▅▇▅▂▅▂▁▅▅▅▁▇▅█▄ ➡️ 22
subgraph-dom-widget-clipping: event listeners ▅▅▅▂▅▁▅██▁▁█▅█▅ 📈 16
subgraph-idle: avg frame time ▆▆█▁▆▃▆▆▆▃▆▁▃▆█ ➡️ 17ms
subgraph-idle: p95 frame time ➡️ NaNms
subgraph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: style recalc duration ▁▇▃▆▂▄▂▃▃▆▆▄▃▇█ ➡️ 12ms
subgraph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-idle: style recalc count ▃▆▃▃▂▅▁▂▁▆▃▃██▇ ➡️ 12
subgraph-idle: task duration ▁▃▁▇▁▁▃▆▅▂█▅▁▁▄ ➡️ 378ms
subgraph-idle: script duration ▁▃▂▇▁▂▃▇▆▂█▅▂▁▅ ➡️ 22ms
subgraph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: heap used ➡️ NaN MB
subgraph-idle: DOM nodes ▃▅▃▂▁▄▁▂▁▅▃▂▇█▇ ➡️ 24
subgraph-idle: event listeners ▁▅▁▁▁▁▁▁▁▅▄▁███ 📈 21
subgraph-mouse-sweep: avg frame time ▅▄▁▃▃▄▆▄▆▃▃█▁▃▃ ➡️ 17ms
subgraph-mouse-sweep: p95 frame time ➡️ NaNms
subgraph-mouse-sweep: layout duration ▁▄▄▄▃▃▅▅▅▂█▇▂▃▆ ➡️ 5ms
subgraph-mouse-sweep: style recalc duration ▃▂▄▅▂▃▄▅█▃█▆▁▂▅ ➡️ 43ms
subgraph-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 16
subgraph-mouse-sweep: style recalc count ▅▂▅▅▁▄▃▅█▅▆▄▂▄▅ ➡️ 81
subgraph-mouse-sweep: task duration ▃▂▄▅▂▄▄▅▇▄█▆▁▃▅ ➡️ 785ms
subgraph-mouse-sweep: script duration ▄▅▄▇▅▅▆▇▆▅██▁▄▆ ➡️ 105ms
subgraph-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-mouse-sweep: heap used ➡️ NaN MB
subgraph-mouse-sweep: DOM nodes ▅▁▄▅▁▄▃▃█▅▅▄▂▅▃ ➡️ 66
subgraph-mouse-sweep: event listeners ▇▁▂▇▁▂▂▂█▇▂▂▇▇▂ 📈 5
workflow-execution: avg frame time ▆▆▆▄▆▆▃▄▁▄█▆▅▄▆ ➡️ 17ms
workflow-execution: p95 frame time ➡️ NaNms
workflow-execution: layout duration ▁▆▁▃▂▄▃▂▃▃▅█▄▂▅ ➡️ 2ms
workflow-execution: style recalc duration ▃▇▅▇▁▅▆▇█▁██▂▄▆ ➡️ 25ms
workflow-execution: layout count ▁█▂▃▂▃▃▁▃▃▄▃▂▃▂ ➡️ 5
workflow-execution: style recalc count ▃█▅▇▁▄▅▆▅▅▅▅▄▄▂ ➡️ 15
workflow-execution: task duration ▂▅▄▅▁▄▆▆▆▁▇█▁▃▃ ➡️ 120ms
workflow-execution: script duration ▄▃▄▄▃▅▄▅▆▂▇█▁▃▄ ➡️ 29ms
workflow-execution: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
workflow-execution: heap used ➡️ NaN MB
workflow-execution: DOM nodes ▂█▃▆▁▄▃▅▃█▃▃▄▃▁ ➡️ 152
workflow-execution: event listeners ▅███▁▅███▁██▅█▅ ➡️ 49
Raw data
{
  "timestamp": "2026-07-29T21:14:29.307Z",
  "gitSha": "44ebab69864a91175c292e7f80160e49f8743f82",
  "branch": "fix/workspace-switch-restore-isolation",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2052.273000000014,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 15.594999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 535.205,
      "heapDeltaBytes": 3581604,
      "heapUsedBytes": 71308516,
      "domNodes": 18,
      "jsHeapTotalBytes": 20840448,
      "scriptDurationMs": 24.054,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-idle",
      "durationMs": 2037.6119999999673,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 9.045000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 516.6919999999999,
      "heapDeltaBytes": 4007636,
      "heapUsedBytes": 71953372,
      "domNodes": 18,
      "jsHeapTotalBytes": 20578304,
      "scriptDurationMs": 24.964,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1865.556999999967,
      "styleRecalcs": 77,
      "styleRecalcDurationMs": 39.441,
      "layouts": 12,
      "layoutDurationMs": 3.593,
      "taskDurationMs": 918.749,
      "heapDeltaBytes": -18468176,
      "heapUsedBytes": 49567780,
      "domNodes": -271,
      "jsHeapTotalBytes": 20967424,
      "scriptDurationMs": 117.868,
      "eventListeners": -148,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1806.511999999998,
      "styleRecalcs": 74,
      "styleRecalcDurationMs": 39.897,
      "layouts": 12,
      "layoutDurationMs": 3.9240000000000004,
      "taskDurationMs": 911.168,
      "heapDeltaBytes": -18703524,
      "heapUsedBytes": 49566784,
      "domNodes": -273,
      "jsHeapTotalBytes": 20967424,
      "scriptDurationMs": 116.43799999999999,
      "eventListeners": -148,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1753.8870000000202,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 18.985000000000003,
      "layouts": 6,
      "layoutDurationMs": 0.776,
      "taskDurationMs": 420.53,
      "heapDeltaBytes": 7164960,
      "heapUsedBytes": 75203244,
      "domNodes": 78,
      "jsHeapTotalBytes": 20840448,
      "scriptDurationMs": 26.342,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1756.5809999999829,
      "styleRecalcs": 33,
      "styleRecalcDurationMs": 19.527999999999995,
      "layouts": 6,
      "layoutDurationMs": 0.6709999999999999,
      "taskDurationMs": 412.74000000000007,
      "heapDeltaBytes": 7059028,
      "heapUsedBytes": 75365896,
      "domNodes": 79,
      "jsHeapTotalBytes": 20316160,
      "scriptDurationMs": 26.014000000000003,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 732.6520000000301,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 9.165,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 433.46700000000004,
      "heapDeltaBytes": -11849128,
      "heapUsedBytes": 56092048,
      "domNodes": 22,
      "jsHeapTotalBytes": 21626880,
      "scriptDurationMs": 64.23700000000001,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 639.2890000000762,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 8.465,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 406.0440000000001,
      "heapDeltaBytes": -12352172,
      "heapUsedBytes": 55576784,
      "domNodes": 20,
      "jsHeapTotalBytes": 21889024,
      "scriptDurationMs": 60.312999999999995,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2027.571000000023,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 8.003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 725.236,
      "heapDeltaBytes": 6547624,
      "heapUsedBytes": 65325016,
      "domNodes": -278,
      "jsHeapTotalBytes": 4521984,
      "scriptDurationMs": 104.017,
      "eventListeners": -142,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2040.2119999999968,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 9.809999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 736.019,
      "heapDeltaBytes": 6356928,
      "heapUsedBytes": 65101440,
      "domNodes": -274,
      "jsHeapTotalBytes": 4259840,
      "scriptDurationMs": 105.251,
      "eventListeners": -144,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2171.146999999962,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 16.790000000000003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1280.568,
      "heapDeltaBytes": -4609672,
      "heapUsedBytes": 55337612,
      "domNodes": -277,
      "jsHeapTotalBytes": 5308416,
      "scriptDurationMs": 405.397,
      "eventListeners": -142,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2163.03999999991,
      "styleRecalcs": 68,
      "styleRecalcDurationMs": 17.392,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1306.982,
      "heapDeltaBytes": 4797976,
      "heapUsedBytes": 65532064,
      "domNodes": -276,
      "jsHeapTotalBytes": 5513216,
      "scriptDurationMs": 412.906,
      "eventListeners": -144,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3268.4070000000247,
      "styleRecalcs": 63,
      "styleRecalcDurationMs": 16.450999999999997,
      "layouts": 60,
      "layoutDurationMs": 9.336,
      "taskDurationMs": 1549.584,
      "heapDeltaBytes": 1416820,
      "heapUsedBytes": 63334828,
      "domNodes": -281,
      "jsHeapTotalBytes": 6619136,
      "scriptDurationMs": 499.312,
      "eventListeners": -148,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3344.4190000000162,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 17.682,
      "layouts": 60,
      "layoutDurationMs": 9.242,
      "taskDurationMs": 1575.807,
      "heapDeltaBytes": 4976052,
      "heapUsedBytes": 66535192,
      "domNodes": -281,
      "jsHeapTotalBytes": 6094848,
      "scriptDurationMs": 513.864,
      "eventListeners": -148,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2053.097999999977,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 7.247,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 734.7600000000001,
      "heapDeltaBytes": 6981768,
      "heapUsedBytes": 67828200,
      "domNodes": -277,
      "jsHeapTotalBytes": 4259840,
      "scriptDurationMs": 113.811,
      "eventListeners": -144,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2041.1269999999604,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 7.748999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 726.2980000000001,
      "heapDeltaBytes": 6503236,
      "heapUsedBytes": 66962456,
      "domNodes": -277,
      "jsHeapTotalBytes": 4521984,
      "scriptDurationMs": 103.51599999999999,
      "eventListeners": -142,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 615.2369999999792,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 11.711999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 405.14199999999994,
      "heapDeltaBytes": -11813564,
      "heapUsedBytes": 56199976,
      "domNodes": 20,
      "jsHeapTotalBytes": 21102592,
      "scriptDurationMs": 118.36999999999999,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 659.9109999999655,
      "styleRecalcs": 48,
      "styleRecalcDurationMs": 11.614,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 405.302,
      "heapDeltaBytes": -11720700,
      "heapUsedBytes": 56240480,
      "domNodes": 22,
      "jsHeapTotalBytes": 21889024,
      "scriptDurationMs": 116.41900000000001,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2012.3330000000124,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 8.127000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 546.7070000000001,
      "heapDeltaBytes": 3869956,
      "heapUsedBytes": 71773876,
      "domNodes": 18,
      "jsHeapTotalBytes": 20578304,
      "scriptDurationMs": 20.939999999999998,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 1998.3250000000226,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 8.493,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 501.50800000000004,
      "heapDeltaBytes": 3500760,
      "heapUsedBytes": 71496996,
      "domNodes": 20,
      "jsHeapTotalBytes": 21102592,
      "scriptDurationMs": 20.526,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1749.042999999972,
      "styleRecalcs": 75,
      "styleRecalcDurationMs": 40.266999999999996,
      "layouts": 16,
      "layoutDurationMs": 5.113,
      "taskDurationMs": 875.104,
      "heapDeltaBytes": -20688304,
      "heapUsedBytes": 47544188,
      "domNodes": -274,
      "jsHeapTotalBytes": 20180992,
      "scriptDurationMs": 97.484,
      "eventListeners": -148,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1759.486000000038,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 46.97,
      "layouts": 16,
      "layoutDurationMs": 4.893000000000001,
      "taskDurationMs": 847.422,
      "heapDeltaBytes": -5617056,
      "heapUsedBytes": 62405248,
      "domNodes": 65,
      "jsHeapTotalBytes": 21102592,
      "scriptDurationMs": 99.237,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 1349.311000000057,
      "styleRecalcs": 19,
      "styleRecalcDurationMs": 28.848999999999993,
      "layouts": 15,
      "layoutDurationMs": 10.471000000000002,
      "taskDurationMs": 946.1250000000001,
      "heapDeltaBytes": 33288852,
      "heapUsedBytes": 99377360,
      "domNodes": 13673,
      "jsHeapTotalBytes": 12845056,
      "scriptDurationMs": 38.139,
      "eventListeners": 2371,
      "totalBlockingTimeMs": 123,
      "frameDurationMs": 16.666666666666696,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8166.831000000002,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 46.589,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4532.533,
      "heapDeltaBytes": 2217488,
      "heapUsedBytes": 60911896,
      "domNodes": -273,
      "jsHeapTotalBytes": 6881280,
      "scriptDurationMs": 1360.076,
      "eventListeners": -128,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8196.402999999918,
      "styleRecalcs": 250,
      "styleRecalcDurationMs": 48.587999999999994,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4698.463000000001,
      "heapDeltaBytes": 10370264,
      "heapUsedBytes": 69092300,
      "domNodes": -274,
      "jsHeapTotalBytes": 6823936,
      "scriptDurationMs": 1393.54,
      "eventListeners": -128,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 15038.14699999998,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 15011.506999999998,
      "heapDeltaBytes": -44328120,
      "heapUsedBytes": 165600700,
      "domNodes": -8312,
      "jsHeapTotalBytes": -13045760,
      "scriptDurationMs": 554.0319999999999,
      "eventListeners": -16391,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 14840.36500000002,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 14812.170000000002,
      "heapDeltaBytes": -64832272,
      "heapUsedBytes": 166069696,
      "domNodes": -8312,
      "jsHeapTotalBytes": -13570048,
      "scriptDurationMs": 528.121,
      "eventListeners": -16391,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.219999999999953,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 18077.39699999996,
      "styleRecalcs": 123,
      "styleRecalcDurationMs": 19.91699999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 18036.389,
      "heapDeltaBytes": -28239964,
      "heapUsedBytes": 178998100,
      "domNodes": -8312,
      "jsHeapTotalBytes": -13656064,
      "scriptDurationMs": 856.052,
      "eventListeners": -16385,
      "totalBlockingTimeMs": 81,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 18054.215,
      "styleRecalcs": 125,
      "styleRecalcDurationMs": 20.40900000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 18028.76,
      "heapDeltaBytes": -42981920,
      "heapUsedBytes": 166457576,
      "domNodes": -8316,
      "jsHeapTotalBytes": -12259328,
      "scriptDurationMs": 838.5350000000001,
      "eventListeners": -16385,
      "totalBlockingTimeMs": 87,
      "frameDurationMs": 17.219999999999953,
      "p95FrameDurationMs": 16.80000000000291
    },
    {
      "name": "workflow-execution",
      "durationMs": 464.69600000000355,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 19.712999999999997,
      "layouts": 3,
      "layoutDurationMs": 0.804,
      "taskDurationMs": 141.089,
      "heapDeltaBytes": -15933056,
      "heapUsedBytes": 51251212,
      "domNodes": 130,
      "jsHeapTotalBytes": 7471104,
      "scriptDurationMs": 13.956,
      "eventListeners": 67,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "workflow-execution",
      "durationMs": 479.6000000000049,
      "styleRecalcs": 15,
      "styleRecalcDurationMs": 22.088000000000005,
      "layouts": 3,
      "layoutDurationMs": 0.854,
      "taskDurationMs": 134.39200000000002,
      "heapDeltaBytes": -16009976,
      "heapUsedBytes": 51012176,
      "domNodes": 121,
      "jsHeapTotalBytes": 7733248,
      "scriptDurationMs": 11.198000000000002,
      "eventListeners": 65,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    }
  ]
}

@coderabbitai

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

Workflow persistence now flushes pending writes before workspace transitions, supports targeted restore-state cleanup while preserving workspace drafts, and blocks subsequent writes. Workspace flows invoke this preparation before context changes and reloads, with tests covering cleanup and ordering.

Changes

Workflow restore-state cleanup

Layer / File(s) Summary
Restore-state cleanup implementation
src/platform/workflow/persistence/base/storageIO.ts, src/platform/workflow/persistence/base/storageIO.test.ts
Adds pending-flush registration, targeted restore-state deletion, write-blocking availability checks, shared storage removal, and tests for preserved drafts and blocked writes.
Persistence flush lifecycle
src/platform/workflow/persistence/composables/useWorkflowPersistenceV2.ts, src/platform/workflow/persistence/composables/useWorkflowPersistenceV2.test.ts
Registers and unregisters debounced persistence flushing, and verifies source-workspace edits are persisted before transition blocking.
Workspace transition integration
src/platform/workspace/stores/teamWorkspaceStore.ts, src/platform/workspace/stores/teamWorkspaceStore.test.ts
Prepares workflow persistence before workspace fallback, switching, creation, deletion, leaving, and revoked-workspace reload flows; tests verify call ordering.

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

Sequence Diagram(s)

sequenceDiagram
  participant WorkspaceAction
  participant prepareWorkflowWorkspaceTransition
  participant clearWorkspaceContext
  participant PageReload
  WorkspaceAction->>prepareWorkflowWorkspaceTransition: flush and block workflow persistence
  WorkspaceAction->>clearWorkspaceContext: clear workspace context
  WorkspaceAction->>PageReload: reload page
Loading

Possibly related PRs

Suggested reviewers: jaeone94, huntcsg

🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
End-To-End Regression Coverage For Fixes ✅ Passed PR touches src/ only, but the description gives a concrete alternative verification path (deployment fixture + unit regression), so the no-browser_tests rule isn't triggered.
Adr Compliance For Entity/Litegraph Changes ✅ Passed No files under src/lib/litegraph/, src/ecs/, or graph-entity paths were changed, so ADR 0003/0008 checks don’t apply.
Title check ✅ Passed The title clearly and concisely matches the main change: preserving workflow drafts across workspace switches.
Description check ✅ Passed The description includes the required summary, changes, review focus, screenshots, and verification details, with enough context for review.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/workspace-switch-restore-isolation

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

❤️ Share

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

@dante01yoon

Copy link
Copy Markdown
Collaborator Author

I have read and agree to the Contributor License Agreement

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

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

Inline comments:
In `@src/platform/workflow/persistence/base/storageIO.test.ts`:
- Around line 405-414: Update the clearWorkflowRestoreState test to seed an
unrelated sessionStorage key alongside the targeted restore keys, then assert
the targeted keys are removed while the unrelated key remains. Verify removal
behavior for each restore key explicitly rather than relying only on
sessionStorage length, using the existing clearWorkflowRestoreState test.

In `@src/platform/workspace/stores/teamWorkspaceStore.test.ts`:
- Around line 388-406: Extend the workspace-store tests beyond switchWorkspace
to cover revoked-workspace handling, workspace creation, active workspace
deletion, and leaving. For each path, assert the cleanup method
mockClearWorkflowRestoreState is called with blockWrites: true and verify it
runs before clearWorkspaceContext and any reload, matching the path’s expected
behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

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

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 122032f0-720e-4d86-8abf-2e2b99874e9a

📥 Commits

Reviewing files that changed from the base of the PR and between 9ef6fe5 and 384a1cf.

📒 Files selected for processing (4)
  • src/platform/workflow/persistence/base/storageIO.test.ts
  • src/platform/workflow/persistence/base/storageIO.ts
  • src/platform/workspace/stores/teamWorkspaceStore.test.ts
  • src/platform/workspace/stores/teamWorkspaceStore.ts

@codecov

codecov Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.45455% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...rc/platform/workflow/persistence/base/storageIO.ts 94.28% 2 Missing ⚠️
@@            Coverage Diff             @@
##             main   #14290      +/-   ##
==========================================
+ Coverage   79.21%   79.30%   +0.08%     
==========================================
  Files        1754     1754              
  Lines      114874   114188     -686     
  Branches    38321    38911     +590     
==========================================
- Hits        90998    90554     -444     
+ Misses      23331    23083     -248     
- Partials      545      551       +6     
Flag Coverage Δ
unit 69.50% <95.45%> (+0.03%) ⬆️

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

Files with missing lines Coverage Δ
...ersistence/composables/useWorkflowPersistenceV2.ts 92.81% <100.00%> (+2.57%) ⬆️
...rc/platform/workspace/stores/teamWorkspaceStore.ts 58.35% <100.00%> (+1.24%) ⬆️
...rc/platform/workflow/persistence/base/storageIO.ts 84.67% <94.28%> (+2.61%) ⬆️

... and 15 files with indirect coverage changes

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

@dante01yoon
dante01yoon force-pushed the fix/workspace-switch-restore-isolation branch from efa798c to bfb4e8a Compare July 29, 2026 20:17
@dante01yoon

Copy link
Copy Markdown
Collaborator Author

recheck

@dante01yoon

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 29, 2026
@dante01yoon dante01yoon added the preview-gpu Creates a preview ephemeral environment for this PR (GPU available) label Jul 29, 2026
@dante01yoon dante01yoon changed the title fix: clear workflow restore state on workspace switch fix: isolate and preserve workflow drafts on workspace switch Jul 29, 2026
@christian-byrne

Copy link
Copy Markdown
Contributor

Filed the state-machine consolidation from the review above as its own tracked issue: #14300 (proposes a single owned transitionWorkspace() command + discriminated union replacing workflowWritesBlocked/storageAvailable, covering C1/H1/H2 together). Cross-referenced with #13970, which is the same pattern on the account-switch/session-cookie side of this same PR lineage.

@dante01yoon
dante01yoon added this pull request to the merge queue Jul 29, 2026
Merged via the queue into main with commit f49ad32 Jul 29, 2026
62 checks passed
@dante01yoon
dante01yoon deleted the fix/workspace-switch-restore-isolation branch July 29, 2026 23:12
@comfy-pr-bot

Copy link
Copy Markdown
Member

@dante01yoon Successfully backported to #14301

@comfy-pr-bot

Copy link
Copy Markdown
Member

@dante01yoon Successfully backported to #14302

@github-actions github-actions Bot removed the needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch label Jul 29, 2026
comfy-pr-bot added a commit that referenced this pull request Jul 29, 2026
…rkspace switch (#14302)

Backport of #14290 to `cloud/1.48`

Automatically created by backport workflow.

Co-authored-by: Dante <bunggl@naver.com>
Co-authored-by: dante01yoon <6510430+dante01yoon@users.noreply.github.com>
Co-authored-by: Amp <amp@ampcode.com>
comfy-pr-bot added a commit that referenced this pull request Jul 29, 2026
…kspace switch (#14301)

Backport of #14290 to `core/1.48`

Automatically created by backport workflow.

Co-authored-by: Dante <bunggl@naver.com>
Co-authored-by: dante01yoon <6510430+dante01yoon@users.noreply.github.com>
Co-authored-by: Amp <amp@ampcode.com>
pull Bot pushed a commit to Mu-L/ComfyUI_frontend that referenced this pull request Jul 30, 2026
## Summary

Follow-up to Comfy-Org#14290 and [review
#4813556736](Comfy-Org#14290 (review)):
closes the remaining draft-isolation holes in runtime auth recovery and
`unified_cloud_auth` workspace scoping.

The latest staging reproduction is captured in [this Slack
report](https://comfy-organization.slack.com/archives/C0932CGKT5K/p1785370090022269?thread_ts=1785169746.169899&cid=C0932CGKT5K).
Staging currently contains the Comfy-Org#14290 backport, but not this follow-up.

## Root cause

There were two independent gaps:

1. Runtime auth recovery cleared `currentWorkspace` before workflow
persistence crossed the terminal transition boundary. A pending
team-workspace save could flush after scope resolution fell back to
`personal`, and expiry paths could leave the mounted editor persisting
under that scope. One throwing flush callback could also skip later
callbacks, the write fence, and restore-state cleanup.
2. Under `unified_cloud_auth`, successful token minting populated only
`unifiedToken`; it did not populate or persist the workspace identity.
Workflow persistence derives its draft/tab namespace from
`Comfy.Workspace.Current`, so every team workspace fell back to the
shared `personal` namespace even during a normal workspace session.

The review's initialization concern remains intentionally unchanged:
`WorkspaceAuthGate` keeps the routed editor unmounted until
initialization finishes, so no persistence debounce exists during
startup fallback. Installing a terminal fence there without a reload
would permanently block workflow writes.

## Reproduction

1. Enable `unified_cloud_auth` and open workspace A.
2. Open multiple workflow tabs and make an unsaved edit.
3. Switch to workspace B and wait for the reload.
4. Observe workspace A's tabs/active workflow/draft restored in
workspace B.
5. Edit in B and switch back to A; B's state can now replace or appear
alongside A's state.

**AS IS:** both workspaces resolve workflow persistence to
`Comfy.Workflow.*:personal`, so drafts and restore pointers are shared.

**TO BE:** each successful unified mint commits the response workspace
identity before the editor mounts or resumes. Workspace A and B resolve
distinct draft/index/restore namespaces; terminal auth failure flushes
and fences the source workspace before identity is cleared and the page
reloads.

## Changes

- Flush and fence workflow persistence while the source workspace
identity is still active, then clear auth context and reload for
terminal runtime recovery paths.
- Keep revoked-workspace handling ordered before auth context removal
and report whether it already requested reload.
- Make transition flush callbacks independent and the transition
boundary idempotent.
- Persist the authoritative workspace returned by unified token minting
without writing unified credentials into the legacy token slots.
- Clear stale workspace identity before a unified switch and route
permanent unified refresh/re-mint failures through the same terminal
persistence boundary.

## Review focus

Confirm:

- unified workspace A and B resolve distinct workflow persistence keys;
- unified credentials remain separate from legacy workspace token
storage;
- runtime recovery ordering is source flush → write fence →
revoked-workspace handling → auth clear → reload;
- startup initialization remains unchanged.

## Screenshots and recordings

- [AS IS
screenshot](https://ampcode.com/user-content/artifacts/5de321d78b00b1b147cbd0bdae37d8f4957ed65dba9e542d5da1c49d842bb441-file.png)
and [reproduction
GIF](https://ampcode.com/user-content/artifacts/6b84ba3dd1a98b1dbcae0df5ec7579d7501fe748b04fd391bd3f12d401ec6468-file.gif)
- [TO BE
screenshot](https://ampcode.com/user-content/artifacts/f5a4c0b0ddca66b9a5eb72dac19f296d1d65e341f58277890d376b2788b90693-file.png)
and [verification
GIF](https://ampcode.com/user-content/artifacts/a6cef058cfd29cbeec913fd3369adc3373ab730f861a37854d44bf4acb96f97a-file.gif)
- [Latest staging AS IS
recording](https://comfy-organization.slack.com/archives/C0932CGKT5K/p1785370090022269?thread_ts=1785169746.169899&cid=C0932CGKT5K)

## Red → Green proof

The unified workspace-scoping regression test was run unchanged before
and after the fix:

- **RED:** unified switch completed, but `currentWorkspace` was `null`;
persistence resolved to `personal` instead of `workspace-123`.
- **GREEN:** sequential unified switches resolve
`Comfy.Workflow.DraftIndex.v2:workspace-123` and
`Comfy.Workflow.DraftIndex.v2:workspace-456`, while legacy token storage
remains empty.

The earlier runtime recovery tests also prove RED → GREEN for revocation
ordering, expiry fencing/reload, and exception-safe persistence cleanup.

## Verification

- `useWorkspaceAuth.test.ts`: 93 passed
- `teamWorkspaceStore.test.ts`: 78 passed
- `storageIO.test.ts`: 24 passed
- `storageKeys.test.ts`: 12 passed
- `useWorkflowPersistenceV2.test.ts`: 20 passed
- `vue-tsc --noEmit`
- ESLint and oxfmt on changed files
- `git diff --check`

Staging remains expected to reproduce until this PR is merged,
backported to Cloud 1.48, deployed, and the workspace A → B → A flow is
reverified there.

---------

Co-authored-by: dante01yoon <6510430+dante01yoon@users.noreply.github.com>
Co-authored-by: Amp <amp@ampcode.com>
@comfy-pr-bot comfy-pr-bot added the released:cloud PR has been released to cloud label Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview preview-gpu Creates a preview ephemeral environment for this PR (GPU available) released:cloud PR has been released to cloud size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants