Skip to content

feat(updater): show a live progress display in the terminal - #816

Open
renatav wants to merge 5 commits into
masterfrom
renatav/updater-live-display
Open

renatav wants to merge 5 commits into
masterfrom
renatav/updater-live-display

Conversation

@renatav

@renatav renatav commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Description (e.g. "Related to ...", etc.)

Show one row per authentication repository (the root and each dependency) with its state - waiting, running, error or complete - and how long it took, updated in place with rich. With -v the current step is shown too. Log output is collected in a panel under the table while the update runs and printed in full above the final table when it ends. Dependencies are updated in parallel, which made the interleaved log lines hard to follow.

image

Closes #657

Code review checklist (for code reviewer to complete)

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Commit messages are meaningful (see this for details)
  • Tests have been included and/or updated, as appropriate
  • Docstrings have been included and/or updated, as appropriate
  • Changelog has been updated, as needed (see CHANGELOG.md)

Show one row per authentication repository (the root and each dependency)
with its state - waiting, running, error or complete - and how long it
took, updated in place with rich. With -v the current step is shown too.
Log output is collected in a panel under the table while the update runs
and printed in full above the final table when it ends. Dependencies are
updated in parallel, which made the interleaved log lines hard to follow.

Shown by taf repo clone, update and validate only when writing to a
terminal and not using --format-output. Library callers and JSON output
are unchanged.
Drop tests of how log lines are laid out and where they are printed;
keep the ones that check what the display reports for a real clone and
the logger restore after the display ends.
@renatav
renatav force-pushed the renatav/updater-live-display branch from b3b284b to c195c17 Compare October 9, 2026 21:00
Show cloning, fetching, validating or merging as a repository's status
while it runs, without needing -v. When the run finishes, clear the table
and print the log output as plain text, so the usual output is what remains.
@renatav
renatav marked this pull request as ready for review October 9, 2026 23:15
@renatav
renatav requested a review from n-dusan October 9, 2026 23:18
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.

TAF terminal UI live display

1 participant