Repository navigation
feat(layout): reserve remote source seam for slice 02b - #16224
christian-byrne wants to merge 58 commits into
Conversation
Lands the agent shell dark behind the existing PostHog flag agent-in-app-experience: the gate wiring (extension setup syncing the flag into the panel store), the Ask Comfy Agent topbar entry button, a stub docked panel mounted in graph and linear views, and the flag-off E2E proving no agent surface renders while the flag is off. The stub intentionally omits what later slices own: engagement telemetry and detection, panel resize and maximize, the workspace inset, selection-driven chrome hiding, and the full panel content. File paths match the feature branch so later slices replace stub content in place.
Rapid or overlapping workflow opens, closes, and subgraph hash navigations could interleave: a slower earlier load could overwrite a newer selection, closing a workflow could re-activate it, and stale hash navigations could move the canvas after a newer one. Workflow loads now run through a serialized queue with per-path pending tracking and re-entrant close accounting; hash/graph synchronization carries navigation intent ids so only the newest intent can write the route or move the canvas. Test-led split from the agent feature branch: the added service and navigation-store tests pin the contract - 13 of them fail against the previous implementation - and only non-agent hunks are extracted (the new extension load hooks stay on the feature branch with their consumer).
The full-suite baseline caught main's navigateToHash suite failing against the extracted intent-id signature: the feature branch had extended that suite (+557) plus app.test.ts's intent-forwarding case, and the initial extraction missed both. Both are taken now; the app.test.ts case covering the excluded extension load hooks stays on the feature branch with its subject.
Eight-hat review round on the shell PR; the convergent findings: - Register the gate extension in the cloud block, where the PostHog flag actually exists and the SDK is initialized - the misplaced !isCloud registration made the panel unreachable in every shipped build, failed the cloud E2E job, and leaked posthog-js into the OSS dist scan. - Force-enable dev builds BEFORE the SDK import so a blocked chunk cannot take local development down, and add a bounded retry that re-takes the flag subscription when extension setup wins the race against posthog initialization (pre-init subscriptions are dead). The gate marks a body dataset when settled so the flag-off E2E asserts after gating actually ran, anchored by the tab-bar container being visible. - Restructure LinearView like the canvas overlay (row root + column wrapper) so the docked panel is a right-hand sibling instead of stacking below the workspace; pinned by a placement test. - Replace the entry chip's fixed ink-700 fill with a semantic surface token (the fixed hex under a theme-flipping foreground computed 1.11:1 in light themes) and add aria-pressed. - Rebuild the E2E boot mocks on the shared mockCloudBoot helper instead of a hand-rolled route fork. - Trim agentTheme.css to the four consumed tokens (the trimmed rest returns with its consumers and keyframes in later slices), drop the width ref and dead guards from the store, drop the dead shell testid and alias click handler, and merge the async component into the setup block with a complementary landmark role. - New gate composition tests (flag on/off/flip, init race, blocked SDK), a close-button test for the panel root, a legacy-tab-bar gating case, and a real enable/disable transition in the store persistence test.
The cloud E2E run proved the registration fix end to end (the flag-on test passed against the production build) but the flag-off spec timed out awaiting the settle marker: posthog drops false-valued bootstrap flags, so isFeatureEnabled legitimately stays undefined forever when the flag is off and settle only arrived at retry exhaustion (~30s). The retry budget only needs to cover telemetry's init window, so it shrinks to ~5s worst case, exhaustion being the settled fail-closed state, and the spec awaits settle with an explicit window.
Round-2 panel residuals on the gate: readiness now settles on an observed flags delivery OR a definite flag read, the resolved path no longer stacks a second subscription, and the exhausted path re-takes the subscription against the by-now live instance before settling - so a flag that first appears mid-session still propagates instead of waiting for a reload. The unit mock now models the off state the way the real SDK reports it (undefined, never false) and pins the exhausted-then-arrives path. Also: the close button reuses g.close instead of minting a duplicate key, and the store drops the consumer-less open().
…delivery Round-2 panels caught the rework's own regression with the SDK source as receipt: uninitialized posthog invokes the onFeatureFlags callback synchronously with errorsLoading and registers nothing, so the delivered signal fired against a dead subscription and pinned the panel off for the session - the exact race the retry defends. The flag source now filters error-context callbacks before they reach the listener, the unit double models the real pre-init contract (fires once, registers nothing, undefined flags) and the race test asserts a live subscription exists after recovery. The retry constants are exported so tests pace off the real values, the settle window fits inside the cloud project's test timeout with actual headroom, and the E2E mocks drop a hand-rolled auth-token route that shadowed the shared workspace mint.
Eight-hat review round; the convergent findings: - Pass suppressWorkflowReset=false at the two import call sites (importA1111, loadApiJson) - they reset to root with no later workflow-load hash republish, so the armed suppression left the URL on a destroyed subgraph id; pinned by new app tests covering both branches of the clean flag. - Capture the closing workflow's path once at closeWorkflow entry: a rename mid-close mutates workflow.path in place, and the live re-read in the finally would strand a phantom closingWorkflowCounts entry that silently no-ops every future open of that path. - Restore main's last-workflow fallback for an inactive close: the sole open workflow closing while inactive now still creates the default workflow. - Log queued-load failures inside the serialization chain: attaching the internal handler marks the caller's promise handled, which had silenced fire-and-forget failures. - Test hardening: a module-state reset hook with per-test leak assertions, the active-workflow no-op guard pinned from both sides, a reopen-after-close-settles case, the misleadingly named clean-flag test renamed, and a shadowed parameter renamed.
Tree-shaking: the cloud extension block now gates on the literal __DISTRIBUTION__ comparison - the cross-module isCloud const does not dead-code-eliminate, so the gate's posthog-js import was shipping into OSS and desktop bundles (measured +289KB; the localhost build now scans clean and the vendor chunk returns to baseline). The gate's retry/re-take machinery is deleted: the shipped posthog bundle constructs its featureFlags extension in the constructor, so a pre-init subscription registers and survives init() (probe-verified); what remains is the errorsLoading filter, a settle timeout for the no-token path, and a dev force-enable that now honours the ff: localStorage override in both directions. The gate's settle signal moved off document.body onto a store ref bound as a data attribute on the tab-bar actions container, and its constants moved out of extensions/core so nothing new lands on the window.comfyAPI surface. Layout and a11y: the dock width is a proportional cap (min(420px, 33%)) so narrow viewports and the linear arrange panels can no longer be clipped dead; the panel title is a real heading the landmark references via aria-labelledby; borders unify on interface-stroke and the four-token alias theme file is deleted in favour of design-system tokens. Structure: the extension tree flattens to the manager exemplar's shape (stores/, utils/, components/agent/), and the E2E fixture moves to fixtures/ and drives a raw page like the cloud siblings - with the assets mock typed against ListAssetsResponse and the posthog ingest host routed so CI emits no live third-party traffic. Tests: real-contract gate coverage replaces the mock-manufactured race tests, dev force-enable and blocked-import paths are pinned, aria-pressed and the settle attribute are asserted, the graph-side mount invariants are pinned, and the hollow store case is replaced with a writeDefaults pin.
- key the closing-workflow registry by raw workflow object identity - queue default/blank/duplicate loads through the same load queue - bound the close-drain and skip it when no workflow is open - release a failed workflow-load navigation intent and restore the hash - move the workflow-load hash publish into loadGraphData's finally - pin the close-race orderings and the intent release in unit tests
- new-surface mutation battery left this guard undiscriminated: the existing replacement test's interleaving empties the closing window before the shift loop runs - hold the neighbor's close inside the store call so it is still open AND registered at decision time, then assert the fallback lands on the survivor and never the closing neighbor
- a blocked posthog import only reached console.error; it now also calls reportError with the stable agent_flag_gate_load_failure type, so the failure is queryable in Sentry and RUM - fail-closed settling and the dev force-enable are unchanged and both paths pin the report in the gate tests
- swap the store test onto createTestingPinia({stubActions:false})
per the repo's testing-pinia convention
- pin that disabling the flag mid-session never wipes the stored
open preference
- give the async panel root a Suspense fallback so the dock frame
never flashes empty chrome
…w nits - the nav recovery catch and the queued-load catch now also call reportError with stable types (workflow_navigation_failure, workflow_load_failure), keeping each site's redirect and queue-continue behavior - pin that a stale workflow-load publish reapplies the latest graph intent and clears the pending reset suppression (the finally publish is what prevents the suppression leak on a failed load) - detect the default load by its payload, not a missing argument
The Aug-12 review's one Request-Changes gap, still live: closeWorkflow deleted the draft at the top of the try, so a replacement load that fails (which now rethrows) left the tab open with its draft already gone. The draft is removed only after the store close is real, and the regression pin asserts a failed replacement keeps both the tab and the draft.
… source Two comment anchors naming which coordination primitives the ECS per-document milestone deletes and which survive, so the supersession is greppable from the code as well as the decision log and PR body.
Same treatment the crdt files got: every multi-line justification block drops to the one invariant the code cannot show.
A real configure failure is caught inside loadGraphData (dialog, then resolve), so the close path never saw it and deleted the draft of a tab that stayed open over a never-painted graph. loadGraphData now returns an explicit outcome; openWorkflow and loadDefaultWorkflow thread it; closeWorkflow aborts on an explicit failure report through its existing not-closed contract, releasing the load's navigation intent and skipping warnings for a graph that never painted. The regression tests drive the real failure shape: rootGraph.configure throwing, not a mocked rejection.
The docked panel's complementary landmark lost its accessible name while the async panel body loaded; the Suspense fallback now carries a visually-hidden agent-panel-title heading with the same translated string, covered in loading and resolved states. The dock-siblinghood test now mounts the splitter overlay and asserts the rendered structure instead of pinning source text; the linear-mode guard stays a source pin because GraphCanvas cannot mount in the unit environment. The dock width moves from an arbitrary min() to w-1/3 max-w-[420px].
A rejected AgentPanelRoot load left the Suspense fallback up forever with nothing reported. The dock now acts as an error boundary: the failure reaches reportError under agent_panel_load_failure and the panel renders a localized error state that keeps the landmark named. Also drops a non-null assertion in the mount test for optional chaining.
OSS builds now emit no agent chunk and carry no agent code: the dock mounts and tab-bar button sit behind the distribution literal (new useAgentDockMount seam), and the flag gate follows the initTelemetry idiom - the guard lives inside the retained function with every agent module imported dynamically past it, so the dead remainder and its import edges fold away, taking posthog-js with them. Cloud builds inline the gate into the core graph instead of fetching a separate extension chunk, and the panel body chunks load only once the gate enables and the panel opens. Verified by dist scans of both distributions.
The follower doc, wire schema and frame client, mint ports, litegraph mutator and semantic projector, layout follower bridge, op envelope and sender, schema guard, and the dev panel - all flag-gated and inert with no consumer in this slice (activation arrives with the agent stack). Carries the beforeLoadGraph/afterLoadGraph extension hooks, the layoutStore withActor scope, graph traversal support, the four transport prompt-error registrations with their locale entries, the comfy-multi-player dependency with its license-scan exclusion, ADR-0020 and the follower boundary check. Transitional knip entries mark the tree until slices 07+ import it.
…heet - rename ADR 0020 -> 0024 (main already carries 0020-0023), fix its H1, update all references, add the missing README index row - correct the license-exclusion comment: the pinned package declares GPL-3.0-only and ships a LICENSE file - genericize RUN-CLOUD-E2E.md (no internal hosts or names) and note the follower has no mount site until the agent-panel slice - install __agentCrdtPoc only under import.meta.env.DEV - update stale PoC comments; document both load hooks in docs/extensions/core.md including the configure-failure asymmetry
- port the child's graph-load hook test and pin once-each-in-order - pin afterLoadGraph skipped when graph configure fails - cover the four agent prompt-error types in the resolver suite - document beforeLoadGraph/afterLoadGraph pairing on ComfyExtension - dedupe findSubgraphPathById/findSubgraphNodePathById via a shared walk - reject async callbacks in layoutStore.withActor, with a pinning test - exercise the traversal walker's malformed-subgraph guard
- remove the comfy-multi-player license-scan exclusion: the pinned package declares GPL-3.0-only (allowlisted), and keeping the check live guards future pin bumps of a git-ref dependency - render CrdtDevPanel only in dev builds; knip tracks it via ignore instead of entry so unused-export reporting stays live for the tree - reword the ADR and boundary-check lines that asserted an env gate that does not exist on this branch
- correct the afterLoadGraph JSDoc: neither after-hook fires on a configure failure; brackets reset at the next beforeLoadGraph and close on afterConfigureGraph (superset of this hook's cases) - pin the full four-hook load order in the app suite - widen withActor's guard to thenables, report through the assert seam, neutralize the orphaned rejection, and pin actor restoration
- dev panel: init open state and start the poll interval only in dev builds (the render gate alone left prod lifecycle effects running) - symmetric DEV gate on the console-helper teardown delete - ADR: drop the dev-rendered claim, name the stopgap product-flag-gated, future-tense the mount statement - run sheet: point Verify at the dev panel's real testid
…ooks - the guard asserts, not throws: DEV throws, production reports and returns the thenable - say so on the method - the configure-fail test now pins that afterConfigureGraph is also skipped, completing the documented two-hook promise
Append-only merge of nathaniel/agent-v1/01-workflow-core-split at 9fd0e2a; clean three-way (workflowService restore-path + test).
- an ordinary seq gap retains the doc and replays via its state vector; a missed doc_reset is caught as a seq regression at doc_subscribed, before any folded catch-up update can apply, and refetched from zero - a workflow change replaces document and projection state together, so the next subscribe starts from the new workflow's own baseline - same-lineage reconnect and doc_reset refetch retain the projector: its snapshot records the materialized canvas, so recovery applies deltas instead of rediffing empty-to-full and duplicating the graph - decode and apply failures enter one typed fail-closed path (frame_error) that requests same-lineage replay without replacing the document - the projector commits its snapshot only after applyBatch finishes, so a partial batch failure re-derives the remaining delta on retry - a retyped node id is replaced with ordered remove + add and its links re-attached; previous-only widget keys emit an explicit clear_widget that restores the node-type default - property generators now exercise retype and widget-key drops
- each minted batch captures its workflow identity: retries and queued delivery stay document-scoped, and a rebind invalidates them as undeliverable instead of routing old ops to the new workflow - doc_ops_result frames naming a different workflow are ignored - toOpsResultView normalizes the wire's failed detail (single object, index/op shape, or array) to the sender's failure.op_id, so an empty-list host rejection keeps its batch identity - the ws_out dev tap records frame type, workflow correlation, op ids/types, counts, and byte size - never node/widget payloads
Append-only merge of nathaniel/agent-v1/02-crdt-foundation at d763c89. One semantic conflict in useAgentCrdtFollower: the follower's projector-retention fix wins over the pre-round reset calls; the dev panel taps and its lineage-scoped known-id rebuild are kept.
Two replicas seeded from one snapshot could both allocate the same next counter id, aliasing one document entry across concurrent add_node / add_link operations. While a semantic doc is bound, node and link creation now draws the contract's coordination-free ids (comfy-cli mint_id(): integers in [2^40, 2^53), disjoint from every counter id); the mint ports forward them untranslated. Unbound graphs keep the sequential counters byte-identically, pinned by a counterfactual; a property test pins replica disjointness and a round-trip pins the serialized format. Visible to extensions reading node ids on bound workflows only.
The frame_error detail is read structurally by the bridge; the exported interface had no importer (knip catch after the 02a stacking merge).
- arming is per graph state: only the doc-bound graph mints, every other graph keeps counters; LGraph.clear() replacing the state fails closed and the follower re-arms on subscribe confirm and each doc_update - retry-budget exhaustion and schema_error disarm (definitive binding failures restore counter allocation) - the id observers refuse mint-range ids, so a reloaded bound save can no longer drag lastNodeId/lastLinkId into the mint space - collision remints while armed stay inside [2^40, 2^53): the dedup exhaustion guard now admits the mint range instead of throwing - the dev console helper consumes the canonical minter, deleting its contradictory 2^52 bound; the range is quoted verbatim from the pinned comfy-multi-player NodeId doc
- a doc_subscribed confirm arms only while a workflow is still bound: the bridge re-dispatches confirms unconditionally, so one in flight for a just-dropped workflow could arm an unbound graph - counter restores clamp below the mint floor in configure and in the deprecated last_node_id/last_link_id setters: subgraph definitions serialize the root counters, so a pre-guard save that absorbed a minted id would re-poison a fixed build on load - a silent server after the last subscribe retry disarms via a bounded failsafe timeout instead of stranding the arm - one follower instance per tab stated at the composable head with a dev-mode warning on a second concurrent mount
- the round-3 clamp parked a poisoned counter at 2^40 - 1, so the very next allocation landed exactly on the mint floor; configure now routes node/link restores through the observers, which ignore mint-range values outright, and the tests assert the ALLOCATION stays below the floor rather than the counter - the deprecated setters drop mint-range writes (dev-warned) but keep their ability to lower - a doc_update clears the retry budget and the silent-server failsafe: updates flow without a confirm, so a doc recovering on the last resubscribe was armed by the update then disarmed by the orphan timer - the stale probe joins the id arm and the persist inside the currently-bound guard, so a stale confirm cannot start a self-re-arming probe on a detached panel
- the guards stop at MINT_ID_MIN - 1: the boundary value's own next ++ allocated exactly the mint floor, and saves made on the interim clamp build carry that exact value - the deprecated setters coerce through Number() and require integers: the untyped 0.4 configure loop feeds them raw JSON values, including string ids from subgraphStore payloads
# Conflicts: # docs/adr/README.md
…chNodeLayout Adds LayoutSource.Remote and extends detachNodeLayout with an options source param (resizeNodeLayout precedent), enabling remote/follower projectors to attribute layout operations without ambient global scope. Human-op capture can filter change.source === Remote for zero echo. Remote create path: pre-create layout in the store, then attach adopts silently (no duplicate createNode) — covered by tests.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
🎨 Storybook: ✅ Built — View Storybook🎭 Playwright: ✅ 1882 passed, 0 failed · 2 flaky📊 Browser Reports
📦 Bundle Size
⚡ Performance Report
Absolute values
Raw data{
"timestamp": "2026-08-29T10:02:24.609Z",
"gitSha": "a2d0bb4e746c969fe1817bd15b947568c7271dbb",
"branch": "christian-byrne/reserve-remote-layout-02b",
"measurements": [
{
"name": "canvas-idle",
"durationMs": 2080.1120000000424,
"styleRecalcs": 7,
"styleRecalcDurationMs": 6.349,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 563.92,
"heapDeltaBytes": -752268,
"heapUsedBytes": 61656904,
"domNodes": -281,
"jsHeapTotalBytes": 4448256,
"scriptDurationMs": 8.057000000000002,
"eventListeners": -189,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "canvas-idle",
"durationMs": 2050.109999999904,
"styleRecalcs": 8,
"styleRecalcDurationMs": 7.081,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 522.867,
"heapDeltaBytes": 3604052,
"heapUsedBytes": 67513956,
"domNodes": -283,
"jsHeapTotalBytes": 4710400,
"scriptDurationMs": 10.043000000000003,
"eventListeners": -185,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1815.400000000011,
"styleRecalcs": 75,
"styleRecalcDurationMs": 33.396,
"layouts": 12,
"layoutDurationMs": 3.144,
"taskDurationMs": 855.674,
"heapDeltaBytes": 1262400,
"heapUsedBytes": 70576464,
"domNodes": -281,
"jsHeapTotalBytes": 6021120,
"scriptDurationMs": 154.73700000000002,
"eventListeners": -187,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333335,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1891.3569999999709,
"styleRecalcs": 78,
"styleRecalcDurationMs": 38.695,
"layouts": 12,
"layoutDurationMs": 3.5909999999999997,
"taskDurationMs": 888.032,
"heapDeltaBytes": -2140276,
"heapUsedBytes": 61307436,
"domNodes": -279,
"jsHeapTotalBytes": 4186112,
"scriptDurationMs": 160.15200000000002,
"eventListeners": -153,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66999999999998,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1664.8270000000025,
"styleRecalcs": 31,
"styleRecalcDurationMs": 15.031,
"layouts": 6,
"layoutDurationMs": 0.5940000000000001,
"taskDurationMs": 347.23199999999997,
"heapDeltaBytes": 4255672,
"heapUsedBytes": 73386452,
"domNodes": 76,
"jsHeapTotalBytes": 5505024,
"scriptDurationMs": 9.635000000000002,
"eventListeners": 19,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1721.4719999999488,
"styleRecalcs": 31,
"styleRecalcDurationMs": 15.67,
"layouts": 6,
"layoutDurationMs": 0.6369999999999999,
"taskDurationMs": 342.35499999999996,
"heapDeltaBytes": 4389764,
"heapUsedBytes": 73516164,
"domNodes": 77,
"jsHeapTotalBytes": 5505024,
"scriptDurationMs": 9.921999999999997,
"eventListeners": 19,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-clipping",
"durationMs": 660.7020000000148,
"styleRecalcs": 10,
"styleRecalcDurationMs": 7.223999999999999,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 451.202,
"heapDeltaBytes": 19029784,
"heapUsedBytes": 81776816,
"domNodes": 16,
"jsHeapTotalBytes": 4194304,
"scriptDurationMs": 170.34199999999998,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "dom-widget-clipping",
"durationMs": 655.4420000001073,
"styleRecalcs": 9,
"styleRecalcDurationMs": 5.623999999999999,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 445.52699999999993,
"heapDeltaBytes": 19021136,
"heapUsedBytes": 82176000,
"domNodes": 14,
"jsHeapTotalBytes": 4980736,
"scriptDurationMs": 161.525,
"eventListeners": 2,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-idle",
"durationMs": 2074.8049999999694,
"styleRecalcs": 5,
"styleRecalcDurationMs": 4.877,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 633.2590000000001,
"heapDeltaBytes": -7851000,
"heapUsedBytes": 87517220,
"domNodes": -267,
"jsHeapTotalBytes": -1318912,
"scriptDurationMs": 47.499,
"eventListeners": -155,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333332,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-idle",
"durationMs": 2038.0059999999958,
"styleRecalcs": 6,
"styleRecalcDurationMs": 5.195000000000002,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 599.195,
"heapDeltaBytes": -12752324,
"heapUsedBytes": 87523132,
"domNodes": -269,
"jsHeapTotalBytes": -794624,
"scriptDurationMs": 33.347,
"eventListeners": -153,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-pan",
"durationMs": 2363.749999999982,
"styleRecalcs": 67,
"styleRecalcDurationMs": 11.410000000000004,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 1763.535,
"heapDeltaBytes": 9176840,
"heapUsedBytes": 82450608,
"domNodes": -244,
"jsHeapTotalBytes": 180224,
"scriptDurationMs": 905.6439999999999,
"eventListeners": -183,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-pan",
"durationMs": 2293.3779999999615,
"styleRecalcs": 64,
"styleRecalcDurationMs": 8.603999999999997,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 1626.8599999999997,
"heapDeltaBytes": 19435924,
"heapUsedBytes": 85194960,
"domNodes": 4,
"jsHeapTotalBytes": 749568,
"scriptDurationMs": 874.622,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-zoom",
"durationMs": 3623.807999999997,
"styleRecalcs": 63,
"styleRecalcDurationMs": 12.533,
"layouts": 60,
"layoutDurationMs": 7.064000000000001,
"taskDurationMs": 1787.7320000000002,
"heapDeltaBytes": 2026552,
"heapUsedBytes": 76485472,
"domNodes": -276,
"jsHeapTotalBytes": -1880064,
"scriptDurationMs": 815.697,
"eventListeners": -179,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "large-graph-zoom",
"durationMs": 3566.516999999976,
"styleRecalcs": 61,
"styleRecalcDurationMs": 11.771,
"layouts": 60,
"layoutDurationMs": 6.843999999999999,
"taskDurationMs": 1704.2189999999998,
"heapDeltaBytes": 15272088,
"heapUsedBytes": 81491740,
"domNodes": 2,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 820.637,
"eventListeners": 8,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "legacy-node-drag",
"durationMs": 3134.947000000011,
"styleRecalcs": 40,
"styleRecalcDurationMs": 4.775000000000001,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 1931.8300000000002,
"heapDeltaBytes": 18630276,
"heapUsedBytes": 85955676,
"domNodes": 0,
"jsHeapTotalBytes": 1204224,
"scriptDurationMs": 981.924,
"eventListeners": 188,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666696,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "legacy-node-drag",
"durationMs": 3127.480999999989,
"styleRecalcs": 40,
"styleRecalcDurationMs": 4.765999999999999,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 1933.344,
"heapDeltaBytes": 19972372,
"heapUsedBytes": 85858160,
"domNodes": 0,
"jsHeapTotalBytes": 679936,
"scriptDurationMs": 992.137,
"eventListeners": 188,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333332,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2019.1179999999918,
"styleRecalcs": 4,
"styleRecalcDurationMs": 3.273999999999999,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 553.134,
"heapDeltaBytes": 23735036,
"heapUsedBytes": 88579132,
"domNodes": -273,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 37.604,
"eventListeners": -155,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333332,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2052.805000000035,
"styleRecalcs": 4,
"styleRecalcDurationMs": 6.13,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 593.5079999999999,
"heapDeltaBytes": 12287716,
"heapUsedBytes": 87944668,
"domNodes": -275,
"jsHeapTotalBytes": -2404352,
"scriptDurationMs": 36.881,
"eventListeners": -183,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 608.0759999999827,
"styleRecalcs": 45,
"styleRecalcDurationMs": 8.361,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 413.91299999999995,
"heapDeltaBytes": 14882008,
"heapUsedBytes": 85540400,
"domNodes": 16,
"jsHeapTotalBytes": 5242880,
"scriptDurationMs": 150.217,
"eventListeners": 8,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66333333333332,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 601.319999999987,
"styleRecalcs": 48,
"styleRecalcDurationMs": 11.027000000000001,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 400.96299999999997,
"heapDeltaBytes": 14784500,
"heapUsedBytes": 85536232,
"domNodes": 22,
"jsHeapTotalBytes": 4980736,
"scriptDurationMs": 138.57799999999997,
"eventListeners": 8,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-idle",
"durationMs": 2001.1839999999665,
"styleRecalcs": 8,
"styleRecalcDurationMs": 6.310999999999999,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 476.53299999999996,
"heapDeltaBytes": -6367452,
"heapUsedBytes": 57758156,
"domNodes": -297,
"jsHeapTotalBytes": 4710400,
"scriptDurationMs": 7.132,
"eventListeners": -201,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-idle",
"durationMs": 2020.5760000000055,
"styleRecalcs": 10,
"styleRecalcDurationMs": 7.891000000000002,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 470.984,
"heapDeltaBytes": -7590920,
"heapUsedBytes": 63535848,
"domNodes": -296,
"jsHeapTotalBytes": 6283264,
"scriptDurationMs": 6.659999999999999,
"eventListeners": -201,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1717.628999999988,
"styleRecalcs": 75,
"styleRecalcDurationMs": 32.911,
"layouts": 16,
"layoutDurationMs": 3.77,
"taskDurationMs": 783.6270000000001,
"heapDeltaBytes": -11854220,
"heapUsedBytes": 59190496,
"domNodes": -298,
"jsHeapTotalBytes": 6021120,
"scriptDurationMs": 104.669,
"eventListeners": -201,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.660000000000007,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1732.823000000053,
"styleRecalcs": 75,
"styleRecalcDurationMs": 32.727000000000004,
"layouts": 16,
"layoutDurationMs": 3.439,
"taskDurationMs": 783.707,
"heapDeltaBytes": -4199592,
"heapUsedBytes": 60869956,
"domNodes": -297,
"jsHeapTotalBytes": 5496832,
"scriptDurationMs": 105.36899999999999,
"eventListeners": -201,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-transition-enter",
"durationMs": 1383.4530000000314,
"styleRecalcs": 19,
"styleRecalcDurationMs": 30.341,
"layouts": 14,
"layoutDurationMs": 13.953,
"taskDurationMs": 897.9009999999998,
"heapDeltaBytes": -7383260,
"heapUsedBytes": 86278032,
"domNodes": 13671,
"jsHeapTotalBytes": 10747904,
"scriptDurationMs": 32.2,
"eventListeners": 2381,
"totalBlockingTimeMs": 137,
"frameDurationMs": 16.670000000000012,
"p95FrameDurationMs": 16.80000000000109
},
{
"name": "viewport-pan-sweep",
"durationMs": 8532.308999999997,
"styleRecalcs": 249,
"styleRecalcDurationMs": 36.232,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 5931.921,
"heapDeltaBytes": 18166476,
"heapUsedBytes": 90780400,
"domNodes": -271,
"jsHeapTotalBytes": 442368,
"scriptDurationMs": 2841.291,
"eventListeners": -169,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "viewport-pan-sweep",
"durationMs": 8440.731999999913,
"styleRecalcs": 247,
"styleRecalcDurationMs": 34.038,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 5901.767000000001,
"heapDeltaBytes": -15097496,
"heapUsedBytes": 81991312,
"domNodes": -269,
"jsHeapTotalBytes": 741376,
"scriptDurationMs": 2860.7019999999998,
"eventListeners": -139,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "vue-large-graph-idle",
"durationMs": 16743.836000000043,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 16176.569999999998,
"heapDeltaBytes": -27708656,
"heapUsedBytes": 173861808,
"domNodes": -6548,
"jsHeapTotalBytes": 3629056,
"scriptDurationMs": 323.352,
"eventListeners": -7473,
"totalBlockingTimeMs": 0,
"frameDurationMs": 17.776666666666642,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "vue-large-graph-idle",
"durationMs": 16719.62199999996,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 16180.385000000002,
"heapDeltaBytes": -27034708,
"heapUsedBytes": 175446892,
"domNodes": -6548,
"jsHeapTotalBytes": 3174400,
"scriptDurationMs": 292.935,
"eventListeners": -7475,
"totalBlockingTimeMs": 0,
"frameDurationMs": 17.220000000000073,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "vue-large-graph-pan",
"durationMs": 20726.15000000002,
"styleRecalcs": 170,
"styleRecalcDurationMs": 16.77400000000001,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 20322.483,
"heapDeltaBytes": -31949944,
"heapUsedBytes": 176072664,
"domNodes": -6548,
"jsHeapTotalBytes": -1249280,
"scriptDurationMs": 1035.719,
"eventListeners": -7467,
"totalBlockingTimeMs": 130,
"frameDurationMs": 17.776666666666642,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "vue-large-graph-pan",
"durationMs": 20910.49499999997,
"styleRecalcs": 174,
"styleRecalcDurationMs": 18.035999999999998,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 20535.141,
"heapDeltaBytes": -23136112,
"heapUsedBytes": 182445012,
"domNodes": -6548,
"jsHeapTotalBytes": -1216512,
"scriptDurationMs": 997.1310000000001,
"eventListeners": -7469,
"totalBlockingTimeMs": 55,
"frameDurationMs": 17.776666666666642,
"p95FrameDurationMs": 16.80000000000291
},
{
"name": "workflow-execution",
"durationMs": 478.0759999999873,
"styleRecalcs": 20,
"styleRecalcDurationMs": 24.083000000000002,
"layouts": 4,
"layoutDurationMs": 1.5970000000000002,
"taskDurationMs": 126.24899999999997,
"heapDeltaBytes": 5415864,
"heapUsedBytes": 72656096,
"domNodes": 152,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 17.89,
"eventListeners": 99,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "workflow-execution",
"durationMs": 104.61499999996704,
"styleRecalcs": 7,
"styleRecalcDurationMs": 19.607,
"layouts": 2,
"layoutDurationMs": 1.0119999999999998,
"taskDurationMs": 78.316,
"heapDeltaBytes": 3125364,
"heapUsedBytes": 66081564,
"domNodes": 126,
"jsHeapTotalBytes": 524288,
"scriptDurationMs": 5.954999999999998,
"eventListeners": 25,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66999999999998,
"p95FrameDurationMs": 16.799999999999272
}
]
} |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## nathaniel/agent-v1/02b-crdt-write-leg #16224 +/- ##
=========================================================================
+ Coverage 82.73% 82.74% +0.01%
=========================================================================
Files 1968 1968
Lines 113743 113746 +3
Branches 33701 33207 -494
=========================================================================
+ Hits 94101 94119 +18
+ Misses 19307 19283 -24
- Partials 335 344 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 14 files with indirect coverage changes 🚀 New features to boost your workflow:
|
1b8d929 to
3bf7b93
Compare
|
Superseded — closing per Christian's direction.
Full context for agent readersProgram pivot 2026-08-31: the 17-slice stack targeting the v1 integration branch is superseded by the #16198 v2 merge to main @f954e479. Per program/reorientation-plan.md, all remaining value (tests, QA artifacts, invariant checks, refactors) ports to main-based successor PRs. Pre-close dossier cross-check completed for this PR; unique unsalvaged content (if any) was filed as a salvage row in the program todo before close. This closed PR remains a readable source; review/QA deliverables are posted only on open successor PRs. |
Remote layout-source seam reserved for slice 02b exact head
d0f7be66d80966a61b6c9fc4c9c122f309842ffc.Full context for agent readers
Ports local-only commit
d92998d9b2ce17a85e13f719309b2c6e818c4818into the owning CRDT write-leg slice. It adds the remoteLayoutSource, carries source throughdetachNodeLayout, and includes focused coverage.Validation: three-way application was clean and
git diff --checkpassed. No test command was run in this dependency-free reservation clone.