馃 [Fix]: Configured report paths are honored - #42
Merged
Marius Storhaug (MariusStorhaug) merged 9 commits intoSep 10, 2026
Conversation
Marius Storhaug (MariusStorhaug)
marked this pull request as ready for review
September 10, 2026 18:33
Copilot started reviewing on behalf of
Marius Storhaug (MariusStorhaug)
September 10, 2026 18:33
View session
Contributor
There was a problem hiding this comment.
馃煛 Changes recommended
The aggregate gate ignores the new jobs, and the documented paths conflict with the stated .PSModule adoption.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Updates report-path handling through the nested Invoke-Pester action and adds regression coverage.
Changes:
- Upgrades Invoke-Pester to v5.1.1.
- Tests custom and default report destinations.
- Documents report-path behavior.
File summaries
| File | Description |
|---|---|
action.yml |
Updates the Invoke-Pester dependency. |
.github/workflows/Action-Test.yml |
Adds report-path regression jobs. |
tests/Assert-ReportPaths.ps1 |
Validates XML/JSON report locations. |
README.md |
Documents report-path defaults and overrides. |
Review details
- Files reviewed: 4/4 changed files
- Comments generated: 2
- Review effort level: Balanced
馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Copilot started reviewing on behalf of
Marius Storhaug (MariusStorhaug)
September 10, 2026 18:40
View session
Contributor
There was a problem hiding this comment.
馃煛 Changes recommended
The aggregate check can remain successful when either new report-path assertion step fails.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 2
- Review effort level: Balanced
Copilot started reviewing on behalf of
Marius Storhaug (MariusStorhaug)
September 10, 2026 18:44
View session
Marius Storhaug (MariusStorhaug)
deleted the
analyzer-artifact-reports
branch
September 10, 2026 18:55
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.
Configured
TestResult_OutputPathandCodeCoverage_OutputPathvalues now reachInvoke-Pesterunchanged, so enabled reports are written to the locations selected by the caller. Callers that leave either input empty retain the existingInvoke-Pesterfallback path relative toWorkingDirectory.Fixed: Configured report paths
The action now uses
Invoke-Pesterv5.1.1, which honors configured report output paths and keeps its action-private temporary state outside the caller worktree. Set either input independently when that report needs a custom destination; the other report continues to use its configured or default behavior.Adopting this release
PSModule/Invoke-ScriptAnalyzerworkflow reference.Invoke-Pesterdefaults belowWorkingDirectory.TestResult_OutputPathorCodeCoverage_OutputPathneed no configuration change; the configured location is now honored. Set either input when a report should use a new custom destination.Release impact
release:patch, selected for a backward-compatible report-path correction.Technical details
Consumer change record
TestResult_OutputPath,CodeCoverage_OutputPathInvoke-Pesterv5.1.0 overwrote values forwarded by this action, so configured destinations were not used.Invoke-Pesterv5.1.1 retains each configured path. Empty inputs retainTestResult/PSScriptAnalyzer-TestResult-Report.xmlandCodeCoverage/PSScriptAnalyzer-CodeCoverage-Report.xmlbelowWorkingDirectory.artifacts/...paths, XML and JSON report creation, absence of legacy root report and.tempdirectories for the explicit case, and preserved fallback paths when inputs are omitted.Template baseline
Not applicable. This composite action does not consume an integration template. Downstream framework adoption is tracked separately in PSModule/Process-PSModule#541.
Maintainer evidence
action.ymlpins the publishedInvoke-Pesterv5.1.1 fix to immutable commitc5494aba3c07d7bfd81bdbbc9f301e8fa4a729fb.tests/Assert-ReportPaths.ps1verifies generated XML and JSON reports and expected directory isolation.README.mddocuments the preserved fallback behavior and generic explicit override example.action.yml.github/workflows/Action-Test.yml,tests/Assert-ReportPaths.ps1README.mdRelevant issues (or links)
Related work