Skip to content

feat: track template change classification in execution_start telemetry#12309

Draft
christian-byrne wants to merge 3 commits into
mainfrom
glary/posthog-template-change-classification
Draft

feat: track template change classification in execution_start telemetry#12309
christian-byrne wants to merge 3 commits into
mainfrom
glary/posthog-template-change-classification

Conversation

@christian-byrne
Copy link
Copy Markdown
Contributor

@christian-byrne christian-byrne commented May 16, 2026

PR Created by the Glary-Bot Agent


Summary

Adds a template_change_type property to the PostHog execution_start event so analytics can distinguish runs that explore variations (seed/prompt only) from runs that materially change the workflow graph — without needing to join workflow payload cloud data with PostHog data via temporal joins.

Requested in #metrics-questions thread to unblock template usage analytics.

How it works

  1. Baseline capture — when a template is loaded via useTemplateWorkflows.loadWorkflowTemplate, the original workflow JSON is stored in an in-memory map keyed by template name (templateBaselineStore.ts, bounded at 32 entries via FIFO eviction).
  2. Classification — at execution_start, if the active workflow is a known template and a baseline exists, classifyTemplateChange diffs baseline vs. current state from the ChangeTracker.activeState. Live node.widgets[i].name is consulted to label per-widget diffs as seed/prompt/other.
  3. Property attachmentgetExecutionContext writes the result into template_change_type on the ExecutionContext payload, which flows through the existing trackWorkflowExecution → trackEvent → posthog.capture pipeline. No provider, registry, or call-site changes needed (Mixpanel, GTM also receive the field automatically).

Classification values

Value Meaning
unchanged No diff vs. baseline
seed_only Only widgets matching /(^|_)seed($|_)|noise_seed/i changed
prompt_only Only widgets matching /(^|_)(prompt|text|positive|negative)($|_)/i changed
seed_and_prompt Both seed and prompt widget values changed
structural Any other diff: node added/removed, type change, link change, non-seed/non-prompt widget value change, or widget array length change

The field is omitted when is_template is false, when no baseline was captured (template loaded before this change, or session restored after reload), or if classification throws.

Files

  • src/platform/telemetry/types.ts — new TemplateChangeType type + template_change_type field on ExecutionContext
  • src/platform/telemetry/utils/templateBaselineStore.ts — module-level baseline map with deep-clone storage + FIFO cap
  • src/platform/telemetry/utils/classifyTemplateChange.ts — pure diff function
  • src/platform/telemetry/utils/getExecutionContext.ts — wires template_change_type into the existing template branch
  • src/platform/workflow/templates/composables/useTemplateWorkflows.ts — captures baseline immediately after fetching template JSON
  • Tests: 32 new unit tests across classifyTemplateChange.test.ts, templateBaselineStore.test.ts, and 4 new cases in getExecutionContext.test.ts

Verification

  • pnpm typecheck
  • pnpm lint ✅ (0 errors on changed files; pre-existing warnings in useLoad3d.test.ts and useWorkspaceBilling.test.ts are unrelated)
  • pnpm format
  • pnpm vitest run src/platform/telemetry/ src/platform/workflow/templates/ ✅ 202 tests pass

Opening as draft per request; self-review via /review to follow.

Limitations / follow-ups

  • Baseline is in-memory only; lost on page reload. Acceptable since analytics only cares about runs in the same session as the template load.
  • Heuristic widget-name matching (regex). Catches common ComfyUI widget names (seed, noise_seed, text, prompt, positive, negative, positive_prompt, negative_prompt) and conservatively classifies unknown names as structural rather than misattributing.
  • Subgraph nodes are walked via the existing reduceAllNodes (same as node counts) so seed/prompt detection inside subgraphs works the same way.

┆Issue is synchronized with this Notion page by Unito

Adds template_change_type property to the PostHog execution_start event
so analytics can distinguish runs that explore variations (seed/prompt
only) from runs that materially change the workflow graph.

On template load, the original workflow JSON is captured as a baseline.
At execution time, the baseline is diffed against the current workflow:

- unchanged: no diff
- seed_only: only seed-named widget values differ
- prompt_only: only prompt/text-named widget values differ
- seed_and_prompt: both seed and prompt widget values differ
- structural: any other diff (node added/removed, link change, type
  change, non-seed/non-prompt widget value, length mismatch)

The field is only attached when is_template is true and a baseline was
captured; it is omitted for custom workflows and templates loaded
before this change.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 16, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 024eff23-06a7-4b1a-af03-66fb50a58c84

📥 Commits

Reviewing files that changed from the base of the PR and between 0647d7e and d299033.

📒 Files selected for processing (1)
  • src/platform/workflow/templates/composables/useTemplateWorkflows.test.ts

📝 Walkthrough

Walkthrough

Adds baseline storage, a classifier that labels template edits as unchanged, seed_only, prompt_only, seed_and_prompt, or structural, saves baselines during template load, and surfaces the computed template_change_type in execution telemetry.

Changes

Template workflow change tracking

Layer / File(s) Summary
Type contract for template change tracking
src/platform/telemetry/types.ts
Introduces TemplateChangeType union and extends ExecutionContext with optional template_change_type.
Template baseline storage
src/platform/telemetry/utils/templateBaselineStore.ts, src/platform/telemetry/utils/templateBaselineStore.test.ts
In-memory Map baseline store with deep-clone-on-write/read, MAX_BASELINES = 32 cap with FIFO eviction, and set/get/clear APIs; tests validate cloning, eviction, and recency.
Template change classification logic
src/platform/telemetry/utils/classifyTemplateChange.ts, src/platform/telemetry/utils/classifyTemplateChange.test.ts
Implements classifyTemplateChange comparing definitions, node ids/types/IO, normalized link sets, and per-node widgets_values using LiveNodeLookup; returns structural for unclassifiable diffs or combines seed/prompt flags otherwise.
Execution context integration
src/platform/telemetry/utils/getExecutionContext.ts, src/platform/telemetry/utils/getExecutionContext.test.ts
getExecutionContext builds live node metadata, retrieves baselines, invokes classifyTemplateChange, and includes template_change_type in returned ExecutionContext when is_template is true. Tests manage baseline state and assert classification outcomes.
Baseline capture during template load
src/platform/workflow/templates/composables/useTemplateWorkflows.ts, src/platform/workflow/templates/composables/useTemplateWorkflows.test.ts
Calls setTemplateBaseline after loading template JSON (prefers active workflow change-tracker state) and adds test mocks for store and baseline setting.
sequenceDiagram
  participant User
  participant loadWorkflowTemplate
  participant templateBaselineStore
  participant getExecutionContext
  participant classifyTemplateChange

  User->>loadWorkflowTemplate: Load template
  loadWorkflowTemplate->>templateBaselineStore: setTemplateBaseline(id, baseline)
  templateBaselineStore->>templateBaselineStore: Deep-clone & store
  User->>getExecutionContext: Collect execution telemetry
  getExecutionContext->>templateBaselineStore: getTemplateBaseline(id)
  getExecutionContext->>classifyTemplateChange: classifyTemplateChange(baseline, current, liveNodes)
  classifyTemplateChange->>classifyTemplateChange: Compare definitions, nodes, links, widgets
  classifyTemplateChange-->>getExecutionContext: template_change_type
  getExecutionContext-->>User: ExecutionContext with classification
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested labels

size:L

Suggested reviewers

  • benceruleanlu

Poem

🐰 I hopped through baselines, tracked each change,
Seeds and prompts marked neat and strange.
Snapshots saved, comparisons made,
Telemetry sings of edits displayed.
A little rabbit cheers the telemetry parade!

