Skip to content

chore: untrack tsconfig.tsbuildinfo and ignore local launch.json (#1241) - #1242

Merged
alfredo1996 merged 1 commit into
release/1.4from
chore/issue-1241-untrack-build-artifacts
Jul 25, 2026
Merged

chore: untrack tsconfig.tsbuildinfo and ignore local launch.json (#1241)#1242
alfredo1996 merged 1 commit into
release/1.4from
chore/issue-1241-untrack-build-artifacts

Conversation

@alfredo1996

Copy link
Copy Markdown
Owner

Closes #1241.

Problem

app/tsconfig.tsbuildinfo — a TypeScript incremental-build cache — was tracked in git. Every build dirtied the working tree, so git add -A silently swept it into unrelated commits. It polluted both #1238 and #1239 during the v1.4 work and had to be reverted by hand each time. .claude/launch.json (per-developer local config) was untracked but not ignored: the same accident waiting to happen.

Changes

  • Ignore *.tsbuildinfo, untrack app/tsconfig.tsbuildinfo
  • Ignore .claude/launch.json
  • app/next-env.d.ts stays tracked on purpose, with the reason recorded inline in .gitignore

The one risky part, investigated first

The obvious instinct is to ignore next-env.d.ts too, since Next.js generates it. That would break CI. The typecheck job in ci.yml runs:

npm -w app exec tsc -- --noEmit

with no prior next build or next dev — so nothing regenerates the file in CI, and tsc would lose Next's ambient types. It therefore stays tracked, and .gitignore carries a comment explaining why so a future cleanup doesn't remove it.

Verification

  • tsc --noEmit passes for both app and component — confirms keeping next-env.d.ts was correct.
  • git status is clean after a type-check run (the acceptance signal from the issue); previously this left a modified tsconfig.tsbuildinfo.
  • Diff is exactly two entries: .gitignore modified, app/tsconfig.tsbuildinfo deleted. No source files touched, so no test changes are warranted.

Out of scope

No history rewrite. Removing the file going forward is sufficient; purging it from history on a public repo would be far more disruptive than the problem.

🤖 Generated with Claude Code

The TypeScript incremental-build cache was tracked, so every build dirtied
the working tree and got swept into unrelated commits by git add -A (it
polluted both #1238 and #1239 and had to be reverted by hand).

- ignore *.tsbuildinfo and untrack app/tsconfig.tsbuildinfo
- ignore .claude/launch.json (per-developer local config, previously
  untracked-but-not-ignored, i.e. the same accident waiting to happen)
- app/next-env.d.ts stays TRACKED on purpose: the CI typecheck job runs
  tsc --noEmit with no prior next build, so nothing regenerates it there.
  Documented inline so it does not get 'tidied' away later.

Verified: tsc --noEmit passes for app and component, and the working tree
stays clean after a type-check run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@alfredo1996, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 8 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: f107ab84-665e-4cbc-96f6-8cd29b0b4e4a

📥 Commits

Reviewing files that changed from the base of the PR and between d2851f4 and 4a7e5a1.

⛔ Files ignored due to path filters (1)
  • app/tsconfig.tsbuildinfo is excluded by !app/tsconfig.tsbuildinfo
📒 Files selected for processing (1)
  • .gitignore
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/issue-1241-untrack-build-artifacts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@alfredo1996
alfredo1996 merged commit ed1ec88 into release/1.4 Jul 25, 2026
15 checks passed
@alfredo1996
alfredo1996 deleted the chore/issue-1241-untrack-build-artifacts branch July 25, 2026 13:12
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.

2 participants