Skip to content

[BUG] run_models Download Progress Bar Not Cleared on Error #207

@xyz080125

Description

@xyz080125

Project

vgrep

Description

In commands.rs around line 860-869, a progress bar is created for model download. If the download fails, pb.finish_and_clear() may not be called, leaving terminal in an inconsistent state.

Error Message

Debug Logs

System Information

OS: Any
Rust Version: 1.75+

Screenshots

No response

Steps to Reproduce

  1. Attempt model download with network disabled
  2. Observe terminal state after error

Expected Behavior

Progress bar should be cleared even on error

Actual Behavior

Progress bar may remain visible, corrupting terminal output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingvalidValid issuevgrep

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions