-
Notifications
You must be signed in to change notification settings - Fork 48
Closed as not planned
Description
Objective
Migrate all usage of the old spinner to the new idiomatic implementation and remove the deprecated code.
Context
Once the new spinner is implemented, tested, and documented, we need to:
- Find all usages of the old spinner
- Update them to use the new implementation
- Verify everything still works
- Remove the old code
Approach
- Search for all imports and usages of spinner in the codebase
- Update each usage to use the new spinner API
- Run all tests to verify behavior
- Rename
spinner_v2.gotospinner.go - Delete old implementation
Files to Modify
- Search: All files using
console.SpinnerWrapperorconsole.NewSpinner - Update: Each file using spinner
- Rename:
pkg/console/spinner_v2.go→pkg/console/spinner.go - Delete: Old
pkg/console/spinner.go(after migration)
Migration Checklist
- Find all spinner usages with
grep -r "NewSpinner\|SpinnerWrapper" - Update each usage to new API (if different)
- Run unit tests:
make test-unit - Run full tests:
make test - Verify manual testing with real spinner scenarios
- Rename
spinner_v2.gotospinner.go - Remove old implementation
- Run
make agent-finishbefore committing
Acceptance Criteria
- All spinner usages migrated to new implementation
- All tests pass (unit + integration)
- Old implementation removed
- No references to old spinner remain
- Manual testing confirms spinner works in terminal
- Code builds and lints successfully
Related to [plan] Refactor spinner to use idiomatic Bubble Tea pattern #9189
AI generated by Plan Command for discussion #9188
Reactions are currently unavailable