🚥 Pre-merge checks | ✅ 6 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (6 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and specifically describes the main change: adding template change classification to telemetry tracking.
Description check ✅ Passed The description covers all template sections with clear explanations of how the feature works, classification values, files changed, and verification steps completed.
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 is a feature, not a bug fix. Title uses "feat:" prefix; no bug-fix language detected. E2E regression tests required only for bug fixes per check instructions.
Adr Compliance For Entity/Litegraph Changes ✅ Passed Check not applicable. PR modifies only telemetry and workflow template utilities, not src/lib/litegraph/, src/ecs/, or core graph entity structures.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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 glary/posthog-template-change-classification

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

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 16, 2026

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 05/16/2026, 03:30:24 AM UTC

Links

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 16, 2026

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

📊 Browser Reports
  • chromium: View Report (✅ 1583 / ❌ 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)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 16, 2026

📦 Bundle: 5.36 MB gzip 🔴 +219 B

Details

Summary

  • Raw size: 24.7 MB baseline 24.7 MB — 🔴 +758 B
  • Gzip: 5.36 MB baseline 5.36 MB — 🔴 +219 B
  • Brotli: 4.15 MB baseline 4.14 MB — 🔴 +86 B
  • Bundles: 268 current • 268 baseline • 118 added / 118 removed

Category Glance
Data & Services 🔴 +758 B (3.16 MB) · Vendor & Third-Party ⚪ 0 B (9.94 MB) · Other ⚪ 0 B (9.16 MB) · Graph Workspace ⚪ 0 B (1.24 MB) · Panels & Settings ⚪ 0 B (527 kB) · Utilities & Hooks ⚪ 0 B (366 kB) · + 5 more

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

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-CkgkNRXf.js (removed) 26.1 kB 🟢 -26.1 kB 🟢 -8.76 kB 🟢 -7.53 kB
assets/index-CX88ytqn.js (new) 26.1 kB 🔴 +26.1 kB 🔴 +8.76 kB 🔴 +7.5 kB

Status: 1 added / 1 removed

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

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-BxwO0WeX.js (new) 1.24 MB 🔴 +1.24 MB 🔴 +264 kB 🔴 +199 kB
assets/GraphView-C3wGbSRl.js (removed) 1.24 MB 🟢 -1.24 MB 🟢 -264 kB 🟢 -199 kB

Status: 1 added / 1 removed

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

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CloudSurveyView-Bo9__MAY.js (removed) 19.6 kB 🟢 -19.6 kB 🟢 -5.14 kB 🟢 -4.56 kB
assets/CloudSurveyView-wymhhRxy.js (new) 19.6 kB 🔴 +19.6 kB 🔴 +5.14 kB 🔴 +4.57 kB
assets/CloudLoginView-Bi9I6YXz.js (removed) 12.5 kB 🟢 -12.5 kB 🟢 -3.55 kB 🟢 -3.12 kB
assets/CloudLoginView-D90IJN2J.js (new) 12.5 kB 🔴 +12.5 kB 🔴 +3.55 kB 🔴 +3.15 kB
assets/CloudSignupView-DOywFb7N.js (new) 10.4 kB 🔴 +10.4 kB 🔴 +3.06 kB 🔴 +2.69 kB
assets/CloudSignupView-ZR5csnP4.js (removed) 10.4 kB 🟢 -10.4 kB 🟢 -3.05 kB 🟢 -2.7 kB
assets/UserCheckView-D3w_azJB.js (new) 9.07 kB 🔴 +9.07 kB 🔴 +2.34 kB 🔴 +2.04 kB
assets/UserCheckView-DQbAr4mn.js (removed) 9.07 kB 🟢 -9.07 kB 🟢 -2.34 kB 🟢 -2.05 kB
assets/CloudLayoutView-BGGtBDx9.js (new) 7.81 kB 🔴 +7.81 kB 🔴 +2.49 kB 🔴 +2.17 kB
assets/CloudLayoutView-QGe6cCAk.js (removed) 7.81 kB 🟢 -7.81 kB 🟢 -2.48 kB 🟢 -2.18 kB
assets/CloudForgotPasswordView-BekrkQ3w.js (new) 6.22 kB 🔴 +6.22 kB 🔴 +2.21 kB 🔴 +1.95 kB
assets/CloudForgotPasswordView-CBaei9xW.js (removed) 6.22 kB 🟢 -6.22 kB 🟢 -2.21 kB 🟢 -1.95 kB
assets/CloudAuthTimeoutView-BU3Dmdh-.js (new) 5.58 kB 🔴 +5.58 kB 🔴 +2.05 kB 🔴 +1.8 kB
assets/CloudAuthTimeoutView-DywCyPRm.js (removed) 5.58 kB 🟢 -5.58 kB 🟢 -2.05 kB 🟢 -1.8 kB
assets/CloudSubscriptionRedirectView-BtWYkg5n.js (removed) 5.36 kB 🟢 -5.36 kB 🟢 -2.03 kB 🟢 -1.81 kB
assets/CloudSubscriptionRedirectView-Ctcx2SHY.js (new) 5.36 kB 🔴 +5.36 kB 🔴 +2.03 kB 🔴 +1.8 kB
assets/UserSelectView-CkNUY6A_.js (removed) 4.7 kB 🟢 -4.7 kB 🟢 -1.75 kB 🟢 -1.55 kB
assets/UserSelectView-CoUb6epD.js (new) 4.7 kB 🔴 +4.7 kB 🔴 +1.75 kB 🔴 +1.55 kB

Status: 9 added / 9 removed / 2 unchanged

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

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/KeybindingPanel-7kd3lSdj.js (new) 47.5 kB 🔴 +47.5 kB 🔴 +9.87 kB 🔴 +8.73 kB
assets/KeybindingPanel-CG2KY29x.js (removed) 47.5 kB 🟢 -47.5 kB 🟢 -9.87 kB 🟢 -8.75 kB
assets/SecretsPanel-1YqIEP4P.js (removed) 23.9 kB 🟢 -23.9 kB 🟢 -5.73 kB 🟢 -5.06 kB
assets/SecretsPanel-BwvAPrfF.js (new) 23.9 kB 🔴 +23.9 kB 🔴 +5.73 kB 🔴 +5.04 kB
assets/LegacyCreditsPanel-BKjGDTcW.js (new) 21.8 kB 🔴 +21.8 kB 🔴 +5.95 kB 🔴 +5.25 kB
assets/LegacyCreditsPanel-CgYaWNiu.js (removed) 21.8 kB 🟢 -21.8 kB 🟢 -5.94 kB 🟢 -5.24 kB
assets/SubscriptionPanel-COrS3r9k.js (removed) 20.2 kB 🟢 -20.2 kB 🟢 -5.19 kB 🟢 -4.55 kB
assets/SubscriptionPanel-DuVcCUZv.js (new) 20.2 kB 🔴 +20.2 kB 🔴 +5.19 kB 🔴 +4.57 kB
assets/AboutPanel-CFYuZ6jR.js (removed) 12 kB 🟢 -12 kB 🟢 -3.33 kB 🟢 -2.99 kB
assets/AboutPanel-CXGeAo3I.js (new) 12 kB 🔴 +12 kB 🔴 +3.33 kB 🔴 +3 kB
assets/ExtensionPanel-BHPNU4Wt.js (removed) 10.1 kB 🟢 -10.1 kB 🟢 -2.95 kB 🟢 -2.62 kB
assets/ExtensionPanel-CI0mEvvG.js (new) 10.1 kB 🔴 +10.1 kB 🔴 +2.95 kB 🔴 +2.62 kB
assets/ServerConfigPanel-C1tIPeUS.js (new) 7.13 kB 🔴 +7.13 kB 🔴 +2.39 kB 🔴 +2.13 kB
assets/ServerConfigPanel-D8k3wcWi.js (removed) 7.13 kB 🟢 -7.13 kB 🟢 -2.39 kB 🟢 -2.14 kB
assets/UserPanel-AaiOY5fn.js (removed) 6.84 kB 🟢 -6.84 kB 🟢 -2.27 kB 🟢 -2.01 kB
assets/UserPanel-Cmj-4vTz.js (new) 6.84 kB 🔴 +6.84 kB 🔴 +2.27 kB 🔴 +2.01 kB
assets/cloudRemoteConfig-CYER22Aa.js (new) 2.13 kB 🔴 +2.13 kB 🔴 +1.02 kB 🔴 +881 B
assets/cloudRemoteConfig-DpXColxS.js (removed) 2.13 kB 🟢 -2.13 kB 🟢 -1.02 kB 🟢 -881 B
assets/refreshRemoteConfig-B-t3b7OM.js (removed) 1.45 kB 🟢 -1.45 kB 🟢 -650 B 🟢 -556 B
assets/refreshRemoteConfig-BxxWXnzZ.js (new) 1.45 kB 🔴 +1.45 kB 🔴 +650 B 🔴 +549 B

Status: 10 added / 10 removed / 14 unchanged

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

Authentication, profile, and account management bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/auth-D0BgFSJp.js (removed) 3.65 kB 🟢 -3.65 kB 🟢 -1.29 kB 🟢 -1.1 kB
assets/auth-kx7upfm1.js (new) 3.65 kB 🔴 +3.65 kB 🔴 +1.29 kB 🔴 +1.1 kB
assets/SignUpForm-BixR3kdR.js (removed) 3.19 kB 🟢 -3.19 kB 🟢 -1.29 kB 🟢 -1.15 kB
assets/SignUpForm-BNLGARmE.js (new) 3.19 kB 🔴 +3.19 kB 🔴 +1.29 kB 🔴 +1.15 kB
assets/UpdatePasswordContent-Bsd30tOt.js (new) 2.98 kB 🔴 +2.98 kB 🔴 +1.33 kB 🔴 +1.18 kB
assets/UpdatePasswordContent-DUC_Lm7U.js (removed) 2.98 kB 🟢 -2.98 kB 🟢 -1.33 kB 🟢 -1.18 kB
assets/authStore-B4ohTlgn.js (new) 1.27 kB 🔴 +1.27 kB 🔴 +598 B 🔴 +534 B
assets/authStore-DmmpFGKa.js (removed) 1.27 kB 🟢 -1.27 kB 🟢 -599 B 🟢 -531 B
assets/auth-BCAtN4as.js (new) 348 B 🔴 +348 B 🔴 +217 B 🔴 +191 B
assets/auth-BVFSvNLG.js (removed) 348 B 🟢 -348 B 🟢 -218 B 🟢 -209 B

Status: 5 added / 5 removed / 2 unchanged

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

Modals, dialogs, drawers, and in-app editors

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyHubPublishDialog-BuG6hVmr.js (new) 85.8 kB 🔴 +85.8 kB 🔴 +18.6 kB 🔴 +15.9 kB
assets/ComfyHubPublishDialog-DX4-YeSt.js (removed) 85.8 kB 🟢 -85.8 kB 🟢 -18.6 kB 🟢 -15.9 kB
assets/useShareDialog-BN5aqIcK.js (removed) 23.9 kB 🟢 -23.9 kB 🟢 -5.81 kB 🟢 -5.14 kB
assets/useShareDialog-D3NWtX2v.js (new) 23.9 kB 🔴 +23.9 kB 🔴 +5.81 kB 🔴 +5.16 kB
assets/ComfyHubPublishDialog-BxPg8Gwm.js (new) 1.43 kB 🔴 +1.43 kB 🔴 +659 B 🔴 +585 B
assets/ComfyHubPublishDialog-XayroI31.js (removed) 1.43 kB 🟢 -1.43 kB 🟢 -659 B 🟢 -581 B
assets/useSubscriptionDialog-9c3D1tJI.js (removed) 1.25 kB 🟢 -1.25 kB 🟢 -592 B 🟢 -520 B
assets/useSubscriptionDialog-BMAxeJtE.js (new) 1.25 kB 🔴 +1.25 kB 🔴 +590 B 🔴 +519 B

Status: 4 added / 4 removed

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

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/ComfyQueueButton-BrvX3KXp.js (new) 13.5 kB 🔴 +13.5 kB 🔴 +3.79 kB 🔴 +3.38 kB
assets/ComfyQueueButton-CWxy8cZ1.js (removed) 13.5 kB 🟢 -13.5 kB 🟢 -3.79 kB 🟢 -3.38 kB
assets/useTerminalTabs-2xpKEmNM.js (removed) 11.1 kB 🟢 -11.1 kB 🟢 -3.76 kB 🟢 -3.32 kB
assets/useTerminalTabs-Cx21mZDD.js (new) 11.1 kB 🔴 +11.1 kB 🔴 +3.76 kB 🔴 +3.31 kB
assets/SubscribeButton-C6hj-pJh.js (new) 2.42 kB 🔴 +2.42 kB 🔴 +1.05 kB 🔴 +921 B
assets/SubscribeButton-CURjIwI0.js (removed) 2.42 kB 🟢 -2.42 kB 🟢 -1.05 kB 🟢 -918 B
assets/cloudFeedbackTopbarButton-2uOqkP5f.js (new) 1.94 kB 🔴 +1.94 kB 🔴 +966 B 🔴 +860 B
assets/cloudFeedbackTopbarButton-CEvmaAKN.js (removed) 1.94 kB 🟢 -1.94 kB 🟢 -965 B 🟢 -862 B
assets/ComfyQueueButton-Bc_-4kAQ.js (new) 1.35 kB 🔴 +1.35 kB 🔴 +625 B 🔴 +573 B
assets/ComfyQueueButton-bxBlBhbk.js (removed) 1.35 kB 🟢 -1.35 kB 🟢 -627 B 🟢 -573 B

Status: 5 added / 5 removed / 8 unchanged

Data & Services — 3.16 MB (baseline 3.16 MB) • 🔴 +758 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/dialogService-DF0Debd1.js (new) 2.09 MB 🔴 +2.09 MB 🔴 +477 kB 🔴 +361 kB
assets/dialogService-D-qgCbge.js (removed) 2.09 MB 🟢 -2.09 MB 🟢 -476 kB 🟢 -361 kB
assets/api-DE6z86IF.js (removed) 898 kB 🟢 -898 kB 🟢 -215 kB 🟢 -169 kB
assets/api-Dra2Q9u6.js (new) 898 kB 🔴 +898 kB 🔴 +215 kB 🔴 +169 kB
assets/load3dService-Do-bK5lA.js (removed) 116 kB 🟢 -116 kB 🟢 -25.4 kB 🟢 -21.6 kB
assets/load3dService-Zdq1SD7B.js (new) 116 kB 🔴 +116 kB 🔴 +25.4 kB 🔴 +21.6 kB
assets/workflowShareService-f86kyTZP.js (removed) 16.7 kB 🟢 -16.7 kB 🟢 -4.92 kB 🟢 -4.37 kB
assets/workflowShareService-L_dYcF6M.js (new) 16.7 kB 🔴 +16.7 kB 🔴 +4.92 kB 🔴 +4.37 kB
assets/keybindingService-BYSmIbUX.js (new) 13.8 kB 🔴 +13.8 kB 🔴 +3.67 kB 🔴 +3.22 kB
assets/keybindingService-DvnXqk0F.js (removed) 13.8 kB 🟢 -13.8 kB 🟢 -3.67 kB 🟢 -3.22 kB
assets/releaseStore-C09Zn6V1.js (removed) 8.12 kB 🟢 -8.12 kB 🟢 -2.28 kB 🟢 -2 kB
assets/releaseStore-Co6RExTo.js (new) 8.12 kB 🔴 +8.12 kB 🔴 +2.28 kB 🔴 +2 kB
assets/userStore-D9S0FuoV.js (removed) 2.42 kB 🟢 -2.42 kB 🟢 -934 B 🟢 -816 B
assets/userStore-E_POs8G-.js (new) 2.42 kB 🔴 +2.42 kB 🔴 +934 B 🔴 +819 B
assets/audioService-Cx4kBWsh.js (removed) 1.8 kB 🟢 -1.8 kB 🟢 -881 B 🟢 -758 B
assets/audioService-DqxGoDy0.js (new) 1.8 kB 🔴 +1.8 kB 🔴 +878 B 🔴 +757 B
assets/releaseStore-Bis-Yt45.js (new) 1.27 kB 🔴 +1.27 kB 🔴 +593 B 🔴 +529 B
assets/releaseStore-BPKLkq3E.js (removed) 1.27 kB 🟢 -1.27 kB 🟢 -595 B 🟢 -528 B
assets/workflowDraftStore-C4xmOCPe.js (removed) 1.25 kB 🟢 -1.25 kB 🟢 -591 B 🟢 -522 B
assets/workflowDraftStore-CFw-GTwK.js (new) 1.25 kB 🔴 +1.25 kB 🔴 +590 B 🔴 +523 B
assets/dialogService-BRMDScWe.js (removed) 1.24 kB 🟢 -1.24 kB 🟢 -583 B 🟢 -521 B
assets/dialogService-Cj_tnYjE.js (new) 1.24 kB 🔴 +1.24 kB 🔴 +583 B 🔴 +523 B
assets/settingStore-CYcv7Quz.js (removed) 1.23 kB 🟢 -1.23 kB 🟢 -586 B 🟢 -519 B
assets/settingStore-DVpw0iEk.js (new) 1.23 kB 🔴 +1.23 kB 🔴 +585 B 🔴 +519 B
assets/assetsStore-D_h3DOdB.js (removed) 1.23 kB 🟢 -1.23 kB 🟢 -586 B 🟢 -516 B
assets/assetsStore-DHd82kwf.js (new) 1.23 kB 🔴 +1.23 kB 🔴 +585 B 🔴 +520 B

Status: 13 added / 13 removed / 4 unchanged

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

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/useConflictDetection-BUYhtKVz.js (removed) 234 kB 🟢 -234 kB 🟢 -52.1 kB 🟢 -42.5 kB
assets/useConflictDetection-C6pHv8wo.js (new) 234 kB 🔴 +234 kB 🔴 +52.1 kB 🔴 +42.4 kB
assets/useLoad3d-B3xA9hzt.js (new) 22.7 kB 🔴 +22.7 kB 🔴 +5.22 kB 🔴 +4.61 kB
assets/useLoad3d-CLMb1xI3.js (removed) 22.7 kB 🟢 -22.7 kB 🟢 -5.22 kB 🟢 -4.61 kB
assets/useLoad3dViewer-B37ZK13e.js (removed) 21 kB 🟢 -21 kB 🟢 -4.93 kB 🟢 -4.3 kB
assets/useLoad3dViewer-FUtelgV8.js (new) 21 kB 🔴 +21 kB 🔴 +4.92 kB 🔴 +4.3 kB
assets/useFeatureFlags-BdUGVFHI.js (new) 5.95 kB 🔴 +5.95 kB 🔴 +1.79 kB 🔴 +1.52 kB
assets/useFeatureFlags-DRimVAyX.js (removed) 5.95 kB 🟢 -5.95 kB 🟢 -1.79 kB 🟢 -1.52 kB
assets/useCopyToClipboard-3A6IqCoM.js (removed) 5.29 kB 🟢 -5.29 kB 🟢 -1.86 kB 🟢 -1.58 kB
assets/useCopyToClipboard-CJZJYAeH.js (new) 5.29 kB 🔴 +5.29 kB 🔴 +1.86 kB 🔴 +1.58 kB
assets/useWorkspaceUI-Dutx_Tek.js (new) 3.34 kB 🔴 +3.34 kB 🔴 +980 B 🔴 +810 B
assets/useWorkspaceUI-DxQILF7P.js (removed) 3.34 kB 🟢 -3.34 kB 🟢 -982 B 🟢 -815 B
assets/subscriptionCheckoutUtil-4JMhFJOt.js (removed) 3.31 kB 🟢 -3.31 kB 🟢 -1.36 kB 🟢 -1.18 kB
assets/subscriptionCheckoutUtil-CxjoqQ8-.js (new) 3.31 kB 🔴 +3.31 kB 🔴 +1.36 kB 🔴 +1.18 kB
assets/assetPreviewUtil-ItOejEht.js (removed) 2.43 kB 🟢 -2.43 kB 🟢 -1.01 kB 🟢 -878 B
assets/assetPreviewUtil-jUyJUhlh.js (new) 2.43 kB 🔴 +2.43 kB 🔴 +1.01 kB 🔴 +877 B
assets/useUpstreamValue-C1nOQRc_.js (removed) 2.08 kB 🟢 -2.08 kB 🟢 -803 B 🟢 -714 B
assets/useUpstreamValue-DIXeZAaE.js (new) 2.08 kB 🔴 +2.08 kB 🔴 +802 B 🔴 +717 B
assets/useLoad3d-CuBK6N0r.js (new) 1.41 kB 🔴 +1.41 kB 🔴 +654 B 🔴 +586 B
assets/useLoad3d-mzDkAMC4.js (removed) 1.41 kB 🟢 -1.41 kB 🟢 -652 B 🟢 -583 B
assets/useLoad3dViewer-D9F1JGKp.js (removed) 1.35 kB 🟢 -1.35 kB 🟢 -620 B 🟢 -569 B
assets/useLoad3dViewer-DhexMdqm.js (new) 1.35 kB 🔴 +1.35 kB 🔴 +619 B 🔴 +566 B
assets/useCurrentUser-C5iOhnIe.js (new) 1.23 kB 🔴 +1.23 kB 🔴 +585 B 🔴 +520 B
assets/useCurrentUser-KCgYM_4q.js (removed) 1.23 kB 🟢 -1.23 kB 🟢 -587 B 🟢 -520 B
assets/useWorkspaceSwitch-K7frXquj.js (removed) 747 B 🟢 -747 B 🟢 -382 B 🟢 -330 B
assets/useWorkspaceSwitch-UFvhPYDe.js (new) 747 B 🔴 +747 B 🔴 +382 B 🔴 +329 B

Status: 13 added / 13 removed / 18 unchanged

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

External libraries and shared vendor chunks

Status: 16 unchanged

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

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/core-BczHY4dn.js (removed) 78 kB 🟢 -78 kB 🟢 -20.2 kB 🟢 -17.2 kB
assets/core-BehxR7Ke.js (new) 78 kB 🔴 +78 kB 🔴 +20.2 kB 🔴 +17.2 kB
assets/groupNode-BtBJKJL2.js (new) 74.9 kB 🔴 +74.9 kB 🔴 +18.7 kB 🔴 +16.5 kB
assets/groupNode-CLtsfd4a.js (removed) 74.9 kB 🟢 -74.9 kB 🟢 -18.7 kB 🟢 -16.5 kB
assets/WidgetSelect-C2xEv6_d.js (removed) 68.4 kB 🟢 -68.4 kB 🟢 -15.1 kB 🟢 -13 kB
assets/WidgetSelect-i07Sd4op.js (new) 68.4 kB 🔴 +68.4 kB 🔴 +15.1 kB 🔴 +13 kB
assets/SubscriptionRequiredDialogContentWorkspace-Bgy4Dmot.js (new) 48.9 kB 🔴 +48.9 kB 🔴 +9.55 kB 🔴 +8.26 kB
assets/SubscriptionRequiredDialogContentWorkspace-D3NX1li6.js (removed) 48.9 kB 🟢 -48.9 kB 🟢 -9.55 kB 🟢 -8.27 kB
assets/Load3DControls-BODIA-pl.js (removed) 46.1 kB 🟢 -46.1 kB 🟢 -7.5 kB 🟢 -6.54 kB
assets/Load3DControls-S_ldJDvj.js (new) 46.1 kB 🔴 +46.1 kB 🔴 +7.5 kB 🔴 +6.54 kB
assets/WorkspacePanelContent-BlHJxuGp.js (removed) 34.3 kB 🟢 -34.3 kB 🟢 -7.44 kB 🟢 -6.58 kB
assets/WorkspacePanelContent-CvAMJu9J.js (new) 34.3 kB 🔴 +34.3 kB 🔴 +7.44 kB 🔴 +6.6 kB
assets/WidgetPainter-ClEbHSf-.js (new) 33.5 kB 🔴 +33.5 kB 🔴 +8.28 kB 🔴 +7.35 kB
assets/WidgetPainter-DrFDIyYp.js (removed) 33.5 kB 🟢 -33.5 kB 🟢 -8.29 kB 🟢 -7.33 kB
assets/Load3dViewerContent-BQWU9CqR.js (removed) 30.6 kB 🟢 -30.6 kB 🟢 -6.2 kB 🟢 -5.37 kB
assets/Load3dViewerContent-DJO192eq.js (new) 30.6 kB 🔴 +30.6 kB 🔴 +6.19 kB 🔴 +5.37 kB
assets/SubscriptionRequiredDialogContent-D8ZnEtEc.js (removed) 27.6 kB 🟢 -27.6 kB 🟢 -7.02 kB 🟢 -6.2 kB
assets/SubscriptionRequiredDialogContent-TN0KBmBs.js (new) 27.6 kB 🔴 +27.6 kB 🔴 +7.02 kB 🔴 +6.2 kB
assets/WidgetImageCrop--zGMlmFd.js (removed) 24.4 kB 🟢 -24.4 kB 🟢 -6.23 kB 🟢 -5.48 kB
assets/WidgetImageCrop-CE9UwzsY.js (new) 24.4 kB 🔴 +24.4 kB 🔴 +6.23 kB 🔴 +5.49 kB
assets/SubscriptionPanelContentWorkspace-C_eZzJHy.js (new) 22.2 kB 🔴 +22.2 kB 🔴 +5.17 kB 🔴 +4.56 kB
assets/SubscriptionPanelContentWorkspace-CgXHS2xs.js (removed) 22.2 kB 🟢 -22.2 kB 🟢 -5.17 kB 🟢 -4.56 kB
assets/SignInContent-BFpcCMwb.js (removed) 20.9 kB 🟢 -20.9 kB 🟢 -5.47 kB 🟢 -4.8 kB
assets/SignInContent-DHkN8qoZ.js (new) 20.9 kB 🔴 +20.9 kB 🔴 +5.47 kB 🔴 +4.79 kB
assets/CurrentUserPopoverWorkspace-CVnFpAhu.js (removed) 20.9 kB 🟢 -20.9 kB 🟢 -4.99 kB 🟢 -4.47 kB
assets/CurrentUserPopoverWorkspace-DWuT2B8_.js (new) 20.9 kB 🔴 +20.9 kB 🔴 +4.99 kB 🔴 +4.46 kB
assets/WidgetInputNumber-BJFff-GY.js (removed) 19.1 kB 🟢 -19.1 kB 🟢 -4.84 kB 🟢 -4.3 kB
assets/WidgetInputNumber-BqbxlsZG.js (new) 19.1 kB 🔴 +19.1 kB 🔴 +4.84 kB 🔴 +4.29 kB
assets/Load3D-B8Qn9qVN.js (new) 18.5 kB 🔴 +18.5 kB 🔴 +4.39 kB 🔴 +3.83 kB
assets/Load3D-DZoTZ22M.js (removed) 18.5 kB 🟢 -18.5 kB 🟢 -4.39 kB 🟢 -3.83 kB
assets/WidgetRecordAudio-BWbc7zjH.js (removed) 17.6 kB 🟢 -17.6 kB 🟢 -5.07 kB 🟢 -4.53 kB
assets/WidgetRecordAudio-LSS8NuLe.js (new) 17.6 kB 🔴 +17.6 kB 🔴 +5.07 kB 🔴 +4.53 kB
assets/WidgetRange-liXVZfyd.js (new) 17.1 kB 🔴 +17.1 kB 🔴 +4.64 kB 🔴 +4.13 kB
assets/WidgetRange-qfukD9ME.js (removed) 17.1 kB 🟢 -17.1 kB 🟢 -4.64 kB 🟢 -4.14 kB
assets/load3d-Cx7_WNpn.js (removed) 15.9 kB 🟢 -15.9 kB 🟢 -4.62 kB 🟢 -4.01 kB
assets/load3d-DC5Cp2Cp.js (new) 15.9 kB 🔴 +15.9 kB 🔴 +4.62 kB 🔴 +4.01 kB
assets/WaveAudioPlayer-D8IAqTRX.js (removed) 13.4 kB 🟢 -13.4 kB 🟢 -3.68 kB 🟢 -3.23 kB
assets/WaveAudioPlayer-DNGSKKf-.js (new) 13.4 kB 🔴 +13.4 kB 🔴 +3.68 kB 🔴 +3.22 kB
assets/WidgetCurve-BigO6BH8.js (new) 12.3 kB 🔴 +12.3 kB 🔴 +3.96 kB 🔴 +3.58 kB
assets/WidgetCurve-Cn6iTXOx.js (removed) 12.3 kB 🟢 -12.3 kB 🟢 -3.96 kB 🟢 -3.59 kB
assets/TeamWorkspacesDialogContent-3ssuxw6i.js (new) 11.4 kB 🔴 +11.4 kB 🔴 +3.46 kB 🔴 +3.07 kB
assets/TeamWorkspacesDialogContent-Dd1IhQUk.js (removed) 11.4 kB 🟢 -11.4 kB 🟢 -3.45 kB 🟢 -3.07 kB
assets/nodeTemplates-4WmnnZj3.js (removed) 9.92 kB 🟢 -9.92 kB 🟢 -3.52 kB 🟢 -3.11 kB
assets/nodeTemplates-D8LG-H8K.js (new) 9.92 kB 🔴 +9.92 kB 🔴 +3.52 kB 🔴 +3.12 kB
assets/NightlySurveyController-B4AsMEkX.js (removed) 9.05 kB 🟢 -9.05 kB 🟢 -3.18 kB 🟢 -2.81 kB
assets/NightlySurveyController-BOJpDdoA.js (new) 9.05 kB 🔴 +9.05 kB 🔴 +3.18 kB 🔴 +2.8 kB
assets/Load3DConfiguration-CpeO5myi.js (new) 8.77 kB 🔴 +8.77 kB 🔴 +2.61 kB 🔴 +2.29 kB
assets/Load3DConfiguration-DFjz4Y4U.js (removed) 8.77 kB 🟢 -8.77 kB 🟢 -2.61 kB 🟢 -2.3 kB
assets/InviteMemberDialogContent-CM5F6vDg.js (removed) 8.02 kB 🟢 -8.02 kB 🟢 -2.56 kB 🟢 -2.24 kB
assets/InviteMemberDialogContent-OmiVnJcr.js (new) 8.02 kB 🔴 +8.02 kB 🔴 +2.56 kB 🔴 +2.26 kB
assets/onboardingCloudRoutes-Btgy3VSP.js (new) 6.94 kB 🔴 +6.94 kB 🔴 +2.17 kB 🔴 +1.85 kB
assets/onboardingCloudRoutes-CW2voh_4.js (removed) 6.94 kB 🟢 -6.94 kB 🟢 -2.17 kB 🟢 -1.86 kB
assets/CreateWorkspaceDialogContent-BQpPBnHa.js (new) 6.23 kB 🔴 +6.23 kB 🔴 +2.27 kB 🔴 +2 kB
assets/CreateWorkspaceDialogContent-DpyliyX6.js (removed) 6.23 kB 🟢 -6.23 kB 🟢 -2.27 kB 🟢 -1.98 kB
assets/WidgetWithControl-CknqKn2k.js (new) 6.2 kB 🔴 +6.2 kB 🔴 +2.5 kB 🔴 +2.2 kB
assets/WidgetWithControl-IqVtrX2_.js (removed) 6.2 kB 🟢 -6.2 kB 🟢 -2.5 kB 🟢 -2.19 kB
assets/FreeTierDialogContent-D7FX5z40.js (removed) 6.09 kB 🟢 -6.09 kB 🟢 -2.17 kB 🟢 -1.93 kB
assets/FreeTierDialogContent-DMZgKFtf.js (new) 6.09 kB 🔴 +6.09 kB 🔴 +2.17 kB 🔴 +1.92 kB
assets/EditWorkspaceDialogContent-Btv7Klps.js (new) 6.03 kB 🔴 +6.03 kB 🔴 +2.23 kB 🔴 +1.96 kB
assets/EditWorkspaceDialogContent-Cf0JODsu.js (removed) 6.03 kB 🟢 -6.03 kB 🟢 -2.23 kB 🟢 -1.95 kB
assets/WidgetTextarea-BHYAfFIc.js (removed) 5.84 kB 🟢 -5.84 kB 🟢 -2.3 kB 🟢 -2.03 kB
assets/WidgetTextarea-Cb-DItw0.js (new) 5.84 kB 🔴 +5.84 kB 🔴 +2.3 kB 🔴 +2.03 kB
assets/Preview3d-AH-DhVOX.js (new) 5.81 kB 🔴 +5.81 kB 🔴 +1.96 kB 🔴 +1.7 kB
assets/Preview3d-BZ9mOmtp.js (removed) 5.81 kB 🟢 -5.81 kB 🟢 -1.96 kB 🟢 -1.71 kB
assets/ValueControlPopover-CXwgYKg9.js (removed) 5.61 kB 🟢 -5.61 kB 🟢 -2.05 kB 🟢 -1.85 kB
assets/ValueControlPopover-DzgsC7w-.js (new) 5.61 kB 🔴 +5.61 kB 🔴 +2.05 kB 🔴 +1.84 kB
assets/CancelSubscriptionDialogContent-CtyVfSvS.js (new) 5.53 kB 🔴 +5.53 kB 🔴 +2.07 kB 🔴 +1.83 kB
assets/CancelSubscriptionDialogContent-CX6cjsTD.js (removed) 5.53 kB 🟢 -5.53 kB 🟢 -2.08 kB 🟢 -1.82 kB
assets/DeleteWorkspaceDialogContent-BTTwtnMe.js (new) 4.93 kB 🔴 +4.93 kB 🔴 +1.91 kB 🔴 +1.66 kB
assets/DeleteWorkspaceDialogContent-CATBjziJ.js (removed) 4.93 kB 🟢 -4.93 kB 🟢 -1.91 kB 🟢 -1.66 kB
assets/saveMesh-B6DsfAcl.js (new) 4.78 kB 🔴 +4.78 kB 🔴 +1.9 kB 🔴 +1.69 kB
assets/saveMesh-DqY7ZQ48.js (removed) 4.78 kB 🟢 -4.78 kB 🟢 -1.9 kB 🟢 -1.69 kB
assets/LeaveWorkspaceDialogContent-CPMtWVAD.js (new) 4.76 kB 🔴 +4.76 kB 🔴 +1.86 kB 🔴 +1.61 kB
assets/LeaveWorkspaceDialogContent-DpLlk3MX.js (removed) 4.76 kB 🟢 -4.76 kB 🟢 -1.86 kB 🟢 -1.61 kB
assets/RemoveMemberDialogContent-8v9Lm6hn.js (removed) 4.74 kB 🟢 -4.74 kB 🟢 -1.81 kB 🟢 -1.58 kB
assets/RemoveMemberDialogContent-CTk_30dt.js (new) 4.74 kB 🔴 +4.74 kB 🔴 +1.81 kB 🔴 +1.58 kB
assets/RevokeInviteDialogContent-dXoteZtX.js (removed) 4.65 kB 🟢 -4.65 kB 🟢 -1.82 kB 🟢 -1.59 kB
assets/RevokeInviteDialogContent-web_jBwe.js (new) 4.65 kB 🔴 +4.65 kB 🔴 +1.82 kB 🔴 +1.6 kB
assets/InviteMemberUpsellDialogContent-AdxKwPbs.js (removed) 4.55 kB 🟢 -4.55 kB 🟢 -1.68 kB 🟢 -1.48 kB
assets/InviteMemberUpsellDialogContent-BOC734F-.js (new) 4.55 kB 🔴 +4.55 kB 🔴 +1.69 kB 🔴 +1.47 kB
assets/tierBenefits-BixM9VP2.js (new) 4.45 kB 🔴 +4.45 kB 🔴 +1.58 kB 🔴 +1.37 kB
assets/tierBenefits-DfZ4C_PY.js (removed) 4.45 kB 🟢 -4.45 kB 🟢 -1.58 kB 🟢 -1.36 kB
assets/Media3DTop-Ciz_OT5p.js (new) 4.43 kB 🔴 +4.43 kB 🔴 +1.81 kB 🔴 +1.6 kB
assets/Media3DTop-CT0chRzb.js (removed) 4.43 kB 🟢 -4.43 kB 🟢 -1.81 kB 🟢 -1.61 kB
assets/cloudSessionCookie-CvDnv07M.js (removed) 4.39 kB 🟢 -4.39 kB 🟢 -1.61 kB 🟢 -1.4 kB
assets/cloudSessionCookie-Dxvr33TZ.js (new) 4.39 kB 🔴 +4.39 kB 🔴 +1.61 kB 🔴 +1.4 kB
assets/GlobalToast-Cl0yH14q.js (new) 3.05 kB 🔴 +3.05 kB 🔴 +1.26 kB 🔴 +1.08 kB
assets/GlobalToast-DQdAD4cw.js (removed) 3.05 kB 🟢 -3.05 kB 🟢 -1.26 kB 🟢 -1.12 kB
assets/CloudRunButtonWrapper-BPcI1Vx_.js (new) 2.31 kB 🔴 +2.31 kB 🔴 +1.06 kB 🔴 +939 B
assets/CloudRunButtonWrapper-DMPNp0hJ.js (removed) 2.31 kB 🟢 -2.31 kB 🟢 -1.05 kB 🟢 -944 B
assets/SubscribeToRun-BXWTg84w.js (new) 2.13 kB 🔴 +2.13 kB 🔴 +983 B 🔴 +874 B
assets/SubscribeToRun-Du3NDlxz.js (removed) 2.13 kB 🟢 -2.13 kB 🟢 -982 B 🟢 -874 B
assets/MediaAudioTop-BIDR3Wff.js (new) 2.08 kB 🔴 +2.08 kB 🔴 +1 kB 🔴 +859 B
assets/MediaAudioTop-YRN6sxWo.js (removed) 2.08 kB 🟢 -2.08 kB 🟢 -1.01 kB 🟢 -862 B
assets/cloudBadges-Bi-DSXD6.js (removed) 2.04 kB 🟢 -2.04 kB 🟢 -1.01 kB 🟢 -876 B
assets/cloudBadges-fcT24VDO.js (new) 2.04 kB 🔴 +2.04 kB 🔴 +1.01 kB 🔴 +880 B
assets/cloudSubscription-8YoBSykU.js (removed) 1.96 kB 🟢 -1.96 kB 🟢 -929 B 🟢 -811 B
assets/cloudSubscription-BdWOWdR4.js (new) 1.96 kB 🔴 +1.96 kB 🔴 +932 B 🔴 +808 B
assets/graphHasMissingNodes-DIfH8PON.js (removed) 1.84 kB 🟢 -1.84 kB 🟢 -861 B 🟢 -764 B
assets/graphHasMissingNodes-DO8PSPVY.js (new) 1.84 kB 🔴 +1.84 kB 🔴 +863 B 🔴 +763 B
assets/Load3D-b2uLKk6M.js (removed) 1.66 kB 🟢 -1.66 kB 🟢 -739 B 🟢 -660 B
assets/Load3D-DRfAx9yW.js (new) 1.66 kB 🔴 +1.66 kB 🔴 +743 B 🔴 +665 B
assets/nightlyBadges-2QolLUea.js (removed) 1.57 kB 🟢 -1.57 kB 🟢 -779 B 🟢 -692 B
assets/nightlyBadges-9oaliVQ_.js (new) 1.57 kB 🔴 +1.57 kB 🔴 +779 B 🔴 +692 B
assets/Load3dViewerContent-BS333g-9.js (new) 1.54 kB 🔴 +1.54 kB 🔴 +698 B 🔴 +620 B
assets/Load3dViewerContent-DHGnsm-2.js (removed) 1.54 kB 🟢 -1.54 kB 🟢 -695 B 🟢 -620 B
assets/previousFullPath-B3alJmB1.js (removed) 1.53 kB 🟢 -1.53 kB 🟢 -693 B 🟢 -601 B
assets/previousFullPath-Db_d-AjD.js (new) 1.53 kB 🔴 +1.53 kB 🔴 +693 B 🔴 +599 B
assets/SubscriptionPanelContentWorkspace-BLwhHv6j.js (new) 1.43 kB 🔴 +1.43 kB 🔴 +648 B 🔴 +578 B
assets/SubscriptionPanelContentWorkspace-IEFmfMB0.js (removed) 1.43 kB 🟢 -1.43 kB 🟢 -651 B 🟢 -581 B
assets/WidgetLegacy-C1v7mtKa.js (removed) 1.25 kB 🟢 -1.25 kB 🟢 -597 B 🟢 -532 B
assets/WidgetLegacy-D-c3wpD_.js (new) 1.25 kB 🔴 +1.25 kB 🔴 +597 B 🔴 +531 B
assets/changeTracker-BW9OweJk.js (new) 1.23 kB 🔴 +1.23 kB 🔴 +585 B 🔴 +520 B
assets/changeTracker-C0w8oupP.js (removed) 1.23 kB 🟢 -1.23 kB 🟢 -587 B 🟢 -519 B

Status: 57 added / 57 removed / 86 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 0ms TBT · 57.7 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 55.4 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 48.9 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 61.0 MB heap
large-graph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.3 MB heap
large-graph-pan: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.8 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 84.4 MB heap
minimap-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 88.1 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 58.4 MB heap
subgraph-idle: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 67.7 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 52.5 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 144ms TBT · 91.4 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 110.5 MB heap
vue-large-graph-idle: · 56.3 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 164.5 MB heap
vue-large-graph-pan: · 58.1 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 48ms TBT · 155.7 MB heap
workflow-execution: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 48.9 MB heap

No regressions detected.

All metrics
Metric Baseline PR (median) Δ Sig
canvas-idle: avg frame time 17ms 17ms -0% z=-0.5
canvas-idle: p95 frame time 17ms 17ms +1%
canvas-idle: layout duration 0ms 0ms +0%
canvas-idle: style recalc duration 9ms 8ms -11% z=-2.7
canvas-idle: layout count 0 0 +0%
canvas-idle: style recalc count 10 9 -10% z=-3.8
canvas-idle: task duration 428ms 365ms -15% z=-0.9
canvas-idle: script duration 21ms 16ms -22% z=-4.0
canvas-idle: TBT 0ms 0ms +0%
canvas-idle: heap used 66.2 MB 57.7 MB -13%
canvas-idle: DOM nodes -259 18 -107% z=-3.6
canvas-idle: event listeners -129 4 -103% z=-1.6
canvas-mouse-sweep: avg frame time 17ms 17ms -0% z=-0.9
canvas-mouse-sweep: p95 frame time 17ms 17ms -0%
canvas-mouse-sweep: layout duration 3ms 4ms +12% z=0.7
canvas-mouse-sweep: style recalc duration 39ms 40ms +3% z=-1.0
canvas-mouse-sweep: layout count 12 12 +0%
canvas-mouse-sweep: style recalc count 82 77 -6% z=-0.7
canvas-mouse-sweep: task duration 956ms 912ms -5% z=0.8
canvas-mouse-sweep: script duration 120ms 130ms +8% z=-0.8
canvas-mouse-sweep: TBT 0ms 0ms +0%
canvas-mouse-sweep: heap used 66.0 MB 55.4 MB -16%
canvas-mouse-sweep: DOM nodes -262 -260 -1% z=-124.6
canvas-mouse-sweep: event listeners -129 -132 +2% z=-33.7
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 -7% z=-2.1
canvas-zoom-sweep: style recalc duration 15ms 16ms +2% z=-2.4
canvas-zoom-sweep: layout count 6 6 +0%
canvas-zoom-sweep: style recalc count 32 31 -5% z=-1.7
canvas-zoom-sweep: task duration 278ms 294ms +6% z=-1.4
canvas-zoom-sweep: script duration 22ms 21ms -6% z=-2.1
canvas-zoom-sweep: TBT 0ms 0ms +0%
canvas-zoom-sweep: heap used 47.8 MB 48.9 MB +2%
canvas-zoom-sweep: DOM nodes 79 77 -3% z=-3.5
canvas-zoom-sweep: event listeners 21 19 -10% 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 8ms -0% z=-2.1
dom-widget-clipping: layout count 0 0 +0%
dom-widget-clipping: style recalc count 12 12 +0% z=-2.2
dom-widget-clipping: task duration 321ms 349ms +9% z=-1.0
dom-widget-clipping: script duration 63ms 61ms -3% z=-2.1
dom-widget-clipping: TBT 0ms 0ms +0%
dom-widget-clipping: heap used 54.8 MB 61.0 MB +11%
dom-widget-clipping: DOM nodes 20 20 +0% z=-1.5
dom-widget-clipping: event listeners 2 1 -50% variance too high
large-graph-idle: avg frame time 17ms 17ms +0% z=-1.0
large-graph-idle: p95 frame time 17ms 17ms +0%
large-graph-idle: layout duration 0ms 0ms +0%
large-graph-idle: style recalc duration 8ms 10ms +23% z=-2.1
large-graph-idle: layout count 0 0 +0%
large-graph-idle: style recalc count 9 9 -6% z=-9.9
large-graph-idle: task duration 511ms 557ms +9% z=0.3
large-graph-idle: script duration 85ms 91ms +8% z=-1.1
large-graph-idle: TBT 0ms 0ms +0%
large-graph-idle: heap used 58.0 MB 69.3 MB +20%
large-graph-idle: DOM nodes -261 -264 +1% z=-319.4
large-graph-idle: event listeners -129 -144 +12% z=-27.9
large-graph-pan: avg frame time 17ms 17ms +0% z=0.3
large-graph-pan: p95 frame time 17ms 17ms +0%
large-graph-pan: layout duration 0ms 0ms +0%
large-graph-pan: style recalc duration 17ms 19ms +8% z=1.8
large-graph-pan: layout count 0 0 +0%
large-graph-pan: style recalc count 68 70 +2% z=-0.1
large-graph-pan: task duration 1036ms 1138ms +10% z=1.3
large-graph-pan: script duration 388ms 425ms +10% z=0.9
large-graph-pan: TBT 0ms 0ms +0%
large-graph-pan: heap used 62.8 MB 63.8 MB +2%
large-graph-pan: DOM nodes -261 -262 +0% z=-170.3
large-graph-pan: event listeners -129 -129 +0% z=-161.7
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 +6%
large-graph-zoom: style recalc duration 17ms 19ms +11%
large-graph-zoom: layout count 60 60 +0%
large-graph-zoom: style recalc count 66 66 +0%
large-graph-zoom: task duration 1305ms 1356ms +4%
large-graph-zoom: script duration 474ms 497ms +5%
large-graph-zoom: TBT 0ms 0ms +0%
large-graph-zoom: heap used 102.1 MB 84.4 MB -17%
large-graph-zoom: DOM nodes -265 -264 -0%
large-graph-zoom: event listeners -125 -127 +2%
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 10ms +31% z=0.0
minimap-idle: layout count 0 0 +0%
minimap-idle: style recalc count 8 10 +19% z=-0.1
minimap-idle: task duration 513ms 556ms +9% z=0.6
minimap-idle: script duration 86ms 94ms +9% z=-0.4
minimap-idle: TBT 0ms 0ms +0%
minimap-idle: heap used 96.4 MB 88.1 MB -9%
minimap-idle: DOM nodes -258 -122 -53% z=-102.8
minimap-idle: event listeners -129 -79 -39% z=-125.8
subgraph-dom-widget-clipping: avg frame time 17ms 17ms -0% z=-0.4
subgraph-dom-widget-clipping: p95 frame time 17ms 17ms -0%
subgraph-dom-widget-clipping: layout duration 0ms 0ms +0%
subgraph-dom-widget-clipping: style recalc duration 11ms 9ms -11% z=-3.4
subgraph-dom-widget-clipping: layout count 0 0 +0%
subgraph-dom-widget-clipping: style recalc count 47 45 -4% z=-5.0
subgraph-dom-widget-clipping: task duration 346ms 360ms +4% z=-1.0
subgraph-dom-widget-clipping: script duration 121ms 122ms +1% z=-0.9
subgraph-dom-widget-clipping: TBT 0ms 0ms +0%
subgraph-dom-widget-clipping: heap used 56.1 MB 58.4 MB +4%
subgraph-dom-widget-clipping: DOM nodes 20 15 -25% z=-6.4
subgraph-dom-widget-clipping: event listeners 8 7 -13% z=-1.6
subgraph-idle: avg frame time 17ms 17ms -0% z=-0.2
subgraph-idle: p95 frame time 17ms 17ms -1%
subgraph-idle: layout duration 0ms 0ms +0%
subgraph-idle: style recalc duration 8ms 9ms +17% z=-1.8
subgraph-idle: layout count 0 0 +0%
subgraph-idle: style recalc count 9 10 +11% z=-1.4
subgraph-idle: task duration 335ms 377ms +13% z=0.2
subgraph-idle: script duration 12ms 19ms +53% z=-0.6
subgraph-idle: TBT 0ms 0ms +0%
subgraph-idle: heap used 68.1 MB 67.7 MB -1%
subgraph-idle: DOM nodes 18 -120 -767% z=-94.9
subgraph-idle: event listeners 6 -63 -1142% variance too high
subgraph-mouse-sweep: avg frame time 17ms 17ms -0% z=-0.1
subgraph-mouse-sweep: p95 frame time 17ms 17ms +0%
subgraph-mouse-sweep: layout duration 4ms 4ms +5% z=-0.6
subgraph-mouse-sweep: style recalc duration 34ms 42ms +25% z=0.0
subgraph-mouse-sweep: layout count 16 16 +0%
subgraph-mouse-sweep: style recalc count 75 83 +10% z=1.2
subgraph-mouse-sweep: task duration 674ms 842ms +25% z=1.1
subgraph-mouse-sweep: script duration 85ms 99ms +16% z=-0.3
subgraph-mouse-sweep: TBT 0ms 0ms +0%
subgraph-mouse-sweep: heap used 60.8 MB 52.5 MB -14%
subgraph-mouse-sweep: DOM nodes 60 -93 -255% z=-71.6
subgraph-mouse-sweep: event listeners 4 -63 -1663% 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 14ms 13ms -9%
subgraph-transition-enter: style recalc duration 27ms 27ms +2%
subgraph-transition-enter: layout count 4 4 +0%
subgraph-transition-enter: style recalc count 16 16 +0%
subgraph-transition-enter: task duration 846ms 724ms -14%
subgraph-transition-enter: script duration 29ms 27ms -8%
subgraph-transition-enter: TBT 153ms 144ms -6%
subgraph-transition-enter: heap used 111.4 MB 91.4 MB -18%
subgraph-transition-enter: DOM nodes 12627 13513 +7%
subgraph-transition-enter: event listeners 1639 2527 +54%
viewport-pan-sweep: avg frame time 17ms 17ms -0%
viewport-pan-sweep: p95 frame time 17ms 17ms -1%
viewport-pan-sweep: layout duration 0ms 0ms +0%
viewport-pan-sweep: style recalc duration 48ms 51ms +6%
viewport-pan-sweep: layout count 0 0 +0%
viewport-pan-sweep: style recalc count 250 249 -0%
viewport-pan-sweep: task duration 3463ms 4055ms +17%
viewport-pan-sweep: script duration 1214ms 1377ms +13%
viewport-pan-sweep: TBT 0ms 0ms +0%
viewport-pan-sweep: heap used 71.6 MB 110.5 MB +54%
viewport-pan-sweep: DOM nodes -260 -264 +1%
viewport-pan-sweep: event listeners -113 -119 +5%
vue-large-graph-idle: avg frame time 17ms 18ms +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 10851ms 12395ms +14%
vue-large-graph-idle: script duration 543ms 612ms +13%
vue-large-graph-idle: TBT 0ms 0ms +0%
vue-large-graph-idle: heap used 164.5 MB 164.5 MB +0%
vue-large-graph-idle: DOM nodes -8331 -8337 +0%
vue-large-graph-idle: event listeners -16470 -16463 -0%
vue-large-graph-pan: avg frame time 18ms 17ms -3%
vue-large-graph-pan: p95 frame time 17ms 17ms +0%
vue-large-graph-pan: layout duration 0ms 0ms +0%
vue-large-graph-pan: style recalc duration 17ms 19ms +11%
vue-large-graph-pan: layout count 0 0 +0%
vue-large-graph-pan: style recalc count 101 70 -31%
vue-large-graph-pan: task duration 16961ms 14779ms -13%
vue-large-graph-pan: script duration 1012ms 943ms -7%
vue-large-graph-pan: TBT 0ms 48ms
vue-large-graph-pan: heap used 279.4 MB 155.7 MB -44%
vue-large-graph-pan: DOM nodes -8331 -8334 +0%
vue-large-graph-pan: event listeners -16486 -16487 +0%
workflow-execution: avg frame time 17ms 17ms +0% z=0.6
workflow-execution: p95 frame time 17ms 17ms -1%
workflow-execution: layout duration 2ms 2ms -2% z=0.1
workflow-execution: style recalc duration 25ms 22ms -12% z=-1.0
workflow-execution: layout count 6 6 +0% z=1.9
workflow-execution: style recalc count 19 13 -32% z=-2.3
workflow-execution: task duration 130ms 127ms -2% z=0.4
workflow-execution: script duration 30ms 23ms -25% z=-2.2
workflow-execution: TBT 0ms 0ms +0%
workflow-execution: heap used 56.6 MB 48.9 MB -14%
workflow-execution: DOM nodes 159 22 -86% z=-19.6
workflow-execution: event listeners 69 -22 -131% z=-16.8
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-05-16T03:40:56.456Z",
  "gitSha": "d72ff5b4b8f329b85a3823716d94c20b09894977",
  "branch": "glary/posthog-template-change-classification",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2047.111000000001,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 8.193999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 385.54299999999995,
      "heapDeltaBytes": -1437200,
      "heapUsedBytes": 49244640,
      "domNodes": 18,
      "jsHeapTotalBytes": 17301504,
      "scriptDurationMs": 16.906,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-idle",
      "durationMs": 2016.9399999999769,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 8.613000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 344.97200000000004,
      "heapDeltaBytes": 23176816,
      "heapUsedBytes": 71776128,
      "domNodes": 18,
      "jsHeapTotalBytes": 14417920,
      "scriptDurationMs": 15.6,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1819.7789999999827,
      "styleRecalcs": 73,
      "styleRecalcDurationMs": 35.982,
      "layouts": 12,
      "layoutDurationMs": 3.666,
      "taskDurationMs": 787.854,
      "heapDeltaBytes": 13888076,
      "heapUsedBytes": 62972532,
      "domNodes": -263,
      "jsHeapTotalBytes": 22147072,
      "scriptDurationMs": 121.659,
      "eventListeners": -133,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 2050.339000000008,
      "styleRecalcs": 81,
      "styleRecalcDurationMs": 43.117000000000004,
      "layouts": 12,
      "layoutDurationMs": 3.849,
      "taskDurationMs": 1035.339,
      "heapDeltaBytes": 5078984,
      "heapUsedBytes": 53126936,
      "domNodes": -257,
      "jsHeapTotalBytes": 14544896,
      "scriptDurationMs": 138.871,
      "eventListeners": -131,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1718.3239999999955,
      "styleRecalcs": 30,
      "styleRecalcDurationMs": 15.076,
      "layouts": 6,
      "layoutDurationMs": 0.5760000000000001,
      "taskDurationMs": 279.964,
      "heapDeltaBytes": 524628,
      "heapUsedBytes": 48910252,
      "domNodes": 75,
      "jsHeapTotalBytes": 14942208,
      "scriptDurationMs": 16.889,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1723.8570000000095,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 15.976999999999999,
      "layouts": 6,
      "layoutDurationMs": 0.521,
      "taskDurationMs": 307.368,
      "heapDeltaBytes": 1041740,
      "heapUsedBytes": 53744760,
      "domNodes": 78,
      "jsHeapTotalBytes": 25165824,
      "scriptDurationMs": 24.969000000000005,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 561.1769999999865,
      "styleRecalcs": 13,
      "styleRecalcDurationMs": 8.616,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 352.645,
      "heapDeltaBytes": -4222764,
      "heapUsedBytes": 63889508,
      "domNodes": 22,
      "jsHeapTotalBytes": 21233664,
      "scriptDurationMs": 62.223,
      "eventListeners": 2,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.799999999999727
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 555.2559999999858,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 7.802,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 344.668,
      "heapDeltaBytes": 15104744,
      "heapUsedBytes": 64086572,
      "domNodes": 18,
      "jsHeapTotalBytes": 16515072,
      "scriptDurationMs": 59.635000000000005,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.663333333333338,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2027.8559999999857,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 11.927,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 529.696,
      "heapDeltaBytes": 19445292,
      "heapUsedBytes": 77315152,
      "domNodes": -264,
      "jsHeapTotalBytes": 5533696,
      "scriptDurationMs": 83.673,
      "eventListeners": -159,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2021.6819999999984,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 8.213999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 584.986,
      "heapDeltaBytes": 9516484,
      "heapUsedBytes": 68080588,
      "domNodes": -264,
      "jsHeapTotalBytes": 290816,
      "scriptDurationMs": 98.48,
      "eventListeners": -129,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2119.2680000000055,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 17.410999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1127.6029999999998,
      "heapDeltaBytes": 9194840,
      "heapUsedBytes": 68668400,
      "domNodes": -262,
      "jsHeapTotalBytes": 757760,
      "scriptDurationMs": 442.11,
      "eventListeners": -129,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2171.4739999999892,
      "styleRecalcs": 70,
      "styleRecalcDurationMs": 20.044999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1149.066,
      "heapDeltaBytes": -1238796,
      "heapUsedBytes": 65027252,
      "domNodes": -262,
      "jsHeapTotalBytes": 4542464,
      "scriptDurationMs": 408.60600000000005,
      "eventListeners": -129,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3211.8859999999927,
      "styleRecalcs": 67,
      "styleRecalcDurationMs": 20.133,
      "layouts": 60,
      "layoutDurationMs": 7.183999999999999,
      "taskDurationMs": 1352.9300000000003,
      "heapDeltaBytes": 33130612,
      "heapUsedBytes": 100611552,
      "domNodes": -262,
      "jsHeapTotalBytes": 27668480,
      "scriptDurationMs": 481.925,
      "eventListeners": -127,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3166.3030000000276,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 18.307,
      "layouts": 60,
      "layoutDurationMs": 7.459,
      "taskDurationMs": 1360.026,
      "heapDeltaBytes": 14209164,
      "heapUsedBytes": 76296900,
      "domNodes": -266,
      "jsHeapTotalBytes": 4018176,
      "scriptDurationMs": 512.412,
      "eventListeners": -127,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2021.2280000000078,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 9.454999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 533.8119999999999,
      "heapDeltaBytes": 17722948,
      "heapUsedBytes": 76913440,
      "domNodes": -263,
      "jsHeapTotalBytes": 4222976,
      "scriptDurationMs": 87.42999999999999,
      "eventListeners": -161,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2002.1520000000237,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 9.666999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 579.04,
      "heapDeltaBytes": 50747612,
      "heapUsedBytes": 107885636,
      "domNodes": 20,
      "jsHeapTotalBytes": 55107584,
      "scriptDurationMs": 100.187,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 549.6570000000247,
      "styleRecalcs": 44,
      "styleRecalcDurationMs": 8.159,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 346.09399999999994,
      "heapDeltaBytes": 9258184,
      "heapUsedBytes": 57861444,
      "domNodes": 13,
      "jsHeapTotalBytes": 15204352,
      "scriptDurationMs": 121.23900000000002,
      "eventListeners": 8,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 575.6539999999859,
      "styleRecalcs": 46,
      "styleRecalcDurationMs": 10.82,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 373.36499999999995,
      "heapDeltaBytes": 15408720,
      "heapUsedBytes": 64594020,
      "domNodes": 17,
      "jsHeapTotalBytes": 16777216,
      "scriptDurationMs": 123.407,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2029.5969999999954,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 8.785000000000002,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 405.81899999999996,
      "heapDeltaBytes": 19809772,
      "heapUsedBytes": 68594068,
      "domNodes": -260,
      "jsHeapTotalBytes": 17690624,
      "scriptDurationMs": 17.459,
      "eventListeners": -129,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2014.6599999999921,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 9.254999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 348.66,
      "heapDeltaBytes": 23878528,
      "heapUsedBytes": 73301204,
      "domNodes": 20,
      "jsHeapTotalBytes": 14680064,
      "scriptDurationMs": 19.746,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1712.4050000000182,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 37.682,
      "layouts": 16,
      "layoutDurationMs": 4.341,
      "taskDurationMs": 745.4670000000001,
      "heapDeltaBytes": 636700,
      "heapUsedBytes": 50760460,
      "domNodes": -257,
      "jsHeapTotalBytes": 20930560,
      "scriptDurationMs": 95.735,
      "eventListeners": -129,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1990.8790000000067,
      "styleRecalcs": 87,
      "styleRecalcDurationMs": 47.297,
      "layouts": 16,
      "layoutDurationMs": 4.657,
      "taskDurationMs": 938.3290000000001,
      "heapDeltaBytes": -6976548,
      "heapUsedBytes": 59376304,
      "domNodes": 71,
      "jsHeapTotalBytes": 20279296,
      "scriptDurationMs": 101.591,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 932.9500000000053,
      "styleRecalcs": 16,
      "styleRecalcDurationMs": 27.326999999999998,
      "layouts": 4,
      "layoutDurationMs": 12.847999999999999,
      "taskDurationMs": 724.3899999999999,
      "heapDeltaBytes": 30203704,
      "heapUsedBytes": 95802552,
      "domNodes": 13513,
      "jsHeapTotalBytes": 16777216,
      "scriptDurationMs": 26.972999999999995,
      "eventListeners": 2527,
      "totalBlockingTimeMs": 144,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8166.552999999965,
      "styleRecalcs": 249,
      "styleRecalcDurationMs": 49.77400000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 3939.7709999999997,
      "heapDeltaBytes": 24142692,
      "heapUsedBytes": 82996004,
      "domNodes": -263,
      "jsHeapTotalBytes": 7049216,
      "scriptDurationMs": 1457.7099999999998,
      "eventListeners": -113,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333338,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8337.202999999989,
      "styleRecalcs": 249,
      "styleRecalcDurationMs": 51.678000000000004,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4169.896000000001,
      "heapDeltaBytes": 90011788,
      "heapUsedBytes": 148766640,
      "domNodes": -264,
      "jsHeapTotalBytes": 68390912,
      "scriptDurationMs": 1295.915,
      "eventListeners": -125,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 11835.37100000001,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 11823.41,
      "heapDeltaBytes": -39188456,
      "heapUsedBytes": 173222692,
      "domNodes": -8343,
      "jsHeapTotalBytes": 27324416,
      "scriptDurationMs": 568.31,
      "eventListeners": -16464,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.223333333333358,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 13001.764000000037,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 12965.690000000002,
      "heapDeltaBytes": -34825920,
      "heapUsedBytes": 171842716,
      "domNodes": -8331,
      "jsHeapTotalBytes": 23916544,
      "scriptDurationMs": 656.2570000000001,
      "eventListeners": -16461,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 18.330000000000048,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 14539.017999999998,
      "styleRecalcs": 68,
      "styleRecalcDurationMs": 19.071000000000005,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 14510.517999999998,
      "heapDeltaBytes": -36822784,
      "heapUsedBytes": 174427512,
      "domNodes": -8331,
      "jsHeapTotalBytes": -1859584,
      "scriptDurationMs": 889.5470000000001,
      "eventListeners": -16488,
      "totalBlockingTimeMs": 95,
      "frameDurationMs": 17.223333333333237,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 15080.689000000006,
      "styleRecalcs": 72,
      "styleRecalcDurationMs": 19.28100000000005,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 15047.390000000001,
      "heapDeltaBytes": -63504792,
      "heapUsedBytes": 152011100,
      "domNodes": -8337,
      "jsHeapTotalBytes": -1511424,
      "scriptDurationMs": 995.9340000000001,
      "eventListeners": -16486,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.220000000000073,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "workflow-execution",
      "durationMs": 115.56300000000874,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 18.097999999999995,
      "layouts": 7,
      "layoutDurationMs": 1.8079999999999996,
      "taskDurationMs": 93.10499999999999,
      "heapDeltaBytes": 3594940,
      "heapUsedBytes": 53388900,
      "domNodes": 174,
      "jsHeapTotalBytes": 0,
      "scriptDurationMs": 18.596,
      "eventListeners": 21,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.700000000000273
    },
    {
      "name": "workflow-execution",
      "durationMs": 501.38800000001993,
      "styleRecalcs": 14,
      "styleRecalcDurationMs": 25.843999999999998,
      "layouts": 5,
      "layoutDurationMs": 1.323,
      "taskDurationMs": 161.46500000000003,
      "heapDeltaBytes": -1224596,
      "heapUsedBytes": 49073876,
      "domNodes": -131,
      "jsHeapTotalBytes": -135168,
      "scriptDurationMs": 26.715000000000003,
      "eventListeners": -64,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000273
    }
  ]
}

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
src/platform/telemetry/utils/templateBaselineStore.test.ts (1)

