Skip to content

perf(web): halve the cold-start bundle by splitting Clerk and cold routes - #9058

Merged
t3dotgg merged 4 commits into
pingdotgg:mainfrom
StiensWout:t3code/split-cold-start-graph
Sep 2, 2026
Merged

t3dotgg merged 4 commits into
pingdotgg:mainfrom
StiensWout:t3code/split-cold-start-graph

fix(web): surface a spent chunk reload instead of a stuck splash

0bbaa39
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Effect Service Conventions succeeded Sep 2, 2026 in 14s

Effect Service Conventions: No issues found

All clear

Details

Note

Your check run agent prompt is: .macroscope/check-run-agents/effect-service-conventions.md
More information about how Check Run Agents work can be found in our Help Center.

The changed TypeScript/TSX files (apps/web/src/main.tsx, apps/web/src/router.ts, apps/web/src/lib/chunkReloadGuard.ts, apps/web/src/lib/chunkReloadGuard.test.ts, apps/web/src/components/AppSidebarLayout.tsx, apps/web/src/components/settings/ThemeEditorHost.tsx, apps/web/src/components/clerk/BrowserManagedAuthShell.tsx, apps/web/src/components/clerk/ElectronManagedAuthShell.tsx) contain no Effect service definitions, layers, tags, error classes, or runtime boundaries. The change is limited to React lazy loading, Vite route code splitting, and a sessionStorage-backed chunk reload guard, so none of the Effect service conventions apply.


🔍 Agent activity — reasoning, no tool calls

💭 This PR is just about lazy loading chunks in a React app, with no Effect service code involved, so I'm confident this is clear. I'll format the response as JSON with a success state and a summary noting "All clear."


Agent Credits: 8 credits

Token usage: 2 uncached input · 23,352 cache-read input · 8,081 cache-write input · 517 output
Agent Credits may also include non-token charges from external tools such as web research.