Repository navigation
chore: gitignore CLAUDE.local.md - #37545
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Greptile SummaryAdds
Confidence Score: 5/5The PR appears safe to merge because the isolated ignore-rule change introduces no actionable failure. The new pattern prevents the described local notes file from appearing in Git status or bulk-add operations, without changing application behavior.
|
| Filename | Overview |
|---|---|
| .gitignore | Adds the intended local-notes filename to Git’s ignore patterns; no actionable issue was identified. |
Reviews (1): Last reviewed commit: "chore: gitignore CLAUDE.local.md" | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
TLDR
Problem this solves:
CLAUDE.local.mdwas not gitignoredHow it solves it:
CLAUDE.local.mdto.gitignore, next to.claudeUser Flow
Before: a contributor keeping personal Claude Code notes in the repo sees them show up as an untracked file, easy to commit by accident
CLAUDE.local.mdat the repo root with their own local notesgit statusand seeCLAUDE.local.mdlisted under untracked filesgit add -Aorgit commit -asweeps that personal file into the commitAfter: the same file stays local and invisible to git
CLAUDE.local.mdat the repo root with their own local notesgit statusand it reports a clean tree, no untrackedCLAUDE.local.mdgit add -Apicks nothing up, so the notes can't leak into a commitRelevant issues
Linear ticket
Pre-Submission checklist
uv run pytest tests/test_litellm/<your_test_file>.py -v. Leave the suites (make test-unit-*,make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more@greptileaito re-request a review after pushing changes)Note on tests: this is a one-line
.gitignorechange with no runtime behavior, so there is nothing meaningful to unit test.git check-ignoreoutput below is the verificationScreenshots / Proof of Fix
Before (3f2e0ba)
git checkout 3f2e0badb4 -- .gitignore && touch CLAUDE.local.md && git check-ignore -v CLAUDE.local.md; echo "exit=$?"git status --short CLAUDE.local.mdAfter (7bdcfa6)
git check-ignore -v CLAUDE.local.mdgit status --short CLAUDE.local.mdType
🚄 Infrastructure
Caveats (if any)
Final Attestation
Link to Devin session: https://app.devin.ai/sessions/7a429144935d4ffbad4371c0bd13c6f4
Requested by: @mateo-berri