Skip to content

Audit and adopt Remix v3 Beta 5 features#79

Merged
kody-bot merged 4 commits into
mainfrom
cursor/remix-beta5-audit-epicflare-bbfb
Jul 9, 2026
Merged

Audit and adopt Remix v3 Beta 5 features#79
kody-bot merged 4 commits into
mainfrom
cursor/remix-beta5-audit-epicflare-bbfb

Conversation

@kentcdodds

@kentcdodds kentcdodds commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary

  • document a repository-specific Remix v3 Beta 5 adoption audit
  • adopt remix/ui/button, remix/ui/input, and remix/ui/checkbox in repeated authentication forms
  • generate auth/password-reset mutation URLs from the typed route contract
  • minify production web and MCP app browser bundles
  • make the MCP bundle test assert stable protocol behavior instead of minified implementation names

Scope decisions

  • trustProxy is not applicable because production runs as a Cloudflare Worker, not through remix/node-fetch-server
  • Node production-start and Frame resolver defaults are documented but intentionally not copied into the Workers/custom-router architecture
  • session/CSRF middleware and chat Listbox work are proposals because they require security or interaction design decisions

Validation

  • bun run typecheck
  • bun run lint
  • changed-file Prettier check
  • bun run build
  • bun run test:e2e e2e/login.spec.ts e2e/oauth-authorize.spec.ts — 7 passed
  • bun run test:mcp — 4 passed
  • bun run test:e2e e2e/calculator-widget.spec.ts — 3 passed
  • manual login, checkbox, and reset-password visual checks with no console errors

Production browser output decreased from 432,978 bytes to 190,168 bytes (56% smaller). The repository-wide Prettier check still reports unrelated pre-existing formatting issues outside this diff; all changed files pass.

Walkthrough

remix_beta_5_auth_primitives_login_final.mp4

Open in Web Open in Cursor 

cursoragent and others added 4 commits July 9, 2026 18:01
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
@kody-bot kody-bot marked this pull request as ready for review July 9, 2026 18:46
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

🔎 Preview deployed: https://epicflare-pr-79.kentcdodds.workers.dev

Worker: epicflare-pr-79
D1: epicflare-pr-79-db
KV: epicflare-pr-79-oauth-kv

Mocks:

@kody-bot kody-bot merged commit 0ec85ec into main Jul 9, 2026
14 checks passed
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.

3 participants