Skip to content

Driver download progress bar remains visible after error #268

Closed

Description

@ianmcook

The download progress bar remains visible in the terminal even after an error has occurred and the error message is printed. See screenshot below.

Tested in Terminal on macOS.

Image

Activity

  1. added this to the 0.2.0 milestone on Jan 21, 2026
  2. amoeba commented on Jan 28, 2026

    @amoeba
    Member

    @ianmcook are you still able to reproduce this? I haven't yet been able to reproduce it. I can sorta of reproduce it with a test but that may just be the same flakiness we constantly see in the tests so I'd like to find a way to reproduce this directly.

    @zeroshade do you mind taking a look? I don't see how we can be doing error handling like we do now in baseModel.Update with the calls to tea.Println. It doesn't seem like tea.Println is intended for this use case since it's counted as "unmanaged" rendering. I notice that the call order is (1) progressiveInstallModel.Update, baseModel.Update, and finally progressiveInstallModel.View so having baseModel.Update perform an unmanaged render in the middle might be the issue.

  3. ianmcook commented on Jan 28, 2026

    @ianmcook
    MemberAuthor

    Yes, I can consistently repro this in macOS Terminal, but only under these conditions:

    1. Run dbc auth logout --purge
    2. Run dbc auth login and log in to an account that does not have an active driver license.
    3. Run dbc install <one-of-the-private-drivers>
  4. amoeba commented on Jan 28, 2026

    @amoeba
    Member

    Thanks, you may be our only tester who can confirm whatever fix we make. I've tried on two separate machines with those exact steps and can't reproduce it. That said, how we're currently doing errors seems error-prone to me and I can see how you're running into what you're running into.

  5. added a commit that references this issue on Jan 29, 2026
    01f8276
  6. added a commit that references this issue on Apr 17, 2026
    bd90fe1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions