Loading workspace insights... Statistics interval
7 days30 daysLatest CI Pipeline Executions
4d9e0e76 refactor: remove unnecessary mechanism across the match-loading pipeline
Complexity sweep over the combined #7637+#7744 diff (23 verified
simplifications; every candidate adversarially checked for behavior
preservation against INTERNALS and the test suite):
- One flag instead of two for pending publication (pendingPublished
folded into rendered); serial failures live on inner.serialFailure
instead of a local mirrored by a temporary background-null bracket
(retained ancestors now gate background selection explicitly).
- Provably-dead code deleted: finalizeRouteFailure's never-passed
componentFailure parameter, an unreachable lane-shortening guard, the
join's pre-wait aborted check, three sync-gap currentness re-checks in
the background path, the server-side latestLoadPromise clear, two
unreachable isServer branches in react Match, and the supersession
drain loop's impossible-state guards (with a new multi-supersession
pinning test).
- One owner per rule: the serial-failure loader-prefix cap is a shared
helper used by both client and server (new foreground-lane pinning
test); matchRoutesInternal derives context through getMatchContext;
invalidate() uses one parameterized updater; cancelMatches reads its
known pool directly; the server reduction uses Promise.allSettled.
- Vestigial indirection dropped: hydrate()'s follow-up load microtask
deferral, solid's createResource microtask yield and armPending
wrapper, ssr-client's duplicate route.options.ssr write, the
loadedMatches/matches aliases, and stores.ts's initial-state object
for five compile-time constants.
Bundle: −95 to −150 B gzip (−300 to −494 B raw) on every measured
target across react/solid/vue and vite/rsbuild. All suites green
(router-core 1492, react 941, solid 821+server-mode, vue 791) plus
react/solid selective-ssr e2e.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> 4d9e0e76 refactor: remove unnecessary mechanism across the match-loading pipeline
Complexity sweep over the combined #7637+#7744 diff (23 verified
simplifications; every candidate adversarially checked for behavior
preservation against INTERNALS and the test suite):
- One flag instead of two for pending publication (pendingPublished
folded into rendered); serial failures live on inner.serialFailure
instead of a local mirrored by a temporary background-null bracket
(retained ancestors now gate background selection explicitly).
- Provably-dead code deleted: finalizeRouteFailure's never-passed
componentFailure parameter, an unreachable lane-shortening guard, the
join's pre-wait aborted check, three sync-gap currentness re-checks in
the background path, the server-side latestLoadPromise clear, two
unreachable isServer branches in react Match, and the supersession
drain loop's impossible-state guards (with a new multi-supersession
pinning test).
- One owner per rule: the serial-failure loader-prefix cap is a shared
helper used by both client and server (new foreground-lane pinning
test); matchRoutesInternal derives context through getMatchContext;
invalidate() uses one parameterized updater; cancelMatches reads its
known pool directly; the server reduction uses Promise.allSettled.
- Vestigial indirection dropped: hydrate()'s follow-up load microtask
deferral, solid's createResource microtask yield and armPending
wrapper, ssr-client's duplicate route.options.ssr write, the
loadedMatches/matches aliases, and stores.ts's initial-state object
for five compile-time constants.
Bundle: −95 to −150 B gzip (−300 to −494 B raw) on every measured
target across react/solid/vue and vite/rsbuild. All suites green
(router-core 1492, react 941, solid 821+server-mode, vue 791) plus
react/solid selective-ssr e2e.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>