Skip to content

fix(pi-jujutsu): show error details on snapshot failure#33

Merged
mgabor3141 merged 1 commit intomainfrom
fix/jujutsu-snapshot-errors
Apr 3, 2026
Merged

fix(pi-jujutsu): show error details on snapshot failure#33
mgabor3141 merged 1 commit intomainfrom
fix/jujutsu-snapshot-errors

Conversation

@mgabor3141
Copy link
Copy Markdown
Owner

When jj util snapshot fails, the notification now shows the first line of jj's error output (e.g. "Internal error: Failed to commit new operation") instead of a generic "snapshot failed".

Also deduplicates the summary line regex between formatSummaryLine and formatParentOneLiner into a shared formatStats helper.

Include first line of jj stderr in the notification so users see the
actual cause (lock contention, permission error, corrupt repo) instead
of a generic "snapshot failed" message.

Also deduplicate summary line parsing into a shared formatStats helper.
@mgabor3141 mgabor3141 merged commit c98b535 into main Apr 3, 2026
1 check passed
@mgabor3141 mgabor3141 deleted the fix/jujutsu-snapshot-errors branch April 3, 2026 16:24
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