Skip to content

Remove strict mode from validation entrypoints#179

Merged
codeforester merged 1 commit into
mainfrom
ci/170-20260716-remove-validation-strict-mode
Jul 16, 2026
Merged

Remove strict mode from validation entrypoints#179
codeforester merged 1 commit into
mainfrom
ci/170-20260716-remove-validation-strict-mode

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • remove implicit strict mode from tests/validate.sh and
    tests/lint-warnings.sh
  • add explicit status-preserving validation stage handling with useful
    diagnostics
  • guard production and validation shell entrypoints against reintroducing
    errexit, nounset, or pipefail while leaving workflow blocks and BATS
    fixtures unchanged

Fixes #170

Validation

  • tests/lint-warnings.sh
  • ./tests/validate.sh (301 BATS tests)
  • negative smoke test for ShellCheck failure propagation (7)
  • negative smoke test for BATS failure propagation (9)
  • shellcheck -S warning tests/validate.sh tests/lint-warnings.sh
  • bash -n tests/validate.sh tests/lint-warnings.sh
  • git diff --check

@codeforester
codeforester merged commit 8e2eeae into main Jul 16, 2026
2 checks passed
@codeforester
codeforester deleted the ci/170-20260716-remove-validation-strict-mode branch July 16, 2026 05:35
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.

Remove strict mode from repository validation scripts

1 participant