• 
      

    Fix interleaving of live output and prompts.

    Review Request #15210 — Created July 30, 2026 and updated

    Information

    RBTools
    master

    Reviewers

    RBTools has an annoying architectural quirk that API calls somewhat deep
    in the code can trigger login prompts. This wasn't an issue back when
    all we had was regular text output, but it became a thing when we
    introduced tqdm for progress bars, and is even worse with how rich
    does certain output. This was causing extremely ugly displays when
    trying to do an rbt post when logged out. The progress bar would be
    shown, the prompt text would then show at the end of the same line as
    the progress bar, and then another progress bar update would display
    below it, making the prompt very unclear.

    This change makes it so any live activities will get temporarily hidden
    during any prompts.

    • Ran unit tests.
    • Logged out and ran rbt post. Saw that the output now looked nice.
    Summary ID
    Fix interleaving of live output and prompts.
    RBTools has an annoying architectural quirk that API calls somewhat deep in the code can trigger login prompts. This wasn't an issue back when all we had was regular text output, but it became a thing when we introduced `tqdm` for progress bars, and is even worse with how `rich` does certain output. This was causing extremely ugly displays when trying to do an `rbt post` when logged out. The progress bar would be shown, the prompt text would then show at the end of the same line as the progress bar, and then another progress bar update would display below it, making the prompt very unclear. This change makes it so any live activities will get temporarily hidden during any prompts. Testing Done: - Ran unit tests. - Logged out and ran `rbt post`. Saw that the output now looked nice.
    txuyqxtpxvlpwmvkxvruxwrnktsrnvyx
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.