22-64: ⚡ Quick win

Add cap/eviction tests for the 32-baseline limit.

The suite doesn’t cover the MAX_BASELINES eviction branch, so regressions in bounded-store behavior can slip through.

As per coding guidelines, "Write tests for all changes, especially bug fixes to catch future regressions."

🤖 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/telemetry/utils/templateBaselineStore.test.ts` around lines 22 -
64, Add tests exercising the MAX_BASELINES eviction logic: use
clearTemplateBaselines(), then repeatedly call setTemplateBaseline(name,
makeWorkflow(i)) for i from 1 to MAX_BASELINES+1 (or 33) to confirm the store
caps entries at MAX_BASELINES and evicts the oldest entry; assert
getTemplateBaseline for the first inserted name is undefined and for the last
MAX_BASELINES names returns the expected workflows (check
nodes[0].widgets_values to match the inserted index). Also add a test verifying
that reinserting an existing name moves/updates it correctly if the store uses
LRU eviction (setTemplateBaseline on an existing key then add entries to force
eviction and assert the reinserted key is retained). Ensure tests import/ use
MAX_BASELINES, setTemplateBaseline, getTemplateBaseline, clearTemplateBaselines,
and makeWorkflow to build expectations.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/platform/telemetry/utils/templateBaselineStore.ts`:
- Around line 28-32: getTemplateBaseline currently returns the internal object
reference from baselineByWorkflowName, allowing callers to mutate the stored
baseline; change getTemplateBaseline to return a defensive clone (e.g., use
structuredClone(baseline) or a deep clone utility like
cloneDeep/JSON.parse(JSON.stringify(baseline)) as a fallback) before returning
so callers cannot mutate the internal ComfyWorkflowJSON; keep the function name
getTemplateBaseline and the baselineByWorkflowName lookup, but wrap the
retrieved value in the clone operation and return undefined if no entry exists.

