• 
      

    Improve progress output for `rbt post`.

    Review Request #15294 — Created Sept. 14, 2026 and updated

    Information

    RBTools
    master

    Reviewers

    The new rich output for rbt post left a bit to be desired. It had been
    basically ported over straight from the old tqdm implementation, and
    so it would show two progress bars for "Validating Commits" and
    "Uploading Commits", and then finish with "Review Request X posted" and
    links. These progress bars were always shown, even for the default case
    of posting a single commit.

    This now uses a spinner that shows what the active task is. In the case
    of multi-step tasks (such as validating or uploading multiple commits),
    the progress bar will be included. Once that entire process concludes,
    the spinner is entirely replaced with the result.

    The console API for this has been updated to allow commands that don't
    want to replace the spinner/progress, such as rbt install where it
    looks better if we keep that download bar on-screen.

    • Ran unit tests.
    • Posted changes with single and multiple commits.
    • Ran rbt install tfs and verified that it still looked good.
    Summary ID
    Improve progress output for `rbt post`.
    The new rich output for `rbt post` left a bit to be desired. It had been basically ported over straight from the old `tqdm` implementation, and so it would show two progress bars for "Validating Commits" and "Uploading Commits", and then finish with "Review Request X posted" and links. These progress bars were always shown, even for the default case of posting a single commit. This now uses a spinner that shows what the active task is. In the case of multi-step tasks (such as validating or uploading multiple commits), the progress bar will be included. Once that entire process concludes, the spinner is entirely replaced with the result. The console API for this has been updated to allow commands that don't want to replace the spinner/progress, such as `rbt install` where it looks better if we keep that download bar on-screen. Testing Done: - Ran unit tests. - Posted changes with single and multiple commits. - Ran `rbt install tfs` and verified that it still looked good.
    qkmtuxyvsxtkmsmoxotypomklrumlluq
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.