mirror of
https://github.com/smogon/sprites.git
synced 2026-10-03 06:39:02 -05:00
A deploy's last phase is a long silent wait: thousands of files packed into an upload or copied into a staging tree, with nothing between the line naming the command and the line after it finishes. Draw a bar over it when stderr is a terminal, and nothing at all when it isn't -- piped or under CI a redraw per file is noise in the log, and the stdout lines the deploy already prints are the record either way. The tar entries a pack hands out are counted by their entry callbacks, which wait on the pack draining into whoever is reading it, so the bar follows what the upload command has taken rather than what has been read off disk. The staging and -o paths count files as they land. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DRBNA4JH27Eq3cgJpzCLV2