Repository navigation
Description
Problem
.github/workflows/pm-stack-tests.yml runs test suites for three pm-stack areas that its own trigger paths never match, so changes to those areas get no automatic test signal at all — on pull requests or on pushes to main:
| Suite the workflow runs | Step | Trigger path present? |
|---|---|---|
| pm-dispatch bun suite (10 files, incl. #4917 launch-failure/orphan-compensation pins) | Test dispatch (:65-73), working-directory pm-stack/dispatch |
No — pm-stack/dispatch/** is in neither the push nor the pull_request path list |
Grist Python suite (test_update_choice_options.py, discovered test_*.py) |
Test claimant and grist Python suites (:85-105) |
No — pm-stack/grist/** absent |
Script smokes (seed-smoke.test.sh, deploy-install-smoke.test.sh) |
Test seed and deploy/install scripts (:74-78) |
No — pm-stack/scripts/** absent |
The push and pull_request path lists (workflow :5-25) name only pm-stack/external-comms/**, pm-stack/opencode-claimant/**, pm-stack/opencode-usage-export/**, pm-stack/cloudflare-export/**, pm-stack/supabase-export/**, and the workflow file itself.
No other workflow fills the gap: grep -rn "pm-stack/dispatch" .github/workflows/ hits only pm-stack-tests.yml's own step, grep -rln "grist" .github/workflows/ hits only pm-stack-tests.yml, and pm-dispatch-smoke.yml is a dispatch-only manual smoke of the dispatch service's ci-fix mode, not a test run. The wiring PRs that added these steps (#6090 for dispatch, #5951 for grist) added the steps but not the matching trigger paths — the same step-without-trigger shape as #6929/#6953, inside an otherwise-active workflow.
Verified this run (laptop primary @ 8c84644)
- Workflow read end to end: steps at :43 (aggregator), :51 (projector), :65 (dispatch), :74 (scripts), :85 (claimant+grist), :112 (external-comms), :134/:138/:142 (quota exporters) vs path lists at :5-25 — dispatch, grist, and scripts appear only as steps, never as paths.
- The suites are real and green where they run: grist discovery ran on the laptop this run (
Ran 15 tests, OK);seed-smoke.test.shpasses; the dispatch suite was verified at 131 pass when ci(pm-stack): pm-dispatch bun suite (131 tests, incl. #4917 orphan-compensation pins) run by no workflow — the aggregator/projector workflows never touch dispatch #6090 wired the step. - The workflow itself is active and firing for its listed paths (runs today on push/pull_request, e.g. 2026-11-08T12:06Z), so this is not the disabled/dispatch-only class — the trigger list simply does not cover three of its own suites. (Its current red-on-main state is the separate issue ci(pm-stack): pm-stack tests red on main since 2026-11-04 — deploy-install-smoke fails 4 checks (aggregator unit cp resolves through the fixture symlink; ready-for-agent fixture missing apply-config.sh) #7680.)
- Out of scope deliberately:
pm-stack/aggregator/**andpm-stack/projector/**are also absent from these paths, but those suites have their own workflow (pm-aggregator-tests.yml), whose dispatch-only state is blocked under Drew's runner-strategy ruling on pm-aggregator-tests workflow: auto triggers BLOCKED on runner strategy (dispatch-only by Drew's ruling 2026-11-05) #6126 — this issue does not propose changing that.
Why it matters
Dispatch is the fleet's work-intake service; its bun suite pins the launch-failure compensation and orphan-cleanup behavior that #4917's orphan flood motivated. A dispatch-only PR today merges with zero dispatch test signal, and a dispatch-only push to main runs nothing either — the suite #6090 wired is decorative for exactly the changes it exists to guard. Same for the grist choice-options suite and the deploy/install script smokes (whose current breakage, #7680, is precisely the kind of drift per-area triggers exist to catch at PR time).
Acceptance criteria
-
pm-stack/dispatch/**,pm-stack/grist/**, andpm-stack/scripts/**are added to both the push and pull_request path lists of pm-stack-tests.yml (or an equivalent trigger shape that fires the workflow for changes in those trees). - Evidence on the fixing PR: a dispatch-only (or grist-only / scripts-only) change triggers a pm-stack-tests run — e.g. the PR's own run, since the PR touches the workflow and one of the three trees, or a documented
gh workflow runpath-filter check. - No other workflow's triggers change; aggregator/projector coverage stays as pm-aggregator-tests workflow: auto triggers BLOCKED on runner strategy (dispatch-only by Drew's ruling 2026-11-05) #6126 has it.
- The workflow still passes
bash .github/scripts/check-workflows.test.sh(workflow-lint) after the edit.
Related: #6090 (dispatch step wiring), #5951 (grist step wiring), #6126 (aggregator workflow blocked, separate), #7680 (this workflow currently red on main for an unrelated step failure), #5993 (the other two pm-stack script suites remain unwired).
Activity
developing-today commentedon Nov 8, 2026
CODE-2293
dezren39 commentedon Nov 8, 2026
🤖 Agent note · filed
dezren39 commentedon Nov 10, 2026
Agent note - parked (awaiting triage)
2 remaining items
dezren39 commentedon Nov 11, 2026
Agent note — picked up and completed triage task 13692. Fresh issue state shows task 13650 already triaged the missing trigger paths at main 53cf63a and owns the fix. Routed to that existing task; no competing work created. Existing in-progress labels belong to task 13650 and are retained.
dezren39 commentedon Nov 11, 2026
agent-note:v1 | task 13650 | lane: code-p | transition: parked | state: awaiting_ci (PR #8498)
Merge pull request #8498 from developing-today/queue/13650-7681-pm-st…
dezren39 commentedon Nov 11, 2026
🤖 Agent note · done
awaiting_ci).pm-stack/dispatch/**,pm-stack/grist/**, andpm-stack/scripts/**to both the push and pull_request path lists in.github/workflows/pm-stack-tests.yml. Codex review completed with zero findings to disposition. Checks were queued with no failures (merged per fleet policy for a verified, Codex-clean PR).