---

Nitpick comments:
In `@src/platform/telemetry/utils/templateBaselineStore.test.ts`:
- Around line 22-64: Add tests exercising the MAX_BASELINES eviction logic: use
clearTemplateBaselines(), then repeatedly call setTemplateBaseline(name,
makeWorkflow(i)) for i from 1 to MAX_BASELINES+1 (or 33) to confirm the store
caps entries at MAX_BASELINES and evicts the oldest entry; assert
getTemplateBaseline for the first inserted name is undefined and for the last
MAX_BASELINES names returns the expected workflows (check
nodes[0].widgets_values to match the inserted index). Also add a test verifying
that reinserting an existing name moves/updates it correctly if the store uses
LRU eviction (setTemplateBaseline on an existing key then add entries to force
eviction and assert the reinserted key is retained). Ensure tests import/ use
MAX_BASELINES, setTemplateBaseline, getTemplateBaseline, clearTemplateBaselines,
and makeWorkflow to build expectations.
🪄 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: CHILL

Plan: Pro

Run ID: c076efcb-258f-458a-a4f7-16e802862daa

📥 Commits

Reviewing files that changed from the base of the PR and between 7160a9e and c061187.

📒 Files selected for processing (8)
  • src/platform/telemetry/types.ts
  • src/platform/telemetry/utils/classifyTemplateChange.test.ts
  • src/platform/telemetry/utils/classifyTemplateChange.ts
  • src/platform/telemetry/utils/getExecutionContext.test.ts
  • src/platform/telemetry/utils/getExecutionContext.ts
  • src/platform/telemetry/utils/templateBaselineStore.test.ts
  • src/platform/telemetry/utils/templateBaselineStore.ts
  • src/platform/workflow/templates/composables/useTemplateWorkflows.ts

