You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validate all imports and includes in Bash and JS scripts used in workflows/agents. Ensure test coverage for critical entry points using Bats for Bash and Jest for JavaScript. This is to increase reliability, ensure error handling, and reduce regression risk for core operational scripts.
Steps / Checklist
All Bash files use set -Eeuo pipefail
Tests exist for Bash: tests/bash/*.bats
Tests exist for JS: tests/js/*.test.js
Task is clearly defined and actionable
Automation goal and scope described
Documentation/changelog updated
PR uses correct branch prefix (automation/)
Approved by at least one maintainer
Acceptance Criteria
Bash scripts checked for set -Eeuo pipefail
Tests for Bash and JS exist as above and run successfully
Automation implemented and tested
No performance or accessibility regressions
Documentation updated
No regressions or negative impact
Additional Context
Owner: Workflows
Related to: core agent/workflow scripts in repository
Implemented and merged via PR #454 into .\n\nCompleted:\n- Added JS smoke validation for critical workflow/agent imports/includes: \n- Added Bash strict-mode enforcement test: \n- Added npm scripts: and \n- CI checks passed (including rerun after transient network failure in )\n\nValidation run locally:\n-
@lightspeedwp/github-community-health@0.2.0 test:imports
jest --config .jest.config.cjs tests/js/import-includes-smoke.test.js --runInBand
Activity
test: add import/include smoke checks for workflows and agents (#63)
Merge pull request #454 from lightspeedwp/codex/63-import-include-smo…
ashleyshaw commentedon May 27, 2026
Implemented and merged via PR #454 into .\n\nCompleted:\n- Added JS smoke validation for critical workflow/agent imports/includes: \n- Added Bash strict-mode enforcement test: \n- Added npm scripts: and \n- CI checks passed (including rerun after transient network failure in )\n\nValidation run locally:\n-
------------------------------------------|---------|----------|---------|---------|-------------------
1..1
ok 1 first-party shell scripts use strict mode # skip No first-party shell scripts found under scripts/ or .github/.
ashleyshaw commentedon May 27, 2026
Corrected completion summary for #63:
Implemented and merged via PR #454 into
develop.Completed:
tests/js/import-includes-smoke.test.jstests/bash/strict-mode.batstest:importsandtest:bashreviewerrequired one rerun due to transientnpm cinetwork failure (ECONNRESET)Local validation executed:
npm run test:importsnpm run test:bash