From 1048fa9db7c9d735360ca2e3123d08bc60de3c33 Mon Sep 17 00:00:00 2001 From: "developing-today[bot]" <5454422+developing-today[bot]@users.noreply.github.com> Date: Thu, 5 Nov 2026 00:30:10 -0600 Subject: [PATCH] ci(pm-stack): run pm-dispatch bun suite in pm-stack-tests (#6090) The pm-dispatch bun suite (131 tests across 10 files in pm-stack/dispatch/test/, incl. the #4917 launch-failure compensation pins) was run by no workflow. Add install + test steps to pm-stack-tests.yml following the #5951 pattern: the test directory is asserted to exist and hold *.test.ts files first, so a green run cannot be a silently skipped suite, and any suite failure fails the job (bun test is the step's last command). Verified on the laptop worktree: clean suite 131 pass / 0 fail; a deliberate-break test made bun test exit 1; the missing-directory guard exits 1 with ::error::. No dispatch source or test changes. --- .github/workflows/pm-stack-tests.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pm-stack-tests.yml b/.github/workflows/pm-stack-tests.yml index b82068aaa3..0a5ec7eaed 100644 --- a/.github/workflows/pm-stack-tests.yml +++ b/.github/workflows/pm-stack-tests.yml @@ -8,7 +8,7 @@ permissions: jobs: test: - name: aggregator + projector + python suites + name: aggregator + projector + dispatch + python suites runs-on: ubuntu-latest timeout-minutes: 15 steps: @@ -36,6 +36,25 @@ jobs: working-directory: pm-stack/projector run: bun test + - name: Install dispatch dependencies + working-directory: pm-stack/dispatch + run: bun install --frozen-lockfile + + # Bun suite for #6090: pm-stack/dispatch/test/ (131 tests, incl. + # the #4917 launch-failure compensation / orphan-cleanup pins in + # launch_failure.test.ts) was run by no workflow. The test + # directory is asserted to exist and hold *.test.ts files first, + # so a green run cannot be a silently skipped suite; any failure + # in the suite fails the job. + - name: Test dispatch + working-directory: pm-stack/dispatch + run: | + if [ ! -d test ] || ! ls test/*.test.ts >/dev/null 2>&1; then + echo "::error::Missing dispatch test suite — pm-stack/dispatch/test has no *.test.ts files; the dispatch suite was not run." + exit 1 + fi + bun test + - name: Test seed and deploy/install scripts run: | bash pm-stack/scripts/seed-smoke.test.sh