Skip to content

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

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

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

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 17, 2026

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

Made with Cursor

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

Fixes gitui-org#2713

Co-authored-by: Cursor <cursoragent@cursor.com>
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