◐ Shell
clean mode source ↗

Invoke-ScriptAnalyzer: Stream diagnostics instead of batching by MatejKafka · Pull Request #2062 · PowerShell/PSScriptAnalyzer

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@MatejKafka

Copy link Copy Markdown

Contributor

PR Summary

Before this PR, diagnostics for all analyzed files in this pipeline step were batched and logged at once. Now, diagnostics are rendered immediately when the processing of a specific file is finished.

PR Checklist

Before this commit, diagnostics for all analyzed files in this pipeline step were batched and logged at once. With this commit, diagnostics are rendered immediately.

@andyleejordan andyleejordan left a comment

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

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

Yeah using a generator here instead of collecting everything into an accumlated list seems much better.

@andyleejordan andyleejordan enabled auto-merge (squash)

February 25, 2025 00:08

@andyleejordan andyleejordan merged commit 56c6ea1 into PowerShell:main

Feb 25, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@andyleejordan andyleejordan andyleejordan approved these changes

@bergmeister bergmeister Awaiting requested review from bergmeister bergmeister is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@MatejKafka @andyleejordan