Skip to content

[plan] Improve spinner implementation based on go-fan analysis #5100

Closed
4 of 4 issues completed
Closed

Description

@github-actions

Overview

This tracking issue covers improvements to the spinner implementation in gh-aw based on the analysis from the go-fan module review.

Source: Discussion #5094

Background

The briandowns/spinner module is currently at v1.23.2 and has evolved its best practices. The review identified several opportunities to:

  • Reduce dependencies by removing redundant TTY detection
  • Improve user experience with completion messages
  • Better align with CLI best practices for output handling
  • Add dynamic progress feedback

Planned Tasks

This work is broken down into 4 focused sub-issues:

  1. Remove go-isatty dependency - Align with spinner v1.23.1+ which moved to golang.org/x/term
  2. Add completion messages - Use FinalMSG to show success/error states
  3. Configure stderr output - Follow CLI best practices for progress indicators
  4. Add dynamic progress updates - Show percentages, counts, and elapsed time

Benefits

  • Reduced dependencies: Eliminate go-isatty in favor of spinner's built-in detection
  • Better UX: Clear completion feedback across all 9 spinner usage locations
  • Pipeline compatibility: Allow output redirection while showing progress
  • Improved feedback: Dynamic messages for long-running operations

References

AI generated by Plan Command for discussion #5094

Sub-issues

Sub-issues

4 of 4 Issues completed
Loading 4 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-generatedenhancementgood first issueplan

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions