Skip to content

fix(revlog): avoid panic when async log fetch fails (#2713)#2946

Closed
wyf027 wants to merge 1 commit into
gitui-org:masterfrom
wyf027:fix/revlog-fetch-panic-2713
Closed

fix(revlog): avoid panic when async log fetch fails (#2713)#2946
wyf027 wants to merge 1 commit into
gitui-org:masterfrom
wyf027:fix/revlog-fetch-panic-2713

Conversation

@wyf027

@wyf027 wyf027 commented May 17, 2026

Copy link
Copy Markdown

Summary

  • Replace .expect("failed to fetch") in the revlog background worker with error logging, consistent with asyncgit::status.
  • Log channel send failures instead of panicking when notifying the UI.

Test plan

  • cargo check -p asyncgit

Fixes #2713

Log revlog fetch and notification errors instead of unwrapping,
matching the status async fetch pattern.

Fixes #2713

Co-authored-by: Cursor <cursoragent@cursor.com>
@wyf027 wyf027 closed this by deleting the head repository Jun 23, 2026
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.

Crash when navigating log / working set.

1 participant