Skip to content

release: promote progress bar fixes to master - #92

Merged
damusix merged 3 commits into
masterfrom
next
Sep 12, 2026
Merged

release: promote progress bar fixes to master#92
damusix merged 3 commits into
masterfrom
next

Conversation

@damusix

@damusix damusix commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Purpose

Promote next to master so the progress-bar repair from #91 can enter the normal Changesets release flow.

Included fix

  • execution progress bars use the 0–100 scale required by @inkjs/ui
  • build, selected-file, directory, change, and transfer bars advance with completed work
  • change-file counters render as user-facing 1-based progress

Before merging

  • reconcile master back into next
  • remove already-released changesets and preserve master's 1.4.0 package state
  • retain a focused patch changeset for the progress fix
  • wait for CI on the reconciled branch
  • merge this PR
  • merge the resulting Changesets Version Packages PR to publish npm packages and binaries

Reconciliation commit: 70b9e16a. The resulting diff against master contains only the progress fix and its focused patch changeset.

* feat(tui): track update download progress from observer events

The updater has emitted received/total every 512KB and a retry notice
all along; nothing in the TUI listened. Mirrors useTransferProgress so
the update screen can show real progress instead of a bare spinner.

* feat(tui): render download progress on the update screen

The installing state was a bare spinner for the whole of a ~70MB
download, indistinguishable from a hang. Shows MB, percent and a bar
once the total is known, MB alone when the server sends no
Content-Length, and the retry reason so a resume does not read as one.

* refactor(cli): correct a comment promising a fallback that never existed

The comment claimed piped output falls back to periodic newlines; it
prints nothing, and suppression is right, since a tick per 512KB would
bury a CI log. Behaviour is unchanged, the early return just replaces
formatting a line that was already being discarded.

* docs(tui): add the Update screen to the screen reference

The screen reference had no entry for it at all, so the download
progress, the unknown-size fallback and the resume notice were
undocumented.

* docs(update): bring the spec up to standard and drop a drawn mockup

The spec was missing the change tree, outline, flows, risks and change
log a sibling spec two commits earlier already carried; its approaches
table moves to a design doc. The screen reference loses a hand-drawn
progress bar, the artifact class the VHS pipeline exists to retire.

* chore(changeset): add update download progress

Every user-facing change in this repo carries one; this had none.
@damusix
damusix marked this pull request as ready for review September 12, 2026 14:41
@damusix
damusix merged commit 8681ddc into master Sep 12, 2026
1 check passed
@damusix
damusix deleted the next branch September 12, 2026 14:48
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