chore: untrack tsconfig.tsbuildinfo across the monorepo - #18
Conversation
apps/blogs/tsconfig.tsbuildinfo was committed by mistake in #17 -- a `git add apps/blogs` swept it in with the redesign. It is TypeScript incremental build state: machine-local, rewritten on every compile, and a source of pointless diffs and merge conflicts for anyone else building the app. apps/web had the same file already tracked, from before. Leaving it while adding *.tsbuildinfo to .gitignore would be incoherent, so both go. Adding the ignore pattern as well as removing the files, because .gitignore covered node_modules/ and .next/ but not this -- which is why nothing stopped it landing. Untracked with `update-index --force-remove` so the files stay on disk and nobody loses their incremental cache.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 48 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
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. Comment |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideStop tracking TypeScript incremental build artifacts ( File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Correction to the PR body: I wrote that untracking would leave the files on disk so nobody loses their incremental cache. That is true at the moment of staging, but not on pull — when this commit lands, git removes the files from the working tree because they go from tracked to untracked. I saw it happen locally on The consequence is trivial — one slower typecheck while the cache rebuilds — but the claim as written was wrong, so recording it rather than leaving it in the history. Verified after the merge: the app builds clean with the cache absent, all 7 posts still prerender, and \git status\ stays clean, so the ignore pattern is doing its job. |
Self-inflicted, from #17 — a
git add apps/blogsswept inapps/blogs/tsconfig.tsbuildinfo.It is TypeScript incremental build state: machine-local, rewritten on every compile, and a source of pointless diffs and merge conflicts for anyone else building the app.
apps/webhad the same file already tracked, from before this work. Leaving it while adding*.tsbuildinfoto.gitignorewould be incoherent, so both go..gitignorecoverednode_modules/and.next/but not this, which is why nothing stopped it landing — so the pattern is added as well as the files removed.Untracked with
update-index --force-remove, so the files stay on disk and nobody loses their incremental cache. Verified both are still present locally after staging.Summary by Sourcery
Chores: