@@ -50,7 +50,6 @@ set -uo pipefail
5050# Ruff lint (60s): cd app && make lint-ruff
5151# MyPy check (120s): cd app && make lint-mypy
5252# Tests (600s/10min): cd app && make test-unit-only
53- # Plugin/hook tests (120s): make test-plugin (from repo root)
5453# E2E tests (600s): cd app && make test-e2e
5554# CI status (30s): gh run list --workflow=CI --limit 1 --json status,conclusion
5655#
@@ -61,7 +60,6 @@ set -uo pipefail
6160# VALIDATE_TIMEOUT_RUFF - Ruff lint timeout (default: 60)
6261# VALIDATE_TIMEOUT_MYPY - MyPy type check timeout (default: 120)
6362# VALIDATE_TIMEOUT_TESTS - Test suite timeout (default: 600)
64- # VALIDATE_TIMEOUT_PLUGIN - Plugin/hook test suite timeout (default: 300)
6563# VALIDATE_TIMEOUT_E2E - E2E test timeout (default: 900)
6664# VALIDATE_TIMEOUT_CI - CI status check timeout (default: 60)
6765# VALIDATE_TIMEOUT_LOG - Path to timeout log (default: /tmp/lockpick-test-artifacts-<worktree>/validation-timeouts.log)
@@ -110,11 +108,6 @@ CMD_FORMAT_CHECK=$(_cfg "commands.format_check" "make format-check")
110108CMD_LINT_RUFF=$( _cfg " commands.lint_ruff" " make lint-ruff" )
111109CMD_LINT_MYPY=$( _cfg " commands.lint_mypy" " make lint-mypy" )
112110CMD_TEST_UNIT=$( _cfg " commands.test_unit" " make test-unit-only" )
113- # REVIEW-DEFENSE: commands.test_plugin key was removed from workflow-config.conf in dso-bkqa.
114- # This consumer line (and the KNOWN_KEYS entry in validate-config.sh:65) are cleaned up in
115- # companion story dso-kexc. Until then, validate.sh falls back to the hard-coded default
116- # "make test-plugin", which is the pre-existing behavior and introduces no regression.
117- CMD_TEST_PLUGIN=$( _cfg " commands.test_plugin" " make test-plugin" )
118111SCRIPT_WRITE_SCAN_DIR=$( _cfg " checks.script_write_scan_dir" " " )
119112PLUGIN_SCRIPTS=" $SCRIPT_DIR "
120113CMD_TEST_E2E=$( _cfg " commands.test_e2e" " make test-e2e" )
@@ -157,7 +150,6 @@ TIMEOUT_FORMAT="${VALIDATE_TIMEOUT_FORMAT:-30}"
157150TIMEOUT_RUFF=" ${VALIDATE_TIMEOUT_RUFF:- 60} "
158151TIMEOUT_MYPY=" ${VALIDATE_TIMEOUT_MYPY:- 120} "
159152TIMEOUT_TESTS=" ${VALIDATE_TIMEOUT_TESTS:- 600} " # 10 minutes default - test suite is large
160- TIMEOUT_PLUGIN=" ${VALIDATE_TIMEOUT_PLUGIN:- 300} " # plugin/hook shell test suite (safety buffer for slow tests)
161153TIMEOUT_E2E=" ${VALIDATE_TIMEOUT_E2E:- 900} " # 15 minutes for E2E tests (local is ~2-3x slower than CI ~180s)
162154TIMEOUT_CI=" ${VALIDATE_TIMEOUT_CI:- 60} " # GitHub API call — 60s headroom for rate limiting/slow network
163155
@@ -310,7 +302,7 @@ for arg in "$@"; do
310302 echo " "
311303 echo " Timeouts (in seconds):"
312304 echo " syntax: $TIMEOUT_SYNTAX , format: $TIMEOUT_FORMAT , ruff: $TIMEOUT_RUFF , mypy: $TIMEOUT_MYPY "
313- echo " tests: $TIMEOUT_TESTS , plugin: $TIMEOUT_PLUGIN "
305+ echo " tests: $TIMEOUT_TESTS "
314306 echo " e2e: $TIMEOUT_E2E , ci: $TIMEOUT_CI "
315307 echo " "
316308 echo " Timeout log: $TIMEOUT_LOG "
622614# Track launched checks for crash detection (missing .rc file = process crash)
623615# REVIEW-DEFENSE: Keep this list in sync with the run_check/check_* calls below.
624616# Each name must match the first argument passed to run_check or check_*.
625- LAUNCHED_CHECKS=" syntax format ruff mypy tests plugin migrate skill-refs"
617+ LAUNCHED_CHECKS=" syntax format ruff mypy tests migrate skill-refs"
626618[ -n " $SCRIPT_WRITE_SCAN_DIR " ] && LAUNCHED_CHECKS=" $LAUNCHED_CHECKS script-writes"
627619# REVIEW-DEFENSE: CMD_* variables are intentionally unquoted to allow word splitting.
628620# Commands like "make format-check" must split into ["make", "format-check"] for run_check.
@@ -637,8 +629,6 @@ run_check "ruff" "$TIMEOUT_RUFF" $CMD_LINT_RUFF &
637629run_check " mypy" " $TIMEOUT_MYPY " $CMD_LINT_MYPY &
638630# shellcheck disable=SC2086
639631run_check " tests" " $TIMEOUT_TESTS " $CMD_TEST_UNIT &
640- # shellcheck disable=SC2086
641- (cd " $REPO_ROOT " && run_check " plugin" " $TIMEOUT_PLUGIN " $CMD_TEST_PLUGIN ) &
642632check_migrations &
643633if [ -n " $SCRIPT_WRITE_SCAN_DIR " ]; then
644634 (cd " $REPO_ROOT " && run_check " script-writes" " $TIMEOUT_SYNTAX " python3 " $PLUGIN_SCRIPTS /check-script-writes.py" --scan-dir=" $SCRIPT_WRITE_SCAN_DIR " ) &
@@ -764,7 +754,6 @@ if [ "$VERBOSE" = "0" ]; then
764754 report_check " ruff" " ruff" " $TIMEOUT_RUFF "
765755 report_check " mypy" " mypy" " $TIMEOUT_MYPY "
766756 report_check " tests" " tests" " $TIMEOUT_TESTS "
767- report_check " plugin" " plugin" " $TIMEOUT_PLUGIN " " make -C $REPO_ROOT test-plugin"
768757 [ -n " $SCRIPT_WRITE_SCAN_DIR " ] && report_check " script-writes" " script-writes" " $TIMEOUT_SYNTAX " " python3 $PLUGIN_SCRIPTS /check-script-writes.py --scan-dir=$SCRIPT_WRITE_SCAN_DIR "
769758 report_check " skill-refs" " skill-refs" " $TIMEOUT_SYNTAX " " bash $PLUGIN_SCRIPTS /check-skill-refs.sh"
770759else
773762 tally_check " ruff" " ruff"
774763 tally_check " mypy" " mypy"
775764 tally_check " tests" " tests"
776- tally_check " plugin" " plugin"
777765 [ -n " $SCRIPT_WRITE_SCAN_DIR " ] && tally_check " script-writes" " script-writes"
778766 tally_check " skill-refs" " skill-refs"
779767fi
0 commit comments