Enhance Wait-PSFRunspaceWorkflow with new ShowProgress parameters#698
Merged
FriedrichWeinmann merged 3 commits intoPowershellFrameworkCollective:developmentfrom Oct 12, 2025
Conversation
Refactor Wait-PSFRunspaceWorkflow function to improve parameter handling and add progress reporting.
Added detailed comments and examples for the Wait-PSFRunspaceWorkflow function.
Updated progress reporting to use -1 for PercentComplete in various instances, improving clarity in the output.
0392de0
into
PowershellFrameworkCollective:development
1 check failed
Member
|
Thanks for the PR, looks good to me, thank you for taking the time and effort to add this :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request enhances the
Wait-PSFRunspaceWorkflowPowerShell function by introducing an optional progress display feature. This new capability allows users to monitor the workflow's real-time progress, including per-runner and per-queue/item statistics, across all supported waiting modes. The changes are focused on improving usability and visibility during long-running workflow operations.Progress reporting enhancements:
ShowProgressswitch parameter to the function, enabling users to opt-in for dynamic progress output during workflow waits.Write-Progresscalls.Closed,WorkerClosed,Count,WorkerCount,Reference, andWorkerReference), ensuring consistent and informative output regardless of how completion is measured. [1] [2] [3] [4] [5]These improvements make it much easier for users to track the status and throughput of complex runspace workflows in real time.Refactor Wait-PSFRunspaceWorkflow function to improve parameter handling and add progress reporting.
Close #617