Skip to content

Tracing and progress get interleaved #337

@SteveL-MSFT

Description

@SteveL-MSFT

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions