Skip to content

Conversation

@tgauth
Copy link
Collaborator

@tgauth tgauth commented Mar 8, 2024

PR Summary

  • readdress Tracing and progress get interleaved #337
  • uses warn_span for progress bars since that is the default tracing level and can be turned off by specifying error trace level
  • no longer displays progress bars once progress is completed, so done messages are removed

PR Context

  • dsc resource list demo:
demo-list-2.mp4
  • dsc config get demo:
demo-get-2.mp4

@tgauth tgauth requested a review from SteveL-MSFT March 8, 2024 17:26
}

pb.finish_with_message("Get configuration completed");
mem::drop(pb_span_enter);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed explicitly? I would expect both to be dropped when going out of scope

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's needed within the config functions but I removed it from resource list

@SteveL-MSFT SteveL-MSFT added this pull request to the merge queue Mar 8, 2024
Merged via the queue into PowerShell:main with commit 655e2c4 Mar 8, 2024
@tgauth tgauth deleted the fix-indicatif-prog-bar branch March 29, 2024 17:14
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