PowerShell / DSC

This repo is for the DSC v3 project
MIT License
135 stars 22 forks source link

Tracing and progress get interleaved #337

Closed SteveL-MSFT closed 4 months ago

SteveL-MSFT commented 4 months ago

Prerequisites

Steps to reproduce

Tracing and progress get rendered on separate threads so not aware of each other and get interleaved. Should use https://docs.rs/tracing-indicatif/latest/tracing_indicatif/ to sync them

repro:

dsc -l trace resource list

Expected behavior

Progress show shift to render most recent as traces get written

Actual behavior

Traces get written while progress tries to write so there's leftover progress state on the screen

Error details

No response

Environment data

NA

Version

main branch

Visuals

No response