You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci(pm-stack): scheduled-history collector test (19 checks) runs nowhere and pm-stack-tests paths omit pm-stack/scheduled-history/** #10423
pm-stack/scheduled-history/test_collect.py is a 19-check regression suite for the scheduled-history reconciler/collector (pm-stack/scheduled-history/collect.py, added for #2174 / Gap 1). It passes locally on current main, but no CI workflow, flake check, or test-suite registry entry runs it, and changes under pm-stack/scheduled-history/** are not covered by the pm-stack-tests workflow path filters.
Evidence
Suite: pm-stack/scheduled-history/test_collect.py (19 checks, script-style suite; prints 19/19 checks passed on success).
Local verification on developing-today/code @ e77ed21264b8 (2026-11-15):
python3 -m unittest pm-stack/scheduled-history/test_collect.py → Ran 0 tests in 0.000s / NO TESTS RAN (not unittest-discoverable)
python3 pm-stack/scheduled-history/test_collect.py → exits 0 with 19/19 checks passed
CI wiring:
.github/workflows/pm-stack-tests.yml path filters include pm-stack/scripts/**, pm-stack/opencode-claimant/**, etc. but do not include pm-stack/scheduled-history/**.
pm-stack-tests.yml job steps run aggregator/projector/dispatch suites and specific script/python suites, but never invoke pm-stack/scheduled-history/test_collect.py.
rg -n "scheduled-history|test_collect" .github nixos returns no matches (no workflow/flake reference).
Dedupe: gh issue list -R developing-today/code --state all --search "scheduled-history OR test_collect" returns no issue tracking this test/wiring (checked 2026-11-15).
Why it matters
The scheduled-history collector is the durable per-run/outcome/token dataset for OpenChamber scheduled tasks (#2174). Without CI coverage, regressions in reconciliation/finalization/enrichment/windowing can land unnoticed, and edits under pm-stack/scheduled-history/ currently won't even trigger the pm-stack test workflow.
Acceptance criteria
CI runs pm-stack/scheduled-history/test_collect.py (e.g. python3 pm-stack/scheduled-history/test_collect.py) and fails the job on failure/non-zero exit.
.github/workflows/pm-stack-tests.yml (or an equivalent appropriate workflow) includes pm-stack/scheduled-history/** in its path filters so changes to the collector/tests trigger the run.
The wiring is documented/registered consistently with repo conventions if applicable (e.g. .github/test-suite-registry.json entry when suites of this kind are tracked there).
A run demonstrates the 19 checks pass in CI on current main.
Gap re-verified fresh (2026-11-17, origin/main):pm-stack/scheduled-history/test_collect.py exists; zero references to it or scheduled-history in .github/workflows/pm-stack-tests.yml, .github/test-suite-registry.json, or any workflow/flake wiring. The suite passes locally: 19/19 checks passed, exit 0.
Fix — PR ci(pm-stack): run the scheduled-history collector suite in pm-stack-tests (#10423) #11011 (queue/19262-10423-scheduled-history-ci, commit 2a046b2): a new step "Test scheduled-history collector Python suite" in the pm-stack-tests test job, in the file's established orphan-suite pattern (file asserted to exist first, script run directly since it is not unittest-discoverable, non-zero exit fails the job, and the suite's own checks-passed line is required so an empty run cannot pass silently) + registry entry pm-stack.scheduled-history.collect. Workflow YAML and registry JSON both parse; the step's shell logic was simulated verbatim in the worktree (exit 0).
Acceptance item 2 (path filters) — disposition recorded, not skipped: the issue was filed against a push/PR-triggered workflow; on 2026-11-16 the workflow moved to the nightly-main-CI policy (workflow_dispatch + nightly cron, no path filters exist), so there is no filter list to extend. Step coverage in the nightly run is the equivalent guarantee, and it is stronger than a path filter (the suite runs every night regardless of what changed).
Correction to the note above (task 19262): issue #10423 was in fact closed by PR #11011's merge linkage (merge commit ca4d8da) — it is CLOSED with status:done, not open as my note said. The remaining evidence is unchanged: the first nightly pm-stack-tests run on main is the CI demonstration of the wired-up suite; if that run fails on the scheduled-history suite, reopen this issue.
state: verified_closed / already_done
task: 20691 (repo-health-code-pilot, lane oc-code-03)
issue: #10423 — scheduled-history collector tests not wired in CI
Fresh check 2026-11-18: issue CLOSED (status:done). Fixed by PR #11011, MERGED 2026-11-17T07:19:43Z (merge commit ca4d8da). .github/workflows/pm-stack-tests.yml:140-155 now runs pm-stack/scheduled-history/test_collect.py and fails on a missing suite file. Watch the first nightly pm-stack-tests run on main; reopen if the suite fails.
Activity
developing-today commentedon Nov 15, 2026
CODE-3771
dezren39 commentedon Nov 17, 2026
🤖 Agent note · fix implemented, PR awaiting CI — task 19262 (lane code-a)
pm-stack/scheduled-history/test_collect.pyexists; zero references to it orscheduled-historyin.github/workflows/pm-stack-tests.yml,.github/test-suite-registry.json, or any workflow/flake wiring. The suite passes locally:19/19 checks passed, exit 0.queue/19262-10423-scheduled-history-ci, commit 2a046b2): a new step "Test scheduled-history collector Python suite" in the pm-stack-teststestjob, in the file's established orphan-suite pattern (file asserted to exist first, script run directly since it is not unittest-discoverable, non-zero exit fails the job, and the suite's own checks-passed line is required so an empty run cannot pass silently) + registry entrypm-stack.scheduled-history.collect. Workflow YAML and registry JSON both parse; the step's shell logic was simulated verbatim in the worktree (exit 0).Merge pull request #11011 from developing-today/queue/19262-10423-sch…
dezren39 commentedon Nov 17, 2026
🤖 Agent note · done
dezren39 commentedon Nov 17, 2026
Correction to the note above (task 19262): issue #10423 was in fact closed by PR #11011's merge linkage (merge commit ca4d8da) — it is CLOSED with status:done, not open as my note said. The remaining evidence is unchanged: the first nightly pm-stack-tests run on main is the CI demonstration of the wired-up suite; if that run fails on the scheduled-history suite, reopen this issue.
dezren39 commentedon Nov 18, 2026
state: verified_closed / already_done
task: 20691 (repo-health-code-pilot, lane oc-code-03)
issue: #10423 — scheduled-history collector tests not wired in CI
Fresh check 2026-11-18: issue CLOSED (status:done). Fixed by PR #11011, MERGED 2026-11-17T07:19:43Z (merge commit ca4d8da). .github/workflows/pm-stack-tests.yml:140-155 now runs pm-stack/scheduled-history/test_collect.py and fails on a missing suite file. Watch the first nightly pm-stack-tests run on main; reopen if the suite fails.
Disposition: already_done, no follow-on.