Comment thread src/platform/telemetry/utils/templateBaselineStore.ts
@codecov
Copy link
Copy Markdown

codecov Bot commented May 16, 2026

Codecov Report

❌ Patch coverage is 95.32710% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...platform/telemetry/utils/classifyTemplateChange.ts 94.44% 4 Missing ⚠️
...rc/platform/telemetry/utils/getExecutionContext.ts 93.33% 1 Missing ⚠️
@@             Coverage Diff             @@
##             main   #12309       +/-   ##
===========================================
- Coverage   73.79%   59.61%   -14.19%     
===========================================
  Files        1521     1414      -107     
  Lines       86757    71985    -14772     
  Branches    23948    19990     -3958     
===========================================
- Hits        64023    42913    -21110     
- Misses      21905    28599     +6694     
+ Partials      829      473      -356     
Flag Coverage Δ
e2e ?
unit 59.61% <95.32%> (+0.09%) ⬆️

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

Files with missing lines Coverage Δ
src/platform/telemetry/types.ts 100.00% <ø> (ø)
.../platform/telemetry/utils/templateBaselineStore.ts 100.00% <100.00%> (ø)
...flow/templates/composables/useTemplateWorkflows.ts 91.54% <100.00%> (ø)
...rc/platform/telemetry/utils/getExecutionContext.ts 98.30% <93.33%> (-1.70%) ⬇️
...platform/telemetry/utils/classifyTemplateChange.ts 94.44% <94.44%> (ø)

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

