Skip to content

[fix] Add spinner during worktree removal in clean command (#91)#95

Merged
lugassawan merged 1 commit intomainfrom
fix/clean-spinner-91
Mar 11, 2026
Merged

[fix] Add spinner during worktree removal in clean command (#91)#95
lugassawan merged 1 commit intomainfrom
fix/clean-spinner-91

Conversation

@lugassawan
Copy link
Owner

Summary

  • Restart spinner before RemoveCandidates in both cleanMerged and cleanStale so progress messages are displayed during the removal phase
  • Previously, s.Update() calls were silently dropped because the spinner was stopped after analysis and never restarted

Closes #91

Test plan

  • make fmt — clean
  • make lint — 0 issues
  • make test — all pass

The spinner was stopped after analysis and never restarted for the
removal phase, causing s.Update() progress messages to be silently
dropped. Restart the spinner before RemoveCandidates in both
cleanMerged and cleanStale.
@lugassawan lugassawan merged commit 49c6b4e into main Mar 11, 2026
5 checks passed
@lugassawan lugassawan deleted the fix/clean-spinner-91 branch March 11, 2026 07:31
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.

Add spinner/progress indicator for rimba clean --merged --force

1 participant