Skip to content

Chore: Update gitignore to skip worktrees - #7454

Merged
david-livefront merged 1 commit into
mainfrom
git-ignore-update
Oct 8, 2026
Merged

david-livefront merged 1 commit into
mainfrom
git-ignore-update

Conversation

@david-livefront

Copy link
Copy Markdown
Collaborator

๐ŸŽŸ๏ธ Tracking

N/A

๐Ÿ“” Objective

This PR updates the .gitignore to ensure temporary plans and worktrees do not get checked in.

@david-livefront
david-livefront requested a review from a team as a code owner October 8, 2026 14:53
@github-actions github-actions Bot added the t:tech-debt Change Type - Tech debt label Oct 8, 2026
andrebispo5
andrebispo5 previously approved these changes Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

๐Ÿค– Bitwarden Claude Code Review

Overall Assessment: REQUEST CHANGES

This PR adds three .gitignore entries under a new # Claude section to keep Claude Code worktrees and generated plans out of source control. No tracked files currently match the new patterns, so nothing is accidentally untracked by this change, and .claude/worktrees matches Claude Code's default worktree location. One of the plan patterns does not match the path this repo's own /plan-android-work command writes to, so the stated objective is not met for plans.

Code Review Details
  • โš ๏ธ : .claude/output/plans does not match the documented plan output directory .claude/outputs/plans (plural), so generated plans remain uncovered
    • .gitignore:36

@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

โœ… All modified and coverable lines are covered by tests.
โœ… Project coverage is 86.09%. Comparing base (1d0f544) to head (17569cb).
โš ๏ธ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7454      +/-   ##
==========================================
+ Coverage   85.46%   86.09%   +0.62%     
==========================================
  Files        1045      911     -134     
  Lines       68537    66131    -2406     
  Branches     9430     9374      -56     
==========================================
- Hits        58577    56937    -1640     
+ Misses       6472     5719     -753     
+ Partials     3488     3475      -13     
Flag Coverage ฮ”
app-data 18.65% <รธ> (+0.35%) โฌ†๏ธ
app-ui-auth-tools 18.64% <รธ> (-0.18%) โฌ‡๏ธ
app-ui-platform 16.48% <รธ> (-0.37%) โฌ‡๏ธ
app-ui-vault 26.87% <รธ> (-0.62%) โฌ‡๏ธ
authenticator 5.98% <รธ> (+0.01%) โฌ†๏ธ
lib-core-network-bridge 4.07% <รธ> (-0.01%) โฌ‡๏ธ
lib-data-ui 1.21% <รธ> (-0.01%) โฌ‡๏ธ

Flags with carried forward coverage won't be shown. Click here to find out more.

โ˜” View full report in Codecov by Harness.
๐Ÿ“ข Have feedback on the report? Share it here.

๐Ÿš€ New features to boost your workflow:
  • โ„๏ธ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • ๐Ÿ“ฆ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread .gitignore Outdated
# Claude
.claude/worktrees
.claude/plans
.claude/output/plans

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

โš ๏ธ IMPORTANT: Path does not match where plans are actually written (outputs, plural), so generated plans stay untracked-but-visible.

Details and fix

.claude/commands/plan-android-work.md:106-107 documents the plan output location as:

- With ticket: `.claude/outputs/plans/PM-XXXXX-FEATURE-NAME-PLAN.md`
- Without ticket: `.claude/outputs/plans/FEATURE-NAME-PLAN.md`

gitignore patterns match literally, so .claude/output/plans will never match .claude/outputs/plans/.... Nothing else in .gitignore covers that directory either, which leaves the PR's stated objective ("ensure temporary plans ... do not get checked in") unmet for the one generator that exists in this repo.

Suggested change
.claude/output/plans
.claude/outputs/plans

Alternatively keep both spellings if another tool writes to the singular form, or broaden to .claude/outputs/ to cover future output subdirectories.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@claude This has been addressed

@claude claude Bot Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude finished @david-livefront's task in 32s โ€”โ€” View job


Verified โ€” fix is in โœ…

  • Gather context (current branch .gitignore, plan output path)
  • Verify the reported path mismatch is resolved

.gitignore:36 now reads .claude/outputs/plans, which matches the location /plan-android-work documents at .claude/commands/plan-android-work.md:106-107:

- With ticket: `.claude/outputs/plans/PM-XXXXX-FEATURE-NAME-PLAN.md`
- Without ticket: `.claude/outputs/plans/FEATURE-NAME-PLAN.md`

Also re-checked the rest of the section:

Pattern Status
.claude/worktrees โœ… matches Claude Code's default worktree location
.claude/plans โœ… no tracked files affected
.claude/outputs/plans โœ… now matches the documented generator output

git ls-files .claude shows no tracked files under any of the three patterns, so nothing becomes accidentally untracked. Working tree is clean. My earlier concern is resolved โ€” no further changes needed from my side.
โ€ข Branch: git-ignore-update

@david-livefront

Copy link
Copy Markdown
Collaborator Author

Thanks @andrebispo5

@david-livefront
david-livefront added this pull request to the merge queue Oct 8, 2026
Merged via the queue into main with commit 2b4aaea Oct 8, 2026
39 checks passed
@david-livefront
david-livefront deleted the git-ignore-update branch October 8, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t:tech-debt Change Type - Tech debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants