Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/test-suite-registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,20 @@
"related_issues": [6344],
"notes": "Wired by #6344: pm-stack-tests.yml gains pm-stack/meta-exporter/** in both push and pull_request path filters and a guarded step running the explicit test file under Node 24; the registry records configuration, not an automatic coverage claim."
},
{
"id": "pm-stack.watchdog-state",
"paths": ["pm-stack/exporters/test/watchdog-state.test.ts"],
"invocation": "bun test ../exporters/test/watchdog-state.test.ts (working-directory pm-stack/aggregator)",
"venue": {
"workflow": ".github/workflows/pm-stack-tests.yml",
"job_step": "Test watchdog-state suite",
"state": "active",
"dispatchable": true
},
"status": "mapped",
"related_issues": [8026],
"notes": "Wired by #8026: pm-stack-tests.yml gains a guarded step running the watchdog-state suite (the only verification of the quota watchdog decision layer, pm-stack/exporters/src/watchdog-state.ts) from pm-stack/aggregator per the exporters README invocation; the workflow runs nightly and on workflow_dispatch per .github/ci-policy.md, so no path filters remain to extend."
},
{
"id": "github-backup.python",
"paths": ["infra/github-backup/tests/test_*.py"],
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/pm-stack-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,22 @@ jobs:
exit 1
fi
node --test pm-stack/meta-exporter/meta-quota-export.test.mjs

# watchdog-state: bun test (suite for #8026;
# pm-stack/exporters/test/watchdog-state.test.ts, 12 tests, is the
# only verification of the quota watchdog decision layer in
# pm-stack/exporters/src/watchdog-state.ts and was run by no
# workflow - bare `bun test` never reaches it because
# pm-stack/exporters/ has no package.json. The invocation is the
# one documented in pm-stack/exporters/README.md, run from
# pm-stack/aggregator (whose dependencies are installed above).
# The file is asserted to exist first, so a green run cannot be
# a silently skipped suite; any failure fails the job.
- name: Test watchdog-state suite
working-directory: pm-stack/aggregator
run: |
if [ ! -f ../exporters/test/watchdog-state.test.ts ]; then
echo "::error::Missing suite file pm-stack/exporters/test/watchdog-state.test.ts - the watchdog-state suite was not run."
exit 1
fi
bun test ../exporters/test/watchdog-state.test.ts