- classifier now normalizes both v0.4 tuple and v1 object link shapes
- subgraph definition diffs are treated as structural (conservative)
- baseline is captured after loadGraphData() so it matches the normalized
  state the user actually starts editing from
- getTemplateBaseline returns a defensive deep clone
- baseline store switched to LRU semantics (re-set refreshes recency)
- added v1-link, subgraph-definition, and MAX_BASELINES eviction tests
- mocked workflowStore + baselineStore in useTemplateWorkflows.test.ts
@glary-bot
Copy link
Copy Markdown

glary-bot Bot commented May 16, 2026

Addressed the review feedback in 0647d7e — and a self-review by Oracle surfaced three further issues that I fixed in the same commit:

CodeRabbit feedback

  1. Defensive clone on getTemplateBaseline — fixed; replied inline. Returns a deep clone so callers cannot mutate the store.
  2. Add MAX_BASELINES eviction tests — added three new tests in templateBaselineStore.test.ts:
    • evicts the oldest baseline when MAX_BASELINES is exceeded
    • refreshes recency when re-setting an existing key
    • returns a defensive clone so callers cannot mutate the stored baseline
    • Also switched setTemplateBaseline to true LRU semantics (re-setting an existing key bumps it to the end), since the previous insertion-order behavior would evict frequently-reloaded templates incorrectly.

