deepset-ai / deepset-ai/haystack

ENV variable to disable progress bar is not working

Open
#8,782 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P3
Dominant language
Python
Stars
26.6k
Forks
3.2k
Avg merge
1d 3h
Merged PRs (30d)
194

Description

Describe the bug
This might be a regression of #5207 . The env variable HAYSTACK_PROGRESS_BARS has no effect anymore. Progress bars are still visible.

Expected behavior
The env variable hides all progress bars.

To Reproduce
Create any pipeline and execute with the env variable. The progress bars are still shown.

FAQ Check

  • Have you had a look at our new FAQ page?
    Yes. But you removed the relevant question from haystack 1.0 to haystack 2.0.

System:

  • OS: WSL with Ubuntu 24.04
  • GPU/CPU: not relevant
  • Haystack version (commit or version number): 2.9.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Haystack 2.9.0 with a pipeline executed while HAYSTACK_PROGRESS_BARS is set, then trace the progress-bar handling to find where the environment variable is read. Done means the variable hides all progress bars during pipeline execution and the regression is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.