Repository navigation
Conversation
The scan loads any .ts/.js file that mentions defineAppRoute, which includes tests of route codecs. In the Cadence rc trial, list/doctor evaluated a vitest file outside its runner. The automatic scan now ignores *.test.*, *.spec.* and __tests__/. Explicit routeFiles globs are taken as written. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…-evaluates-test-files
JasonPaff
deleted the
jasonpaff/par-115-route-definition-discovery-evaluates-test-files
branch
October 2, 2026 21:34
This branch was successfully deployed
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.
paramour listandparamour doctorevaluate every source file that mentionsdefineAppRoute/definePagesRoute. Tests of route codecs mention them too. In the Cadence rc trial (PAR-3),src/lib/route-codecs.test.tswas loaded through jiti outside vitest. With aliases resolving (#69), it ran its top-level code and failed withCannot read properties of undefined (reading 'config').Change
**/*.{test,spec}.*and**/__tests__/**.routeFilesglobs keep only the output-directory ignores, so a project can still name a test file on purpose.reference/next/cli/list.mdxdocuments the skip.Verification
list.test.tscases: a.test.ts, a.spec.mtsand a__tests__/module each write a marker file when evaluated, and no marker appears afterlist. This test fails without the fix. A second case showsrouteFilescan still namedefs/a.test.ts.pnpm test packages/next: 543 passed, 1 skipped. Typecheck and lint are clean.The docs edit is on a different line from #69's, so the two PRs merge independently.
Fixes PAR-115
🤖 Generated with Claude Code