Skip to content

perf(app): defer dormant v2 harness - #22

Merged
Itsnotaka merged 1 commit into
mainfrom
daniel/frontend-defer-v2-harness
Aug 4, 2026
Merged

Itsnotaka merged 1 commit into
mainfrom
daniel/frontend-defer-v2-harness

Conversation

@Itsnotaka

@Itsnotaka Itsnotaka commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

What changed

  • load the private /v2 RPC page through one cached dynamic import
  • preload that chunk only for a direct /v2 launch
  • share the route's permanent layout between the loading and interactive states
  • guard v2.tsx out of the static startup graph and document the dev-time review
  • verify the fallback and loaded initial markup are identical apart from nonvisual state attributes

Why

The normal Home and thread launch graph parsed Effect RPC and Honk Core workspace code that only the private manual page can execute.

Measured result

  • initial JavaScript: 2,803,219 to 2,731,288 bytes, down 2.57%
  • initial gzip: 856,817 to 832,684 bytes, down 2.82%
  • first-frame renderer heap median: 119.64 to 117.59 MiB, down 1.71%
  • React initial render median: 2.2 to 2.1 ms
  • commit-to-next-frame median: 4.2 to 4.4 ms
  • Electron window-ready median: 5,548 to 5,536 ms

Verification

  • pnpm --filter @honk/app dev:startup-review failed on the eager module before the split, then passed and started Vite
  • pnpm --filter @honk/app exec vitest run src/v2-route.test.tsx src/setup.test.tsx src/session-workbench-layout.test.tsx
  • pnpm --filter @honk/app build
  • focused oxfmt and diff checks
  • React Doctor changed-scope scan found no issue in this PR's files

Repository-wide typecheck remains blocked by the same onboarding-layout.tsx:344 gearColossus error on both trees. Design lint improves the private v2 page from 13 existing findings to 12. The architecture check still reports the same five pre-existing oversized files.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@cursor

cursor Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@vercel

vercel Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
honk-marketing Ready Ready Preview Aug 4, 2026 7:18pm

Request Review

@Itsnotaka
Itsnotaka merged commit 708ad84 into main Aug 4, 2026
4 of 5 checks passed
Itsnotaka added a commit that referenced this pull request Aug 6, 2026
@Itsnotaka
Itsnotaka deleted the daniel/frontend-defer-v2-harness branch August 6, 2026 05:46

This branch was successfully deployed

1 active deployment
Preview — 21e77f57 Deployed Aug 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant