feat(testing): add dev server health check and preset support to smoke test#98
Merged
feat(testing): add dev server health check and preset support to smoke test#98
Conversation
…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>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--dev-checkflag to the smoke test that starts the dev server, fetches localhost, and validates the HTML response contains no errors--preset <id>flag to test specific stack presets (e.g.tanstack-fullstack,t3,react-hono) instead of random combosreact/react-domversion mismatch across all 5 React frontend templates —reactwas pinned to19.2.3whilereact-domused^19.2.4, causing SSR crashes at runtimeTest 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 presetsbun run test:smoke -- --count 5 --dev-check— random combos with dev checkbun run test:smoke -- --seed 12345— standard smoke test unchanged🤖 Generated with Claude Code