RUN  v4.1.9 /workspace/niko/agent-platform/frontend Coverage enabled with v8 (node:386) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:334) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:367) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:341) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:373) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:335) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:342) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:348) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:354) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:361) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:390) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L2W/coordinator.test.ts > createCoordinator > returns an object with useCoordinator 24ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > resolveEndpointTemplate > replaces a single token in the template 40ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > resolveEndpointTemplate > replaces multiple tokens and removes used params 3ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > resolveEndpointTemplate > returns url unchanged when no tokens exist 2ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > resolveEndpointTemplate > throws when a token is missing from params 5ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > resolveEndpointTemplate > throws when one of multiple tokens is missing 2ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > createEntityHooks > returns EntityHooks with required shape 2ms stderr | src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — inactive state (no crud) > submit is callable even when inactive (no-op) An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — inactive state (no crud) > activeCrud is null when routeContext has no crud 115ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — inactive state (no crud) > activeCrud is null when routeContext.crud is undefined 17ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — inactive state (no crud) > fieldPolicy is empty when inactive 30ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — inactive state (no crud) > formModel is defaults when inactive 13ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — inactive state (no crud) > bridge starts clean when inactive 12ms ✓ src/layers/__tests__/L1/ReconnectRefresh.test.tsx > ReconnectRefresh > DoD-3: initial mount does NOT invalidate > first onopen does not call invalidateQueries 205ms ✓ src/layers/__tests__/L1/ReconnectRefresh.test.tsx > ReconnectRefresh > DoD-4/DoD-5: 1 onerror + onopen triggers invalidate after wasEverConnected > invalidates on reconnect onopen after an onerror on the established connection 36ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — inactive state (no crud) > submit is callable even when inactive (no-op) 23ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — owner isolation > activeCrud is null when routeContext.crud.owner != config.owner 10ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — owner isolation > activeCrud is populated when owner matches 14ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — owner isolation > activeCrud includes prefix when provided 13ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — owner isolation > owner isolation works for edit mode 11ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — add flow > formModel initialized with defaults 15ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — add flow > fieldPolicy uses add mode 18ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useEntityList > returns ListResult shape with hasMore and totalEstimate when API responds with data array 208ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > initial state: reconnecting → connected > starts in reconnecting and transitions to connected on onopen 251ms ✓ src/layers/__tests__/L1/ReconnectRefresh.test.tsx > ReconnectRefresh > DoD-4: 4+ onerrors during initial mount + onopen = NO invalidate > no invalidate when errors happen before first successful connection 33ms ✓ src/layers/__tests__/L1/ReconnectRefresh.test.tsx > ReconnectRefresh > DoD-5: flag cycle > cycles: onerror→onopen(invalidate)→onerror→onopen(invalidate)→onopen(no invalidate) 30ms ✓ src/layers/__tests__/L1/ReconnectRefresh.test.tsx > ReconnectRefresh > DoD-6: manual reconnect in lost state triggers invalidate > reconnect from lost state triggers invalidate when flag is true 39ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — add flow > activeCrud has mode add 18ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — add flow > submit calls mutation.create with toCreate(formModel) 41ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — add flow > bridge.pending is true after submit 16ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — add flow > submit uses the latest formModel via setFormModel 22ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — edit flow > formModel populated from entity detail 13ms ✓ src/layers/__tests__/L1/RefCountIntegration.test.tsx > RefCount Integration > Mount -> refCount=1 -> staleTime Infinity > useEntityList sees staleTime Infinity when refCount > 0 293ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > connection lost after 5 onerrors > sets connectionState:lost after 5 consecutive failures 42ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > reconnecting state on 1–4 onerrors > stays in reconnecting after 4 consecutive onerrors 19ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > reconnect() resets failureCount and state > reconnect() moves from lost back to reconnecting and resets backoff 27ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useEntityList > filters out pending deleted entities 80ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — edit flow > fieldPolicy uses edit mode 12ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — edit flow > activeCrud has mode edit 10ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — edit flow > submit calls mutation.update with id and toUpdate(formModel) 37ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — edit flow > detail not yet loaded shows formModel as defaults 30ms ✓ src/layers/__tests__/L1/RefCountIntegration.test.tsx > RefCount Integration > Unmount -> refCount=0 -> staleTime 120_000 > after unmount, refCount drops to 0 and staleTime falls back to sseMode value 105ms ✓ src/layers/__tests__/L1/RefCountIntegration.test.tsx > RefCount Integration > Two components, same queryKey -> refCount=2 > both subscriptions contribute to refCount, both become 0 only after both unmount 52ms ✓ src/layers/__tests__/L1/ReconnectRefresh.test.tsx > ReconnectRefresh > DoD-7: zombie callback — unmount prevents invalidate > does not invalidate when onopen fires after unmount 22ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > heartbeat timeout triggers lost state > transitions to lost after 30s without heartbeat 47ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > heartbeat timeout triggers lost state > heartbeat timeout → reconnecting with backoff 17ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > heartbeat timeout triggers lost state > heartbeat events prevent lost state (35s with heartbeat at 20s does NOT trigger lost) 23ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > 60s lost auto-retry > retries after 60s in lost state and schedules next retry on failure 47ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useEntityList > uses defaultListQuery when no params provided 159ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useEntityList > resolves endpoint template with params and strips used tokens 52ms stderr | src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator failure path > submit does not throw when called without active crud An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator lifecycle transitions > handles transition from add → inactive → edit cleanly 28ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator lifecycle transitions > closeIntent resets on mode change 31ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator failure path > failure is null initially 11ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator failure path > bridge dirty stays true when pending resets (failure simulation) 14ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator failure path > submit does not throw when called without active crud 17ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator failure path > activeCrud remains populated after submit (branch not closed) 14ms ✓ src/layers/__tests__/L1/RefCountIntegration.test.tsx > RefCount Integration > Two components, different queryKey > different filters get independent refCounts 30ms ✓ src/layers/__tests__/L1/RefCountIntegration.test.tsx > RefCount Integration > Race condition: refCount 0->1 cancels ongoing refetch > calls cancelQueries when refCount transitions 0->1 mid-refetch 54ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > unmount cancels timers > cancels lostRetryTimeout and closes EventSource on unmount in lost state 13ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > per-subscription heartbeat isolation > two hook instances do not share heartbeat state 28ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > Phase 3 fix: clearLostRetry() on every open() — no duplicate 60s timers > after 60s lost retry fires, open() clears the stale timer and starts fresh backoff cycle 20ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > Phase 3 fix: onopen resets heartbeat timestamp to prevent premature timeout > onopen resets heartbeat timestamp so heartbeat does not trigger within 10s of reconnect 15ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > Phase 3 fix: pendingTimeouts cleared on lost — stale reconnecting timers do not override lost > after 5 rapid onerrors trigger lost, stale backoff timers do NOT fire and override lost state 16ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useEntityList > uses staleTime 0 when queryMode is live 79ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator failure path > failure is null after submit when no sync error occurs 18ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator failure path > failure is set when mutation resolves with isError=true 24ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator closeIntent > closeIntent is null initially 13ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator closeIntent > cancel() sets closeIntent to cancel 16ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator updateField and setFormModel > setFormModel updates snapshot.formModel 24ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > Phase 3 fix: clearLostRetry() in reconnecting path — stale lost timer does not override reconnecting > reconnect() clears stale lost timer and stays connected past the 60s window 41ms ✓ src/layers/__tests__/L1/SseConnectionState.test.tsx > SseConnectionState — state machine > DoD-4: backoff survives re-render (normalizedRef fix) > failureCount persists across re-renders and retry fires on schedule 50ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useEntityList > uses default staleTime when queryMode is cache 65ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useEntityList > returns hasMore true from API meta 72ms ✓ src/layers/__tests__/L1/RefCountIntegration.test.tsx > RefCount Integration > sseMode + refCount combinations > sseMode true, refCount 0 -> staleTime 120_000 110ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator updateField and setFormModel > updateField updates a single field and marks dirty 38ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator updateField and setFormModel > updateField preserves other fields 12ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator snapshot type contract (compile-time) > snapshot has all required CoordinatorSnapshot fields 12ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator snapshot type contract (compile-time) > result exposes updateField, setFormModel, cancel 11ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > deleteState is null on collection route 9ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > deleteState is null on collection route even with crud 9ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > deleteState is non-null on detail route 12ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > requestDelete sets showConfirm to true 12ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > requestDelete clears previous delete errors 18ms ✓ src/layers/__tests__/L1/RefCountIntegration.test.tsx > RefCount Integration > sseMode + refCount combinations > sseMode true, refCount > 0 -> staleTime Infinity 105ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useEntityList > handles totalEstimate -1 as unknown count 72ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > cancelDelete sets showConfirm to false 19ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > cancelDelete does not call mutation.remove 26ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > confirmDelete calls mutation.remove with routeContext.id 18ms ✓ src/layers/__tests__/L1/RefCountIntegration.test.tsx > RefCount Integration > sseMode + refCount combinations > sseMode false/undef, refCount 0 -> staleTime undefined (global default) 87ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useEntityList > falls back safely when API meta is missing 93ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > confirmDelete closes showConfirm and clears delete error before calling remove 47ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > confirmDelete is a no-op on collection route 24ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > deleteState.isPending is false when delete not requested 14ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > deleteState.isPending reflects mutation.isPending during active delete 15ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > deleteState.isPending becomes false after delete completes 25ms ✓ src/layers/__tests__/L1/RefCountIntegration.test.tsx > RefCount Integration > sseMode + refCount combinations > sseMode false/undef, refCount > 0 -> staleTime Infinity 101ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useEntityDetail > returns DetailResult shape on successful fetch 92ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useEntityDetail > is skipped when id is empty 10ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > returns MutationHandle shape with isPending and callable methods 14ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > update receives id as first argument and sends Idempotency-Key header 51ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > update does not trigger cache invalidation 21ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > extracts error message from response.data.error 36ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > falls back to error.message when response.data is absent 22ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > falls back to String(err) when response.data.error and message are both missing 35ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > falls back to default string when error is null 20ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > create triggers cache invalidation with Idempotency-Key header 22ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > create resolves endpoint template in mutationFn 66ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > create resolves endpoint template using createPathParams from contract 17ms ✓ src/layers/__tests__/L1/RefCountIntegration.test.tsx > RefCount Integration > useEntityDetail refCount-aware staleTime > detail query sees staleTime Infinity when subscription is active for same entity 135ms stderr | src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > rendering states > renders loading state when isLoading is true ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > successful delete clears error state 28ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — delete state machine > error remains null after successful delete (was null before) 26ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — entitySelectData resolution > entitySelectData is empty when no entitySelectSources configured 11ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — entitySelectData resolution > resolves entity-select options from L1 useEntityList 13ms ✓ src/layers/__tests__/L2W/coordinator.test.ts > useCoordinator — entitySelectData resolution > uses default idField and nameField when not specified 11ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > create with pipelines-like contract uses context to build URL /projects/{id}/pipelines 18ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > create resolves template from context when body lacks the token field 28ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > create isolates context between rapid successive calls (no ref race) 37ms stderr | src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > rendering states > renders loading state when isLoading is true ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > rendering states > renders loading state when isLoading is true 286ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > rendering states > renders error state when error is present 16ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > rendering states > renders empty state when data is empty 15ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > offline create adds to outbox without calling API 52ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > offline update adds to outbox without calling API 34ms stderr | src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > row identity > uses resolveIdOf result for row key and data-testid ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > rendering states > renders loading state when isLoading is true 454ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > rendering states > renders error state when error is present 38ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > row identity > uses resolveIdOf result for row key and data-testid 450ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > row identity > falls back to row.id when resolveIdOf returns null 46ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > offline remove adds to pendingDeleteMap, cache, and outbox without API call 61ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > remove does not trigger cache invalidation 49ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > rendering states > renders data table when data is present 114ms ✓ src/layers/__tests__/L1/RefCountIntegration.test.tsx > RefCount Integration > useEntityDetail refCount-aware staleTime > detail query sees staleTime undefined when no subscription 94ms ✓ src/layers/__tests__/L1/RefCountIntegration.test.tsx > RefCount Integration > Per-queryKey isolation (DoD-7) > two different queryKeys do not share refCount 47ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > remove onSuccess performs deterministic cache cleanup across all same-path entries 54ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > remove onSuccess cache cleanup removes entity from detail cache entry 57ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useMutation > isPending reflects combined mutation state 24ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > row identity > falls back to empty string when no id field and resolveIdOf returns null 42ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > rendering states > renders column headers from config 180ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > wiring > renders add button when createTarget is set 74ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useSubscription > shape smoke > returns SubscriptionHandle with correct shape 35ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useSubscription > connection-lost after 5 failures > sets connectionState:lost after 5 consecutive failures 37ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useSubscription > reconnect resets the state > reconnect is callable and triggers a new connection attempt 21ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > SSE > shows connection-lost banner with reconnect when SSE enabled and connection lost 120ms stderr | src/shared/components/CrudReadCard.test.tsx > CrudReadCard > 1. loading shows skeleton header + skeleton card, no buttons rendered ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > wiring > renders custom add button label from config.createLabel 43ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > wiring > renders default add button label when createLabel is not set 43ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > SSE > shows data table alongside SSE connection-lost banner (preserving cached data) 114ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > SSE > reconnect button calls sse.reconnect 83ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > rendering states > renders empty state when entity is null 65ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > wiring > calls navigate with createTarget when add button clicked 76ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > wiring > row click calls navigate with rowTarget and row id 69ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > SSE > renders table normally when SSE enabled and connection is live 58ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > SSE > renders table normally when SSE is not enabled 83ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > rendering states > renders detail content via CrudReadCard with fields from readGrouping 412ms ✓ src/layers/__tests__/L1/entityHooks.test.tsx > useSubscription > SSE deleted cleanup > removes pendingDelete entry on entity.deleted event 31ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > wiring > does not render add button when createTarget is not set (no fallback) 40ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > wiring > add button is not clickable when createTarget is not set 97ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > rendering states > renders field values correctly via MetadataCard 123ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > states > shows error state 55ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > states > shows loading state 20ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > states > shows empty state when no data and not loading 24ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > 1. loading shows skeleton header + skeleton card, no buttons rendered 349ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > wiring > row click uses derived default when rowTarget is not set 54ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > wiring > row click uses rowTargetOverride when provided 29ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > sort > sets default sort in URL on initial hydration 26ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > rendering states > uses default grouping when readGrouping is not set 92ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > states > shows filter-empty state when data is empty and filters are active 51ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > states > filter-empty state shows clear filters button 76ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > 2. error shows "Failed to load" + Retry 355ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > states > shows regular empty when no filters are active and data empty 64ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > states > error takes priority over loading 22ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > add button > renders add button in header when createTarget is set 39ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > wiring > renders edit button when edit target is set 134ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > sort > shows sort indicator on active sort column 57ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > add button > does not render add button when createTarget is not set (no fallback) 50ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > row click > navigates via rowTargetOverride on click when override is set 63ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > wiring > calls navigate with edit target when edit button clicked 132ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > wiring > does not render edit button when actionTargets.edit is not set 28ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > wiring > edit button navigates to configured target when actionTargets.edit is set 59ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > row click > rowTargetOverride takes precedence over rowTarget 40ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > row click > navigates to derived default pathname/id when no rowTarget and no override 32ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > 3. 404 shows "not found" + "Back to list" 135ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > sort > cycles sort on header click: none -> asc -> desc -> none 210ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > sort > switches to new column asc when different column is clicked 89ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > filters slot > renders filtersSlot when provided alongside data 80ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > wiring > renders edit button when actionTargets.edit is present 58ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > overrides > renders custom loading fragment 20ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > overrides > renders custom empty fragment 18ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > overrides > renders custom error fragment 17ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > overrides > wraps in layoutWrapper from overrides 37ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > sort > sorts data by active sort field asc 115ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > 4. default renders title, actions, field grid 286ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > filters slot > does not render filters-slot when filtersSlot is not provided 92ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > renders delete button when actionTargets.delete=true and deleteState is present 75ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > does not render delete button when actionTargets.delete is not set 40ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > does not render delete button when deleteState is null 28ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > sort > sorts data by active sort field desc 89ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > sort > places null/undefined values last in asc sort 89ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > renders pagination controls with prev/next buttons 122ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > sort > sorts numbers numerically 79ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > disables prev button when offset is 0 114ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > 5. edit onClick is called 291ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > sort > sorts strings case-insensitively 137ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > enables prev button when offset > 0 126ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > sort > does not render sort indicator on non-sortable columns 136ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > overrides > renders custom loading fragment from overrides 36ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > overrides > renders custom empty fragment from overrides 41ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > disables next button when hasMore is false 167ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > disables next button when hasMore is undefined and data length < pageSize (fallback) 91ms stderr | src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > cancel > navigates to cancelTarget when Cancel is clicked ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. stderr | src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > cancel > navigates to cancelTarget when Cancel is clicked An update to Crud inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > rendering > renders nothing when activeCrud is null 381ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > overrides > renders custom error fragment from overrides 30ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > overrides > wraps content in layoutWrapper from overrides 83ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > delete button click calls deleteState.requestDelete 44ms stderr | src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > cancel > navigates to cancelTarget when Cancel is clicked An update to FocusScope inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to DismissableLayer inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to FocusScope inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to DismissableLayer inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > renders confirm-delete-dialog when deleteState.showConfirm is true 643ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > overrides > uses label overrides for column headers 67ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > overrides > hides columns specified in overrides 39ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > 6. delete opens ConfirmDialog 653ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > filter-empty state > shows filter-empty when hasActiveFilters is true and data is empty 99ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > filter-empty state > shows regular empty when hasActiveFilters is false and data empty 28ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > filter-empty state > shows clear filters button in filter-empty state when onClearFilters provided 42ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > enables next button when hasMore is true 316ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > rendering > renders add mode title by default 1051ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > does not render confirm-delete-dialog when showConfirm is false 57ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > filter-empty state > does not show filter-empty when data is not empty 113ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > enables next button when hasMore is true even with less data than pageSize 168ms ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > cancel > navigates to cancelTarget when Cancel is clicked 1534ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > reads offset from URL search params 73ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > uses fixedParams.limit as pageSize when provided 26ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > defaults pageSize to 25 when no fixedParams.limit 33ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > render contract > calls render for each cell 119ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > rendering > renders edit mode title 390ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > shows totalEstimate in pagination display when >= 0 67ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > hides "of" in pagination display when totalEstimate is -1 33ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > hides "of" in pagination display when totalEstimate is undefined 39ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > render contract > renders ReactNode from render function 159ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > render contract > render receives full row object 29ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > render contract > renders default plain text when render is omitted 39ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > render contract > supports mixed columns: some with render, some without 23ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > cancel button calls deleteState.cancelDelete 331ms ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > cancel > navigates to cancelTarget via closeIntent cancel 412ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > falls back to total for pagination display when totalEstimate is missing but total is set 56ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > resets offset when sort changes 79ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > 7. delete confirm calls onClick 714ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > confirm button calls deleteState.confirmDelete 360ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > rendering > renders form fields based on fieldPolicy 297ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > pagination > resets offset when filter changes 167ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > confirm button is disabled when isPending is true 233ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > renders delete-error when deleteState.error is not null 22ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > does not render delete-error when error is null 33ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > 8. delete disabled is muted 177ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > sort + filter param merge > includes stripped filter params and excludes prefixed internal keys 124ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > calls onDeleteSuccess when delete transitions from pending to done without error 33ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > does not call onDeleteSuccess when pending transition has error 32ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > does not call onDeleteSuccess while still pending 25ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > DetailSurface — delete UI contract > calls onDeleteSuccess at most once during repeated pending→done cycles 32ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > 9. extra renders before Edit 168ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > external deleteState integration > 10. renders external delete button when deleteState is provided 83ms ✓ src/layers/__tests__/L2R/ListSurface.test.tsx > ListSurface > render contract > render is optional — ColumnConfig is valid without render 25ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > field formatters > applies formatter for fields with formatter defined 60ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > field formatters > applies ReactNode formatter 27ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > field formatters > falls back to String() when no formatter for field 36ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > field formatters > passes entity as second argument to formatter 26ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > rendering > does not render fields with visible: false 403ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > external deleteState integration > 11. external delete button click calls requestDelete 116ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > sort + filter param merge > does not break fixedParams 105ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > extra > forwards extra buttons to CrudReadCard when provided 92ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > extra > extra buttons render before Edit button in CrudReadCard 74ms ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > cancel > navigates with :id replaced in edit mode cancel 314ms stderr | src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > cancel > falls back to onCancel callback An update to Crud inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > extra > renders extra Button in header bar 439ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > extra > DOM order: extra container before Add button within header flex 47ms stderr | src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > cancel > falls back to onCancel callback An update to FocusScope inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to DismissableLayer inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to FocusScope inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to DismissableLayer inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act (node:422) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > extra > undefined does not break 58ms ✓ src/layers/L2R/surfaces/DetailSurface.test.tsx > DetailSurface > extra > renders multiple extra buttons via fragment 112ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > rendering > renders disabled input for fields with editable: false 482ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > external deleteState integration > 12. shows confirm dialog when showConfirm is true 212ms ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > cancel > falls back to onCancel callback 960ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > extra > onClick callback is invoked when button clicked 156ms ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > success > navigates to successTarget with id replaced from mutation result (add) 317ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > rendering > renders modal with dialog role for accessibility 384ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > external deleteState integration > 13. confirm button calls confirmDelete 452ms stderr | src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > success > falls back to onSuccess callback An update to Crud inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > success > navigates using route param id in edit mode 232ms stderr | src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > success > falls back to onSuccess callback An update to FocusScope inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to DismissableLayer inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to FocusScope inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to DismissableLayer inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > extra > fragment with multiple buttons renders all 379ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > rendering > renders Save and Cancel buttons in modal footer 411ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > external deleteState integration > 14. cancel button calls cancelDelete 420ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > sort toggle > cycles sort: none -> asc -> desc -> none 304ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > refresh button > refresh button visible when SSE not enabled 53ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > external deleteState integration > 15. confirm button disabled when isPending 227ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > external deleteState integration > 16. renders deleteError when provided 21ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > external deleteState integration > 17. no internal DeleteButton when deleteState is provided 38ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > overrides > 18. renders custom error fragment via overrides 10ms ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > overrides > 19. renders custom loading fragment via overrides 9ms ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > refresh button > refresh button visible when SSE is enabled 81ms ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > success > falls back to onSuccess callback 238ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > pending state > disables fieldset and modal buttons when pending 293ms ✓ src/layers/__tests__/config-contracts.test.ts > config contracts — CrudConfig minimum requirements > every CrudConfig has entityPath 26ms ✓ src/layers/__tests__/config-contracts.test.ts > config contracts — CrudConfig minimum requirements > every CrudConfig has fieldSet with at least one field 4ms ✓ src/layers/__tests__/config-contracts.test.ts > config contracts — CrudConfig minimum requirements > all collection-page configs have both successTarget and cancelTarget 2ms ✓ src/layers/__tests__/config-contracts.test.ts > config contracts — CrudConfig minimum requirements > all detail-page configs have both successTarget and cancelTarget 4ms ✓ src/layers/__tests__/config-contracts.test.ts > config contracts — CrudConfig minimum requirements > all entity-select and entity-select-list fields have corresponding entitySelectSources 3ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > pending state > pending makes fields read-only via isEditable check 200ms ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > success > falls back to cancelTarget when successTarget has :id but mutation returns no id 250ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > failure and loading states > renders failure message and retry button 156ms (node:429) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/CrudReadCard.test.tsx > CrudReadCard > overrides > 20. renders custom empty fragment via overrides 9ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > failure and loading states > retry button calls failure.retry 124ms ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > success > falls back to entityPath when successTarget has :id, mutation returns no id, and no cancelTarget 294ms stderr | src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > mutation tracking > does not navigate before coordinator emits closeIntent An update to Crud inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/layers/L2R/slots/DataTable.test.tsx > DataTable slot > refresh button > refresh button calls refetch 91ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > failure and loading states > renders loading state when pending 116ms stderr | src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > mutation tracking > does not navigate before coordinator emits closeIntent An update to FocusScope inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to DismissableLayer inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to FocusScope inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to DismissableLayer inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act (node:437) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > closeIntent > calls onSuccess when closeIntent is success 132ms stderr | src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > mutation tracking > stays on page when failure is present An update to Crud inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > mutation tracking > does not navigate before coordinator emits closeIntent 277ms stderr | src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > mutation tracking > stays on page when failure is present An update to FocusScope inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to DismissableLayer inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to FocusScope inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to Presence inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to DismissableLayer inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act (node:444) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > closeIntent > calls onClose when closeIntent is cancel 147ms ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > mutation tracking > stays on page when failure is present 303ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > user interactions > Save button triggers snapshot.submit 358ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > user interactions > updateField is called when input value changes 241ms ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > default navigation (without successTarget / onSuccess) > navigates to detail page on success when no successTarget or onSuccess (add mode) 354ms ✓ src/layers/__tests__/L2R/Crud.test.tsx > Crud slot — route handoff > default navigation (without successTarget / onSuccess) > navigates back in history on cancel without cancelTarget or onCancel 364ms (node:451) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > user interactions > dirty guard > calls cancel directly when dirty=false on Cancel click 270ms ✓ src/shared/hooks/useSSE.test.ts > useSSE > 1. opens EventSource on mount: connecting → connected 275ms ✓ src/shared/hooks/useSSE.test.ts > useSSE > 2. closes EventSource on unmount 18ms ✓ src/shared/hooks/useSSE.test.ts > useSSE > 3. entity.created → onEvent({ type: "created", data }) 58ms ✓ src/shared/hooks/useSSE.test.ts > useSSE > 4. entity.updated → onEvent({ type: "updated", data }) 31ms ✓ src/shared/hooks/useSSE.test.ts > useSSE > 5. exponential backoff: 1s → 2s → 4s 89ms ✓ src/shared/hooks/useSSE.test.ts > useSSE > 6. 5 consecutive failures → connection-lost + onConnectionLost 35ms ✓ src/shared/hooks/useSSE.test.ts > useSSE > 7. successful reconnect resets backoff to 1s 77ms ✓ src/shared/hooks/useSSE.test.ts > useSSE > 8. reconnect() manually reopens EventSource 37ms ✓ src/shared/hooks/useSSE.test.ts > useSSE > 9. heartbeat (: heartbeat) does not trigger onEvent 51ms ✓ src/shared/hooks/useSSE.test.ts > useSSE > 10. url change closes old EventSource and opens new one 24ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > user interactions > dirty guard > opens DiscardDialog when dirty=true on Cancel click 456ms ✓ src/layers/__tests__/L2W/coordinatorFK.test.tsx > coordinator FK refresh (§7 DoD-3) > calls refetchQueries when activeCrud is truthy 197ms ✓ src/layers/__tests__/L2W/coordinatorFK.test.tsx > coordinator FK refresh (§7 DoD-3) > calls refetchQueries for each entitySelectSource with cancelRefetch: false 32ms ✓ src/layers/__tests__/L2W/coordinatorFK.test.tsx > coordinator FK refresh (§7 DoD-3) > does NOT call refetchQueries when activeCrud is null (no modal) 20ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar > renders filter legends for all filter types 365ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar > does not render clear button when no active filters 45ms ✓ src/layers/__tests__/L2W/coordinatorFK.test.tsx > coordinator FK refresh (§7 DoD-3) > does NOT call refetchQueries when entitySelectSources is empty 27ms ✓ src/layers/__tests__/L2W/coordinatorFK.test.tsx > coordinator FK refresh (§7 DoD-3) > does NOT call refetchQueries when crud owner does not match 12ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > user interactions > dirty guard > Discard in modal DiscardDialog calls cancel 657ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > user interactions > dirty guard > Keep Editing in modal DiscardDialog does not call cancel 421ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar > renders clear button when at least one filter is active 61ms stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — skill_repos FK semantics > resolves submitted ordered repository ids into joined refs on create TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:61:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "POST http://localhost:3000/api/v1/projects/proj-1/pipelines". Please see the original error above. stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — skill_repos FK semantics > PUT with an ordered id array round-trips the refs in the submitted order TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:77:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "PUT http://localhost:3000/api/v1/pipelines/pipeline-proj-1-1". Please see the original error above. ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar > calls onClear when clear button is clicked 478ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > overrides > renders custom title label 229ms ✓ src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — skill_repos FK semantics > resolves submitted ordered repository ids into joined refs on create 369ms ✓ src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — skill_repos FK semantics > PUT with an ordered id array round-trips the refs in the submitted order 27ms stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — skill_repos FK semantics > PUT with [] clears skill repos TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:77:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "PUT http://localhost:3000/api/v1/pipelines/pipeline-proj-1-1". Please see the original error above. stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — skill_repos FK semantics > PUT with null keeps existing skill repos untouched TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:77:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "PUT http://localhost:3000/api/v1/pipelines/pipeline-proj-1-1". Please see the original error above. ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > overrides > renders custom error fragment 168ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — multi-select > renders all options 91ms stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — skill_repos FK semantics > PUT with null keeps existing skill repos untouched TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:77:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "PUT http://localhost:3000/api/v1/pipelines/pipeline-proj-1-1". Please see the original error above. stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — skill_repos FK semantics > PUT without the skill_repos field leaves skill repos untouched TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:77:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "PUT http://localhost:3000/api/v1/pipelines/pipeline-proj-1-1". Please see the original error above. ✓ src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — skill_repos FK semantics > PUT with [] clears skill repos 86ms ✓ src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — skill_repos FK semantics > PUT with null keeps existing skill repos untouched 58ms stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > PUT with a string config returns 422 config must be a JSON object TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:77:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "PUT http://localhost:3000/api/v1/pipelines/pipeline-proj-1-1". Please see the original error above. stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > PUT with an array config returns 422 TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:77:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "PUT http://localhost:3000/api/v1/pipelines/pipeline-proj-1-1". Please see the original error above. ✓ src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — skill_repos FK semantics > PUT without the skill_repos field leaves skill repos untouched 55ms ✓ src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > PUT with a string config returns 422 config must be a JSON object 42ms ✓ src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > PUT with an array config returns 422 17ms stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > PUT with lane-lint error config returns 422 with the error issues TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:77:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "PUT http://localhost:3000/api/v1/pipelines/pipeline-proj-1-1". Please see the original error above. ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — multi-select > calls onChange when an option is clicked 185ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > overrides > renders custom loading fragment 115ms stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > PUT with warnings-only lanes config succeeds and stores the config TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:77:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "PUT http://localhost:3000/api/v1/pipelines/pipeline-proj-1-1". Please see the original error above. stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > PUT with a valid full lanes config succeeds TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:77:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "PUT http://localhost:3000/api/v1/pipelines/pipeline-proj-1-1". Please see the original error above. stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > POST with a valid lanes config returns 201 TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:61:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "POST http://localhost:3000/api/v1/projects/proj-1/pipelines". Please see the original error above. stderr | src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > POST with lane-lint error config returns 422 TypeError: Body is unusable: Body has already been read  at consumeBody (node:internal/deps/undici/undici:6981:31)  at FetchRequest.json (node:internal/deps/undici/undici:6909:18) at /workspace/niko/agent-platform/frontend/src/msw/handlers/pipelines.ts:61:33 at file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:176:26 at HttpHandler.run (file:///workspace/node_modules/msw/lib/core/handlers/RequestHandler.mjs:142:35)  at processTicksAndRejections (node:internal/process/task_queues:104:5) at executeHandlers (file:///workspace/node_modules/msw/lib/core/utils/executeHandlers.mjs:11:14) at until (file:///workspace/node_modules/until-async/lib/index.js:14:17) at InterceptorHttpNetworkFrame.resolve (file:///workspace/node_modules/msw/lib/core/experimental/frames/http-frame.mjs:81:41) at Emitter. (file:///workspace/node_modules/msw/lib/core/experimental/define-network.mjs:80:11) [MSW] Encountered an unhandled exception during the handler lookup for "POST http://localhost:3000/api/v1/projects/proj-1/pipelines". Please see the original error above. ✓ src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > PUT with lane-lint error config returns 422 with the error issues 46ms ✓ src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > PUT with warnings-only lanes config succeeds and stores the config 18ms ✓ src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > PUT with a valid full lanes config succeeds 20ms ✓ src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > POST with a valid lanes config returns 201 27ms ✓ src/msw/__tests__/pipelines-handler.test.ts > pipelineHandlers — config lane lint conformance > POST with lane-lint error config returns 422 28ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — multi-select > toggles option off when already active 114ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — multi-select > calls onChange with undefined when last option deselected 93ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > overrides > renders fields in custom order 199ms (node:462) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — multi-select > sets aria-label on option buttons 27ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — select > renders all options plus "All" default 59ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field types > renders text input by default 208ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — select > calls onChange with selected value 259ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field types > renders text input for type text 166ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field types > renders textarea for type textarea 88ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — select > calls onChange with undefined when "All" is selected 128ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field types > renders password input for type password 88ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — select > preselects the current value 99ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — date-range > renders preset options 53ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field types > renders checkbox for type checkbox 121ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field types > renders entity-select for type entity-select 133ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — date-range > calls onChange when a preset is clicked 92ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — date-range > calls onChange with undefined when active preset is clicked again 73ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field types > renders kv-editor for type kv-editor 111ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field types > renders yaml editor for type yaml 179ms (node:469) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — integration > clear button appears when any filter type has a value 75ms ✓ src/layers/__tests__/L2R/FilterBar.test.tsx > FilterBar — integration > combines multiple active filters 55ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field types > passes the field lint from fieldLints into the yaml editor 154ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field types > renders lint warnings in amber when fieldLints returns warnings only 185ms (node:478) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field types > renders yaml editor as static text when not editable 124ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field validation > does not show a pattern error for an empty value on a non-required field 233ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > field validation > shows the patternMessage for an invalid non-empty value 203ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > rendering > renders textarea with value 607ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > rendering > renders read-only view as static plain text 81ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > rendering > renders read-only view in monospace style 30ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > rendering > renders dash when read-only and value is empty 35ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > default rendering without targets > renders form and buttons with default snapshot (no closeIntent) 176ms (node:485) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > rendering > renders lint errors below the editor in red error state 108ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > rendering > renders lint warnings in amber without red error state 47ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > useBlocker dirty guard > shows DiscardDialog when blocker state is blocked and proceed is called on confirm 406ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > rendering > renders multiple lint issues 102ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > rendering > renders no lint output when lint returns no issues 64ms (node:486) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > interaction > calls onChange with the mutated YAML string 211ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > interaction > shows error on invalid YAML 186ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > useBlocker dirty guard > does not show DiscardDialog when blocker is unblocked (dirty=false) 306ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > interaction > clears error on valid YAML 149ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > resolveContract > resolves repositories contract 11ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > resolveContract > resolves projects contract 2ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > resolveContract > resolves runs contract 1ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > resolveContract > resolves pipelines contract 1ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > resolveContract > returns the same contract as the static registry 6ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > interaction > clears error when textarea is emptied 125ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > interaction > re-evaluates lint results when the value changes 48ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > interaction > calls lint with parsed object and raw string 42ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > useEntityList > returns a ListResult-like shape for repositories 195ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > useEntityList > returns a ListResult-like shape for projects 28ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > useEntityList > returns a ListResult-like shape for runs 30ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > useEntityList > returns a ListResult-like shape for pipelines 29ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > useBlocker dirty guard > Keep Editing in blocker DiscardDialog calls blocker.reset 491ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > interaction > does not call lint when YAML is syntactically invalid 46ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > interaction > shows syntax error only when no lint prop is provided 35ms ✓ src/shared/components/YamlEditor.test.tsx > YamlEditor > interaction > syntax error blocks lint result rendering 12ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > useEntityList > passes params through to the query 106ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > useEntityDetail > returns a DetailResult-like shape 43ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > useEntityDetail > works for runs with run_id-based entities 48ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > useMutation > returns a MutationHandle-like shape 28ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > useMutation > works for all entity paths 34ms ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > useSubscription > returns a SubscriptionHandle-like shape 23ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > checkbox field value > calls updateField with boolean checked value, not string value 320ms (node:502) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L1/entityResolver.test.tsx > entityResolver > useSubscription > works for all entity paths 104ms ✓ src/layers/__tests__/L2R/CrudSurface.test.tsx > CrudSurface > backdrop click > backdrop click does not close the modal 267ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > empty configs > returns empty result for a config without vikunja 79ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > empty configs > returns empty result for a config with vikunja but no lanes 6ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > empty configs > returns empty result for a non-object root 4ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > empty configs > returns empty result for a clean full lanes config 4ms ✓ src/layers/__tests__/L1/SseRealConnection.integration.test.tsx > SseRealConnection — real EventSource + MSW SSE handler > connects via MSW and receives SSE events into query cache 545ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > lanes structure > errors when lanes is not an object 7ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > lanes structure > errors on unknown lane keys 6ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > start lane > errors when start is missing 1ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > start lane > errors when start is empty 1ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > start lane > errors when start is not an array 1ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > start lane > rejects string literals inside start 1ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > start lane > rejects non-positive start elements 2ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > start lane > rejects non-integer start elements 2ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > start lane > errors on duplicate bucket ids within start 2ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > start lane > errors on duplicate bucket ids across lanes 1ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > start lane > errors on duplicate bucket ids across two optional lanes 1ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > optional lanes > rejects string literals for optional lanes 13ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > optional lanes > rejects non-positive optional lane values 8ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > optional lanes > emits exactly eight warnings in fixed order when only start is configured 4ms ✓ src/features/pipelines/laneLint.test.ts > laneLint > optional lanes > combines errors and warnings (unknown key + missing optional lanes) 11ms stderr | src/shared/hooks/useFilterState.test.tsx > useFilterState > 1. prefix prepends prefix to URL params ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. ✓ src/shared/hooks/useFilterState.test.tsx > useFilterState > 1. prefix prepends prefix to URL params 130ms ✓ src/shared/hooks/useFilterState.test.tsx > useFilterState > 2. setFilter merges, does not replace other params 19ms ✓ src/shared/hooks/useFilterState.test.tsx > useFilterState > 3. clearFilters removes filters, preserves sort defaults in memory 30ms (node:509) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/hooks/useFilterState.test.tsx > useFilterState > 4. setSort cycles: asc → desc → none (returns to default) 43ms ✓ src/shared/hooks/useFilterState.test.tsx > useFilterState > setSort with explicit order 27ms ✓ src/shared/hooks/useFilterState.test.tsx > useFilterState > 5. clearFilters does NOT write sort defaults to URL 16ms ✓ src/shared/hooks/useFilterState.test.tsx > useFilterState > 6. multiple prefixes do not collide 33ms (node:517) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/hooks/useFilterState.test.tsx > useFilterState > 7. arrays serialized as pipe-delimited 30ms ✓ src/shared/hooks/useFilterState.test.tsx > useFilterState > 8. undefined removes param entirely 35ms ✓ src/shared/hooks/useFilterState.test.tsx > useFilterState > getFilter returns current value for key 26ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createDefaultBehaviorContract > returns an object with all BehaviorContract functions 25ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createDefaultBehaviorContract > defaults() returns an object 15ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createDefaultBehaviorContract > populate(entity) returns a copy 11ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createDefaultBehaviorContract > toCreate(form) returns a partial copy 1ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createDefaultBehaviorContract > toUpdate(form) returns a partial copy 10ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createDefaultBehaviorContract > fieldPolicy(mode) returns an empty FieldPolicy 7ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createDefaultBehaviorContract > populated entity does not mutate original 2ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createFieldPolicyFromConfig > returns empty policy when no fieldBehavior config 13ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createFieldPolicyFromConfig > applies visible constraint for add mode 1ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createFieldPolicyFromConfig > applies visibility constraint for edit mode 7ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createFieldPolicyFromConfig > applies editable constraint per mode 2ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createFieldPolicyFromConfig > applies both visible and editable together 8ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createFieldPolicyFromConfig > splits policy by mode independently 7ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createFieldPolicyFromConfig > handles unknown fields gracefully 4ms ✓ src/layers/__tests__/L2W/behaviorContract.test.ts > createFieldPolicyFromConfig > returns FieldPolicy that satisfies the type contract 2ms ✓ src/layers/__tests__/L1/SseRealConnection.integration.test.tsx > SseRealConnection — real EventSource + MSW SSE handler > on connection loss transitions to reconnecting and recovers on new connection 1370ms (node:525) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L1/SseRealConnection.integration.test.tsx > SseRealConnection — real EventSource + MSW SSE handler > with fake timers — backoff, lost, reconnect, heartbeat > 5 connection failures via 500 responses → lost state 327ms ✓ src/msw/__tests__/runs-handler.test.ts > runs MSW handler > returns runs without filter 180ms ✓ src/msw/__tests__/runs-handler.test.ts > runs MSW handler > filters by created_after (30 days) 29ms ✓ src/msw/__tests__/runs-handler.test.ts > runs MSW handler > filters by created_after (24 hours) 28ms ✓ src/msw/__tests__/runs-handler.test.ts > runs MSW handler > handles invalid created_after gracefully 44ms ✓ src/msw/__tests__/runs-handler.test.ts > runs MSW handler > handles today shorthand gracefully 29ms ✓ src/msw/__tests__/runs-handler.test.ts > runs MSW handler > filters by project_id 15ms ✓ src/msw/__tests__/runs-handler.test.ts > runs MSW handler > filters by multiple project_ids 28ms ✓ src/layers/__tests__/L1/SseRealConnection.integration.test.tsx > SseRealConnection — real EventSource + MSW SSE handler > with fake timers — backoff, lost, reconnect, heartbeat > reconnect() from lost state transitions to connected 258ms ↓ src/layers/__tests__/L1/SseRealConnection.integration.test.tsx > SseRealConnection — real EventSource + MSW SSE handler > with fake timers — backoff, lost, reconnect, heartbeat > heartbeat checker triggers lost at 30s — skipped: eventsource uses setTimeout internally for stream reader; fake timers freeze open streams ↓ src/layers/__tests__/L1/SseRealConnection.integration.test.tsx > SseRealConnection — real EventSource + MSW SSE handler > with fake timers — backoff, lost, reconnect, heartbeat > heartbeat event resets timestamp — skipped: same eventsource + fake timers incompatibility as above ✓ src/msw/__tests__/runs-handler.test.ts > runs MSW handler > sorts by tokens desc 56ms ✓ src/msw/__tests__/runs-handler.test.ts > runs MSW handler > sorts by tokens asc 29ms stderr | src/layers/__tests__/L2R/EntityDetail.test.tsx > EntityDetail — delete navigation > navigates to entityPath on delete success without custom onDeleteSuccess ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. (node:534) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L2R/EntityDetail.test.tsx > EntityDetail — delete navigation > navigates to entityPath on delete success without custom onDeleteSuccess 473ms ✓ src/layers/__tests__/L2R/EntityDetail.test.tsx > EntityDetail — delete navigation > calls custom onDeleteSuccess and does not default navigate 94ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > addPendingDelete + getPendingDeletes > adds an id to the set for an entityPath 18ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > addPendingDelete + getPendingDeletes > adds multiple ids to the same entityPath 2ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > addPendingDelete + getPendingDeletes > handles multiple entityPaths independently 2ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > removePendingDelete > removes a specific id 2ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > removePendingDelete > is a no-op when id does not exist 1ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > removePendingDelete > is a no-op when entityPath has no entries 2ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > isMarkedDeleted > returns true for a marked id 2ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > isMarkedDeleted > returns false for an unmarked id 1ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > isMarkedDeleted > returns false for unknown entityPath 1ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > populatePendingDeletes > populates from an array of entries 3ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > populatePendingDeletes > deduplicates when same id appears twice 1ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > getAllPendingDeleteEntries > returns empty array when map is empty 13ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > getAllPendingDeleteEntries > returns all entries as flat array 14ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > purgePendingDeletes > returns and removes all ids for an entityPath 2ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > purgePendingDeletes > returns empty set for unknown entityPath 8ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > pendingDeleteMap > purgePendingDeletes > does not affect other entityPaths 4ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > normalizeFilters > removes undefined values 3ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > normalizeFilters > removes empty string values 1ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > normalizeFilters > sorts keys alphabetically 34ms ✓ src/layers/__tests__/L1/mutationQueue.test.ts > normalizeFilters > returns empty object for all-empty filters 1ms (node:542) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L2R/AgeCheckIndicator.test.tsx > AgeCheckIndicator > renders children when refCount > 0 (SSE view) 229ms ✓ src/layers/__tests__/L2R/AgeCheckIndicator.test.tsx > AgeCheckIndicator > renders children when refCount === 0 and data is fresh 15ms (node:549) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:555) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L2R/AgeCheckIndicator.test.tsx > AgeCheckIndicator > renders skeleton + message + refresh button when refCount === 0 and data is stale 128ms ✓ src/layers/__tests__/L2R/AgeCheckIndicator.test.tsx > AgeCheckIndicator > refresh button calls invalidateQueries when no onRefresh provided 65ms ✓ src/layers/__tests__/L2R/AgeCheckIndicator.test.tsx > AgeCheckIndicator > refresh button calls onRefresh when provided 26ms (node:571) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:564) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:582) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) stderr | src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > window online event updates isOnline An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > isOnline === false when navigator.onLine is false 136ms ✓ src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > isOnline === true by default 15ms ✓ src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > window online event updates isOnline 63ms stderr | src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > pendingCount matches getOutboxEntries length An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act stderr | src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > lastSynced is null when cache is empty An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > pendingCount matches getOutboxEntries length 59ms stderr | src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > lastSynced reflects max dataUpdatedAt An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act stderr | src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > lastSynced reflects max dataUpdatedAt An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act stderr | src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > queryClient.invalidateQueries updates lastSynced An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act stderr | src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > queryClient.invalidateQueries updates lastSynced An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act (node:589) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > lastSynced is null when cache is empty 63ms ✓ src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > lastSynced reflects max dataUpdatedAt 47ms ✓ src/lib/__tests__/useOfflineState.test.tsx > useOfflineState > queryClient.invalidateQueries updates lastSynced 13ms (node:590) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:605) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:613) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) stderr | src/features/bot-accounts/BotAccountsListTab.test.tsx > BotAccountsListTab > renders DataTable with mock bot account names ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. ✓ src/lib/__tests__/queryCacheEviction.test.tsx > startCacheEviction > removes inactive queries older than retention threshold 47ms ✓ src/lib/__tests__/queryCacheEviction.test.tsx > startCacheEviction > does not remove queries under retention threshold accounting for interval delay 6ms ✓ src/features/bot-accounts/BotAccountsListTab.test.tsx > BotAccountsListTab > renders DataTable with mock bot account names 999ms ✓ src/lib/__tests__/queryCacheEviction.test.tsx > startCacheEviction > does not remove active queries with observers 107ms ✓ src/lib/__tests__/queryCacheEviction.test.tsx > startCacheEviction > removes only exact matching query keys 17ms ✓ src/lib/__tests__/queryCacheEviction.test.tsx > startCacheEviction > skips eviction entirely when offline 16ms ✓ src/lib/__tests__/queryCacheEviction.test.tsx > startCacheEviction > returns a cleanup function that stops the interval 6ms ✓ src/lib/__tests__/queryCacheEviction.test.tsx > startCacheEviction > evicts only queries older than threshold across multiple entity paths 4ms ✓ src/features/bot-accounts/BotAccountsListTab.test.tsx > BotAccountsListTab > displays Name, Description, Created columns 205ms ✓ src/features/bot-accounts/BotAccountsListTab.test.tsx > BotAccountsListTab > name links do NOT contain ?tab=accounts 253ms ✓ src/shared/components/EntitySelectList.test.tsx > EntitySelectList > renders rows from ref-shaped value with resolved labels 466ms ✓ src/features/bot-accounts/BotAccountsListTab.test.tsx > BotAccountsListTab > shows create button with label "+ New Bot Account" 179ms stderr | src/layers/__tests__/L1/useDataAge.test.tsx > useDataAge > returns ageMs for data that is N ms old An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act stderr | src/layers/__tests__/L1/useDataAge.test.tsx > useDataAge > isStale === true when ageMs > AGE_THRESHOLD An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/shared/components/EntitySelectList.test.tsx > EntitySelectList > renders rows from string value with resolved labels 152ms ✓ src/shared/components/EntitySelectList.test.tsx > EntitySelectList > renders empty state with an add button 27ms ✓ src/shared/components/EntitySelectList.test.tsx > EntitySelectList > renders readOnly mode as plain labels 22ms stderr | src/layers/__tests__/L1/useDataAge.test.tsx > useDataAge > isStale === false when ageMs <= AGE_THRESHOLD An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act stderr | src/features/repositories/RepositoriesPage.test.tsx > RepositoriesPage layout > renders Tabs component with Repositories and Bot Accounts ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. stderr | src/layers/__tests__/L1/useDataAge.test.tsx > useDataAge > updates when cache subscription fires An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act stderr | src/layers/__tests__/L1/useDataAge.test.tsx > useDataAge > updates when cache subscription fires An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act stderr | src/layers/__tests__/L1/useDataAge.test.tsx > useDataAge > updates when cache subscription fires An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/layers/__tests__/L1/useDataAge.test.tsx > useDataAge > returns ageMs for data that is N ms old 177ms ✓ src/layers/__tests__/L1/useDataAge.test.tsx > useDataAge > isStale === true when ageMs > AGE_THRESHOLD 16ms ✓ src/layers/__tests__/L1/useDataAge.test.tsx > useDataAge > isStale === false when ageMs <= AGE_THRESHOLD 16ms ✓ src/layers/__tests__/L1/useDataAge.test.tsx > useDataAge > updates when cache subscription fires 42ms ✓ src/features/bot-accounts/BotAccountsListTab.test.tsx > BotAccountsListTab > createTarget leads to /repositories/bot-accounts/add 147ms stderr | src/layers/__tests__/L1/useDataAge.test.tsx > useDataAge > updates on minute tick (fakeTimers) An update to TestComponent inside a test was not wrapped in act(...). When testing, code that causes React state updates should be wrapped into act(...): act(() => { /* fire events that update state */ }); /* assert on the output */ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act ✓ src/features/repositories/RepositoriesPage.test.tsx > RepositoriesPage layout > renders Tabs component with Repositories and Bot Accounts 982ms stderr | src/features/bot-accounts/BotAccountDetailPage.test.tsx > BotAccountDetailPage > renders account name in the page title ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. ✓ src/features/repositories/RepositoriesPage.test.tsx > RepositoriesPage layout > active tab is determined from URL pathname, not React state 122ms ✓ src/layers/__tests__/L1/useDataAge.test.tsx > useDataAge > updates on minute tick (fakeTimers) 35ms ✓ src/features/repositories/RepositoriesPage.test.tsx > RepositoriesPage layout > bot-accounts tab is active when URL contains /bot-accounts 142ms ✓ src/features/bot-accounts/BotAccountsListTab.test.tsx > BotAccountsListTab > renders Crud component 92ms ✓ src/shared/components/EntitySelectList.test.tsx > EntitySelectList > normalizes ref-shaped value into the form via onChange on mount 92ms ✓ src/features/repositories/RepositoriesPage.test.tsx > RepositoriesPage layout > clicking Repositories tab navigates to /repositories/repos 146ms (node:622) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/features/bot-accounts/BotAccountDetailPage.test.tsx > BotAccountDetailPage > renders account name in the page title 1334ms ✓ src/features/repositories/RepositoriesPage.test.tsx > RepositoriesPage layout > clicking Bot Accounts tab navigates to /repositories/bot-accounts 154ms ✓ src/features/repositories/RepositoriesPage.test.tsx > RepositoriesPage layout > does NOT render DataTable directly (only via Outlet) 197ms ✓ src/features/bot-accounts/BotAccountDetailPage.test.tsx > BotAccountDetailPage > renders edit dialog with "Edit Bot Account" title when edit route activated 485ms ✓ src/features/bot-accounts/BotAccountDetailPage.test.tsx > BotAccountDetailPage > breadcrumb Bot Accounts link does NOT contain ?tab=accounts 312ms ✓ src/shared/components/CrudModal.test.tsx > CrudModal > 1. open=false renders nothing 260ms ✓ src/features/repositories/RepositoriesPage.test.tsx > RepositoriesPage layout > does NOT render Crud directly (only via child routes) 105ms ✓ src/shared/components/CrudModal.test.tsx > CrudModal > 2. open=true renders title, children, footer 1197ms ✓ src/features/bot-accounts/BotAccountDetailPage.test.tsx > BotAccountDetailPage > breadcrumb Repositories link points to /repositories/repos 238ms ✓ src/shared/components/EntitySelectList.test.tsx > EntitySelectList > adds a row and emits the selected repository id 1777ms ✓ src/shared/components/EntitySelectList.test.tsx > EntitySelectList > removes a row and emits the remaining ids 148ms ✓ src/shared/components/EntitySelectList.test.tsx > EntitySelectList > emits [] when all rows are removed 130ms ✓ src/shared/components/CrudModal.test.tsx > CrudModal > 3. Backdrop click does not close dialog 474ms ✓ src/shared/components/CrudModal.test.tsx > CrudModal > 4. Cancel pristine calls onClose 369ms ✓ src/shared/components/EntitySelectList.test.tsx > EntitySelectList > reorders rows with up and down buttons preserving priority order 231ms ✓ src/shared/components/EntitySelectList.test.tsx > EntitySelectList > disables up on the first row and down on the last row 58ms ✓ src/shared/components/CrudModal.test.tsx > CrudModal > 5. Cancel dirty opens DiscardDialog 394ms ✓ src/shared/components/EntitySelectList.test.tsx > EntitySelectList > disables add when the cap of 16 rows is reached 340ms stderr | src/features/repositories/RepositoriesList.test.tsx > RepositoriesList > renders DataTable with columns ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. (node:630) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/features/repositories/RepositoriesList.test.tsx > RepositoriesList > renders DataTable with columns 808ms ✓ src/features/repositories/RepositoriesList.test.tsx > RepositoriesList > renders Crud component 241ms ✓ src/features/repositories/RepositoriesList.test.tsx > RepositoriesList > create button label is "+ New Repository" 223ms ✓ src/shared/components/CrudModal.test.tsx > CrudModal > 6. Discard → onClose, Keep → dialog stays 1656ms (node:638) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/features/repositories/RepositoriesList.test.tsx > RepositoriesList > renders data table with repository rows 238ms ✓ src/shared/components/EntitySelect.test.tsx > EntitySelect > shows loading state 632ms ✓ src/shared/components/EntitySelect.test.tsx > EntitySelect > shows empty state 63ms ✓ src/shared/components/EntitySelect.test.tsx > EntitySelect > shows error state 45ms ✓ src/shared/components/CrudModal.test.tsx > CrudModal > 7. ESC dirty opens DiscardDialog 333ms stderr | src/features/auth/CallbackPage.test.tsx > CallbackPage > navigates to dashboard when session fetch succeeds ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. ✓ src/features/auth/CallbackPage.test.tsx > CallbackPage > navigates to dashboard when session fetch succeeds 378ms ✓ src/features/auth/CallbackPage.test.tsx > CallbackPage > sets auth store with session data when fetch succeeds 75ms stderr | src/layers/__tests__/L2R/CrudSurface.pipelineSave.test.tsx > pipeline config save path > sends the YAML config as a JSON object in the PUT body, never a string ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ✓ src/shared/components/CrudModal.test.tsx > CrudModal > 8. ESC pristine calls onClose 169ms ✓ src/features/auth/CallbackPage.test.tsx > CallbackPage > navigates to returnUrl when set in sessionStorage 39ms ✓ src/features/auth/CallbackPage.test.tsx > CallbackPage > shows error when session fetch fails 45ms ✓ src/features/auth/CallbackPage.test.tsx > CallbackPage > shows redirecting message and redirects to login on error 41ms ✓ src/shared/components/CrudModal.test.tsx > CrudModal > 9. Save calls onSave 336ms ✓ src/shared/components/EntitySelect.test.tsx > EntitySelect > supports single select 688ms ✓ src/shared/components/CrudModal.test.tsx > CrudModal > 10. isPending disables Save + Cancel and shows spinner 292ms (node:653) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/CrudModal.test.tsx > CrudModal > 11. cancelLabel prop overrides the cancel button text 148ms ✓ src/shared/components/EntitySelect.test.tsx > EntitySelect > supports multi select 518ms ✓ src/shared/components/EntitySelect.test.tsx > EntitySelect > displays placeholder when value is undefined 62ms ✓ src/lib/__tests__/mutationOutbox.test.ts > replayOutbox > triggers refetchQueries({ stale: true }) after successful drain 72ms ✓ src/shared/components/EntitySelect.test.tsx > EntitySelect > renders readOnly single mode as text 37ms ✓ src/shared/components/EntitySelect.test.tsx > EntitySelect > renders readOnly multi mode as comma-separated labels 12ms ✓ src/shared/components/EntitySelect.test.tsx > EntitySelect > renders raw value in readOnly when no match 10ms ✓ src/shared/components/EntitySelect.test.tsx > EntitySelect > disables the trigger when disabled prop is true 62ms ✓ src/lib/__tests__/mutationOutbox.test.ts > replayOutbox > does NOT call refetchQueries({ stale: true }) when failed > 0 27ms ✓ src/lib/__tests__/mutationOutbox.test.ts > replayOutbox > refetchQueries is called after delete replay drain 31ms ✓ src/lib/__tests__/mutationOutbox.test.ts > replayOutbox > skips refetchQueries when outbox is empty 2ms (node:646) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) stderr | src/layers/__tests__/L2R/CrudSurface.pipelineSave.test.tsx > pipeline config save path > sends the YAML config as a JSON object in the PUT body, never a string No routes matched location "/pipelines/pipeline-proj-1-1" Error handled by React Router default ErrorBoundary: ErrorResponseImpl { status: 404, statusText: 'Not Found', internal: true, data: 'Error: No route matches URL "/pipelines/pipeline-proj-1-1"', error: Error: No route matches URL "/pipelines/pipeline-proj-1-1" at getInternalRouterError (/workspace/node_modules/@remix-run/router/dist/router.cjs.js:5324:59) at handleNavigational404 (/workspace/node_modules/@remix-run/router/dist/router.cjs.js:3564:17) at startNavigation (/workspace/node_modules/@remix-run/router/dist/router.cjs.js:2432:11) at Object.navigate (/workspace/node_modules/@remix-run/router/dist/router.cjs.js:2336:18) at /workspace/node_modules/react-router/dist/umd/react-router.development.js:934:18 at /workspace/niko/agent-platform/frontend/src/layers/L2R/slots/Crud.tsx:66:7 at /workspace/niko/agent-platform/frontend/src/layers/L2R/surfaces/CrudSurface.tsx:313:7 at Object.react_stack_bottom_frame (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:25989:20) at runWithFiberInDEV (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:874:13) at commitHookEffectListMount (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:13249:29) } (node:662) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) × src/layers/__tests__/L2R/CrudSurface.pipelineSave.test.tsx > pipeline config save path > sends the YAML config as a JSON object in the PUT body, never a string 3150ms  → expected 'string' not to be 'string' // Object.is equality (node:668) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) stderr | src/layers/__tests__/L2W/routes/CrudRoute.test.tsx > CrudRoute > sets route context on mount with id (detail page) ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. ✓ src/layers/__tests__/L2W/routes/CrudRoute.test.tsx > CrudRoute > sets route context on mount with id (detail page) 195ms ✓ src/layers/__tests__/L2W/routes/CrudRoute.test.tsx > CrudRoute > sets route context on mount without id (collection page) 9ms ✓ src/layers/__tests__/L2W/routes/CrudRoute.test.tsx > CrudRoute > sets route context with prefix when provided 9ms ✓ src/layers/__tests__/L2W/routes/CrudRoute.test.tsx > CrudRoute > cleans up (sets null) on unmount 16ms ✓ src/layers/__tests__/L2W/routes/CrudRoute.test.tsx > CrudRoute > does not re-set context on re-render with same props 33ms ✓ src/layers/__tests__/L2W/routes/CrudRoute.test.tsx > CrudRoute > re-sets context when id changes 14ms stderr | src/layers/__tests__/L2R/CrudSurface.pipelineSave.test.tsx > pipeline config save path > omits the config field from the PUT body when the field is emptied No routes matched location "/pipelines/pipeline-proj-1-1" Error handled by React Router default ErrorBoundary: ErrorResponseImpl { status: 404, statusText: 'Not Found', internal: true, data: 'Error: No route matches URL "/pipelines/pipeline-proj-1-1"', error: Error: No route matches URL "/pipelines/pipeline-proj-1-1" at getInternalRouterError (/workspace/node_modules/@remix-run/router/dist/router.cjs.js:5324:59) at handleNavigational404 (/workspace/node_modules/@remix-run/router/dist/router.cjs.js:3564:17) at startNavigation (/workspace/node_modules/@remix-run/router/dist/router.cjs.js:2432:11) at Object.navigate (/workspace/node_modules/@remix-run/router/dist/router.cjs.js:2336:18) at /workspace/node_modules/react-router/dist/umd/react-router.development.js:934:18 at /workspace/niko/agent-platform/frontend/src/layers/L2R/slots/Crud.tsx:66:7 at /workspace/niko/agent-platform/frontend/src/layers/L2R/surfaces/CrudSurface.tsx:313:7 at Object.react_stack_bottom_frame (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:25989:20) at runWithFiberInDEV (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:874:13) at commitHookEffectListMount (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:13249:29) } ✓ src/layers/L1/contracts/projects.test.ts > projectsContract request normalizers > request.create is defined 11ms ✓ src/layers/L1/contracts/projects.test.ts > projectsContract request normalizers > request.update is defined 2ms ✓ src/layers/L1/contracts/projects.test.ts > projectsContract request normalizers > request.create > normalizes a string secrets value into the webhook secret object shape 6ms ✓ src/layers/L1/contracts/projects.test.ts > projectsContract request normalizers > request.create > parses a YAML-string config into an object 17ms ✓ src/layers/L1/contracts/projects.test.ts > projectsContract request normalizers > request.create > leaves other fields untouched 3ms ✓ src/layers/L1/contracts/projects.test.ts > projectsContract request normalizers > request.update > normalizes a string secrets value into the webhook secret object shape 2ms ✓ src/layers/L1/contracts/projects.test.ts > projectsContract request normalizers > request.update > omits an empty secrets value so edits never wipe an existing secret 2ms × src/layers/__tests__/L2R/CrudSurface.pipelineSave.test.tsx > pipeline config save path > omits the config field from the PUT body when the field is emptied 966ms  → expected false to be true // Object.is equality ✓ src/layers/L1/contracts/projects.test.ts > projectsContract request normalizers > request.update > leaves an object config unchanged 4ms ✓ src/layers/L1/contracts/projects.test.ts > projectsContract request normalizers > request.update > parses a YAML-string config into an object 3ms ✓ src/layers/L1/contracts/projects.test.ts > projectsContract request normalizers > request.update > omits an empty config value 2ms ✓ src/layers/L1/contracts/projects.test.ts > projectsContract request normalizers > request.update > leaves other fields untouched 15ms ✓ src/layers/__tests__/L2R/defaultEditNav.test.ts > createDefaultEditNavHandler > returns a function when edit target is present 42ms ✓ src/layers/__tests__/L2R/defaultEditNav.test.ts > createDefaultEditNavHandler > calls navigate with edit target and replaced id 28ms ✓ src/layers/__tests__/L2R/defaultEditNav.test.ts > createDefaultEditNavHandler > falls back to pathname + /edit when actionTargets is undefined 2ms ✓ src/layers/__tests__/L2R/defaultEditNav.test.ts > createDefaultEditNavHandler > falls back to pathname + /edit when actionTargets.edit is undefined 3ms ✓ src/layers/__tests__/L2R/defaultEditNav.test.ts > createDefaultEditNavHandler > falls back to pathname + /edit when actionTargets.edit is missing 6ms ✓ src/layers/__tests__/L2R/defaultEditNav.test.ts > createDefaultEditNavHandler > calls navigate with the replaced id correctly 2ms ✓ src/layers/__tests__/L2R/defaultEditNav.test.ts > createDefaultEditNavHandler > explicit edit target takes precedence over derived default 1ms ✓ src/layers/__tests__/L2R/defaultEditNav.test.ts > createDefaultEditNavHandler > derives default from the provided pathname 2ms ✓ src/layers/__tests__/L2R/defaultEditNav.test.ts > createDefaultEditNavHandler > editTargetOverride takes precedence over actionTargets.edit 6ms ✓ src/layers/__tests__/L1/RefCountStore.test.ts > refCountStore > incrementRefCount > increases count and notifies subscribed listener 32ms ✓ src/layers/__tests__/L1/RefCountStore.test.ts > refCountStore > decrementRefCount > decreases count and notifies subscribed listener 4ms ✓ src/layers/__tests__/L1/RefCountStore.test.ts > refCountStore > decrementRefCount > removes key when count reaches 0 2ms ✓ src/layers/__tests__/L1/RefCountStore.test.ts > refCountStore > decrementRefCount > returns 0 when decrementing a non-existent key 2ms ✓ src/layers/__tests__/L1/RefCountStore.test.ts > refCountStore > subscribeRefCount > returns an unsubscribe function that stops notifications 2ms ✓ src/layers/__tests__/L1/RefCountStore.test.ts > refCountStore > key isolation > notifies only the subscribed key, not other keys 4ms ✓ src/layers/__tests__/L1/RefCountStore.test.ts > refCountStore > refCountKey > produces idempotent keys for same entityPath and params 1ms (node:678) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:686) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L2W/formBridge.test.ts > useFormBridge > starts with dirty=false and pending=false 97ms ✓ src/layers/__tests__/L2W/formBridge.test.ts > useFormBridge > setDirty(true) sets dirty=true on bridge 19ms ✓ src/layers/__tests__/L2W/formBridge.test.ts > useFormBridge > setDirty(false) sets dirty=false on bridge 21ms ✓ src/layers/__tests__/L2W/formBridge.test.ts > useFormBridge > setPending(true) sets pending=true on bridge 7ms ✓ src/layers/__tests__/L2W/formBridge.test.ts > useFormBridge > setPending(false) sets pending=false on bridge 9ms ✓ src/layers/__tests__/L2W/formBridge.test.ts > useFormBridge > markDirty() sets dirty=true 11ms ✓ src/layers/__tests__/L2W/formBridge.test.ts > useFormBridge > reset() clears both dirty and pending 9ms (node:693) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/L2W/formBridge.test.ts > useFormBridge > supports dirty → pending transition (submit start) 17ms ✓ src/layers/__tests__/L2W/formBridge.test.ts > useFormBridge > supports pending → not pending transition while dirty stays (failure case) 17ms ✓ src/layers/__tests__/L2W/formBridge.test.ts > useFormBridge > bridge object reflects current state 7ms ✓ src/shared/hooks/useDirtyGuard.test.ts > useDirtyGuard > 1. isDirty=false → blocker ei estä 104ms ✓ src/shared/hooks/useDirtyGuard.test.ts > useDirtyGuard > 2. isDirty=true → blocker estää (isBlocked=true) 11ms ✓ src/shared/hooks/useDirtyGuard.test.ts > useDirtyGuard > 3. submitted=true → blocker ei estä vaikka isDirty 11ms ✓ src/shared/hooks/useDirtyGuard.test.ts > useDirtyGuard > 4. confirmNavigation → blocker.proceed() → nav jatkuu 20ms ✓ src/shared/hooks/useDirtyGuard.test.ts > useDirtyGuard > 5. cancelNavigation → blocker.reset() → formi jää 8ms ✓ src/shared/hooks/useDirtyGuard.test.ts > useDirtyGuard > 6. beforeunload estetään kun isDirty && !submitted 19ms ✓ src/shared/hooks/useDirtyGuard.test.ts > useDirtyGuard > 7. beforeunload EI estetä kun submitted 10ms ✓ src/layers/__tests__/L2R/defaultRowNav.test.ts > createDefaultRowNavHandler > returns a function that accepts an id 14ms ✓ src/layers/__tests__/L2R/defaultRowNav.test.ts > createDefaultRowNavHandler > calls navigate with rowTarget where :id is replaced 11ms ✓ src/layers/__tests__/L2R/defaultRowNav.test.ts > createDefaultRowNavHandler > replaces :id with the provided id string 2ms ✓ src/layers/__tests__/L2R/defaultRowNav.test.ts > createDefaultRowNavHandler > falls back to pathname + /:id when rowTarget is undefined 2ms ✓ src/layers/__tests__/L2R/defaultRowNav.test.ts > createDefaultRowNavHandler > does not throw when rowTarget is undefined (derived default used) 5ms ✓ src/layers/__tests__/L2R/defaultRowNav.test.ts > createDefaultRowNavHandler > replaces all occurrences of :id in the target 2ms ✓ src/layers/__tests__/L2R/defaultRowNav.test.ts > createDefaultRowNavHandler > leaves target unchanged if :id not present 3ms ✓ src/layers/__tests__/L2R/defaultRowNav.test.ts > createDefaultRowNavHandler > explicit rowTarget takes precedence over derived default 1ms ✓ src/layers/__tests__/L2R/defaultRowNav.test.ts > createDefaultRowNavHandler > derives default from the provided pathname 2ms (node:709) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:701) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:716) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:725) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:734) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:733) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:747) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/lib/__tests__/onlineDetector.test.ts > OnlineDetector > isOnline > returns navigator.onLine value 47ms ✓ src/lib/__tests__/onlineDetector.test.ts > OnlineDetector > isOnline > returns true when navigator is undefined (SSR safety) 6ms ✓ src/lib/__tests__/onlineDetector.test.ts > OnlineDetector > subscribe > registers listener that is called on online event 14ms ✓ src/lib/__tests__/onlineDetector.test.ts > OnlineDetector > subscribe > registers listener that is called on offline event 2ms ✓ src/lib/__tests__/onlineDetector.test.ts > OnlineDetector > subscribe > calls all active listeners on event 6ms ✓ src/lib/__tests__/onlineDetector.test.ts > OnlineDetector > subscribe > unsub prevents further calls 15ms ✓ src/lib/__tests__/onlineDetector.test.ts > OnlineDetector > getOnlineDetector singleton > returns the same instance on every call 7ms (node:740) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/MetadataCard.test.tsx > MetadataCard > shows loading skeleton 249ms ✓ src/layouts/healthStore.test.ts > healthStore > defaults > has healthy status by default 25ms ✓ src/layouts/healthStore.test.ts > healthStore > defaults > has null responseTime by default 2ms ✓ src/layouts/healthStore.test.ts > healthStore > defaults > has null lastChecked by default 1ms ✓ src/layouts/healthStore.test.ts > healthStore > defaults > has null apiVersion by default 1ms ✓ src/layouts/healthStore.test.ts > healthStore > fetchHealth > sets healthy status on success 6ms ✓ src/layouts/healthStore.test.ts > healthStore > fetchHealth > sets degraded status when services report issues 3ms ✓ src/layouts/healthStore.test.ts > healthStore > fetchHealth > sets unhealthy status on network error 3ms ✓ src/shared/components/MetadataCard.test.tsx > MetadataCard > shows error state with retry button 397ms ✓ src/shared/components/MetadataCard.test.tsx > MetadataCard > renders labels and values in grid 87ms ✓ src/features/auth/authStore.test.ts > authStore > starts unauthenticated 32ms ✓ src/features/auth/authStore.test.ts > authStore > setAuth sets authenticated state with TTL fields 5ms ✓ src/features/auth/authStore.test.ts > authStore > clearAuth clears all auth state including TTL fields 2ms ✓ src/shared/components/MetadataCard.test.tsx > MetadataCard > renders field with spanFull as col-span-full 39ms ✓ src/shared/components/MetadataCard.test.tsx > MetadataCard > shows em dash for empty value 28ms ✓ src/shared/components/MetadataCard.test.tsx > MetadataCard > uses render callback over value 17ms ✓ src/shared/components/MetadataCard.test.tsx > MetadataCard > renders children instead of default layout 18ms ✓ src/layouts/uiStore.test.ts > uiStore > defaults > has sidebar open by default 13ms ✓ src/layouts/uiStore.test.ts > uiStore > defaults > has dark theme by default 4ms ✓ src/layouts/uiStore.test.ts > uiStore > toggleSidebar > closes sidebar when open 2ms ✓ src/layouts/uiStore.test.ts > uiStore > toggleSidebar > opens sidebar when closed 2ms ✓ src/layouts/uiStore.test.ts > uiStore > setSidebarOpen > sets sidebar to false 2ms ✓ src/layouts/uiStore.test.ts > uiStore > setSidebarOpen > sets sidebar to true 2ms ✓ src/layouts/uiStore.test.ts > uiStore > setTheme > sets theme to light 2ms ✓ src/layouts/uiStore.test.ts > uiStore > setTheme > sets theme to high-contrast 2ms ✓ src/layouts/uiStore.test.ts > uiStore > setTheme > sets theme to dark 2ms ✓ src/layouts/uiStore.test.ts > uiStore > resetSession > restores defaults 2ms (node:766) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/KeyValueEditor.test.tsx > KeyValueEditor > adds a blank row on [+ Add row] click 942ms stderr | src/features/auth/LoginPage.test.tsx > LoginPage > shows login heading, description and button ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. ⚠️ React Router Future Flag Warning: Relative route resolution within Splat routes is changing in v7. You can use the `v7_relativeSplatPath` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath. ✓ src/features/auth/LoginPage.test.tsx > LoginPage > shows login heading, description and button 973ms ✓ src/features/auth/LoginPage.test.tsx > LoginPage > shows session expired message when expired query param is set 88ms ✓ src/features/auth/LoginPage.test.tsx > LoginPage > does not show expired message without expired param 67ms ✓ src/shared/components/KeyValueEditor.test.tsx > KeyValueEditor > removes a row and emits without it 291ms (node:774) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/features/auth/LoginPage.test.tsx > LoginPage > shows error toast when error query param is set 39ms ✓ src/features/auth/LoginPage.test.tsx > LoginPage > redirects to dashboard when already authenticated 74ms ✓ src/features/auth/LoginPage.test.tsx > LoginPage > performs mock login in dev mode and navigates to dashboard 212ms ✓ src/shared/components/KeyValueEditor.test.tsx > KeyValueEditor > shows duplicate key error but still emits onChange 378ms ✓ src/shared/components/KeyValueEditor.test.tsx > KeyValueEditor > sanitizes empty keys from payload 137ms ✓ src/layers/__tests__/L2R/defaultAddNav.test.ts > createDefaultAddNavHandler > returns a function 17ms ✓ src/layers/__tests__/L2R/defaultAddNav.test.ts > createDefaultAddNavHandler > calls navigate with createTarget when invoked 15ms ✓ src/layers/__tests__/L2R/defaultAddNav.test.ts > createDefaultAddNavHandler > throws when invoked without createTarget (no fallback allowed) 7ms ✓ src/layers/__tests__/L2R/defaultAddNav.test.ts > createDefaultAddNavHandler > calls navigate with the exact createTarget string when set 2ms ✓ src/layers/__tests__/L2R/defaultAddNav.test.ts > createDefaultAddNavHandler > empty-string createTarget is treated as missing (throws) 2ms ✓ src/shared/components/KeyValueEditor.test.tsx > KeyValueEditor > renders readOnly mode as static key: value lines 127ms ✓ src/shared/components/KeyValueEditor.test.tsx > KeyValueEditor > shows empty state text when value is undefined in readOnly 15ms ✓ src/shared/components/KeyValueEditor.test.tsx > KeyValueEditor > shows skeleton when isLoading 20ms (node:780) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/DiscardDialog.test.tsx > DiscardDialog > does not render when closed 419ms ✓ src/shared/components/Page.test.tsx > PageHeader > renders title 397ms ✓ src/shared/components/DiscardDialog.test.tsx > DiscardDialog > renders with default title and description 932ms (node:790) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/Page.test.tsx > PageHeader > renders breadcrumbs 115ms ✓ src/shared/components/Page.test.tsx > PageHeader > renders actions slot 411ms ✓ src/shared/components/Page.test.tsx > Page > renders children 26ms ✓ src/shared/components/Page.test.tsx > Page > passes className to root div 45ms ✓ src/shared/components/DiscardDialog.test.tsx > DiscardDialog > calls onDiscard when Discard button clicked 961ms ✓ src/shared/components/Page.test.tsx > Page > renders header slot 30ms ✓ src/shared/components/DiscardDialog.test.tsx > DiscardDialog > calls onKeepEditing when Keep Editing button clicked 393ms ✓ src/shared/components/DiscardDialog.test.tsx > DiscardDialog > renders custom title and description 324ms (node:812) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) (node:798) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/ConfirmDialog.test.tsx > ConfirmDialog > renders with title and message 1004ms ✓ src/shared/components/DiscardDialog.test.tsx > DiscardDialog > calls onKeepEditing on dialog dismiss (ESC) 414ms (node:799) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/features/bot-accounts/botAccountsCrudConfig.test.ts > botAccountsCrudConfig > fieldSet validations > name requires 3-100 characters 121ms ✓ src/features/bot-accounts/botAccountsCrudConfig.test.ts > botAccountsCrudConfig > fieldSet validations > description allows max 5000 characters 2ms ✓ src/features/bot-accounts/botAccountsCrudConfig.test.ts > botAccountsCrudConfig > fieldSet validations > token_encrypted has description hint 2ms ✓ src/features/bot-accounts/botAccountsCrudConfig.test.ts > botAccountsCrudConfig > fieldTypes > description is textarea 1ms ✓ src/features/bot-accounts/botAccountsCrudConfig.test.ts > botAccountsCrudConfig > fieldTypes > token_encrypted is password 1ms ✓ src/shared/components/ConfirmDialog.test.tsx > ConfirmDialog > calls onConfirm when confirm button is clicked 441ms ✓ src/shared/components/ConfirmDialog.test.tsx > ConfirmDialog > calls onCancel when cancel button is clicked 291ms ✓ src/shared/components/ConfirmDialog.test.tsx > ConfirmDialog > does not render when closed 29ms (node:820) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/layers/__tests__/architecture-contracts.test.ts > architecture contracts > type-level assertions are verified by npm run typecheck:arch 34ms ✓ src/shared/components/DurationDisplay.test.tsx > DurationDisplay > renders 0ms as "0s" 202ms ✓ src/shared/components/DurationDisplay.test.tsx > DurationDisplay > renders 5000ms as "5s" 14ms ✓ src/shared/components/DurationDisplay.test.tsx > DurationDisplay > renders 65000ms as "1m 5s" 38ms ✓ src/shared/components/DurationDisplay.test.tsx > DurationDisplay > renders 3661000ms as "1h 1m" 15ms ✓ src/shared/components/DurationDisplay.test.tsx > DurationDisplay > renders 3723000ms as "1h 2m" 38ms ✓ src/shared/components/DurationDisplay.test.tsx > DurationDisplay > renders null as "—" 16ms (node:836) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/TokenDisplay.test.tsx > TokenDisplay > renders 0 as "0" 184ms ✓ src/shared/components/TokenDisplay.test.tsx > TokenDisplay > renders 500 as "500" 16ms ✓ src/shared/components/TokenDisplay.test.tsx > TokenDisplay > renders 1500 as "1.5K" 21ms ✓ src/shared/components/TokenDisplay.test.tsx > TokenDisplay > renders 890123 as "890.1K" 10ms ✓ src/shared/components/TokenDisplay.test.tsx > TokenDisplay > renders 1234567 as "1.2M" 20ms (node:830) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/TokenDisplay.test.tsx > TokenDisplay > renders 999500 as "999.5K" 22ms ✓ src/shared/components/TokenDisplay.test.tsx > TokenDisplay > renders with label when provided 10ms (node:843) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/Breadcrumb.test.tsx > Breadcrumb > renders items with separators 144ms ✓ src/shared/components/RunPhaseIcon.test.tsx > RunPhaseIcon > renders pending with correct label 126ms ✓ src/shared/components/RunPhaseIcon.test.tsx > RunPhaseIcon > renders running with correct label 9ms ✓ src/shared/components/RunPhaseIcon.test.tsx > RunPhaseIcon > renders succeeded with correct label 11ms ✓ src/shared/components/RunPhaseIcon.test.tsx > RunPhaseIcon > renders failed with correct label 10ms ✓ src/shared/components/Breadcrumb.test.tsx > Breadcrumb > renders links for items with href 223ms ✓ src/shared/components/Breadcrumb.test.tsx > Breadcrumb > renders last item as plain text 18ms (node:854) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/shared/components/StatsCard.test.tsx > StatsCard > renders label and value 260ms ✓ src/shared/components/StatsCard.test.tsx > StatsCard > renders large values with abbreviation 28ms ✓ src/shared/components/StatsCard.test.tsx > StatsCard > renders accent color border 18ms ✓ src/shared/components/SourceBadge.test.tsx > SourceBadge > renders manual badge 115ms ✓ src/shared/components/SourceBadge.test.tsx > SourceBadge > renders webhook badge 7ms ✓ src/shared/components/SourceBadge.test.tsx > SourceBadge > renders schedule badge 11ms ✓ src/shared/components/SourceBadge.test.tsx > SourceBadge > renders api badge 9ms (node:862) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided. (Use `node --trace-warnings ...` to show where the warning was created) stderr | src/App.test.tsx > App > shows login page when unauthenticated ⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition. stderr | src/App.test.tsx > App > shows login page when unauthenticated ReferenceError: indexedDB is not defined at getDB (file:///workspace/node_modules/idb-keyval/dist/index.js:14:25) at file:///workspace/node_modules/idb-keyval/dist/index.js:24:34 at Object.get [as getItem] (file:///workspace/node_modules/idb-keyval/dist/index.js:40:12) at Object.restoreClient (file:///workspace/node_modules/@tanstack/query-async-storage-persister/build/modern/index.js:43:43) at persistQueryClientRestore (file:///workspace/node_modules/@tanstack/query-persist-client-core/build/modern/persist.js:15:45) at file:///workspace/node_modules/@tanstack/react-query-persist-client/build/modern/PersistQueryClientProvider.js:31:7 at Object.react_stack_bottom_frame (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:25989:20) at runWithFiberInDEV (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:874:13) at commitHookEffectListMount (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:13249:29) at commitHookPassiveMountEffects (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:13336:11) Encountered an error attempting to restore client cache from persisted location. As a precaution, the persisted cache will be discarded. stderr | src/shared/components/ErrorBoundary.test.tsx > ErrorBoundary > renders fallback on error Error: kaboom at Bomb (/workspace/niko/agent-platform/frontend/src/shared/components/ErrorBoundary.test.tsx:6:9) at Object.react_stack_bottom_frame (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20) at renderWithHooks (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22) at updateFunctionComponent (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19) at beginWork (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18) at runWithFiberInDEV (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:874:13) at performUnitOfWork (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22) at workLoopSync (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41) at renderRootSync (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:17450:11) at performWorkOnRoot (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:16583:35) { [stack]: [Getter/Setter], [message]: 'kaboom' } The above error occurred in the component. React will try to recreate this component tree from scratch using the error boundary you provided, ErrorBoundary. ErrorBoundary caught: Error: kaboom at Bomb (/workspace/niko/agent-platform/frontend/src/shared/components/ErrorBoundary.test.tsx:6:9) at Object.react_stack_bottom_frame (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:25904:20) at renderWithHooks (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:7662:22) at updateFunctionComponent (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:10166:19) at beginWork (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:11778:18) at runWithFiberInDEV (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:874:13) at performUnitOfWork (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:17641:22) at workLoopSync (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:17469:41) at renderRootSync (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:17450:11) at performWorkOnRoot (/workspace/node_modules/react-dom/cjs/react-dom-client.development.js:16583:35) { componentStack: '\n' + ' at Bomb (/workspace/niko/agent-platform/frontend/src/shared/components/ErrorBoundary.test.tsx:11:8)\n' + ' at ErrorBoundary (/workspace/niko/agent-platform/frontend/src/shared/components/ErrorBoundary.tsx:10:1)' } ✓ src/shared/components/ErrorBoundary.test.tsx > ErrorBoundary > renders children when no error 148ms ✓ src/shared/components/ErrorBoundary.test.tsx > ErrorBoundary > renders fallback on error 105ms ✓ src/App.test.tsx > App > shows login page when unauthenticated 819ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯  FAIL  src/layers/__tests__/L2R/CrudSurface.pipelineSave.test.tsx > pipeline config save path > sends the YAML config as a JSON object in the PUT body, never a string AssertionError: expected 'string' not to be 'string' // Object.is equality  ❯ src/layers/__tests__/L2R/CrudSurface.pipelineSave.test.tsx:92:31  90| await waitFor(() => expect(capturedBody).not.toBeNull(), { timeout…  91| const config = capturedBody!.config  92| expect(typeof config).not.toBe('string')  | ^  93| expect(  94| config === undefined || (typeof config === 'object' && config !=… ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯  FAIL  src/layers/__tests__/L2R/CrudSurface.pipelineSave.test.tsx > pipeline config save path > omits the config field from the PUT body when the field is emptied AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false  ❯ src/layers/__tests__/L2R/CrudSurface.pipelineSave.test.tsx:108:53 106| await waitFor(() => expect(capturedBody).not.toBeNull(), { timeout… 107| const config = capturedBody!.config 108| expect(config === undefined || config === null).toBe(true)  | ^ 109| }) 110| }) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯  Test Files  1 failed | 66 passed (67)  Tests  2 failed | 743 passed | 2 skipped (747)  Start at  09:06:25  Duration  59.58s (transform 24.09s, setup 161.90s, import 79.25s, tests 95.68s, environment 169.04s) JUNIT report written to /workspace/niko/agent-platform/reports/front-unit/junit.xml