Skip to content

fix: Progress bar appearing between START/OK messages#21

Merged
haugoug merged 1 commit intogvsoc:mainfrom
germainh512:fix-progress-bar-race
Mar 11, 2026
Merged

fix: Progress bar appearing between START/OK messages#21
haugoug merged 1 commit intogvsoc:mainfrom
germainh512:fix-progress-bar-race

Conversation

@germainh512
Copy link

The Rich Live auto-refresh could race with log() calls from worker threads, causing the progress bar to render in the middle of test output.

Fix:

  • Disable auto-refresh, only refresh on events (START, OK/KO, etc.)
  • Serialize all console output + bar updates under one lock
  • Combine test_finished + log into single atomic operation

136 tests passing.

The Rich Live auto-refresh could race with log() calls from
worker threads, causing the progress bar to appear in the
middle of test output.

Fix:
- Disable auto-refresh, only refresh on events
- Serialize all console output + bar updates under one lock
- Combine test_finished + log into single atomic operation

136 tests passing.
@germainh512 germainh512 force-pushed the fix-progress-bar-race branch from e22259e to 1a90b0b Compare March 11, 2026 14:20
@haugoug haugoug merged commit 39785ac into gvsoc:main Mar 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants