Repository navigation
Releases
v8.0.10
Reserved interface descriptions state their contracts directly (#582)
Reserved action, settings, and reusable-workflow descriptions state their existing contracts directly. Native help uses direct prose and the existing source-backed types. The two consent descriptions omit only the final appeal. No caller action is required.
Changed: Interface and consent descriptions use direct prose
The five reserved actions retain every condition, effect, default, expression, permission, output, exact example, version constraint, and required artifact-name match. WhatIf descriptions use the action only logs so the original log-only scope stays explicit. Native help retains its tags, associations, and all 16 exact examples.
The settings schema and reusable workflows change only existing description values. Each TOML edit removes only the final consent appeal; the preceding cookie/measurement statement and all consent settings remain exact. This PR does not certify that unverified statement or repair a runtime, schema, caller, output, recovery, or release contract.
Technical details
Current head: 896b048fcd7624abd00dddaf6d0f55424ab399d6 on interface-description-prose.
Reviewed source parent: 09d209ee07418174c6835cb64b6977c2740ad962.
Identical full tree: 8938314d16ecd805b595a0729b1f1c91ae77e0b2.
Fresh main base: 64ffb1d87f86bd5d487891fdb140b78385a00531.
Seven small prose commits and one source-identical empty trigger are pushed. The draft opened after the first coherent commit; the user later made it ready for review. The final source diff still contains 18 modified files, 176 insertions, and 151 deletions; it adds no repository file, test, enforcement tool, dependency, or audit Markdown.
The November 11 preparation first verifies clean local/origin/live source, the reviewed head and full tree, and zero exact-head native check runs, suites, statuses and PR-event runs after retention expiry. Only that observed missing condition permits the one ordinary empty commit. Its immediate parent, identical tree, zero-file delta and normal remote push are verified. No reset, rebase, amendment, force push, second trigger, or source edit occurs. The accepted source audit is reused for this equal tree, not repeated or represented as a new run.
Exact trigger proof, native PR-event CI, fresh review and bounded handoff evidence is saved on the completion Task and read back from GitHub.
The complete original source audit is attached to the closing Task:
- Full candidate inventory, no-change/protected classifications, command results, and precise factual follow-ups: 38 source files, all 163 description candidates, all 22 native-help units, and all 31 existing parameter descriptions.
- Exact description/consent changed regions: complete before/after text, immutable source citations, and preserved-meaning guards.
- Exact native-help changed regions: complete before/after text, immutable source citations, and preserved-meaning guards.
Together, the region tables record all 109 exact replacements. The description inventory contains 56 revised YAML/JSON values, 102 no-change values, three protected existing-contract values, and two final-appeal-only TOML edits.
| Changed surface | Standards checked | Framework/source evidence | Result |
|---|---|---|---|
| Five reserved action metadata files; settings schema; five reusable workflows | Pinned Natural Language, Writing Guide, YAML, GitHub Actions, Documentation; native JSON annotations | Existing action contracts, settings and workflow-input references; complete structured-node and exact raw-text comparisons | Prose aligned; every non-description node/value and exact constraint/example stays unchanged |
| Five PowerShell native-help source files | Pinned PowerShell Scripts/Functions, Documentation, Natural Language; native Get-Help format | Eight PowerShell candidates inspected; 22 native-help units and 16 examples | Exact program tokens/flags, AST shape, requirements, directives, BOM, help tags/association, syntax and parameter contracts preserved; zero parse/analyzer findings |
| Two existing consent descriptions | Pinned writing criteria; native TOML string format | Both complete TOML files parse; docs site builds from an exact session-local copy | Only the final appeal is removed; all 66 rendered pages retain the remaining statement and Accept/Reject labels |
Existing source validation: one-off exact raw-text/BOM/EOL/metadata comparisons pass for all 38 candidates; all 109 expected regions are present. Existing ConvertFrom-Yaml parses all ten changed YAML files. Existing Test-Json accepts the schema and anonymous empty settings. Invoke-ScriptAnalyzer reports zero findings on all eight PowerShell candidates before and after. zensical build --clean exits 0 with No issues found. git diff --check passes and the worktree is clean. These are the retained November 4 results for the identical source tree, not repeated November 11 audit runs.
Default YAML lint is not reported as clean: 152 baseline findings become 138 final findings, with no new rule/region finding. Existing formatting findings remain outside the released prose scope. No local publishing, cleanup, installation, network example, fixture, or benchmark script runs. No Markdown source or link changes; all source HTTP(S) links stay exact.
The fixed writing source is MSXOrg/docs@1b0d4893c8fefabe604d04393068a8ff6f848082, including the Documentation Model, Natural Language, Writing Guide, Documentation, Markdown, applicable native formats, and Task/PR formats. The official STE overview/FAQ and local Issue 9 rules/dictionary are consulted. Manual material stays local. No full STE-conformance claim is made.
Current main, #564's protected handback, and all first-pass path exclusions are checked before the prose commits. Every README, Markdown source, plugin, test, both functional fixture trees, first-pass #565-#570 path, and unmatched proposal-only file stays unchanged. Existing proposal contracts and branches are not amended or woken.
Retained facts: the cookie/measurement statement remains unverified; release-note fallback wording still needs owner reconciliation with the pushed-commit-message branch; three settings descriptions remain protected; the existing all-releases and retry-count terminology and imprecise array/PSSemVer help entries remain separate contract/help questions. The full audit gives exact sources and does not select a runtime or policy fix.
Fresh native review: one explicit request at 2026-11-11T14:57:49-14:57:51Z, timeline event 35811024275 at 14:57:52Z, produces review 5860771218, APPROVED at 15:00:10Z on exact head 896b048fcd7624abd00dddaf6d0f55424ab399d6. REST and GraphQL confirm its ID, timestamp, head and contributor-associated Copilot author. The old dismissed/rebound November 4 review 5769820091 is excluded. The fully paginated thread query after fresh submission has zero threads. No redundant same-head review round follows.
Native PR-event CI, bounded snapshot near 2026-11-11T15:00:40Z: Release, Test-Actions, Docs and Linter pass. The Default and WithManifest self-test runs remain in progress; the exact-head check list has 42 successes, four skips and six in-progress checks, with no completed failure. All six native runs associate pull_request, this exact head, PR582 and the recorded main base. Docs publication and index mutation are skipped on the PR event. No manual dispatch, unrelated run, fixture edit or workflow change is used. Pending jobs are not represented as passing.
Lifecycle: the PR remains open/non-draft. Agent merge remains enabled for review, CI and conflict maintenance only, with merge_pr=false; GitHub auto_merge=null. This preparation changes none of those settings, starts no watcher or schedule, and does not merge, publish, close the Task, or make a policy decision. Root alone controls the later guarded merge/publication sequence. The two incomplete native self-test runs remain the bounded handoff blocker.
The scoped convergence search covers the writing campaign and its source/contract siblings. Only the closing Task below is resolved by this delivery after eventual merge. Other campaign, caller, native-help, and output gaps remain non-closing context.
Related references
v8.0.9
Native help and action descriptions state framework behavior directly (#570)
Native help and action descriptions state framework operations directly in en-US. Contributors and callers can read helper operations and action inputs without future-tense boilerplate. Runtime behavior and caller configuration remain unchanged; callers need no adoption changes.
Changed: Native help and action descriptions state supported operations
Native help uses imperative synopses and present-tense descriptions. Action descriptions identify build, documentation, installation, test-reporting, site, test, and index operations directly. The changes preserve command names, parameter names, help tags, exact examples, paths, output and error strings, YAML keys and defaults, expressions, option values, and version constraints.
This is a prose-only delivery. It does not repair runtime behavior, complete every helper's help contract, or certify full STE conformance. Protected examples and unresolved contract discrepancies remain explicit follow-up work.
Technical details
Delivery and immutable comparison
- Delivery leaf: #558.
- Base and review snapshot:
64ffb1d87f86bd5d487891fdb140b78385a00531. - Pushed candidate:
aa992660e3eefe8d9a3881d95fe32bab491d9f52. - Scope comparison:
git diff 64ffb1d87f86bd5d487891fdb140b78385a00531 aa992660e3eefe8d9a3881d95fe32bab491d9f52. - The first coherent commit,
29d8cca, was pushed before this draft opened at2026-11-04T12:28:44Z. Five later small commits remain pushed:c4319be,f8a4e0a,d25f9eb,a2bde66, andaa99266. - The final local, origin branch, and PR head identities match. The PR is open and draft, has no labels, and has no auto-merge request. No merge or Agent merge action is requested.
The manual review covers all 64 candidates: 52 PowerShell files and 12 action metadata files with 110 existing description fields. Each candidate and its surrounding implementation was read. The committed diff changes 34 paths: 22 PowerShell files and all 12 action metadata files. It revises 73 description values. No repository file is added or deleted.
Exact acceptance evidence
The four original expected-text checks failed before editing. Three additional parent-review checks failed at a2bde6694cf238a77e21b3441066a61813a10567 before the bounded corrections below. All seven checks pass at the pushed candidate. The original text in this first table is from the immutable base above.
| Location | Original text | Candidate text |
|---|---|---|
Build-PSModule\src\helpers\Build\Add-ContentFromItem.ps1, .DESCRIPTION |
This function will add the content of a folder or file to the root module file. |
Add-ContentFromItem adds the content of a folder or file to the root module file. |
Build-PSModule\src\helpers\Build-PSModule.ps1, .SYNOPSIS and .DESCRIPTION |
Both sections say Builds a module. |
Build a PowerShell module from source files. / Build-PSModule copies the source files, creates the manifest, and combines the scripts into the root module. |
Get-PesterCodeCoverage\action.yml, root description |
A GitHub Action that is used to gather Code Coverage for the PSModule process. |
Collect code coverage results for the PSModule process. |
Get-PesterCodeCoverage\action.yml, inputs.WorkingDirectory.description |
The working directory where the script will run from. |
Working directory for the script. |
Build-PSModule\action.yml, inputs.OutputFolder.description |
Path to the folder where the built module is outputted. |
Path to the folder for the built module. |
Document-PSModule\src\helpers\Build-PSModuleDocumentation.ps1, .SYNOPSIS and .DESCRIPTION |
Both sections say Builds a module. |
Build documentation for a PowerShell module. / Build-PSModuleDocumentation creates Markdown help for exported commands and arranges the pages to match the public source folders. |
Test-PSModule\action.yml, inputs.CodeCoverage_RecursePaths.description |
Will recurse through directories in the Path option. |
Search subdirectories of the directories in the Path option. |
Test-PSModule\action.yml, inputs.Debug_ShowFullErrors.description |
Show full errors including Pester internal stack. This property is deprecated, and if set to true it will override Output.StackTraceVerbosity to 'Full'. |
Show full errors with the internal Pester stack. When true, this deprecated property overrides Output.StackTraceVerbosity with 'Full'. |
Implementation review also removes incorrect prose claims without changing behavior: base-module help describes the empty root module that the code creates; function and variable export helpers describe source-file inspection instead of manifest reads; documentation help describes Markdown generation; index API help no longer claims that its wrapper establishes an App context. The exact examples and disputed cmdlet-source claim remain protected, as recorded below.
Bounded parent-review corrections
The parent review independently confirms code tokens/flags, AST structure, BOM state, and zero parse errors in all 22 changed PowerShell files at a2bde6694cf238a77e21b3441066a61813a10567, plus the 73-description YAML boundary. Commit aa99266 then changes only these two prose files:
| Location | Previous draft text | Final text |
|---|---|---|
Test-PSModule\action.yml, Run_Exit |
If Throw is also enabled, prefer an exception. |
Run_Throw takes precedence over Run_Exit when both are enabled. |
Test-PSModule\action.yml, Run_Throw |
If Exit is also enabled, prefer an exception. |
Run_Throw takes precedence over Run_Exit when both are enabled. |
Get-PesterCodeCoverage\src\Get-PesterCodeCoverage.Helpers.psm1, .OUTPUTS |
Description on the first line | System.String on the first line, a blank line, then the existing description |
The pinned Invoke-Pester action forwards both flags. Its initialization script maps them to Run.Exit and Run.Throw, and its execution script passes the configuration to Pester without changing that precedence.
An anonymous isolated Pester 6.1.0 probe confirms the behavior with one intentional failing assertion. With both flags enabled, the child catches the expected Pester run failed exception and returns code 0. With only Exit enabled, the child terminates with code 1 and no fallthrough or caught exception. No repository test or fixture runs in this probe.
The helper's unchanged [OutputType([string])] supports the output heading. Native Get-Help renders the exact block System.String, a blank line, and The multiline string with adjusted indentation. No help tag, association, example, or executable token changes.
Behavior-preservation proof
The baseline was captured before the first prose edit. The comparison covers all 52 candidate PowerShell files, including unchanged guidance and read-only action test files. At the candidate, all 23,371 non-comment tokens retain their kind, flags, and exact text. All 25,196 AST nodes retain their type and parent shape. Parse errors remain zero. #Requires, structural/test directives, help association, ordered help tags, parameter-help keys, all 36 complete examples, all three native .LINK entries, and forwarding/external-help metadata match the baseline.
The comparison keeps here-string and string tokens intact. Generated Markdown/HTML, output text, error messages, suppression attribute strings, and embedded generated-code comments are therefore unchanged. All 34 changed files retain their original BOM state in raw-byte comparisons against the Git blobs. No generic help sections are added, and no existing help tag moves to another command.
The YAML proof parses each of the 12 action files. It ignores only existing scalar values at root description, inputs.<name>.description, and outputs.<name>.description. All other node tags, mapping keys and order, sequence entries, scalar values, and exact text outside those description scalar spans match the base. This includes every default, required flag, action reference, environment mapping, shell command, expression, output mapping, and compatibility/version value.
git diff --name-only also matches the 34 manually classified revised paths exactly. Every other repository path, including tests and fixture inputs, is unchanged. The verification scripts, baseline JSON, inventories, and console output are session artifacts, not repository changes.
Validation commands and results
Environment: PowerShell 7.6.9, Pester 6.1.0, PSScriptAnalyzer 1.25.0, PyYAML 6.0.3, and yamllint 1.38.0. No package or module was installed or restored.
In the commands below, $audit is the directory containing the retained session verification artifacts; $PWD.Path is this worktree.
& (Join-Path $audit 'Test-ProseBoundary.ps1') -Mode Compare -RepositoryPath $PWD.Path
& (Join-Path $audit 'Test-ProseBoundary.ps1') -Mode Acceptance -RepositoryPath $PWD.Path
& (Join-Path $audit 'Test-NativeHelp.ps1') -RepositoryPath $PWD.Path
& (Join-Path $audit 'Test-AnalyzerBaseline.ps1') -RepositoryPath $PWD.Path
python (Join-Path $audit 'test_action_descriptions.py') $PWD.Path
python (Join-Path $audit 'test_action_yaml_lint.py') $PWD.Path (Join-Path $audit 'workflow-yaml-lint.yml')
python (Join-Path $audit 'test_bom_preservation.py') $PWD.Path
pwsh -NoLogo -NoProfile -File (Join-Path $audit 'Confirm-ThrowExitPrecedence.ps1') -ThrowOnFailure
pwsh -NoLogo -NoProfile -File (Join-Path $audit 'Confirm-ThrowExitPrecedence.ps1')
Import-Module Peste...v8.0.8
Reusable action readers get direct behavior descriptions (#569)
Reusable action readers get direct descriptions of test results, coverage thresholds, and setup guidance. Three READMEs use present-tense statements and name the actor for each result. The prose edits require no caller changes.
Changed: Reusable action guidance names each actor
The Pester-result reference states what the action collects, writes, and treats as a failure. The coverage reference states how the action uses the target and summary-selection input. The installer reference uses neutral setup prose instead of promotion. The workflow recommendation remains advisory.
Input settings, output and artifact names, commands, complete examples, version references, and failure semantics stay unchanged. Four short site-action references need no edit. Existing source-contract gaps remain explicit exceptions in the open follow-up; this PR does not certify or repair them.
Technical details
Delivery and immutable scope
This draft opens after the first coherent commit. It stays draft; merge, auto-merge, and Agent merge are excluded.
| Identity | Value |
|---|---|
| Repository | PSModule/Process-PSModule |
| Scoped PR base and evidence snapshot | 64ffb1d87f86bd5d487891fdb140b78385a00531 |
| Pushed final head | 2742b3da509fbdd67caf5c5c5d2c19a8959dd899 |
| First commit | 11e54fa38bb4a2aae57140ed6c55efecfa4f8726 - test-result prose |
| Second commit | cb48ff8308ddb46d98eb3527f0e4dbc4289b705c - coverage prose |
| Third commit | 2742b3da509fbdd67caf5c5c5d2c19a8959dd899 - neutral installer prose |
| Comparison | git diff 64ffb1d87f86bd5d487891fdb140b78385a00531 2742b3da509fbdd67caf5c5c5d2c19a8959dd899 |
The remote branch and GitHub report the same final head. The worktree is clean. This is scoped prose-only evidence, not a release-bound coverage record. Release labels, publication behavior, and configuration remain unchanged.
Reviewed paths
All paths below are under .github/actions/. Every README has a full manual review against its local action.yml and entry script. The coverage helper, site helper scripts, Pester caller workflows, and pinned GitHub-Script bootstrap supply related evidence.
| README | Writing result | Factual result |
|---|---|---|
Get-PesterTestResults/README.md |
Changed: direct collection, log, failure, and caller prose | Latest default and standalone example remain exceptions, not accuracy passes |
Get-PesterCodeCoverage/README.md |
Changed: direct results, threshold, and summary-control prose | Download prerequisite, output route, Latest default, and standalone example remain exceptions, not accuracy passes |
Install-PSModule/README.md |
Changed: neutral introduction, recommendation, output statement, and example lead-in | Helpers/PSModule, copied version, and both examples remain exceptions, not accuracy passes |
Build-ZensicalSite/README.md |
Reviewed, no change | Metadata/source agree with the documented output path and required input |
Inject-SiteScripts/README.md |
Reviewed, no change | Metadata/source agree with the injector path and required/default inputs |
Install-Zensical/README.md |
Reviewed, no change | Source installs the CLI with pip install zensical; metadata defines no inputs |
Structure-Site/README.md |
Reviewed, no change | Metadata/source agree with content/config output and required/optional inputs |
All four no-change files retain their baseline Git blob identities. No new reference layout or template scaffolding is added.
Exact before/after evidence
| Surface | Before | After |
|---|---|---|
| Test-result introduction | A GitHub Action that gathers Pester test results for the PSModule process by analyzing test artifacts from the workflow run. |
This GitHub Action collects Pester test results from workflow artifacts for the PSModule process. |
| Test-result work and result | It validates test execution and results, providing a summary and failing if any tests are unsuccessful. |
The action examines test execution and results. It writes a summary and fails if tests do not pass. |
| Advice in all three changed READMEs | It is recommended to use the [Process-PSModule workflow](https://github.com/PSModule/Process-PSModule) to automate the whole process of managing the PowerShell module. |
For the recommended setup, use the [Process-PSModule workflow](https://github.com/PSModule/Process-PSModule) to automate PowerShell module management. |
| Test-result logs | Detailed results are logged in the workflow run's output. |
The action writes detailed results to the workflow run log. |
| Test-result failure | If any tests fail or errors occur, the action exits with a non-zero code, marking the workflow step as failed. |
If tests fail or errors occur, the action exits with a nonzero code. GitHub Actions marks the workflow step as failed. |
| Coverage threshold | Fails the workflow if coverage falls below specified targets. |
If coverage is below the specified target, the action fails the workflow. |
| Coverage troubleshooting | Enable debugging by setting inputs: |
To get debug and verbose output, set these inputs: |
| Installer example lead-in | Here's a complete workflow example demonstrating how to use the Install-PSModule action: |
This example shows the action in a workflow: |
The test-result behavior matches artifact collection, result/failure evaluation, and summary/exit handling. Coverage target selection matches lines 123-131; failure below target matches lines 389-397.
Retained factual exceptions
#572 is the open owning-repository Task for each exception below. Existing action-folder and action-repository issues were checked before it was filed; they do not own these repairs.
| Exception | Evidence and preserved boundary |
|---|---|
| Installer module and copied version | The README names Helpers and a latest copy; local source installs bundled PSModule at 999.0.0. All three behavior bullets and both fenced examples remain unchanged. |
| Coverage CLI prerequisite | The README requires gh run download; local source delegates to PowerShell artifact functions. A transitive CLI requirement is not established by this local script. The exact requirement and command remain unchanged. |
| Coverage output route | Local metadata refers to a step with no id; pinned GitHub-Script metadata exposes only result. The script writes the value to the inner step's GITHUB_OUTPUT. The outer output is not established; neither metadata nor the documented output is changed here. |
Pester Version defaults |
Both README tables retain Latest. The pinned bootstrap can reuse an installed GitHub module when no version is set. An unconditional latest-version guarantee is not established for that environment. |
| Coverage standalone/local example | Get-PesterCodeCoverage/README.md calls PSModule/Get-PesterCodeCoverage@v1; the framework caller uses ./_wf/.github/actions/Get-PesterCodeCoverage. The targets differ. The exact example remains unchanged; source equivalence is not established. |
| Test-result standalone/local example | Get-PesterTestResults/README.md calls PSModule/Get-PesterTestResults@v1; the framework caller uses ./_wf/.github/actions/Get-PesterTestResults. The targets differ. The exact example remains unchanged; source equivalence is not established. |
| Installer standalone/local examples | Both examples call PSModule/Install-PSModule@v1; the local composite runs its bundled script. The full example queries Helpers, while local source installs PSModule. Both examples remain unchanged; source equivalence is not established. |
These are not acceptance passes for factual accuracy. No live workflow reproduction is claimed for the output-route defect. No contract, runtime, lifecycle metadata, version policy, or example-target repair is included in this writing PR.
Validation
The existing Markdown configuration runs on all seven owned files:
$readmes = @(
'.github\actions\Build-ZensicalSite\README.md',
'.github\actions\Get-PesterCodeCoverage\README.md',
'.github\actions\Get-Pester...v8.0.7
Bump actions/deploy-pages from 5.0.0 to 5.0.1 in the github-actions group (#538)
Bumps the github-actions group with 1 update: actions/deploy-pages.
Updates actions/deploy-pages from 5.0.0 to 5.0.1
Release notes
Sourced from actions/deploy-pages's releases.
v5.0.1
Changelog
- Add backoff and jitter to deployment polling
@yoannchaudet(#444)- Improve deployment request test coverage
@adwitiyagoyal(#440)
See details of all code changes since previous release.
⚠️ For use with products other than GitHub.com, such as GitHub Enterprise Server, please consult the compatibility table.
Commits
368f825Merge pull request #444 from actions/yoannchaudet-deployment-polling-backoff7e97763Validate deployment polling intervals0143e11Add backoff and jitter to deployment polling5e98f10Merge pull request #440 from actions/user/adwitiya8b0625aImprove deployment request test coverage- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
v8.0.6
🩹 [Patch]: Framework artifacts stay under .PSModule (#540)
Framework-generated artifacts now stay under the consumer repository's .PSModule directory instead of root-level outputs, _site, TestResult, and CodeCoverage paths. Invoke-Pester keeps its internal .temp state at [System.IO.Path]::GetTempPath()/Invoke-Pester, outside the consumer worktree.
Changed: Framework artifact directory
- Built modules use
.PSModule/module. - Generated documentation uses
.PSModule/docs. - Zensical workspace and GitHub Pages payload use
.PSModule/site, with generated HTML at.PSModule/site/_site. - Framework tests write reports to
<WorkingDirectory>/.PSModule/TestResult/<suite>-TestResult-Report.xmland<WorkingDirectory>/.PSModule/CodeCoverage/<suite>-CodeCoverage-Report.xmlthrough Invoke-Pester's existing report-path inputs. - Build, test, lint, publish, release, artifact download/upload, Pages, action defaults, implementation tests, fixtures, and references use the new locations.
- Aggregation-runner-only
CodeCoverage/,CodeCoverage-MissedPaths/,TestResults/, andsuper-linter-output/locations are unchanged.
Adopting this release
No consumer configuration, code, or invocation changes are required. workflow.yml is the supported consumer contract; component actions, nested reusable workflows, and their intermediate artifact paths are internal implementation details.
Release impact
- Effective decision:
release:patch. - Semantic effect: Patch release; the supported
workflow.ymlcontract is unchanged.
Invoke-Pester compatibility
This change uses Invoke-Pester v5.1.1, pinned to its immutable release commit c5494aba3c07d7bfd81bdbbc9f301e8fa4a729fb. The release includes PSModule/Invoke-Pester#78, which honors the existing TestResult_OutputPath and CodeCoverage_OutputPath action inputs used for the .PSModule report paths.
Technical details
- Fixture assertions require generated documentation under
.PSModule/docs. - Focused Pester tests cover publish and release paths.
- A focused site experiment verifies
.PSModule/site/_siteis produced without legacy root artifact directories. - Changed workflow YAML files parse successfully.
v8.0.5
⚙️ [Maintenance]: Public help-link checks now support any HTTPS host (#532)
Public command help-link validation now works with any HTTPS documentation host while preserving the required module and function path structure. Repositories can publish their command reference outside the PSModule documentation site without weakening the canonical URL contract.
Changed: Public help-link validation
Every public function must provide a first .LINK entry. The test fails immediately when no .LINK section is found. When a link is present, it must be an absolute HTTPS URL with a host and the canonical /Module/Functions/<relative-command>/ path; query strings and fragments are rejected.
The PowerShell module standard, framework-test reference, pre-review validation checklist, module-structuring guide, and skip-test guide now document this requirement using a configurable HTTPS documentation host.
Technical details
- Changed
.github/actions/Test-PSModule/src/tests/SourceCode/PSModule/PSModule.Tests.ps1to require a link, then parse the first.LINKURI and validate its scheme, host, path, query, and fragment instead of comparing against a hardcodedpsmodule.ioorigin. - Updated one grouped command fixture in each test repository to use
https://docs.example.com, proving the test does not depend on the PSModule host. - Documented
PublicHelpLinkindocs/content/reference/powershell-module-standard.mdanddocs/content/reference/framework-test-ids.md. - Added the requirement to
docs/content/guides/validating-before-review.mdand replaced fixed-host examples in the structuring and skip-test guides with<DocumentationHost>. - Validation: the targeted Pester 6.1.0 source-code suite passed 13 tests for both
tests/srcTestRepoandtests/srcWithManifestTestRepo;zensical build --strictandgit diff --checkpassed.
| Changed surface | Standards checked | Framework docs checked | Result |
|---|---|---|---|
.github/actions/Test-PSModule/** (PowerShell) |
MSX PowerShell standard | Public command help-link contract | Aligned |
tests/** (PowerShell fixtures) |
MSX PowerShell standard | Source-code test fixtures | Aligned |
docs/content/reference/** and docs/content/guides/** (Markdown) |
MSX Documentation Model, Markdown | Module layout and framework-test guidance | Aligned |
Issue convergence sweep: scoped to reusable public help-link validation and its contributor guidance. This change does not generate missing links during scaffolding or build, so the broader follow-up remains open.
v8.0.4
🪲 [Fix]: New module versions publish to the PowerShell Gallery (#529)
A module version that has never been published to the PowerShell Gallery can now be published. Any first release, and every subsequent new version, previously failed the Publish-Module stage before the upload was attempted.
Fixed: New module versions publish to the PowerShell Gallery
Publishing a version that is not yet on the PowerShell Gallery now succeeds. The stage checks whether the version already exists so an interrupted run can resume, and treats an absent version as the expected result for a new release rather than an error.
Before this change the Publish-Module job failed with the following, and no module was ever uploaded:
Find-PSResource: Package with name 'MyModule', version '1.3.1' could not be found in repository 'PSGallery'.
Error: Process completed with exit code 1.
No repository configuration changes are needed. A workflow run that previously failed at this point succeeds on re-run.
Resuming an interrupted publication is unchanged: when the version is already on the Gallery, the run skips the upload and continues to GitHub release creation.
Technical details
.github/actions/Publish-PSModule/src/publish.ps1— the Gallery existence probe in thePublish to PSGalleryregion ranFind-PSResourcewith-ErrorAction Stop.Microsoft.PowerShell.PSResourceGetraisesPackageNotFound,Microsoft.PowerShell.PSResourceGet.Cmdlets.FindPSResourcewhen the requested version does not exist, which-ErrorAction Stopturns into a throw, so the probe made a missing version fatal instead of returning$null. The probe now keeps-ErrorAction Stopand catches onlyPackageNotFound, treating that one error as 'not yet published' and letting theif ($publishedPackage)branch decide the outcome. Every other error stays fatal, so a transient Gallery failure cannot be misread as 'version absent' and cause a re-upload of a version that already exists.- The probe was introduced in #512 to make Gallery publication idempotent for the default-branch push release path. That path replaced a
try/catcharoundPublish-PSResource, which is why the regression reachedmainwithout an existing test catching it. .github/actions/Publish-PSModule/tests/Publish-PSModule.Recovery.Tests.ps1— the harness could not observe whether publication happened, so its assertions were vacuous:Publish-PSResourcewas shimmed to set$script:publishInvoked, butpublish.ps1runs in its own scope via&, so the flag never propagated and stayed$falseregardless. Replaced with a hashtable captured byGetNewClosure(), which is shared by reference. A second variant wrote a marker file under$env:GITHUB_WORKSPACE; that is process-wide and races between parallel Pester runspaces, so the marker could land in another test file'sTestDrive. The not-found shim also used$PSCmdlet.ThrowTerminatingError(...), which ignores-ErrorActionand therefore threw under bothStopandSilentlyContinue— unable to distinguish the fix from the defect. It now usesWrite-Errorwith the realPackageNotFounderror ID, matching how the cmdlet actually behaves. Added a case asserting a non-PackageNotFoundlookup failure stays fatal and does not publish. Each test was verified to fail against the specific defect it guards..github/actions/Release-PSModule/tests/Release-PSModule.WhatIf.Tests.ps1andPublish-PSModule.Recovery.Tests.ps1— shim teardown usedRemove-Item -Path function:global:X.Set-Itemaccepts that path and createsXin the global scope, butRemove-ItemandGet-Itemdo not resolve it back, and fail silently rather than erroring, so the cleanup was a no-op. The shims survivedAfterAlland shadowed the real commands for later test files, which is what madeTest-Actionsfail withA parameter cannot be found that matches parameter name 'Prerelease'inGet-NextPrereleaseNumber. Teardown now removes by name.- Validated end to end in
MariusStorhaug/MariusTestModule(PR #63) with the caller pointed at this branch. A new version published successfully (run 33597824748), and re-running the same job with the version present skipped the upload via the resume path (re-run). Both branches of the probe are confirmed against the live Gallery. - Out of scope, found while reproducing: a
workflow_dispatchon the default branch resolves no associated pull request, because pull request association in.github/actions/Get-PSModuleSettings/src/main.ps1is gated on$isPush. A manual recovery run therefore discards the merged pull request's version label and silently resolves a Patch bump. This is a separate defect in version resolution and is recorded in the analysis on #528; it is not addressed here. - Also out of scope:
.github/workflows/Test-Actions.ymlbuilds a Pester configuration withRun.ParallelandRun.Shuffle, asserts the options applied, then discards it and creates a freshNew-PesterConfigurationfor the actual run. Parallel and shuffle are validated but never used, which is why theGITHUB_WORKSPACErace above could not surface in CI. The suite now passes both sequentially and under the intended parallel configuration, so enabling it should be safe.
| Changed surface | Standards checked | Framework docs checked | Result |
|---|---|---|---|
.github/actions/Publish-PSModule/src/** (PowerShell) |
Coding standards, error handling | Publish stage contract | Aligned |
.github/actions/Publish-PSModule/tests/** (Pester) |
Pester test standards | Action test layout | Aligned |
.github/actions/Release-PSModule/tests/** (Pester) |
Pester test standards | Action test layout | Aligned |
v8.0.3
Upgrade Process-PSModule to Pester 6.1 (#519)
Implemented in Process-PSModule
- Enforce the Pester
[6.1.0,7.0.0)range in reusable framework test runs. - Align module-local workflow inputs with the current Invoke-Pester contract:
Version/Prereleaseselect Pester, whileGitHubVersion/GitHubPrereleaseselect the GitHub module. Pester prerelease remains at the action default. - Keep the six Test-PSModule container/test files inside the action implementation at
.github/actions/Test-PSModule/src/tests, because they are context-dependent framework suites executed against the compiled module or source tree. Discovery remains$PSScriptRoot/tests/$settings. - Add a framework CI contract test that validates Pester 6.1 configuration properties:
Run.ShuffleRun.ShuffleSeedRun.ParallelRun.ParallelThrottleLimitDebug.ShowStartMarkers
- Align coverage input documentation with Pester 6.1: supported formats are JaCoCo and Cobertura, and profiler-based tracing is documented correctly.
- Update Pester 6.1 authoring and coverage-report guidance.
Pester 6.1 runtime audit
A local Pester 6.1 probe generated a passing test result and coverage report, and the Get-PesterCodeCoverage action processed that JSON successfully. The coverage result shape remains compatible: CoveragePercent, CoveragePercentTarget, CommandsMissed, CommandsExecuted, FilesAnalyzed, and all count properties are present and consumed correctly.
The Pester result still exposes Containers; each container retains Data, Blocks, and aggregate result/count properties. The existing container files therefore remain compatible with the compiled-module/source-tree execution model.
Contract findings and required upstream follow-up
The current PSModule/Invoke-Pester v5.1.0 action does not expose these Pester configuration properties as action inputs, so this repository deliberately does not add incompatible passthrough mappings:
Run_ShuffleRun_ShuffleSeedRun_ParallelRun_ParallelThrottleLimitDebug_ShowStartMarkers
The coordinated PSModule/Invoke-Pester follow-up must add each input to action.yml, forward each PSMODULE_INVOKE_PESTER_INPUT_* environment variable, map them into the generated PesterConfiguration, and publish a version/tag that Process-PSModule can pin. Process-PSModule can then expose the corresponding reusable-action inputs and pass them through.
Test and fixture boundaries confirmed
- Module-local tests assume the built module is already loaded:
Test-ModuleLocal.ymlimports the artifact in its prescript before invoking Pester. - Framework module tests import the module explicitly in their own test scopes; no implicit preload was introduced.
- PSD1 files in the repository test fixture (
src/data/Config.psd1andsrc/data/Settings.psd1) are not implicitly loaded and are currently unused. Any future PSD1 dataset test must callImport-PowerShellDataFileexplicitly or load it from supported setup. Expose-TestDatapasses only explicit caller-provided fixtures as environment variables to setup, teardown, and tests.- Module linting remains a separate
Invoke-ScriptAnalyzerjob and artifact path; it is not folded into Pester execution.
Validation
- Pester 6.1 configuration contract validated locally.
- Pester 6.1 result/container and coverage shapes inspected locally.
- Get-PesterCodeCoverage executed against a generated Pester 6.1 coverage JSON fixture and passed.
- Restored Test-PSModule scripts parsed successfully.
- Test-PSModule path resolution validated from a consumer repository root.
- Changed PowerShell parsed successfully.
git diff --checkpassed.
Commits: 337533c, ad2961e, 8c3366f, 0423d6a
v8.0.2
🪲 [Fix]: Obsolete GitHub token write permissions removed (#521)
Repositories that use the GitHub App permission model can run Process-PSModule without granting unneeded repository, pull-request, or status write access. GitHub Pages deployments continue to use the caller's github.token with contents: read, pages: write, and id-token: write.
Fixed: Reusable workflow permission escalation
The reusable workflow no longer requests permissions that GitHub App installation tokens already provide for release and pull-request operations. Update caller workflows to use the narrowed permission block documented for v8.
permissions:
contents: read
pages: write
id-token: writeTechnical details
- Removed legacy
github.tokenwrite requests from the reusable workflow and nested jobs; scoped GitHub App tokens retain repository and pull-request write access. - Updated repository workflow tests and caller documentation to use the
v8permission contract.
| Changed surface | Standards checked | Framework docs checked | Result |
|---|---|---|---|
.github/workflows/** |
GitHub Actions | Reusable workflow contract | Fixed in this PR |
docs/content/** |
Markdown, Natural Language | Workflow setup guides | Fixed in this PR |
v8.0.1
Bump the github-actions group with 2 updates (#511)
Bumps the github-actions group with 2 updates: actions/checkout and actions/setup-python.
Updates actions/checkout from 7.0.0 to 7.0.1
Release notes
Sourced from actions/checkout's releases.
v7.0.1
What's Changed
- skip running unsafe pr check if input is default by
@aiqiaoyin actions/checkout#2518- trim only ascii whitespace for branch by
@aiqiaoyin actions/checkout#2521- escape values passed to --unset by
@aiqiaoyin actions/checkout#2530- Various dependency updates
Full Changelog: actions/checkout@v7...v7.0.1
Changelog
Sourced from actions/checkout's changelog.
Changelog
v7.0.1
- Skip running unsafe pr check if input is default by
@aiqiaoyin actions/checkout#2518- Trim only ascii whitespace for branch by
@aiqiaoyin actions/checkout#2521- Escape values passed to --unset by
@aiqiaoyin actions/checkout#2530- Various dependency updates
v7.0.0
- Block checking out fork PR for pull_request_target and workflow_run by
@aiqiaoyin actions/checkout#2454- Various dependency updates
v6.0.3
- Fix checkout init for SHA-256 repositories by
@yaananthin actions/checkout#2439- fix: expand merge commit SHA regex and add SHA-256 test cases by
@yaananthin actions/checkout#2414v6.0.2
- Fix tag handling: preserve annotations and explicit fetch-tags by
@ericsciplein actions/checkout#2356v6.0.1
- Add worktree support for persist-credentials includeIf by
@ericsciplein actions/checkout#2327v6.0.0
- Persist creds to a separate file by
@ericsciplein actions/checkout#2286- Update README to include Node.js 24 support details and requirements by
@salmanmkcin actions/checkout#2248v5.0.1
- Port v6 cleanup to v5 by
@ericsciplein actions/checkout#2301v5.0.0
- Update actions checkout to use node 24 by
@salmanmkcin actions/checkout#2226v4.3.1
- Port v6 cleanup to v4 by
@ericsciplein actions/checkout#2305v4.3.0
- docs: update README.md by
@motssin actions/checkout#1971- Add internal repos for checking out multiple repositories by
@mouismailin actions/checkout#1977- Documentation update - add recommended permissions to Readme by
@benwellsin actions/checkout#2043- Adjust positioning of user email note and permissions heading by
@joshmgrossin actions/checkout#2044- Update README.md by
@nebuk89in actions/checkout#2194- Update CODEOWNERS for actions by
@TingluoHuangin actions/checkout#2224- Update package dependencies by
@salmanmkcin actions/checkout#2236v4.2.2
url-helper.tsnow leverages well-known environment variables by@jww3in actions/checkout#1941- Expand unit test coverage for
isGhesby@jww3in actions/checkout#1946v4.2.1
- Check out other refs/* by commit if provided, fall back to ref by
@orhantoyin actions/checkout#1924
... (truncated)
Commits
- See full diff in compare view
Updates actions/setup-python from 6.3.0 to 7.0.0
Release notes
Sourced from actions/setup-python's releases.
v7.0.0
What's Changed
Enhancements
- Migrate to ESM and upgrade dependencies by
@priyagupta108in actions/setup-python#1330- Pin SHA commits and update docs with latest versions by
@HarithaVattikutiin actions/setup-python#1338- Remove the pip-install input by
@gowridurgadin actions/setup-python#1336Bug Fix
- Fix to Classify stderr warning messages as warnings instead of errors in annotations by
@lmvysakhin actions/setup-python#1335- Validate and retry manifest fetch to prevent silent failures by
@priyagupta108in actions/setup-python#1332Dependency Upgrade
- Bump certifi from 2020.6.20 to 2024.7.4 in /tests/data by
@dependabotin actions/setup-python#1328- Remove EOL Python versions and Bumps numpy text fixture by
@priya-kinthaliin actions/setup-python#1333- Upgrade
@actions/cacheto 6.2.0 by@philip-gaiin actions/setup-python#1337New Contributors
@lmvysakhmade their first contribution in actions/setup-python#1335@philip-gaimade their first contribution in acti...