Skip to content

test(graph): cover the first-run tour's activation seam - #14674

Merged
christian-byrne merged 3 commits into
mainfrom
fix/14625-graphcanvas-firstrun-wiring
Aug 5, 2026
Merged

christian-byrne merged 3 commits into
mainfrom
fix/14625-graphcanvas-firstrun-wiring

Conversation

@christian-byrne

@christian-byrne christian-byrne commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Partially addresses #14625

The gap

GraphCanvas.vue is the only place the first-run tour is connected to startup. Its onMounted makes two calls:

startupOutcome = await workflowPersistence.initializeWorkflow()
await workflowPersistence.restoreWorkflowTabsState()
urlTemplateId = await workflowPersistence.loadTemplateFromUrlIfPresent()
await useFirstRunEntry().handleStartupOutcome(startupOutcome)   // :569
...
await useFirstRunEntry().handleUrlWorkflow(                     // :595
  startupOutcome, urlTemplateId, sharedStatus
)

There was no GraphCanvas test file. Deleting either call left the entire suite green. useFirstRunEntry and useFirstRunTourController are both well covered on their own — what was untested was the line joining them, so the whole feature could be disconnected in a refactor and CI would not notice.

Nothing user-visible is broken today. This closes a hole that would let it break silently: no Getting Started screen and no template-browser fallback for new users (first call), or a template/share link that silently never offers the tour (second call).

What the test does

src/components/graph/GraphCanvas.firstRunEntry.test.ts mounts the real component and asserts both hand-offs happen with the values startup produced:

  • handleStartupOutcome receives the outcome from initializeWorkflow().
  • handleUrlWorkflow receives that outcome, the template id from loadTemplateFromUrlIfPresent(), and the status from loadSharedWorkflowFromUrlIfPresent().

Asserting the arguments, not just the calls, also pins the data flow — swapping the template id and the shared status, or passing a re-read outcome, fails.

On mounting a 630-line component

I looked at cheaper options first and rejected them. A source-text or AST assertion over GraphCanvas.vue would go red on the mutation, but it would also pass if the calls were in dead code, and it gates the spelling of the call rather than the behaviour. Mounting turned out to be practical, so that is what this does.

The cost is a block of vi.mock calls, which is why it is a separate file rather than a general GraphCanvas.test.ts: children are stubbed via shallow, the startup dependencies (@/scripts/app, useWorkflowPersistenceV2, ChangeTracker, useNewUserService, the canvas/lifecycle composables) are faked, and the two readiness gates the sequence waits on — settingStore.isReady and bootstrapStore.isI18nReady — are set before mounting. The mocks are startup infrastructure only; the component's own onMounted runs for real. Two notes for future readers:

  • @/stores/workspaceStore is mocked because instantiating the real one reaches the Firebase auth store.
  • shallow is forwarded verbatim to Vue Test Utils' mount, which honours it; @testing-library/vue just omits it from its own option type, hence the cast.

Runtime is ~30 ms of test time (the rest is module import).

Verified

  • pnpm install --frozen-lockfile, pnpm format:check, pnpm lint, pnpm typecheck — all clean.
  • pnpm test:unit src/components/graph/GraphCanvas.firstRunEntry.test.ts — 2 passed.
  • Full pnpm test:unit — 14955 passed, 8 skipped, 1 failed: onboardingCloudRoutes.test.ts > lazily resolves the /oauth layout and consent view components times out at 5 s. Confirmed flaky and unrelated: it fails the same way when run alone on a sibling worktree that does not contain this file, and it passed in a subsequent full run (1095/1095 files). It is a lazy dynamic-import timing flake in this environment, not something this PR touches.

Mutation results

Each call was deleted in turn, the suite run, then restored:

Mutation Result
remove await useFirstRunEntry().handleStartupOutcome(startupOutcome) hands the startup outcome to the first-run entry point fails (1 failed, 1 passed)
remove await useFirstRunEntry().handleUrlWorkflow(...) offers the tour over a workflow that arrived from the URL fails (1 failed, 1 passed)
both restored 2 passed; git diff on GraphCanvas.vue empty

Each mutation fails only its own test, so neither assertion is carrying the other.

Not covered

  • No production code changed; this PR is test-only.
  • The issue lists two further surviving mutations that this PR does not close: hasPromptError in useFirstRunTourController (only the negative case is asserted) and the nudge's show('first_run_nudge') telemetry source. Both are single assertions in existing files and are worth a small follow-up; flagging them since this PR closes the issue that tracks them.
  • handleUrlWorkflow is asserted with a template-id boot. The share-link path (sharedStatus === 'loaded') is covered by firstRunEntry.test.ts, not here.

⚠️ Do not let this auto-close #14625. The issue lists three surviving mutations and this PR closes only the first — the activation seam. Two remain, both single assertions:

  • hasPromptError is asserted only in the negative, so the test passes precisely when the term does nothing. Remove the term and the suite stays green, yet a prompt-level validation refusal then leaves the Result step spinning — the defect that term exists to prevent.
  • show('first_run_nudge') → show('command') stays green, so the telemetry source can silently regress back to filing every nudge conversion under the command palette.

Reworded the close reference to Partially addresses so the issue survives this merge.

`GraphCanvas.vue` is the only place the first-run tour is connected to
startup, through two calls in `onMounted`:
`useFirstRunEntry().handleStartupOutcome(startupOutcome)` and
`handleUrlWorkflow(startupOutcome, urlTemplateId, sharedStatus)`.

There was no `GraphCanvas` test file, so deleting either call left the
whole suite green — the feature could be disconnected in a refactor and
CI would not notice. Both composables are well covered on their own; the
line joining them was not.

Mounts the component with its children stubbed and the startup
dependencies faked, and asserts both hand-offs happen with the values
startup produced. Verified by mutation: removing either call turns the
matching test red.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@christian-byrne
christian-byrne requested a review from a team August 4, 2026 05:32
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 4, 2026
@dosubot

dosubot Bot commented Aug 4, 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-09-01. To have Dosu review this PR before then, ask your organization admin to upgrade to a pro account.


Leave Feedback Ask Dosu about ComfyUI_frontend Add Dosu to your team

@coderabbitai

coderabbitai Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 46 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 20c7f4a1-02a9-4b45-8e49-3beceffce89c

📥 Commits

Reviewing files that changed from the base of the PR and between f2d5475 and 580d7e7.

📒 Files selected for processing (1)
  • src/components/graph/GraphCanvas.firstRunEntry.test.ts
📝 Walkthrough

Walkthrough

Added a focused GraphCanvas integration test suite. The tests isolate startup dependencies, mount the component after enabling readiness gates, and verify forwarding to handleStartupOutcome and handleUrlWorkflow.

Changes

GraphCanvas startup integration

Layer / File(s) Summary
Startup handoff test coverage
src/components/graph/GraphCanvas.firstRunEntry.test.ts
Mocks startup dependencies, provides a mounting helper for asynchronous initialization, and verifies startup outcomes and URL-loaded workflows reach the expected first-run entry points.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested labels: cloud/1.49


Important

Pre-merge checks failed

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

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
End-To-End Regression Coverage For Fixes ❓ Inconclusive The changed file is available, but the PR title and literal commit subjects are unavailable, so the required bug-fix signal cannot be verified. Provide the PR title and all commit subjects to determine whether the bug-fix condition applies.
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the focused test coverage added for the first-run tour activation seam.
Description check ✅ Passed The description clearly explains the change, scope, verification, mutation results, and remaining issue gaps.
Linked Issues check ✅ Passed The PR closes the activation-seam gap in issue #14625 and explicitly leaves the two unrelated mutation gaps for follow-up.
Out of Scope Changes check ✅ Passed The PR contains only the focused GraphCanvas test and related test setup, which matches the linked issue objective.
Adr Compliance For Entity/Litegraph Changes ✅ Passed The PR changes only src/components/graph/GraphCanvas.firstRunEntry.test.ts and does not modify litegraph, ECS, or graph-entity files.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/14625-graphcanvas-firstrun-wiring

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

