GeezerVison is showing github.com — ci(pm-stack): Python suites test_poll.py (36 tests, #3026 claimant cap gate) and test_update_choice_options.py (7 tests) run by no workflow · Issue #5951 · developing-today/code
ci(pm-stack): Python suites test_poll.py (36 tests, #3026 claimant cap gate) and test_update_choice_options.py (7 tests) run by no workflow #5951DescriptionFinding
Two pm-stack Python test suites are run by no workflow, justfile recipe, or flake check — they only run when someone executes them by hand:
pm-stack/opencode-claimant/test_poll.py — 36 tests (classes at :32 TestIsActiveRoot, :102 TestSummarizeCap, :121 TestIsCandidate, :173 TestParseLeaseMs, :197 TestIsStuckBound) pinning poll.py's active-only cap counting, the Move opencode executions to laptop-side scheduled tasks — retire the Muse boot handoff #3026 gate that decides whether the claimant launches new sessions. The file's own docstring (:2-6) documents only a manual run command.
pm-stack/grist/test_update_choice_options.py — 7 tests (first at :28) pinning update-choice-options.py's Choice-column option merging (append-preserving-order, idempotence, empty widget options) — the script behind the Grist Choice-options workaround.
Evidence (verified this run, laptop primary @ d82a48a)
grep -rn "test_poll|test_update_choice" .github/workflows/ justfile flake.nix pm-stack/*.md → zero references.
.github/workflows/pm-stack-tests.yml runs only: aggregator bun test, projector bun test, and two bash smoke scripts (seed-smoke.test.sh, deploy-install-smoke.test.sh). No Python step exists.
.github/workflows/pm-aggregator-tests.yml is likewise bun-only (aggregator + projector).
- Both suites pass today, run by hand on the laptop:
python3 -m unittest pm-stack/opencode-claimant/test_poll.py → Ran 36 tests, OK (0.001s, offline); python3 -m unittest discover -s pm-stack/grist -p 'test_*.py' → Ran 7 tests, OK (2.0s).
Why it matters
The claimant's cap counting is a safety gate: if is_active_root / summarize_cap regress, the claimant can over-launch sessions against the cap (the failure class behind #5016) or stall launches entirely — and nothing would signal it, because the pinning suite never runs. The grist suite similarly guards a script that mutates live Grist Choice columns; a regression there corrupts dashboard data silently. This is the same gap class as the recently wired suites (#5935, #5937, #5942, #5945, #5946).
Acceptance criteria
- A CI step (extending
pm-stack-tests.yml or a sibling workflow, following the repo's CI tier policy in .github/ci-policy.md) runs both suites: test_poll.py (36 tests) and test_update_choice_options.py (7 tests), on changes to pm-stack/opencode-claimant/** and pm-stack/grist/** respectively (or on the workflow's existing dispatch/main-tier cadence).
- The step fails when either suite fails (no continue-on-error).
- Both suites pass in CI on main after the change.
Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 🤖 Agent note · filed
- Agent: new-issue-creator job (new-issue-creator-code-a, Lane A)
- Session / ID: new-issue-creator-code-a run 2026-11-04 22:35 CST
- Found via: filed this run
- Task: Filed this CI-coverage finding: pm-stack's two Python suites (opencode-claimant test_poll.py, 36 tests pinning the Move opencode executions to laptop-side scheduled tasks — retire the Muse boot handoff #3026 cap gate; grist test_update_choice_options.py, 7 tests) are run by no workflow — verified passing by hand on the laptop primary @ d82a48a, zero references in workflows/justfile/flake.
- Expectation: effort s — a queue triage packet is enqueued; done looks like a CI step running both suites with failure propagation.
- Links: packet hidden_files/packet-5951-triage.json (goal workspace)
dezren39 commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026
Agent note — picked up (task 9856)
dezren39 commented on Nov 5, 2026
Agent note — fixed and merged, parked on a disabled workflow (task 9856)
- Task: task 9856 (repo-health-code-pilot, lane code-r, execution lane direct, 2026-11-05).
- Done: PR ci(pm-stack): run the claimant and grist Python suites in pm-stack-tests (#5951) #5953 MERGED (merge commit ec2ac0e) extending
.github/workflows/pm-stack-tests.yml with the claimant + grist Python suites step; issue ci(pm-stack): Python suites test_poll.py (36 tests, #3026 claimant cap gate) and test_update_choice_options.py (7 tests) run by no workflow #5951 CLOSED by the merge. Verified pre-merge on the laptop: test_poll.py 36 tests OK, grist discovery 7 tests OK, the new step's commands simulated green, workflow YAML parses clean, diff single file (+31/−1). No Codex review findings were posted on PR ci(pm-stack): run the claimant and grist Python suites in pm-stack-tests (#5951) #5953 to disposition.
- Blocker for the CI acceptance check: the
pm-stack tests workflow is disabled_manually in GitHub Actions (workflow id 403913984, verified via gh api this pass) — the post-merge dispatch failed with HTTP 422 "Cannot trigger a 'workflow_dispatch' on a disabled workflow". This predates the ci(pm-stack): Python suites test_poll.py (36 tests, #3026 claimant cap gate) and test_update_choice_options.py (7 tests) run by no workflow #5951 change and also darkens the pre-existing bun suites. I did not re-enable it: a manual disable is a deliberate human act whose reason is not recorded in the repo. Filed as issue ci(pm-stack): pm-stack-tests.yml is disabled_manually in Actions — no suite in it can run #5954.
- Park / resume: task 9856 parked 20 minutes. On resume: check the workflow state fresh; if enabled (see ci(pm-stack): pm-stack-tests.yml is disabled_manually in Actions — no suite in it can run #5954), dispatch
pm-stack tests on main — if the run succeeds, complete task 9856 with outcome fixed_merged / ci pass; if it fails, investigate under task 9856. If still disabled, re-park naming ci(pm-stack): pm-stack-tests.yml is disabled_manually in Actions — no suite in it can run #5954.
dezren39 commented on Nov 5, 2026
Agent note — resume check: blocker unchanged, re-parked (task 9856)
dezren39 commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026
Agent note — picked up, blocker re-checked, parked (task 9856)
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|