You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(routeTree): regenerate with the current router version - #1505
Running pnpm run dev rewrites src/routeTree.gen.ts and drops four blank lines, so the working tree is dirty from the moment the dev server starts. The committed file was generated by an older version of the generator; this commit is just its current output.
import type { getRouter } from './router.tsx'
-
import type { startInstance } from './start.ts'
Not a formatting issue — oxfmt leaves the committed file byte-identical, so the blank lines come from the generator itself.
With this applied, the tree stays clean while the dev server is running.
Worth a look separately
src/routeTree.gen.ts is listed in .gitignore (line 38, added in d335de12) but is still tracked, so the ignore rule has no effect and the file has been committed many times since. If the intent was to stop tracking it, git rm --cached would be the real fix — but src/router.tsx imports it directly, so that needs a check that every build path regenerates it first. Happy to open that separately if it is wanted.
Summary by CodeRabbit
Refactor
Updated generated route type declarations; no user-visible behavior changes.
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This change commits the output the router generator already produces, so the working tree stays clean when the dev server runs. It has no runtime effect and is safe to merge.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names a chore that regenerates src/routeTree.gen.ts with the current router version. The raw summary confirms the change is a generated route tree that adds a @tanstack/react-start module au…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names a chore that regenerates src/routeTree.gen.ts with the current router version. The raw summary confirms the change is a generated route tree that adds a @tanstack/react-start module augmentation. The objectives describe the same regeneration, which removes four blank lines and makes the working tree dirty. The title is short, specific, and matches the main change. It does not mention the unresolved question about removing the file from tracking, which is a secondary point.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: 06f0add2-51df-4c8d-b3c8-c87c69c5bc9c
Commits
Reviewing files that changed from the base of the PR and between f00c509 and f830b0e.
Files selected for processing: 1
src/routeTree.gen.ts
Files with no reviewable changes: 1
src/routeTree.gen.ts
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.
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
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.
Running
pnpm run devrewritessrc/routeTree.gen.tsand drops four blank lines, so the working tree is dirty from the moment the dev server starts. The committed file was generated by an older version of the generator; this commit is just its current output.import type { getRouter } from './router.tsx' - import type { startInstance } from './start.ts'Not a formatting issue —
oxfmtleaves the committed file byte-identical, so the blank lines come from the generator itself.With this applied, the tree stays clean while the dev server is running.
Worth a look separately
src/routeTree.gen.tsis listed in.gitignore(line 38, added ind335de12) but is still tracked, so the ignore rule has no effect and the file has been committed many times since. If the intent was to stop tracking it,git rm --cachedwould be the real fix — butsrc/router.tsximports it directly, so that needs a check that every build path regenerates it first. Happy to open that separately if it is wanted.Summary by CodeRabbit