Oracle self-review (3 additional findings, all fixed)

  1. v1 object-shaped links would throw in linksDiffer. The classifier assumed legacy v0.4 tuple links ([id, src, srcSlot, dst, dstSlot, dataType]) but ComfyWorkflowJSON also supports v1 object links ({id, origin_id, origin_slot, target_id, target_slot, type}). The try/catch in getExecutionContext would have silently dropped template_change_type for every v1 workflow. Fixed by adding a normalizeLink helper that handles both shapes, plus two new regression tests:

    • handles v1 object-shaped links without throwing
    • detects link removal across the v1 object shape as structural
  2. Edits inside subgraph definitions were ignored. The classifier only walked root workflow.nodes / workflow.links, so a template with subgraphs could be modified internally and still be classified unchanged. Conservatively fixed by treating any diff in definitions (i.e. definitions.subgraphs) as structural. Recursing into subgraph definitions to detect seed/prompt-only edits within them would be valuable but is significantly more complex and can be a follow-up — the conservative classification at least never misreports a structural change as unchanged. Added a regression test (classifies edits inside subgraph definitions as structural).

  3. Baseline was captured before loadGraphData() succeeded. This had two issues:

    • On load failure, a stale baseline was left in the store for the failed template.
    • loadGraphData runs validation / migration / normalization (reroute migration, schema fix-ups, etc.). Capturing the baseline from the raw fetched JSON meant the first untouched run could appear structural simply because the loader normalized the workflow.
    • Fixed by moving the setTemplateBaseline call after await app.loadGraphData(...), sourcing the baseline from useWorkflowStore().activeWorkflow?.changeTracker?.activeState (which is the post-normalization snapshot the user actually starts editing). Falls back to the original json if for any reason the change tracker isn't ready.

