Skip to content

fix: pr-bug-scan findings from #1410#1420

Open
buf0-bot[bot] wants to merge 1 commit intomainfrom
bot/pr-bug-scan-1410-1777952753
Open

fix: pr-bug-scan findings from #1410#1420
buf0-bot[bot] wants to merge 1 commit intomainfrom
bot/pr-bug-scan-1410-1777952753

Conversation

@buf0-bot
Copy link
Copy Markdown
Contributor

@buf0-bot buf0-bot Bot commented May 5, 2026

Automated fix-PR from pr-bug-scan for parent #1410.

Fixer summary: Extended removeRepo in repos.ts to drop lastVisitedAtByWorktreeId entries belonging to the removed repo, preventing monotonic growth of timestamps for deleted repos.
Typecheck: skipped

Findings addressed

  • [low] src/renderer/src/store/slices/worktrees.ts:585-625 — pruneLastVisitedTimestamps now leaks entries for removed repos

This PR was generated by the pr-bug-scan automation and reviewed by an agent reviewer. Human approval required before merge.

Extended removeRepo in repos.ts to drop lastVisitedAtByWorktreeId entries belonging to the removed repo, preventing monotonic growth of timestamps for deleted repos.
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.

0 participants