Title: 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/** · Issue #8026 · developing-today/code · GitHub
Open Graph Title: 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/** · Issue #8026 · developing-today/code
X Title: 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/** · Issue #8026 · developing-today/code
Description: Evidence pm-stack/exporters/test/watchdog-state.test.ts (12 tests, ~72k assertions: PBT invariants + MBT ladder model + acceptance fixtures + disk round-trip) is the only verification of pm-stack/exporters/src/watchdog-state.ts — the dec...
Open Graph Description: Evidence pm-stack/exporters/test/watchdog-state.test.ts (12 tests, ~72k assertions: PBT invariants + MBT ladder model + acceptance fixtures + disk round-trip) is the only verification of pm-stack/e...
X Description: Evidence pm-stack/exporters/test/watchdog-state.test.ts (12 tests, ~72k assertions: PBT invariants + MBT ladder model + acceptance fixtures + disk round-trip) is the only verification of pm-stack/e...
Opengraph URL: https://github.com/developing-today/code/issues/8026
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"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/**","articleBody":"## Evidence\n\n`pm-stack/exporters/test/watchdog-state.test.ts` (12 tests, ~72k assertions: PBT invariants + MBT ladder model + acceptance fixtures + disk round-trip) is the only verification of `pm-stack/exporters/src/watchdog-state.ts` — the decision layer of the quota watchdog core (failure classes + repair ladder), landed 2026-11-08 in #6032 (now merged; #6032 CLOSED 2026-11-09).\n\nIt runs nowhere:\n\n- No workflow step invokes it. `grep -rn \"watchdog-state\" --exclude-dir=.git .` hits only the test's own import, and `pm-stack/exporters/README.md` (which documents the manual invocation `cd pm-stack/aggregator && bun test ../exporters/test/watchdog-state.test.ts` — proof the authors know bare `bun test` doesn't reach it).\n- `pm-stack/exporters/` has no `package.json`; the root `package.json` has no workspaces/scripts, so no aggregate `bun test` reaches it. `bun test` in `pm-stack/aggregator` scans only that directory.\n- `.github/test-suite-registry.json` has no entry for it (`quota-exporters` covers only the three other exporter suites: opencode-usage, cloudflare, supabase).\n- `pm-stack-tests.yml` trigger paths (`push` + `pull_request`) list `external-comms`, `opencode-claimant`, `opencode-usage-export`, `cloudflare-export`, `supabase-export` — `pm-stack/exporters/**` is absent, so even a wired-up step would never fire on changes to the watchdog.\n\nVerified on origin/main `c2283a57` in a clean worktree. Suite passes on the laptop:\n\n```\nbun test ../exporters/test/watchdog-state.test.ts (from pm-stack/aggregator)\n12 pass, 0 fail, 71766 expect() calls\n```\n\n## Why it matters\n\nThis is the same already-fixed class: #6084 (three quota-exporter suites ran nowhere → wired into pm-stack-tests.yml), #6344 (meta-exporter suite runs nowhere), #7681 (pm-stack-tests triggers omit dispatch/grist/scripts). The watchdog decision layer drives repair escalation; a regression here passes CI silently — exactly the failure mode #6084 fixed for the sibling exporters.\n\n## Suggested fix shape\n\nFollow the #6090/#5951/#6217 pattern already in `pm-stack-tests.yml`: a step asserting `test/watchdog-state.test.ts` exists, then `bun test` on the explicit path (the README's invocation), plus `pm-stack/exporters/**` in the workflow's `push`/`pull_request` paths, plus a registry venue entry. Small, mechanical, precedent-covered.\n\n## Acceptance criteria\n\n- [ ] A CI job runs `watchdog-state.test.ts` on every PR touching `pm-stack/exporters/**` and fails if the file is missing or any test fails.\n- [ ] `pm-stack-tests.yml` (or another workflow) lists `pm-stack/exporters/**` in its trigger paths.\n- [ ] `.github/test-suite-registry.json` records the suite's venue.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-09T10:05:01Z","url":"https://github.com/developing-today/code/issues/8026"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7f919ddd-0d32-e29d-e221-a3a0e13589ef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90D4:1649B1:8670B0:AEE963:6B062F77 |
| html-safe-nonce | 92c6252a9e72441f5f08e6ec2d062d57ebf460cfea011088beab4fcdd51cf2b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEQ0OjE2NDlCMTo4NjcwQjA6QUVFOTYzOjZCMDYyRjc3IiwidmlzaXRvcl9pZCI6IjczNzgyMzIxODM5NTU1MzM2ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b8045b1c0f64fdc3e8269f77fe69c7c4487495bca6240982fbdbadb943a01e5b |
| hovercard-subject-tag | issue:6283987047 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/8026/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d96e2c0e59e90cffcace604e5c2ab6f68759667473659ee21a90cf2b470a4aae/developing-today/code/issues/8026 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d96e2c0e59e90cffcace604e5c2ab6f68759667473659ee21a90cf2b470a4aae/developing-today/code/issues/8026 |
| og:image:alt | Evidence pm-stack/exporters/test/watchdog-state.test.ts (12 tests, ~72k assertions: PBT invariants + MBT ladder model + acceptance fixtures + disk round-trip) is the only verification of pm-stack/e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width