From 4a46daef5b99555d13f9c3b83be5c154c2f16abf Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Sun, 1 Nov 2026 16:13:32 -0600 Subject: [PATCH] ci: run pm-stack aggregator bun tests in GitHub Actions (#1579) Aggregator PRs merged with no test signal: 53+ test files and ready bun scripts existed, but no workflow ran them. Add pm-aggregator-tests.yml: pull_request + push to main, path-filtered to pm-stack/** plus the workflow file itself, ubuntu-latest with oven-sh/setup-bun, working-directory pm-stack/aggregator, steps bun install --frozen-lockfile, bun test, bunx tsc --noEmit. Baseline honesty: on pristine main the suite is 928 pass / 1 fail (the fail is the pre-existing slice3 registry failure, #3835) and tsc reports a 12-error pre-existing baseline (filed as #4023). The workflow reports both faithfully; fixing them is tracked in those issues, not here. Not a required check -- branch protection is a separate settings decision. --- .github/workflows/pm-aggregator-tests.yml | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/pm-aggregator-tests.yml diff --git a/.github/workflows/pm-aggregator-tests.yml b/.github/workflows/pm-aggregator-tests.yml new file mode 100644 index 0000000000..b9db680078 --- /dev/null +++ b/.github/workflows/pm-aggregator-tests.yml @@ -0,0 +1,41 @@ +# pm-aggregator-tests.yml -- runs the pm-stack aggregator bun test +# suite and typecheck in GitHub Actions (#1579). Until now aggregator +# PRs merged with no test signal: the suite (pm-stack/aggregator/test/) +# and the bun scripts existed, but no workflow ran them. +# +# Path-filtered to pm-stack/** plus this file, so unrelated PRs never +# pay for it. Deliberately NOT a required check -- making it required +# in branch protection is a separate settings decision. + +name: pm-aggregator tests + +on: + pull_request: + paths: + - "pm-stack/**" + - ".github/workflows/pm-aggregator-tests.yml" + push: + branches: [main] + paths: + - "pm-stack/**" + - ".github/workflows/pm-aggregator-tests.yml" + workflow_dispatch: + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + defaults: + run: + working-directory: pm-stack/aggregator + steps: + - uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v2 + - name: Install dependencies + run: bun install --frozen-lockfile + - name: Run aggregator tests + run: bun test + - name: Typecheck + run: bunx tsc --noEmit