diff --git a/.github/test-suite-registry.json b/.github/test-suite-registry.json index 421b005033..c217d85feb 100644 --- a/.github/test-suite-registry.json +++ b/.github/test-suite-registry.json @@ -633,6 +633,22 @@ "phase2_issue": 6085, "reason": "Active Python workflow tests do not include worker/." }, + { + "id": "decision-events-worker", + "paths": [ + "pm-stack/decision-events-worker/test/events.test.ts", + "pm-stack/decision-events-worker/test/pagination.test.ts" + ], + "invocation": "cd pm-stack/decision-events-worker && bun test", + "venue": { + "workflow": ".github/workflows/pm-stack-tests.yml", + "job_step": "Test decision-events-worker suite", + "state": "active", + "dispatchable": true + }, + "status": "mapped", + "related_issues": [9860] + }, { "id": "opencode-claimant.install", "paths": ["pm-stack/opencode-claimant/test/install.test.mjs"], diff --git a/.github/workflows/pm-stack-tests.yml b/.github/workflows/pm-stack-tests.yml index 27dd83111b..64af983781 100644 --- a/.github/workflows/pm-stack-tests.yml +++ b/.github/workflows/pm-stack-tests.yml @@ -274,3 +274,18 @@ jobs: exit 1 fi bun test ../exporters/test/watchdog-state.test.ts + + # Bun suite for #9860: pm-stack/decision-events-worker/test/ + # (14 tests: events.test.ts + pagination.test.ts, the #9335 + # decision-set event pipeline) was run by no venue. The + # directory is asserted to hold *.test.ts files first, so a + # green run cannot be a silently skipped suite; any failure + # fails the job. It needs only bun, no wrangler install. + - name: Test decision-events-worker suite + working-directory: pm-stack/decision-events-worker + run: | + if [ ! -d test ] || ! ls test/*.test.ts >/dev/null 2>&1; then + echo "::error::Missing decision-events-worker test suite — pm-stack/decision-events-worker/test has no *.test.ts files; the suite was not run." + exit 1 + fi + bun test