@github-actions

github-actions Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright: ✅ 1784 passed, 0 failed · 3 flaky

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

🎨 Storybook: ✅ Built — View Storybook

Details

⏰ Completed at: 08/04/2026, 06:42:48 AM UTC

Links

📦 Bundle: 8.24 MB gzip ⚪ 0 B

Details

Summary

  • Raw size: 34.6 MB baseline 34.6 MB — ⚪ 0 B
  • Gzip: 8.24 MB baseline 8.24 MB — ⚪ 0 B
  • Brotli: 5.71 MB baseline 5.71 MB — ⚪ 0 B
  • Bundles: 427 current • 427 baseline

Category Glance
Vendor & Third-Party ⚪ 0 B (15.7 MB) · Other ⚪ 0 B (12.8 MB) · Data & Services ⚪ 0 B (3.47 MB) · Graph Workspace ⚪ 0 B (1.35 MB) · Panels & Settings ⚪ 0 B (551 kB) · Utilities & Hooks ⚪ 0 B (386 kB) · + 5 more

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

Main entry bundles and manifests

Status: 1 unchanged

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

Graph editor runtime, canvas, workflow orchestration

Status: 2 unchanged

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

Top-level views, pages, and routed surfaces

Status: 16 unchanged

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

Configuration panels, inspectors, and settings screens

Status: 26 unchanged

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

Authentication, profile, and account management bundles

Status: 10 unchanged

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

Modals, dialogs, drawers, and in-app editors

Status: 7 unchanged

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

Reusable component library chunks

Status: 15 unchanged

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

Stores, services, APIs, and repositories

Status: 17 unchanged

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

Helpers, composables, and utility bundles

Status: 36 unchanged

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

External libraries and shared vendor chunks

Status: 16 unchanged

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

Bundles that do not match a named category

Status: 281 unchanged

⚡ Performance Report

canvas-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 66.4 MB heap
canvas-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 46.9 MB heap
canvas-zoom-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 69.2 MB heap
dom-widget-clipping: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 50.6 MB heap
large-graph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 62.8 MB heap
large-graph-pan: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 61.4 MB heap
large-graph-zoom: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 56.3 MB heap
minimap-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 64.4 MB heap
subgraph-dom-widget-clipping: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 51.3 MB heap
subgraph-idle: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 55.7 MB heap
subgraph-mouse-sweep: · 60.0 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 57.7 MB heap
subgraph-transition-enter: · 60.0 avg FPS · 59.5 P5 FPS ✅ (target: ≥52) · 125ms TBT · 94.7 MB heap
viewport-pan-sweep: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 66.2 MB heap
vue-large-graph-idle: · 55.4 avg FPS · 59.9 P5 FPS ✅ (target: ≥52) · 0ms TBT · 159.7 MB heap
vue-large-graph-pan: · 56.3 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 807ms TBT · 163.8 MB heap
workflow-execution: · 60.0 avg FPS · 59.7 P5 FPS ✅ (target: ≥52) · 0ms TBT · 63.4 MB heap

⚠️ 8 regressions detected