Verification

  • pnpm typecheck
  • pnpm lint ✅ (0 errors on changed files; pre-existing warnings in useLoad3d.test.ts / useWorkspaceBilling.test.ts are unrelated)
  • pnpm vitest run src/platform/telemetry/ src/platform/workflow/templates/ ✅ 208 tests pass (up from 202)

Net change: +6 new tests (3 classifier, 3 baseline store), +1 test mock for workflowStore / setTemplateBaseline in useTemplateWorkflows.test.ts.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
src/platform/workflow/templates/composables/useTemplateWorkflows.test.ts (1)

52-60: ⚡ Quick win

Assert baseline-capture behavior in template-load tests.

You added a setTemplateBaseline mock but no test currently verifies it was called with the expected baseline, so this new behavior can regress silently.

Suggested minimal test assertion update
+import { setTemplateBaseline } from '`@/platform/telemetry/utils/templateBaselineStore`'
...
  it('should load a template from a regular category', async () => {
    const { loadWorkflowTemplate } = useTemplateWorkflows()
    mockWorkflowTemplatesStore.isLoaded = true

    const result = await loadWorkflowTemplate('template1', 'default')
    await flushPromises()

    expect(result).toBe(true)
    expect(fetch).toHaveBeenCalledWith('mock-file-url/templates/template1.json')
+   expect(vi.mocked(setTemplateBaseline)).toHaveBeenCalledWith('template1', {
+     nodes: [],
+     links: []
+   })
  })

Also add one case where activeWorkflow?.changeTracker?.activeState is unavailable to verify fallback to fetched json.

As per coding guidelines: "Write tests for all changes, especially bug fixes to catch future regressions" and "Do not write tests that just test the mocks; ensure tests fail when code behaves unexpectedly."

🤖 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/workflow/templates/composables/useTemplateWorkflows.test.ts`
around lines 52 - 60, Add assertions to the template-load tests to verify the
baseline-capture behavior by asserting that the mocked setTemplateBaseline is
called with the expected baseline: when
useWorkflowStore().activeWorkflow.changeTracker.activeState exists ensure
setTemplateBaseline receives that activeState (nodes/links), and add a separate
test case where activeWorkflow?.changeTracker?.activeState is undefined to
assert the code falls back to the fetched JSON and calls setTemplateBaseline
with the fetched json baseline; reference the mocked setTemplateBaseline and
useWorkflowStore symbols to locate where to add these assertions and create the
missing fallback test.
🤖 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.

Nitpick comments:
In `@src/platform/workflow/templates/composables/useTemplateWorkflows.test.ts`:
- Around line 52-60: Add assertions to the template-load tests to verify the
baseline-capture behavior by asserting that the mocked setTemplateBaseline is
called with the expected baseline: when
useWorkflowStore().activeWorkflow.changeTracker.activeState exists ensure
setTemplateBaseline receives that activeState (nodes/links), and add a separate
test case where activeWorkflow?.changeTracker?.activeState is undefined to
assert the code falls back to the fetched JSON and calls setTemplateBaseline
with the fetched json baseline; reference the mocked setTemplateBaseline and
useWorkflowStore symbols to locate where to add these assertions and create the
missing fallback test.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: d1a8c234-cda8-4a59-bce0-703e57ca8b3b

📥 Commits

Reviewing files that changed from the base of the PR and between c061187 and 0647d7e.

📒 Files selected for processing (6)
  • src/platform/telemetry/utils/classifyTemplateChange.test.ts
  • src/platform/telemetry/utils/classifyTemplateChange.ts
  • src/platform/telemetry/utils/templateBaselineStore.test.ts
  • src/platform/telemetry/utils/templateBaselineStore.ts
  • src/platform/workflow/templates/composables/useTemplateWorkflows.test.ts
  • src/platform/workflow/templates/composables/useTemplateWorkflows.ts
🚧 Files skipped from review as they are similar to previous changes (2)
  • src/platform/telemetry/utils/templateBaselineStore.ts
  • src/platform/telemetry/utils/classifyTemplateChange.ts

coderabbitai[bot]
coderabbitai Bot previously approved these changes May 16, 2026
…-json fallback

Per CodeRabbit feedback: previously the test added a setTemplateBaseline
mock but did not assert it was called with the expected baseline, so the
new baseline-capture behavior could regress silently.

- assert active-state baseline path uses changeTracker.activeState
- assert fallback path uses the fetched JSON when no active state exists
- restructure workflowStore mock to use vi.hoisted so activeWorkflow can
  be swapped per-test
@glary-bot
Copy link
Copy Markdown

glary-bot Bot commented May 16, 2026

Addressed the CodeRabbit follow-up nitpick in d299033:

"Assert baseline-capture behavior in template-load tests."

The previous commit added a setTemplateBaseline mock but no assertion on it, so the new baseline-capture behavior could regress silently. Also the ?? json fallback (when activeWorkflow?.changeTracker?.activeState is unavailable) was untested.

Fixed:

  • Restructured workflowStore mock to use vi.hoisted so activeWorkflow can be swapped per-test
  • New test captures the normalized active state as the template baseline — verifies setTemplateBaseline receives changeTracker.activeState
  • New test falls back to fetched JSON when no active state is available — sets mockActiveWorkflow = undefined and asserts setTemplateBaseline receives the raw fetched JSON ({ workflow: 'data' })
  • Cleared the setTemplateBaseline mock in beforeEach so per-test assertions are isolated

Test count for this file went 10 → 12. Full suite still green:

  • pnpm vitest run src/platform/workflow/templates/composables/useTemplateWorkflows.test.ts → 12 passing
  • pnpm typecheck ✅, pnpm lint ✅ (pre-commit hooks confirmed clean on this file)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants