Skip to content

Comments

Standardize PowerShell error handling#12

Merged
svelderrainruiz merged 1 commit intocodex/update-ci-workflow-for-pester-resultsfrom
codex/standardize-error-messages-in-scripts
Aug 18, 2025
Merged

Standardize PowerShell error handling#12
svelderrainruiz merged 1 commit intocodex/update-ci-workflow-for-pester-resultsfrom
codex/standardize-error-messages-in-scripts

Conversation

@svelderrainruiz
Copy link

Summary

  • unify PowerShell catch blocks to emit a consistent error message
  • document the standard error format in script READMEs
  • clarify dispatcher test expectations for the unified error text

Testing

  • npm test
  • npm run lint:md
  • npx --yes markdown-link-check -q -c .markdown-link-check.json README.md $(find docs scripts -name '*.md')
  • actionlint
  • pwsh -NoLogo -Command "\$cfg = New-PesterConfiguration; \$cfg.Run.Path = './tests/pester'; \$cfg.TestResult.Enabled = \$false; Invoke-Pester -Configuration \$cfg" (fails: Tests Passed: 88, Failed: 17, Skipped: 15)

https://chatgpt.com/codex/tasks/task_e_68a3b172cf8883299eb4fdb007f538b4

@svelderrainruiz svelderrainruiz merged commit 228bbcc into codex/update-ci-workflow-for-pester-results Aug 18, 2025
@svelderrainruiz svelderrainruiz deleted the codex/standardize-error-messages-in-scripts branch August 18, 2025 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant