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
PM stack: extend tests to the live readers, the comment consumer loop, and the deploy scripts #1213
Part of epic #1184 (PM stack coherence review, 2026-10-26).
Test coverage is render-string deep, with no live-reader, deploy or consumer-loop tests. Evidence: aggregator/test/ (14 files) covers derive/render/fixtures, stub servers, boot-from-fixtures and comment-store units, but there are no tests for the live Kaneo/Grist readers, the comment consumption loop, bind/auth, or mobile layout, and no tests at all for pad/, grist/ seed/deploy scripts or ready-for-agent/install.sh.
Acceptance:
bun test covers live board/roadmap mapping including failure fallback, via stub servers mirroring the existing projector/opencode stubs.
seed.sh run twice in a test env is a no-op the second time; deploy/seed scripts have smoke checks.
CI (or a documented local gate) runs the aggregator + projector suites together; an end-to-end comment-loop test is added once the consumer exists.
Acceptance criteria
bun test covers live board/roadmap mapping including failure fallback, via stub servers mirroring the existing projector/opencode stubs.
seed.sh run twice in a test env is a no-op the second time; deploy/seed scripts have smoke checks.
CI (or a documented local gate) runs the aggregator + projector suites together; an end-to-end comment-loop test is added once the consumer exists.
Still live: verified this run — the issue is open, and a merged-PR search found no PR that explicitly resolves it (no fixes-reference; the only real merged hit in the search set, PR #1318, does not mention it). It does not merely look solved.
Related: Related: epic #1184; extends the existing stub-server pattern used for projector/opencode.
Notes / risks: Risk: the end-to-end comment-loop test depends on a consumer that does not exist yet — land the live-reader and script tests first; the loop test is explicitly conditional.
Labels normalized this pass (see the issue's label set); acceptance criteria appended to the body as the standard ## Acceptance criteria section, original body preserved verbatim above it.
Task: Resuming task 4935's own PR test(pm-stack): cover remaining #1213 gaps #4011 (branch queue/4935-1213-test-gaps). Correction to the previous park: PR test(pm-stack): cover remaining #1213 gaps #4011 is this task's fleet PR — branch name and task binding say so; the dezren39 author login is the shared account and is not Drew-ownership (the standing false-positive pattern). Remaining work: disposition the two red checks on head 229643221 — the new gate's ready-for-agent smoke checks (this PR's harness) and the aggregator Typecheck step (files this PR does not touch; verifying against main) — then merge when verified.
Stubbed-fetch tests for the live Grist roadmap reader (test/grist-live.test.ts: mapping + bearer auth + 503 fixture fallback/provenance).
Seed/deploy script coverage: seed-smoke.test.sh (Grist + Pad seed idempotency — second run performs no creates) and deploy-install-smoke.test.sh (aggregator + ready-for-agent install/render smoke under temporary HOME with stubbed commands).
Combined CI gate .github/workflows/pm-stack-tests.yml running the aggregator + projector Bun suites and both shell harnesses together.
Verification: the new gate's run on the final head 2f9ef0ed4 is SUCCESS (run 41424221066); on the laptop both shell harnesses pass all checks and bun test test/grist-live.test.ts test/slice3.test.ts is 28 pass / 0 fail. The Codex P2 on the workflow was fixed in 229643221 and replied on its thread. One fix this shift: main's c515c9d33 changed ready-for-agent/install.sh (restart proven via ExecMainStartTimestampMonotonic), so the harness systemctl stub now models the start timestamp and the assertion matches the new success line.
Activity
developing-today commentedon Oct 27, 2026
CODE-347
dezren39 commentedon Oct 28, 2026
Intake review
Fleet-monitor intake pass (protocol §5), 2026-10-28.
Still live: verified this run — the issue is open, and a merged-PR search found no PR that explicitly resolves it (no fixes-reference; the only real merged hit in the search set, PR #1318, does not mention it). It does not merely look solved.
Related: Related: epic #1184; extends the existing stub-server pattern used for projector/opencode.
Notes / risks: Risk: the end-to-end comment-loop test depends on a consumer that does not exist yet — land the live-reader and script tests first; the loop test is explicitly conditional.
Suggested approach: Suggested approach: live-reader stubs first, seed.sh idempotence second, combined CI gate third.
Labels normalized this pass (see the issue's label set); acceptance criteria appended to the body as the standard
## Acceptance criteriasection, original body preserved verbatim above it.112 remaining items
dezren39 commentedon Nov 2, 2026
🤖 Agent note · parked
dezren39 commentedon Nov 2, 2026
🤖 Agent note · picked up
queue/4935-1213-test-gaps). Correction to the previous park: PR test(pm-stack): cover remaining #1213 gaps #4011 is this task's fleet PR — branch name and task binding say so; thedezren39author login is the shared account and is not Drew-ownership (the standing false-positive pattern). Remaining work: disposition the two red checks on head229643221— the new gate'sready-for-agentsmoke checks (this PR's harness) and the aggregator Typecheck step (files this PR does not touch; verifying against main) — then merge when verified.test(pm-stack): model systemctl start timestamps in install smoke (#1213
Merge pull request #4011 from developing-today/queue/4935-1213-test-gaps
dezren39 commentedon Nov 2, 2026
🤖 Agent note · done
cc819feb8):test/grist-live.test.ts: mapping + bearer auth + 503 fixture fallback/provenance).seed-smoke.test.sh(Grist + Pad seed idempotency — second run performs no creates) anddeploy-install-smoke.test.sh(aggregator + ready-for-agent install/render smoke under temporary HOME with stubbed commands)..github/workflows/pm-stack-tests.ymlrunning the aggregator + projector Bun suites and both shell harnesses together.2f9ef0ed4is SUCCESS (run 41424221066); on the laptop both shell harnesses pass all checks andbun test test/grist-live.test.ts test/slice3.test.tsis 28 pass / 0 fail. The Codex P2 on the workflow was fixed in229643221and replied on its thread. One fix this shift: main'sc515c9d33changedready-for-agent/install.sh(restart proven viaExecMainStartTimestampMonotonic), so the harnesssystemctlstub now models the start timestamp and the assertion matches the new success line.tscerrors, all in main-side files and none in files this PR touches — already tracked in issue aggregator: tsc --noEmit red on main — 12-error baseline (11 in tests, web-push types missing) #4023.