Repository navigation
ci(pm-stack): run the watchdog-state suite in pm-stack-tests (#8026) - #10942
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 35 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Fixes #8026.
pm-stack/exporters/test/watchdog-state.test.ts(12 tests, ~72k assertions — the only verification of the quota watchdog decision layer inpm-stack/exporters/src/watchdog-state.ts) was run by no workflow: barebun testnever reaches it becausepm-stack/exporters/has nopackage.json, and.github/test-suite-registry.jsonhad no entry for it.Changes (following the #6084/#6344 pattern in the same files)
.github/workflows/pm-stack-tests.yml: new guarded step Test watchdog-state suite at the end of thetestjob. It assertspm-stack/exporters/test/watchdog-state.test.tsexists (so a green run cannot be a silently skipped suite) and runs the invocation documented inpm-stack/exporters/README.md, frompm-stack/aggregator(whose dependencies the job already installs):bun test ../exporters/test/watchdog-state.test.ts. Any failure fails the job..github/test-suite-registry.json: new entrypm-stack.watchdog-staterecording the venue (workflow + job step, active, dispatchable), statusmapped, related issue ci(pm-stack/exporters): watchdog-state.test.ts (12 tests, added in #6032) runs nowhere — and pm-stack-tests trigger paths omit pm-stack/exporters/** #8026.On the issue's trigger-paths acceptance item
Since #8026 was filed, the workflow's
push/pull_requestpath triggers were removed for all suites: Drew's 2026-11-16 CI policy (.github/ci-policy.md, "Nightly main CI") movedpm-stack-tests.ymlto a nightly schedule plusworkflow_dispatch. There are no path filters left to extend, and re-adding per-path PR triggers for one suite would contradict that policy — so the suite runs on every nightly run and on dispatch, the same venue as every sibling suite wired before it. The acceptance intent (a CI job runs the suite and fails if it is missing or failing) is met; the paths mechanism itself no longer exists in this workflow.Verification
bun test ../exporters/test/watchdog-state.test.tsfrompm-stack/aggregator→ 12 pass, 0 fail, 71766 expect() calls (matching the issue's own evidence).working-directory: pm-stack/aggregator..github/scripts/check-suite-registry.sh: 22 FAIL lines both before and after this change — all pre-existing "unwired suite" findings for other suites; none mention watchdog-state, and the new entry adds no failure.Queue task 18568, lane any-j.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.