Show regressions
Metric Baseline PR (median) Δ Sig
canvas-idle: task duration 472ms 500ms +6% ⚠️ z=3.4
canvas-mouse-sweep: layout duration 4ms 5ms +30% ⚠️ z=6.9
canvas-mouse-sweep: task duration 935ms 998ms +7% ⚠️ z=2.3
canvas-zoom-sweep: task duration 377ms 390ms +3% ⚠️ z=2.7
large-graph-idle: task duration 659ms 676ms +2% ⚠️ z=2.5
large-graph-pan: task duration 1269ms 1320ms +4% ⚠️ z=5.5
minimap-idle: task duration 660ms 676ms +2% ⚠️ z=3.1
subgraph-idle: task duration 451ms 482ms +7% ⚠️ z=3.6
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 8ms 7ms -7% z=-3.8
canvas-idle: layout count 0 0 +0% —
canvas-idle: style recalc count 9 9 +0% z=-3.8
canvas-idle: task duration 472ms 500ms +6% ⚠️ z=3.4
canvas-idle: script duration 17ms 17ms +3% z=-3.6
canvas-idle: TBT 0ms 0ms +0% —
canvas-idle: heap used 66.1 MB 66.4 MB +0% —
canvas-idle: DOM nodes 18 18 +0% z=-3.6
canvas-idle: event listeners 4 4 +0% z=-1.6
canvas-mouse-sweep: avg frame time 17ms 17ms +0% z=-0.9
canvas-mouse-sweep: p95 frame time 17ms 17ms -1% —
canvas-mouse-sweep: layout duration 4ms 5ms +30% ⚠️ z=6.9
canvas-mouse-sweep: style recalc duration 44ms 44ms -0% z=0.4
canvas-mouse-sweep: layout count 12 12 +0% —
canvas-mouse-sweep: style recalc count 75 78 +3% z=-0.5
canvas-mouse-sweep: task duration 935ms 998ms +7% ⚠️ z=2.3
canvas-mouse-sweep: script duration 129ms 136ms +5% z=0.1
canvas-mouse-sweep: TBT 0ms 0ms +0% —
canvas-mouse-sweep: heap used 48.2 MB 46.9 MB -3% —
canvas-mouse-sweep: DOM nodes -281 -128 -55% z=-73.4
canvas-mouse-sweep: event listeners -153 -152 -1% z=-38.5
canvas-zoom-sweep: avg frame time 17ms 17ms +0% z=0.5
canvas-zoom-sweep: p95 frame time 17ms 17ms +0% —
canvas-zoom-sweep: layout duration 1ms 1ms -2% z=0.6
canvas-zoom-sweep: style recalc duration 17ms 17ms -3% z=-1.5
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 377ms 390ms +3% ⚠️ z=2.7
canvas-zoom-sweep: script duration 19ms 20ms +6% z=-2.5
canvas-zoom-sweep: TBT 0ms 0ms +0% —
canvas-zoom-sweep: heap used 69.2 MB 69.2 MB +0% —
canvas-zoom-sweep: DOM nodes 78 77 -1% z=-2.8
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 -1% —
dom-widget-clipping: layout duration 0ms 0ms +0% —
dom-widget-clipping: style recalc duration 8ms 7ms -2% z=-3.1
dom-widget-clipping: layout count 0 0 +0% —
dom-widget-clipping: style recalc count 11 11 -5% z=-5.2
dom-widget-clipping: task duration 378ms 392ms +4% z=1.6
dom-widget-clipping: script duration 60ms 60ms +1% z=-2.3
dom-widget-clipping: TBT 0ms 0ms +0% —
dom-widget-clipping: heap used 50.6 MB 50.6 MB -0% —
dom-widget-clipping: DOM nodes 18 17 -6% z=-3.6
dom-widget-clipping: event listeners 0 0 +0% variance too high
large-graph-idle: avg frame time 17ms 17ms +0% z=0.2
large-graph-idle: p95 frame time 17ms 17ms -0% —
large-graph-idle: layout duration 0ms 0ms +0% —
large-graph-idle: style recalc duration 8ms 8ms -5% z=-4.1
large-graph-idle: layout count 0 0 +0% —
large-graph-idle: style recalc count 9 9 +0% z=-8.3
large-graph-idle: task duration 659ms 676ms +2% ⚠️ z=2.5
large-graph-idle: script duration 101ms 97ms -4% z=-0.5
large-graph-idle: TBT 0ms 0ms +0% —
large-graph-idle: heap used 63.4 MB 62.8 MB -1% —
large-graph-idle: DOM nodes -281 -281 -0% z=-337.7
large-graph-idle: event listeners -147 -163 +11% z=-31.0
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 13ms 15ms +15% z=-2.4
large-graph-pan: layout count 0 0 +0% —
large-graph-pan: style recalc count 68 69 +1% z=-0.9
large-graph-pan: task duration 1269ms 1320ms +4% ⚠️ z=5.5
large-graph-pan: script duration 433ms 444ms +3% z=1.8
large-graph-pan: TBT 0ms 0ms +0% —
large-graph-pan: heap used 61.9 MB 61.4 MB -1% —
large-graph-pan: DOM nodes -285 -282 -1% z=-182.4
large-graph-pan: event listeners -149 -148 -1% z=-184.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 8ms +18% —
large-graph-zoom: style recalc duration 15ms 16ms +11% —
large-graph-zoom: layout count 60 60 +0% —
large-graph-zoom: style recalc count 65 65 +0% —
large-graph-zoom: task duration 1497ms 1538ms +3% —
large-graph-zoom: script duration 523ms 532ms +2% —
large-graph-zoom: TBT 0ms 0ms +0% —
large-graph-zoom: heap used 57.0 MB 56.3 MB -1% —
large-graph-zoom: DOM nodes -287 -289 +1% —
large-graph-zoom: event listeners -153 -153 +0% —
minimap-idle: avg frame time 17ms 17ms +0% z=0.1
minimap-idle: p95 frame time 17ms 17ms +0% —
minimap-idle: layout duration 0ms 0ms +0% —
minimap-idle: style recalc duration 7ms 6ms -17% z=-4.4
minimap-idle: layout count 0 0 +0% —
minimap-idle: style recalc count 8 8 -6% z=-3.0
minimap-idle: task duration 660ms 676ms +2% ⚠️ z=3.1
minimap-idle: script duration 100ms 97ms -3% z=-0.1
minimap-idle: TBT 0ms 0ms +0% —
minimap-idle: heap used 63.5 MB 64.4 MB +1% —
minimap-idle: DOM nodes -282 -285 +1% z=-222.4
minimap-idle: event listeners -149 -148 -1% z=-231.1
subgraph-dom-widget-clipping: avg frame time 17ms 17ms -0% z=-0.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 10ms 10ms +1% z=-2.4
subgraph-dom-widget-clipping: layout count 0 0 +0% —
subgraph-dom-widget-clipping: style recalc count 47 47 +0% z=-1.6
subgraph-dom-widget-clipping: task duration 395ms 407ms +3% z=1.5
subgraph-dom-widget-clipping: script duration 120ms 123ms +3% z=-0.7
subgraph-dom-widget-clipping: TBT 0ms 0ms +0% —
subgraph-dom-widget-clipping: heap used 51.1 MB 51.3 MB +0% —
subgraph-dom-widget-clipping: DOM nodes 20 20 +0% z=-1.9
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 +2% z=-2.6
subgraph-idle: layout count 0 0 +0% —
subgraph-idle: style recalc count 10 11 +5% z=-0.6
subgraph-idle: task duration 451ms 482ms +7% ⚠️ z=3.6
subgraph-idle: script duration 14ms 13ms -1% z=-2.5
subgraph-idle: TBT 0ms 0ms +0% —
subgraph-idle: heap used 66.0 MB 55.7 MB -16% —
subgraph-idle: DOM nodes 20 -128 -740% z=-100.2
subgraph-idle: event listeners 4 -75 -1963% variance too high
subgraph-mouse-sweep: avg frame time 17ms 17ms -0% z=-0.5
subgraph-mouse-sweep: p95 frame time 17ms 17ms +0% —
subgraph-mouse-sweep: layout duration 4ms 5ms +14% z=-0.4
subgraph-mouse-sweep: style recalc duration 35ms 37ms +6% z=-1.5
subgraph-mouse-sweep: layout count 16 16 +0% —
subgraph-mouse-sweep: style recalc count 76 77 +1% z=-1.6
subgraph-mouse-sweep: task duration 750ms 789ms +5% z=0.3
subgraph-mouse-sweep: script duration 91ms 93ms +3% z=-1.1
subgraph-mouse-sweep: TBT 0ms 0ms +0% —
subgraph-mouse-sweep: heap used 57.3 MB 57.7 MB +1% —
subgraph-mouse-sweep: DOM nodes 62 64 +2% z=-1.5
subgraph-mouse-sweep: event listeners 4 4 +0% variance too high
subgraph-transition-enter: avg frame time 17ms 17ms +0% —
subgraph-transition-enter: p95 frame time 17ms 17ms +1% —
subgraph-transition-enter: layout duration 13ms 12ms -7% —
subgraph-transition-enter: style recalc duration 30ms 30ms -1% —
subgraph-transition-enter: layout count 14 14 +0% —
subgraph-transition-enter: style recalc count 18 18 +0% —
subgraph-transition-enter: task duration 905ms 931ms +3% —
subgraph-transition-enter: script duration 33ms 34ms +2% —
subgraph-transition-enter: TBT 134ms 125ms -7% —
subgraph-transition-enter: heap used 93.2 MB 94.7 MB +2% —
subgraph-transition-enter: DOM nodes 13673 13673 +0% —
subgraph-transition-enter: event listeners 2375 2375 +0% —
viewport-pan-sweep: avg frame time 17ms 17ms +0% —
viewport-pan-sweep: p95 frame time 17ms 17ms -0% —
viewport-pan-sweep: layout duration 0ms 0ms +0% —
viewport-pan-sweep: style recalc duration 37ms 43ms +17% —
viewport-pan-sweep: layout count 0 0 +0% —
viewport-pan-sweep: style recalc count 250 250 +0% —
viewport-pan-sweep: task duration 4463ms 4485ms +0% —
viewport-pan-sweep: script duration 1389ms 1365ms -2% —
viewport-pan-sweep: TBT 0ms 0ms +0% —
viewport-pan-sweep: heap used 65.2 MB 66.2 MB +2% —
viewport-pan-sweep: DOM nodes -281 -282 +0% —
viewport-pan-sweep: event listeners -133 -133 +0% —
vue-large-graph-idle: avg frame time 18ms 18ms +2% —
vue-large-graph-idle: p95 frame time 17ms 17ms -1% —
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 16958ms 18311ms +8% —
vue-large-graph-idle: script duration 563ms 560ms -1% —
vue-large-graph-idle: TBT 0ms 0ms +0% —
vue-large-graph-idle: heap used 159.5 MB 159.7 MB +0% —
vue-large-graph-idle: DOM nodes -8312 -8312 +0% —
vue-large-graph-idle: event listeners -16387 -16385 -0% —
vue-large-graph-pan: avg frame time 18ms 18ms +0% —
vue-large-graph-pan: p95 frame time 17ms 17ms -0% —
vue-large-graph-pan: layout duration 0ms 0ms +0% —
vue-large-graph-pan: style recalc duration 16ms 26ms +62% —
vue-large-graph-pan: layout count 0 0 +0% —
vue-large-graph-pan: style recalc count 137 174 +27% —
vue-large-graph-pan: task duration 20363ms 22858ms +12% —
vue-large-graph-pan: script duration 891ms 936ms +5% —
vue-large-graph-pan: TBT 128ms 807ms +530% —
vue-large-graph-pan: heap used 162.7 MB 163.8 MB +1% —
vue-large-graph-pan: DOM nodes -8312 -8312 +0% —
vue-large-graph-pan: event listeners -16383 -16382 -0% —
workflow-execution: avg frame time 17ms 17ms -0% z=0.1
workflow-execution: p95 frame time 17ms 17ms +0% —
workflow-execution: layout duration 0ms 1ms +115% z=-4.1
workflow-execution: style recalc duration 19ms 15ms -22% z=-4.2
workflow-execution: layout count 2 2 +0% z=-5.4
workflow-execution: style recalc count 13 8 -38% z=-4.8
workflow-execution: task duration 107ms 80ms -25% z=-4.0
workflow-execution: script duration 9ms 6ms -29% z=-7.7
workflow-execution: TBT 0ms 0ms +0% —
workflow-execution: heap used 65.0 MB 63.4 MB -2% —
workflow-execution: DOM nodes 123 122 -1% z=-5.5
workflow-execution: event listeners 97 37 -62% z=-3.4
Historical variance (last 15 runs)
Metric μ σ CV
canvas-idle: avg frame time 17ms 0ms 0.0%
canvas-idle: layout duration 0ms 0ms 0.0%
canvas-idle: style recalc duration 11ms 1ms 8.2%
canvas-idle: layout count 0 0 0.0%
canvas-idle: style recalc count 11 1 5.0%
canvas-idle: task duration 395ms 31ms 7.9%
canvas-idle: script duration 25ms 2ms 8.8%
canvas-idle: TBT 0ms 0ms 0.0%
canvas-idle: DOM nodes 23 1 5.6%
canvas-idle: event listeners 12 5 40.9%
canvas-mouse-sweep: avg frame time 17ms 0ms 0.0%
canvas-mouse-sweep: layout duration 4ms 0ms 5.4%
canvas-mouse-sweep: style recalc duration 43ms 3ms 7.4%
canvas-mouse-sweep: layout count 12 0 0.0%
canvas-mouse-sweep: style recalc count 79 2 3.0%
canvas-mouse-sweep: task duration 865ms 58ms 6.7%
canvas-mouse-sweep: script duration 136ms 6ms 4.8%
canvas-mouse-sweep: TBT 0ms 0ms 0.0%
canvas-mouse-sweep: DOM nodes 62 3 4.2%
canvas-mouse-sweep: event listeners 8 4 49.4%
canvas-zoom-sweep: avg frame time 17ms 0ms 0.0%
canvas-zoom-sweep: layout duration 1ms 0ms 7.0%
canvas-zoom-sweep: style recalc duration 19ms 2ms 8.0%
canvas-zoom-sweep: layout count 6 0 0.0%
canvas-zoom-sweep: style recalc count 31 0 1.5%
canvas-zoom-sweep: task duration 327ms 23ms 7.1%
canvas-zoom-sweep: script duration 27ms 3ms 11.1%
canvas-zoom-sweep: TBT 0ms 0ms 0.0%
canvas-zoom-sweep: DOM nodes 79 1 1.0%
canvas-zoom-sweep: event listeners 24 5 21.8%
dom-widget-clipping: avg frame time 17ms 0ms 0.0%
dom-widget-clipping: layout duration 0ms 0ms 0.0%
dom-widget-clipping: style recalc duration 10ms 1ms 8.0%
dom-widget-clipping: layout count 0 0 0.0%
dom-widget-clipping: style recalc count 13 0 3.8%
dom-widget-clipping: task duration 365ms 16ms 4.5%
dom-widget-clipping: script duration 68ms 3ms 4.8%
dom-widget-clipping: TBT 0ms 0ms 0.0%
dom-widget-clipping: DOM nodes 22 1 6.4%
dom-widget-clipping: event listeners 8 6 81.2%
large-graph-idle: avg frame time 17ms 0ms 0.0%
large-graph-idle: layout duration 0ms 0ms 0.0%
large-graph-idle: style recalc duration 12ms 1ms 8.6%
large-graph-idle: layout count 0 0 0.0%
large-graph-idle: style recalc count 12 0 2.7%
large-graph-idle: task duration 542ms 54ms 10.0%
large-graph-idle: script duration 102ms 11ms 10.3%
large-graph-idle: TBT 0ms 0ms 0.0%
large-graph-idle: DOM nodes 25 1 3.7%
large-graph-idle: event listeners 26 6 23.2%
large-graph-pan: avg frame time 17ms 0ms 0.0%
large-graph-pan: layout duration 0ms 0ms 0.0%
large-graph-pan: style recalc duration 17ms 1ms 4.6%
large-graph-pan: layout count 0 0 0.0%
large-graph-pan: style recalc count 70 1 0.9%
large-graph-pan: task duration 1082ms 43ms 4.0%
large-graph-pan: script duration 408ms 20ms 4.8%
large-graph-pan: TBT 0ms 0ms 0.0%
large-graph-pan: DOM nodes 19 2 8.7%
large-graph-pan: event listeners 5 1 16.8%
minimap-idle: avg frame time 17ms 0ms 0.0%
minimap-idle: layout duration 0ms 0ms 0.0%
minimap-idle: style recalc duration 10ms 1ms 8.6%
minimap-idle: layout count 0 0 0.0%
minimap-idle: style recalc count 10 1 7.1%
minimap-idle: task duration 527ms 47ms 9.0%
minimap-idle: script duration 98ms 10ms 10.1%
minimap-idle: TBT 0ms 0ms 0.0%
minimap-idle: DOM nodes 19 1 7.1%
minimap-idle: event listeners 5 1 14.4%
subgraph-dom-widget-clipping: avg frame time 17ms 0ms 0.0%
subgraph-dom-widget-clipping: layout duration 0ms 0ms 0.0%
subgraph-dom-widget-clipping: style recalc duration 13ms 1ms 7.4%
subgraph-dom-widget-clipping: layout count 0 0 0.0%
subgraph-dom-widget-clipping: style recalc count 48 1 1.2%
subgraph-dom-widget-clipping: task duration 378ms 18ms 4.9%
subgraph-dom-widget-clipping: script duration 128ms 6ms 4.9%
subgraph-dom-widget-clipping: TBT 0ms 0ms 0.0%
subgraph-dom-widget-clipping: DOM nodes 22 1 5.0%
subgraph-dom-widget-clipping: event listeners 16 6 36.0%
subgraph-idle: avg frame time 17ms 0ms 0.0%
subgraph-idle: layout duration 0ms 0ms 0.0%
subgraph-idle: style recalc duration 10ms 1ms 7.5%
subgraph-idle: layout count 0 0 0.0%
subgraph-idle: style recalc count 11 1 6.0%
subgraph-idle: task duration 370ms 31ms 8.5%
subgraph-idle: script duration 20ms 3ms 13.2%
subgraph-idle: TBT 0ms 0ms 0.0%
subgraph-idle: DOM nodes 22 1 6.9%
subgraph-idle: event listeners 10 7 64.5%
subgraph-mouse-sweep: avg frame time 17ms 0ms 0.0%
subgraph-mouse-sweep: layout duration 5ms 0ms 6.8%
subgraph-mouse-sweep: style recalc duration 42ms 3ms 7.8%
subgraph-mouse-sweep: layout count 16 0 0.0%
subgraph-mouse-sweep: style recalc count 80 2 2.4%
subgraph-mouse-sweep: task duration 766ms 69ms 9.0%
subgraph-mouse-sweep: script duration 101ms 7ms 6.5%
subgraph-mouse-sweep: TBT 0ms 0ms 0.0%
subgraph-mouse-sweep: DOM nodes 67 2 3.3%
subgraph-mouse-sweep: event listeners 8 4 52.6%
workflow-execution: avg frame time 17ms 0ms 0.0%
workflow-execution: layout duration 2ms 0ms 9.4%
workflow-execution: style recalc duration 24ms 2ms 9.1%
workflow-execution: layout count 5 1 11.0%
workflow-execution: style recalc count 18 2 11.5%
workflow-execution: task duration 123ms 11ms 8.8%
workflow-execution: script duration 29ms 3ms 10.2%
workflow-execution: TBT 0ms 0ms 0.0%
workflow-execution: DOM nodes 161 7 4.4%
workflow-execution: event listeners 52 4 8.4%
Trend (last 15 commits on main)
Metric Trend Dir Latest
canvas-idle: avg frame time ▆▃▆▁▆▃▆█▆▆▄▃▃▄▃ ➡️ 17ms
canvas-idle: p95 frame time ➡️ NaNms
canvas-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: style recalc duration ▇▇▆▆▃█▄▃▄▃▇▄▁▆▇ ➡️ 11ms
canvas-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
canvas-idle: style recalc count █▃▅▂▅▆▃▁▂▁▂▅▆▅▆ ➡️ 12
canvas-idle: task duration ▃▃▃▆▂▃▃▅▆▂█▃▁▃▃ ➡️ 391ms
canvas-idle: script duration ▄▃▅▇▂▅▃▆▇▅█▄▁▅▆ ➡️ 27ms
canvas-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-idle: heap used ➡️ NaN MB
canvas-idle: DOM nodes █▇▆▅▃▇▃▁▂▂▅▆▆▆▇ ➡️ 24
canvas-idle: event listeners ▅█▅▄▁▅▁▁▁▄▅▅▁▅▄ 📉 11
canvas-mouse-sweep: avg frame time ▆█▆▃▁▃▁▆▆▁▃▆▆▃▃ ➡️ 17ms
canvas-mouse-sweep: p95 frame time ➡️ NaNms
canvas-mouse-sweep: layout duration ▁▃▂▄▁▂▁▃▆▂█▇▆▄▃ ➡️ 4ms
canvas-mouse-sweep: style recalc duration ▄▄▂▄▁▂▃▃▅▄█▆▂▄▄ ➡️ 43ms
canvas-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 12
canvas-mouse-sweep: style recalc count █▅▄▃▂▂▁▄▄▅▆▅▂▇▄ ➡️ 79
canvas-mouse-sweep: task duration █▆▄▂▂▃▂▄▄▅█▆▁▆▄ ➡️ 868ms
canvas-mouse-sweep: script duration ▄▅▄▆▄▆▆▆▅▅█▆▁▅▆ ➡️ 139ms
canvas-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-mouse-sweep: heap used ➡️ NaN MB
canvas-mouse-sweep: DOM nodes █▅▃▃▁▂▂▃▂▄▆▅▃▅▅ ➡️ 64
canvas-mouse-sweep: event listeners █▁▁▁▁▁▇▁▁▁██▇▁█ 📈 13
canvas-zoom-sweep: avg frame time ▅▅█▄▅▁▁▁▅▁▁▅▄▅▁ ➡️ 17ms
canvas-zoom-sweep: p95 frame time ➡️ NaNms
canvas-zoom-sweep: layout duration ▆▅▅▄▁▁█▅▃▅▇▆▁▂▆ ➡️ 1ms
canvas-zoom-sweep: style recalc duration ▆▅▄▆▅▃█▆▇▅▇▄▁▃▅ ➡️ 20ms
canvas-zoom-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 6
canvas-zoom-sweep: style recalc count ▁▁▃▄▆▃▆█▄▄▆▁▆▁▆ ➡️ 32
canvas-zoom-sweep: task duration ▄▂▁▇▂▂▄▅▆▃█▄▁▁▅ ➡️ 338ms
canvas-zoom-sweep: script duration ▃▃▂▇▂▂▅▇▆▅█▄▁▂▆ ➡️ 30ms
canvas-zoom-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
canvas-zoom-sweep: heap used ➡️ NaN MB
canvas-zoom-sweep: DOM nodes ▄▃▁▅█▁▃▆▄▅▅▃▃▄▃ ➡️ 79
canvas-zoom-sweep: event listeners ▁▁▂▅█▂▁▅▁▅▅▄▁▅▁ ➡️ 19
dom-widget-clipping: avg frame time ▂▄▅▅▂▄█▇▅▇▇▅▅▁▇ ➡️ 17ms
dom-widget-clipping: p95 frame time ➡️ NaNms
dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: style recalc duration ▆▆▂▆▄▃██▄▁▆▇▆▃▅ ➡️ 10ms
dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
dom-widget-clipping: style recalc count ▇█▅█▅▄█▇▇▁▇▄▇▂▅ ➡️ 13
dom-widget-clipping: task duration ▃▃▁▅▄▃▅▆▅▂▇█▁▅▅ ➡️ 371ms
dom-widget-clipping: script duration ▅▄▄▆▆▅▇▇▆▃█▇▁▇▇ ➡️ 71ms
dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
dom-widget-clipping: heap used ➡️ NaN MB
dom-widget-clipping: DOM nodes ▇▇▄▇▅▄█▇▅▁▅▄▇▃▄ ➡️ 21
dom-widget-clipping: event listeners ▅▅▅▅▁▅██▁▁▁▁█▁▁ 📉 2
large-graph-idle: avg frame time ▅▅▅▅▅▂▁▂▄▅▄▂▂▅█ ➡️ 17ms
large-graph-idle: p95 frame time ➡️ NaNms
large-graph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: style recalc duration ▅▅▅▆▄▅▃▄▅▅▆█▁▄▆ ➡️ 13ms
large-graph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-idle: style recalc count █▆█▃▃▁▃▆▃▆▆▃▆██ ➡️ 12
large-graph-idle: task duration ▂▃▂▆▂▃▃▇▅▃██▁▂▅ ➡️ 569ms
large-graph-idle: script duration ▄▅▄▆▄▅▅▇▆▅█▆▁▃▆ ➡️ 110ms
large-graph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-idle: heap used ➡️ NaN MB
large-graph-idle: DOM nodes ▆█▅▂▅▃▁▂▃▅▅▆▂▆▅ ➡️ 25
large-graph-idle: event listeners ███▇██▄▁▄▇▇█▂█▇ ➡️ 29
large-graph-pan: avg frame time ▆▃▃▆█▃▁█▆▆▆▆█▁▆ ➡️ 17ms
large-graph-pan: p95 frame time ➡️ NaNms
large-graph-pan: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: style recalc duration ▃▂▄▄▁▅▂▂▁▄▄█▃▁▂ ➡️ 17ms
large-graph-pan: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
large-graph-pan: style recalc count ▆▃█▂▃▂▂▂▁▇▅▃█▆▃ ➡️ 69
large-graph-pan: task duration ▄▃▄▆▄▄▄▆▄▄█▆▁▂▅ ➡️ 1100ms
large-graph-pan: script duration ▅▄▅▆▆▅▄▆▄▅█▄▁▄▅ ➡️ 413ms
large-graph-pan: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
large-graph-pan: heap used ➡️ NaN MB
large-graph-pan: DOM nodes ▅▃▆▂▄▁▃▁▁▅▁▂█▅▂ ➡️ 18
large-graph-pan: event listeners █▆█▁▁▆▁▁▃▆▁▃██▃ ➡️ 5
minimap-idle: avg frame time ▃▆▆▃█▁█▆▆▃▃▆█▆█ ➡️ 17ms
minimap-idle: p95 frame time ➡️ NaNms
minimap-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: style recalc duration ▄█▁█▅▅█▅▅▃▅▁▁▄▆ ➡️ 10ms
minimap-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
minimap-idle: style recalc count ▃▅▂▄█▃▆▁▂▅▂▁▅▆▃ ➡️ 9
minimap-idle: task duration ▃▄▁▅▁▃▄▅▇▃█▅▁▁▅ ➡️ 547ms
minimap-idle: script duration ▄▆▃▇▃▅▆▆▇▅█▅▁▃▆ ➡️ 106ms
minimap-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
minimap-idle: heap used ➡️ NaN MB
minimap-idle: DOM nodes ▃▅▂▄█▃▆▁▂▅▂▁▅▆▃ ➡️ 19
minimap-idle: event listeners ▃▃▆▁▁▁▃▁▁▆▁▃█▆▁ ➡️ 4
subgraph-dom-widget-clipping: avg frame time ▅▄▄▄▄▄█▄▄▄▃▁▆▃▃ ➡️ 17ms
subgraph-dom-widget-clipping: p95 frame time ➡️ NaNms
subgraph-dom-widget-clipping: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: style recalc duration ▂▄▃▅▅▃▂▅▇▃▄█▁▄▆ ➡️ 14ms
subgraph-dom-widget-clipping: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-dom-widget-clipping: style recalc count ▇█▆▃▆▃▁▆█▇▃▆▇█▅ ➡️ 48
subgraph-dom-widget-clipping: task duration ▂▃▃▆▅▅▂▅█▂▆█▁▂▇ ➡️ 398ms
subgraph-dom-widget-clipping: script duration ▃▃▃▄▅▅▂▄█▂▅▇▁▂▅ ➡️ 131ms
subgraph-dom-widget-clipping: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-dom-widget-clipping: heap used ➡️ NaN MB
subgraph-dom-widget-clipping: DOM nodes ▅▇▅▂▅▂▁▅▅▅▁▇▅█▄ ➡️ 22
subgraph-dom-widget-clipping: event listeners ▅▅▅▂▅▁▅██▁▁█▅█▅ 📈 16
subgraph-idle: avg frame time ▆▆█▁▆▃▆▆▆▃▆▁▃▆█ ➡️ 17ms
subgraph-idle: p95 frame time ➡️ NaNms
subgraph-idle: layout duration ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: style recalc duration ▁▇▃▆▂▄▂▃▃▆▆▄▃▇█ ➡️ 12ms
subgraph-idle: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0
subgraph-idle: style recalc count ▃▆▃▃▂▅▁▂▁▆▃▃██▇ ➡️ 12
subgraph-idle: task duration ▁▃▁▇▁▁▃▆▅▂█▅▁▁▄ ➡️ 378ms
subgraph-idle: script duration ▁▃▂▇▁▂▃▇▆▂█▅▂▁▅ ➡️ 22ms
subgraph-idle: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-idle: heap used ➡️ NaN MB
subgraph-idle: DOM nodes ▃▅▃▂▁▄▁▂▁▅▃▂▇█▇ ➡️ 24
subgraph-idle: event listeners ▁▅▁▁▁▁▁▁▁▅▄▁███ 📈 21
subgraph-mouse-sweep: avg frame time ▅▄▁▃▃▄▆▄▆▃▃█▁▃▃ ➡️ 17ms
subgraph-mouse-sweep: p95 frame time ➡️ NaNms
subgraph-mouse-sweep: layout duration ▁▄▄▄▃▃▅▅▅▂█▇▂▃▆ ➡️ 5ms
subgraph-mouse-sweep: style recalc duration ▃▂▄▅▂▃▄▅█▃█▆▁▂▅ ➡️ 43ms
subgraph-mouse-sweep: layout count ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 16
subgraph-mouse-sweep: style recalc count ▅▂▅▅▁▄▃▅█▅▆▄▂▄▅ ➡️ 81
subgraph-mouse-sweep: task duration ▃▂▄▅▂▄▄▅▇▄█▆▁▃▅ ➡️ 785ms
subgraph-mouse-sweep: script duration ▄▅▄▇▅▅▆▇▆▅██▁▄▆ ➡️ 105ms
subgraph-mouse-sweep: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
subgraph-mouse-sweep: heap used ➡️ NaN MB
subgraph-mouse-sweep: DOM nodes ▅▁▄▅▁▄▃▃█▅▅▄▂▅▃ ➡️ 66
subgraph-mouse-sweep: event listeners ▇▁▂▇▁▂▂▂█▇▂▂▇▇▂ 📈 5
workflow-execution: avg frame time ▆▆▆▄▆▆▃▄▁▄█▆▅▄▆ ➡️ 17ms
workflow-execution: p95 frame time ➡️ NaNms
workflow-execution: layout duration ▁▆▁▃▂▄▃▂▃▃▅█▄▂▅ ➡️ 2ms
workflow-execution: style recalc duration ▃▇▅▇▁▅▆▇█▁██▂▄▆ ➡️ 25ms
workflow-execution: layout count ▁█▂▃▂▃▃▁▃▃▄▃▂▃▂ ➡️ 5
workflow-execution: style recalc count ▃█▅▇▁▄▅▆▅▅▅▅▄▄▂ ➡️ 15
workflow-execution: task duration ▂▅▄▅▁▄▆▆▆▁▇█▁▃▃ ➡️ 120ms
workflow-execution: script duration ▄▃▄▄▃▅▄▅▆▂▇█▁▃▄ ➡️ 29ms
workflow-execution: TBT ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ➡️ 0ms
workflow-execution: heap used ➡️ NaN MB
workflow-execution: DOM nodes ▂█▃▆▁▄▃▅▃█▃▃▄▃▁ ➡️ 152
workflow-execution: event listeners ▅███▁▅███▁██▅█▅ ➡️ 49
Raw data
{
  "timestamp": "2026-08-04T06:53:15.432Z",
  "gitSha": "7c2090327f992a4653a307044ffe290d3c8389ff",
  "branch": "fix/14625-graphcanvas-firstrun-wiring",
  "measurements": [
    {
      "name": "canvas-idle",
      "durationMs": 2080.198000000024,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.481,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 502.96399999999994,
      "heapDeltaBytes": 5612568,
      "heapUsedBytes": 69852872,
      "domNodes": 18,
      "jsHeapTotalBytes": 24379392,
      "scriptDurationMs": 17.683,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "canvas-idle",
      "durationMs": 2015.250999999978,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 7.4750000000000005,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 496.651,
      "heapDeltaBytes": 5343656,
      "heapUsedBytes": 69397872,
      "domNodes": 18,
      "jsHeapTotalBytes": 25165824,
      "scriptDurationMs": 16.844,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 2079.322000000019,
      "styleRecalcs": 79,
      "styleRecalcDurationMs": 46.725,
      "layouts": 12,
      "layoutDurationMs": 6.321000000000001,
      "taskDurationMs": 1065.366,
      "heapDeltaBytes": -11942956,
      "heapUsedBytes": 52246080,
      "domNodes": -279,
      "jsHeapTotalBytes": 24104960,
      "scriptDurationMs": 152.204,
      "eventListeners": -151,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-mouse-sweep",
      "durationMs": 1932.4849999999856,
      "styleRecalcs": 76,
      "styleRecalcDurationMs": 41.018,
      "layouts": 12,
      "layoutDurationMs": 3.608,
      "taskDurationMs": 931.006,
      "heapDeltaBytes": -17979460,
      "heapUsedBytes": 46139604,
      "domNodes": 24,
      "jsHeapTotalBytes": 24367104,
      "scriptDurationMs": 120.11,
      "eventListeners": -153,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1768.0159999999887,
      "styleRecalcs": 30,
      "styleRecalcDurationMs": 16.812,
      "layouts": 6,
      "layoutDurationMs": 0.6530000000000001,
      "taskDurationMs": 387.012,
      "heapDeltaBytes": 8610776,
      "heapUsedBytes": 72804972,
      "domNodes": 76,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 19.402999999999995,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "canvas-zoom-sweep",
      "durationMs": 1771.8999999999596,
      "styleRecalcs": 31,
      "styleRecalcDurationMs": 16.717999999999996,
      "layouts": 6,
      "layoutDurationMs": 0.689,
      "taskDurationMs": 392.243,
      "heapDeltaBytes": 8384408,
      "heapUsedBytes": 72418324,
      "domNodes": 78,
      "jsHeapTotalBytes": 24117248,
      "scriptDurationMs": 20.072000000000003,
      "eventListeners": 19,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 620.4360000000122,
      "styleRecalcs": 12,
      "styleRecalcDurationMs": 8.754000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 412.038,
      "heapDeltaBytes": -11029208,
      "heapUsedBytes": 53050264,
      "domNodes": 20,
      "jsHeapTotalBytes": 25427968,
      "scriptDurationMs": 63.72899999999999,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "dom-widget-clipping",
      "durationMs": 584.4699999999534,
      "styleRecalcs": 9,
      "styleRecalcDurationMs": 6.070000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 371.14000000000004,
      "heapDeltaBytes": -11195080,
      "heapUsedBytes": 53065088,
      "domNodes": 14,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 57.232000000000006,
      "eventListeners": 0,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333335,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2020.5189999999789,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.905999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 674.3910000000001,
      "heapDeltaBytes": 6067656,
      "heapUsedBytes": 66203464,
      "domNodes": -282,
      "jsHeapTotalBytes": 3522560,
      "scriptDurationMs": 97.53900000000002,
      "eventListeners": -177,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.670000000000012,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-idle",
      "durationMs": 2030.277999999953,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 8.858999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 677.02,
      "heapDeltaBytes": 6750816,
      "heapUsedBytes": 65448204,
      "domNodes": -279,
      "jsHeapTotalBytes": 2998272,
      "scriptDurationMs": 96.70799999999998,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2168.4020000000146,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 15.602999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1302.686,
      "heapDeltaBytes": 1798728,
      "heapUsedBytes": 62181288,
      "domNodes": -282,
      "jsHeapTotalBytes": 4501504,
      "scriptDurationMs": 419.133,
      "eventListeners": -147,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "large-graph-pan",
      "durationMs": 2185.4809999999816,
      "styleRecalcs": 69,
      "styleRecalcDurationMs": 15.100000000000001,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 1337.8830000000003,
      "heapDeltaBytes": 6049860,
      "heapUsedBytes": 66652776,
      "domNodes": -282,
      "jsHeapTotalBytes": 3452928,
      "scriptDurationMs": 469.81300000000005,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3181.927999999971,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 16.377999999999997,
      "layouts": 60,
      "layoutDurationMs": 8.59,
      "taskDurationMs": 1552.0720000000001,
      "heapDeltaBytes": -4216592,
      "heapUsedBytes": 58069480,
      "domNodes": -289,
      "jsHeapTotalBytes": 6144000,
      "scriptDurationMs": 533.068,
      "eventListeners": -153,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "large-graph-zoom",
      "durationMs": 3215.3190000000222,
      "styleRecalcs": 65,
      "styleRecalcDurationMs": 15.906,
      "layouts": 60,
      "layoutDurationMs": 8.403,
      "taskDurationMs": 1523.363,
      "heapDeltaBytes": -2205408,
      "heapUsedBytes": 59989704,
      "domNodes": -289,
      "jsHeapTotalBytes": 6930432,
      "scriptDurationMs": 531.123,
      "eventListeners": -153,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "minimap-idle",
      "durationMs": 2034.9329999999668,
      "styleRecalcs": 7,
      "styleRecalcDurationMs": 5.652999999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 677.4839999999999,
      "heapDeltaBytes": 7044744,
      "heapUsedBytes": 68062256,
      "domNodes": -286,
      "jsHeapTotalBytes": 2998272,
      "scriptDurationMs": 96.851,
      "eventListeners": -149,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "minimap-idle",
      "durationMs": 2032.338999999979,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 6.216000000000003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 673.9170000000001,
      "heapDeltaBytes": 6664496,
      "heapUsedBytes": 67056392,
      "domNodes": -284,
      "jsHeapTotalBytes": 3784704,
      "scriptDurationMs": 97.132,
      "eventListeners": -147,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 600.2120000000559,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 10.429999999999998,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 404.983,
      "heapDeltaBytes": -10474912,
      "heapUsedBytes": 53818624,
      "domNodes": 20,
      "jsHeapTotalBytes": 26214400,
      "scriptDurationMs": 123.24700000000001,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.699999999999818
    },
    {
      "name": "subgraph-dom-widget-clipping",
      "durationMs": 594.6899999999005,
      "styleRecalcs": 47,
      "styleRecalcDurationMs": 10.505000000000003,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 408.1699999999999,
      "heapDeltaBytes": -10477484,
      "heapUsedBytes": 53708800,
      "domNodes": 20,
      "jsHeapTotalBytes": 25952256,
      "scriptDurationMs": 123.744,
      "eventListeners": 6,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-idle",
      "durationMs": 2020.7270000000221,
      "styleRecalcs": 10,
      "styleRecalcDurationMs": 7.549,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 504.90299999999996,
      "heapDeltaBytes": -16858696,
      "heapUsedBytes": 47248032,
      "domNodes": -278,
      "jsHeapTotalBytes": 24629248,
      "scriptDurationMs": 13.523000000000001,
      "eventListeners": -153,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "subgraph-idle",
      "durationMs": 1992.970000000014,
      "styleRecalcs": 11,
      "styleRecalcDurationMs": 9.18,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 458.378,
      "heapDeltaBytes": 5165296,
      "heapUsedBytes": 69467880,
      "domNodes": 22,
      "jsHeapTotalBytes": 24903680,
      "scriptDurationMs": 13.418999999999999,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1693.8049999999976,
      "styleRecalcs": 76,
      "styleRecalcDurationMs": 37.135999999999996,
      "layouts": 16,
      "layoutDurationMs": 4.4479999999999995,
      "taskDurationMs": 769.981,
      "heapDeltaBytes": -3696284,
      "heapUsedBytes": 60614576,
      "domNodes": 65,
      "jsHeapTotalBytes": 25165824,
      "scriptDurationMs": 93.278,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-mouse-sweep",
      "durationMs": 1732.9760000000078,
      "styleRecalcs": 78,
      "styleRecalcDurationMs": 37.495999999999995,
      "layouts": 16,
      "layoutDurationMs": 4.688000000000001,
      "taskDurationMs": 808.105,
      "heapDeltaBytes": -3961984,
      "heapUsedBytes": 60336564,
      "domNodes": 62,
      "jsHeapTotalBytes": 26214400,
      "scriptDurationMs": 93.69000000000001,
      "eventListeners": 4,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.66333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "subgraph-transition-enter",
      "durationMs": 1400.9429999999838,
      "styleRecalcs": 18,
      "styleRecalcDurationMs": 29.781000000000002,
      "layouts": 14,
      "layoutDurationMs": 11.62,
      "taskDurationMs": 930.507,
      "heapDeltaBytes": 31019256,
      "heapUsedBytes": 99333812,
      "domNodes": 13673,
      "jsHeapTotalBytes": 15204352,
      "scriptDurationMs": 34.16800000000002,
      "eventListeners": 2375,
      "totalBlockingTimeMs": 125,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8272.10199999996,
      "styleRecalcs": 249,
      "styleRecalcDurationMs": 42.236999999999995,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4448.239999999999,
      "heapDeltaBytes": 8522508,
      "heapUsedBytes": 67973044,
      "domNodes": -283,
      "jsHeapTotalBytes": 5550080,
      "scriptDurationMs": 1345.095,
      "eventListeners": -133,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "viewport-pan-sweep",
      "durationMs": 8340.769000000022,
      "styleRecalcs": 251,
      "styleRecalcDurationMs": 43.547000000000004,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 4521.664,
      "heapDeltaBytes": 11042160,
      "heapUsedBytes": 70929736,
      "domNodes": -281,
      "jsHeapTotalBytes": 5287936,
      "scriptDurationMs": 1384.3029999999999,
      "eventListeners": -133,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 18256.21799999999,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 18229.286,
      "heapDeltaBytes": -59236336,
      "heapUsedBytes": 167471844,
      "domNodes": -8312,
      "jsHeapTotalBytes": -8069120,
      "scriptDurationMs": 566.612,
      "eventListeners": -16385,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 18.333333333333332,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-idle",
      "durationMs": 18418.859999999993,
      "styleRecalcs": 0,
      "styleRecalcDurationMs": 0,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 18392.343999999997,
      "heapDeltaBytes": -59124380,
      "heapUsedBytes": 167541932,
      "domNodes": -8312,
      "jsHeapTotalBytes": -7282688,
      "scriptDurationMs": 553.056,
      "eventListeners": -16385,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 17.780000000000047,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 22584.24099999996,
      "styleRecalcs": 168,
      "styleRecalcDurationMs": 24.768999999999984,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 22550.435,
      "heapDeltaBytes": -41490120,
      "heapUsedBytes": 176853696,
      "domNodes": -8312,
      "jsHeapTotalBytes": -8138752,
      "scriptDurationMs": 932.2149999999999,
      "eventListeners": -16381,
      "totalBlockingTimeMs": 796,
      "frameDurationMs": 17.776666666666642,
      "p95FrameDurationMs": 16.799999999999272
    },
    {
      "name": "vue-large-graph-pan",
      "durationMs": 23205.198999999993,
      "styleRecalcs": 179,
      "styleRecalcDurationMs": 26.57799999999999,
      "layouts": 0,
      "layoutDurationMs": 0,
      "taskDurationMs": 23166.066,
      "heapDeltaBytes": -40147136,
      "heapUsedBytes": 166581064,
      "domNodes": -8312,
      "jsHeapTotalBytes": -10952704,
      "scriptDurationMs": 939.773,
      "eventListeners": -16383,
      "totalBlockingTimeMs": 818,
      "frameDurationMs": 17.77333333333336,
      "p95FrameDurationMs": 16.700000000000728
    },
    {
      "name": "workflow-execution",
      "durationMs": 109.17000000000598,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 13.811,
      "layouts": 2,
      "layoutDurationMs": 0.546,
      "taskDurationMs": 84.474,
      "heapDeltaBytes": 3241672,
      "heapUsedBytes": 66692368,
      "domNodes": 115,
      "jsHeapTotalBytes": 3145728,
      "scriptDurationMs": 8.183,
      "eventListeners": 49,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.666666666666668,
      "p95FrameDurationMs": 16.800000000000182
    },
    {
      "name": "workflow-execution",
      "durationMs": 112.29900000000725,
      "styleRecalcs": 8,
      "styleRecalcDurationMs": 16.041,
      "layouts": 2,
      "layoutDurationMs": 1.366,
      "taskDurationMs": 75.295,
      "heapDeltaBytes": 2956296,
      "heapUsedBytes": 66248416,
      "domNodes": 128,
      "jsHeapTotalBytes": 2883584,
      "scriptDurationMs": 4.653,
      "eventListeners": 25,
      "totalBlockingTimeMs": 0,
      "frameDurationMs": 16.663333333333338,
      "p95FrameDurationMs": 16.700000000000273
    }
  ]
}

