Skip to content

Improve PWA routing, performance, and remote sync#338

Merged
SDSLeon merged 1 commit into
masterfrom
poracode/noble-condor-134ef08f
Jul 18, 2026
Merged

Improve PWA routing, performance, and remote sync#338
SDSLeon merged 1 commit into
masterfrom
poracode/noble-condor-134ef08f

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • make /app and deep links reliable through the hosted app rewrite and root-scoped, route-filtered service worker
  • reduce disconnected startup work with route-level lazy loading and mobile-specific chunking
  • page remote runtime history, preserve authoritative cursors, bound reconnect ticket latency, and add relay stream backpressure
  • version and warm offline caches while keeping unrelated landing-site routes outside the worker fetch handler
  • add a repeatable remote protocol performance benchmark

Root cause

The public /app alias only covered the entry route, the worker scope/cache lifecycle did not reliably own deep links or loaded chunks, and remote snapshots/reconnects could replay stale cursors or transfer unbounded transcript history. The mobile build also eagerly pulled heavy feature chunks into disconnected startup.

Validation

  • pnpm run typecheck
  • pnpm run lint
  • pnpm run fmt:check
  • pnpm run test — 5,746 passed
  • pnpm run test:perf:remote — 6,006 frames in 17 ms
  • production desktop, mobile, and website builds
  • full isolated integration smoke — zero console/runtime errors
  • clean-origin /app browser test — online reload 188 ms; offline reload 701 ms; 112/112 cache hits

@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
lightcode-landing Ready Ready Preview, Comment Jul 18, 2026 5:06pm

@SDSLeon
SDSLeon merged commit 48206b7 into master Jul 18, 2026
10 checks passed
@SDSLeon
SDSLeon deleted the poracode/noble-condor-134ef08f branch July 18, 2026 17:08
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