Skip to content

🩹 [Patch]: Local framework artifacts stay out of commits - #43

Draft
Marius Storhaug (MariusStorhaug) wants to merge 5 commits into
mainfrom
ignore-pester-coverage-output
Draft

🩹 [Patch]: Local framework artifacts stay out of commits#43
Marius Storhaug (MariusStorhaug) wants to merge 5 commits into
mainfrom
ignore-pester-coverage-output

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Aug 2, 2026

Copy link
Copy Markdown
Member

Template repositories now reserve the root /.PSModule/ directory for generated Process-PSModule artifacts. The directory and every nested artifact stay out of commits.

Fixed: generated framework artifacts stay out of commits

Local framework runs place build output, generated documentation, site content, and Pester reports beneath .PSModule/. Pester's temporary configuration and container state lives in the runner temporary directory rather than the consumer worktree. The template ignores the single repository artifact root without broadly ignoring files that may belong in source control.

Adopting this release

New repositories created from this template need no configuration, code, or invocation changes. The template's existing PSModule/Process-PSModule/.github/workflows/workflow.yml@v8 reference now includes the compatible framework migration. Existing repositories can add /.PSModule/ to their .gitignore when they adopt the current Process-PSModule v8 release.

Release impact

Field Decision
Effective decision release:patch, consistent with the patch classification in this PR title.
Semantic effect Patch release: generated local artifacts no longer appear as untracked files.
Release/base coordinates Final coordinates are resolved by the release process.

Technical details

Consumer change record

Identifier / surface Before After Applicability / prerequisites Consumer action Verification
/.gitignore generated-artifact root Framework output can be created in root outputs/, _site/, TestResult/, or CodeCoverage/ paths, with selected root paths ignored individually. /.PSModule/ ignores the complete generated-artifact tree; Pester temporary state is outside the consumer worktree. Repositories created from this template using Process-PSModule v8. No configuration change for new template repositories. Existing repositories add the same ignore rule when adopting the framework version. git check-ignore confirms nested .PSModule paths are ignored.

Template baseline

Field Evidence
Producer identity Released PSModule/Process-PSModule v8 reference at f04a481b1c7669f3e480f22b61e6d7fbbdd9311d, delivered by PSModule/Process-PSModule#540, uses released PSModule/Invoke-Pester v5.1.1 commit c5494aba3c07d7bfd81bdbbc9f301e8fa4a729fb, delivered by PSModule/Invoke-Pester#78.
Template identity Candidate PSModule/Template-PSModule commit 9650691.
Compatibility evidence Process workflow assertions require Pester report files beneath .PSModule/TestResult and .PSModule/CodeCoverage and reject root TestResult, CodeCoverage, and .temp paths; this template commit ignores the resulting artifact root.
Template work This PR supplies the compatible template rule for the released framework behavior.

Maintainer evidence

Changed surface Standards checked Framework docs checked Result
.gitignore Code Layout Process-PSModule generated-artifact paths Aligned
Relevant issues (or links)

Related work

…ing directory

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown

No Significant Changes Detected

This PR does not contain changes to files that would trigger a new release:

Pattern Description
^src/ Matches files where path matches this pattern
^README\.md$ Matches files where path matches this pattern

Build, test, and publish stages will be skipped for this PR.

If you believe this is incorrect, please verify that your changes are in the correct locations.

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown

Super-linter summary

Language Validation result
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
MARKDOWN Pass ✅
NATURAL_LANGUAGE Pass ✅
POWERSHELL Pass ✅
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@psmodule-s-shelly

Copy link
Copy Markdown

No Significant Changes Detected

This PR does not contain changes to files that would trigger a new release:

Pattern Description
^src/ Matches files where path matches this pattern
^README\.md$ Matches files where path matches this pattern

Build, test, and publish stages will be skipped for this PR.

If you believe this is incorrect, please verify that your changes are in the correct locations.

@psmodule-s-shelly

Copy link
Copy Markdown

No Significant Changes Detected

This PR does not contain changes to files that would trigger a new release:

Pattern Description
^src/ Matches files where path matches this pattern
^README\.md$ Matches files where path matches this pattern

Build, test, and publish stages will be skipped for this PR.

If you believe this is incorrect, please verify that your changes are in the correct locations.

@psmodule-s-shelly

Copy link
Copy Markdown

No Significant Changes Detected

This PR does not contain changes to files that would trigger a new release:

Pattern Description
^src/ Matches files where path matches this pattern
^README\.md$ Matches files where path matches this pattern

Build, test, and publish stages will be skipped for this PR.

If you believe this is incorrect, please verify that your changes are in the correct locations.

@psmodule-s-shelly

Copy link
Copy Markdown

No Significant Changes Detected

This PR does not contain changes to files that would trigger a new release:

Pattern Description
^src/ Matches files where path matches this pattern
^README\.md$ Matches files where path matches this pattern

Build, test, and publish stages will be skipped for this PR.

If you believe this is incorrect, please verify that your changes are in the correct locations.

auto-merge was automatically disabled September 10, 2026 12:02

Pull request was converted to draft

@MariusStorhaug Marius Storhaug (MariusStorhaug) changed the title 🩹 [Patch]: Local test runs no longer leave a coverage report to commit by accident 🩹 [Patch]: Local framework artifacts stay out of commits Sep 10, 2026
@MariusStorhaug
Marius Storhaug (MariusStorhaug) marked this pull request as ready for review September 10, 2026 16:13
Copilot AI review requested due to automatic review settings September 10, 2026 16:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants