GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Prevent StreamingHost feedback loops in Receive-Job by Copilot · Pull Request #71 · PowerShell/ThreadJob

Conversation

Copilot AI commented Nov 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

With -StreamingHost $Host, Receive-Job -Wait -Verbose or -Debug can repeatedly replay a single message, generating excessive logs.

  • Host isolation: Supply the streaming host through PSInvocationSettings.Host for initialization and main scripts rather than sharing the caller’s internal host with another runspace.
  • Stream routing: Avoid buffering host-streamed verbose, debug, warning, and progress records for replay. Preserve success output, errors, and information records—including silent information.
  • Coverage and help: Add regression coverage for single-message delivery and retained records; document buffering behavior.
Start-ThreadJob -StreamingHost $Host {
    Write-Verbose 'yo' -Verbose
    Start-Sleep -Seconds 2
} | Receive-Job -Wait -Verbose
# VERBOSE: yo — once
  • Fixes Duplicated Verbose Messages on StreamingHost of Receive-Job with Wait and Verbose flags present #70

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Initial plan
030cfd8
Copilot AI assigned Copilot and Steve Lee (SteveL-MSFT) Nov 4, 2026
Copilot started work on behalf of Steve Lee (SteveL-MSFT) November 4, 2026 17:41
View session
Copilot AI linked an issue Nov 4, 2026 that may be closed by this pull request
Duplicated Verbose Messages on StreamingHost of Receive-Job with Wait and Verbose flags present #70
Open
5 tasks done
Copilot AI and others added 2 commits November 4, 2026 17:53
@SteveL-MSFT
Prevent StreamingHost messages from feeding back through Receive-Job
571c90a
Co-authored-by: SteveL-MSFT <[email protected]>
@SteveL-MSFT
Preserve information records when streaming job diagnostics
fb98b3a
Co-authored-by: SteveL-MSFT <[email protected]>
Copilot AI changed the title [WIP] Fix duplicated verbose messages on StreamingHost of Receive-Job Prevent StreamingHost feedback loops in Receive-Job Nov 4, 2026
Copilot finished work on behalf of Steve Lee (SteveL-MSFT) November 4, 2026 17:58
Copilot AI requested a review from Steve Lee (SteveL-MSFT) November 4, 2026 17:58
@SteveL-MSFT
Steve Lee (SteveL-MSFT) requested a review from Dongbo Wang (daxian-dbw) November 4, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@SteveL-MSFT Steve Lee (SteveL-MSFT) Awaiting requested review from SteveL-MSFT
@daxian-dbw Dongbo Wang (daxian-dbw) Awaiting requested review from daxian-dbw

At least 1 approving review is required to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@SteveL-MSFT Steve Lee (SteveL-MSFT)

Copilot code review Copilot

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Duplicated Verbose Messages on StreamingHost of Receive-Job with Wait and Verbose flags present

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@SteveL-MSFT
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.