Commit f2cf5b9
docs(build): clarify PowerShellBuild bug-workaround status (#32)
* docs(build): clarify PowerShellBuild bug-workaround status
Three comment blocks in build.psake.ps1 referenced PowerShellBuild
v0.7.3 bugs as "until bug is fixed" workarounds. Verified upstream
status against PSB v0.8.0 (Feb 2026, latest) and updated the comments:
1. Coverage Threshold = 0 was framed as "until truncation bug is
fixed." Reality: the truncation bug in Test-PSBuildPester.ps1:118
is display-only — the JaCoCo XML on disk has correct numbers and
Codecov reads that. Threshold = 0 here is just to keep the local
build from acting on the bogus 0% console display, the same
"Codecov enforces threshold" pattern the upstream template uses.
Reframed accordingly.
2. The custom ScriptAnalysis task (substitute for PSB's
Test-PSBuildScriptAnalysis with its "$_Severity" typo) is still
genuinely necessary — bug confirmed still in v0.8.0; no upstream
fix PR open (only #106, which adds tests for the function).
Updated version reference from 0.7.3 to v0.8.0 and noted the
absence of a fix PR.
No code change; just clarifying the rationale.
Related to the multi-repo coverage-config alignment work in
tablackburn/PowerShellModuleTemplate#19 and downstream PRs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs(build): expand PSB and PR abbreviations in comments
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ac2c994 commit f2cf5b9
1 file changed
Lines changed: 15 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
0 commit comments