Skip to content

feat(testing): add dev server health check and preset support to smoke test#98

Merged
Marve10s merged 4 commits intomainfrom
feat/smoke-test-dev-check
Mar 17, 2026
Merged

feat(testing): add dev server health check and preset support to smoke test#98
Marve10s merged 4 commits intomainfrom
feat/smoke-test-dev-check

Conversation

@Marve10s
Copy link
Owner

Summary

  • Add --dev-check flag to the smoke test that starts the dev server, fetches localhost, and validates the HTML response contains no errors
  • Add --preset <id> flag to test specific stack presets (e.g. tanstack-fullstack, t3, react-hono) instead of random combos
  • Fix react/react-dom version mismatch across all 5 React frontend templates — react was pinned to 19.2.3 while react-dom used ^19.2.4, causing SSR crashes at runtime

Test plan

  • bun run test:smoke -- --preset tanstack-fullstack --dev-check — passes (previously crashed with React version mismatch)
  • bun run test:smoke -- --preset all --dev-check — all presets
  • bun run test:smoke -- --count 5 --dev-check — random combos with dev check
  • bun run test:smoke -- --seed 12345 — standard smoke test unchanged

🤖 Generated with Claude Code

…e test

Add --dev-check flag that starts the dev server, fetches localhost, and
validates the response has no errors. Add --preset flag to test specific
stack presets (e.g. tanstack-fullstack) instead of random combos.

Also fix react/react-dom version mismatch across all React frontend
templates — react was pinned to 19.2.3 while react-dom used ^19.2.4,
causing SSR crashes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 17, 2026

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
better-fullstack-web Ignored Ignored Preview Mar 17, 2026 4:00pm

Marve10s and others added 3 commits March 17, 2026 18:40
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
When both backend (port 3000) and frontend (port 3001) are running,
the URL detector now waits for the expected frontend port instead of
picking the first URL found. Also tighten hydration error patterns
to avoid false positives from Next.js dev-mode script references.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…lution

Next.js 16 Turbopack can't resolve .js extensions on TypeScript source
imports. Since all generated projects use moduleResolution: "bundler",
the .js extensions are unnecessary. Affects trpc, orpc, garph, and
ts-rest API router templates.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Marve10s Marve10s merged commit 88b9c24 into main Mar 17, 2026
6 of 7 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.

1 participant