@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##             main   #14674      +/-   ##
==========================================
+ Coverage   78.46%   78.59%   +0.13%     
==========================================
  Files        1790     1790              
  Lines      105382   105382              
  Branches    33052    33052              
==========================================
+ Hits        82683    82827     +144     
+ Misses      22264    22113     -151     
- Partials      435      442       +7     
Flag Coverage Δ
unit 71.04% <ø> (+0.25%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 18 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.

@christian-byrne

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 4, 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 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/components/graph/GraphCanvas.firstRunEntry.test.ts`:
- Around line 20-30: Reset the mutable workspaceStore fixture before each test
so GraphCanvas state cannot leak between tests. Update the test setup around
mocks.workspaceStore to restore spinner, focusMode, and sidebarTab to their
initial values in addition to clearing mock functions; keep the existing mock
behavior unchanged.
- Around line 145-158: Update mountGraphCanvas to create an isolated
createTestingPinia({ stubActions: false }) instance, set it active before
mutating isReady and isI18nReady, and include that same instance in
global.plugins alongside the existing i18n plugin.
🪄 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: 5668aba0-e221-47d3-866f-067675f11df6

📥 Commits

Reviewing files that changed from the base of the PR and between 3988850 and f2d5475.

📒 Files selected for processing (1)
  • src/components/graph/GraphCanvas.firstRunEntry.test.ts

Startup writes `spinner` on the hoisted mock object, and clearAllMocks
does not undo writes to a plain object, so a startup that throws before
the reset leaves the next test running against a spinning workspace.

Addresses review feedback:
#14674 (comment)
The readiness gates were set on the active Pinia and the component
resolved it by fallback rather than by injection.

Addresses review feedback:
#14674 (comment)
@christian-byrne

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 4, 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.

@christian-byrne
christian-byrne added this pull request to the merge queue Aug 5, 2026
Merged via the queue into main with commit 3e675f3 Aug 5, 2026
62 checks passed
@christian-byrne
christian-byrne deleted the fix/14625-graphcanvas-firstrun-wiring branch August 5, 2026 07:45
pull Bot pushed a commit to Penguinjanator/ComfyUI_frontend that referenced this pull request Aug 5, 2026
…Org#14625 (Comfy-Org#14676)

Closes Comfy-Org#14625.

Comfy-Org#14625 found three mutations of the first-run tour stack that leave the
suite green. The first — the `GraphCanvas` activation seam — is already
fixed in Comfy-Org#14674. This PR closes the other two, so **together with
Comfy-Org#14674** the issue is complete. On its own this PR does not cover gap 1.

Test-only: no source file is touched.

## Gap 2 — `hasPromptError` was asserted only in the negative

The run-state watcher in `useFirstRunTourController` sources
`hasNodeError || hasPromptError`. The positive case was covered for
`hasNodeError` alone; the only test naming `hasPromptError` asserted
that errors already on screen *before* the tour runs anything are
ignored — which passes precisely when the term does nothing.

Added `gives up on a run the validator refused before it reached a
node`: a prompt-level refusal arriving while `runState` is `generating`
must move the card to a terminal state. Without it, a prompt rejected
whole never reaches a node and never gets a queue status, so the Result
step spins forever.

**Mutation evidence** — delete `|| executionErrorStore.hasPromptError`
from the watcher source:

| | before this PR | after |
|---|---|---|
| mutation applied | 39 passed, 0 failed (green — the gap) | 1 failed,
39 passed |
| mutation reverted | 39 passed | 40 passed |

## Gap 3 — the nudge telemetry source was ungated

`FirstRunTourNudge` calls
`useWorkflowTemplateSelectorDialog().show('first_run_nudge')`. The
existing test asserted only `toHaveBeenCalled()`, so the argument was
free. Pinned it to `toHaveBeenCalledWith('first_run_nudge')`.

Worth noting: `'command'` is also the *default* value of that parameter,
so dropping the argument entirely regresses identically — the pinned
assertion catches both.

**Mutation evidence** — change the argument to `'command'`:

| | before this PR | after |
|---|---|---|
| mutation applied | 8 passed, 0 failed (green — the gap) | 1 failed, 7
passed |
| mutation reverted | 8 passed | 8 passed |

## Verification

- `pnpm install --frozen-lockfile`, `pnpm format:check`, `pnpm lint`,
`pnpm typecheck` — all exit 0.
- `pnpm test:unit src/renderer/extensions/firstRunTour/` — 10 files, 174
passed.
- Both mutations were applied and reverted individually; source files
confirmed restored (`git status` shows only the two `.test.ts` files
changed).

## Unverified

- Gap 1 is out of scope here and is not re-verified in this branch — it
is Comfy-Org#14674's.
- Mutation testing was scoped to the two named mutations and the
`firstRunTour` suites; this is not a full re-run of the 31-mutation
sweep from Comfy-Org#14625.
- No e2e/browser coverage was added; both gaps are unit-level assertions
on existing behaviour.
- CI note: `playwright-tests-chromium-sharded (2, 16)` failed on the
first run in `changeTracker.spec.ts › Does not restore invalid
navigation stack` (subgraph undo `expect.poll` assertions, one of which
is already annotated `Currently bugged:`). Unrelated to this diff, which
touches no source and no `browser_tests`. It passed on re-run; all 51
non-skipped checks now pass.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

First-run tour: three test gaps survive — the feature's activation seam has no coverage at all

2 participants