sampler-build-debug
Debug and troubleshoot Sampler-based PowerShell module builds and Pester 5 test failures. Covers running builds safely (without freezing VSCode), reading Pester results, diagnosing common mock/assertion failures, fixing tests, and reproducing a CI-only failure at the exact commit CI built. USE FOR: build fails, test fails, Pester errors, troubleshoot build, debug tests, run build, Sampler build, module build, Pester mock issues, VSCode freezes during build, passes locally but fails in CI, CI-only test failure, reproduce a CI failure, clean checkout reproduction, GitVersion 0.0.1 fallback version. DO NOT USE FOR: creating new modules from scratch, Azure deployments, CI/CD pipeline config.
- Compatibility
- Requires PowerShell 5.1+ with the Sampler, InvokeBuild, and Pester 5 modules.
Pinned to revision ae8684d41249, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/sampler-build-debug/SKILL.md
- skills/sampler-build-debug/evals/evals.json
- skills/sampler-build-debug/evals/files/wiki-incident.md
- skills/sampler-build-debug/evals/fixtures/wiki-commit-timeout.md
- skills/sampler-build-debug/evals/grading/wiki-commit-timeout.md
- skills/sampler-build-debug/evals/grading/wiki-incident.md
- skills/sampler-build-debug/notes-evals.md
- skills/sampler-build-debug/references/wiki-commit-timeout.md
Every link opens the file at its source, pinned to the revision this page describes.