Skip to content

Preserve cached worktree stats on fetch refresh#148

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/eager-kestrel-62597969
Jun 9, 2026
Merged

Preserve cached worktree stats on fetch refresh#148
SDSLeon merged 1 commit into
masterfrom
lightcode/eager-kestrel-62597969

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 9, 2026

Copy link
Copy Markdown
Owner
  • Bugfix: keep cached worktree diff totals intact when a refresh is triggered by fetch, so existing worktree state is not overwritten by an empty batch response.
  • Preserve the cached worktree status path during fetch-driven refreshes while still allowing normal refresh flows to update live data.
  • Add a regression test that covers fetch refreshes and verifies cached worktree stats remain unchanged.

- skip worktree status re-fetches during fetch refreshes
- add regression coverage for cached diff stats
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 9, 2026 5:06am

@SDSLeon SDSLeon merged commit 24a9c7d into master Jun 9, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/eager-kestrel-62597969 branch June 9, 2026 05:09
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.

1 participant