GeezerVison is showing github.com — main CI failure: pm-console-edge deploy (run 45858452597) · Issue #15652 · developing-today/code
main CI failure: pm-console-edge deploy (run 45858452597) #15652DescriptionRun: https://github.com/developing-today/code/actions/runs/45858452597
Workflow: pm-console-edge deploy
Branch: main
Head SHA: f454d31
Event: push
Failed jobs: deploy pm-console-edge (step: Type-check the console)
Log excerpt (gh run view --log-failed, trimmed):
deploy pm-console-edge Type-check the console: npx tsc --noEmit -p ../tsconfig.json
##[error]../src/turso-admin.ts(75,12): error TS2322: Type 'unknown' is not assignable to type '"create-db" | "mint-token"'.
##[error]../test/stores-live.test.ts(73,116): error TS18048: 'r.response' is possibly 'undefined'.
##[error]../test/stores-live.test.ts(80,44): error TS2532: Object is possibly 'undefined'.
##[error]../test/stores-live.test.ts(206,83): error TS18048: 'r.response' is possibly 'undefined'.
##[error]Process completed with exit code 1.
Filed by main-ci-failure-fix-trigger (fleet). One fix track per failing workflow; duplicates are suppressed until this issue closes.
Prior tracker #15099 was verified CLOSED this pass, so this is a fresh round.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-26T16:32:04Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "4291c7d25d6699e6d0378dcce687f1935ec39c09"
},
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Acceptance criteria
- The four type errors from run 45858452597 are fixed at their source:
../src/turso-admin.ts(75,12) TS2322 (unknown not assignable to the "create-db" | "mint-token" union) and the three possibly-undefined r.response errors in ../test/stores-live.test.ts (lines 73, 80, 206).
npx tsc --noEmit -p ../tsconfig.json passes for the console, and the pm-console-edge deploy workflow is green on main after the fix.
Activitydeveloping-today-fleet commented on Nov 26, 2026 ContributorAuthor More actions
state: filed
Found via: main-ci watch
Run: https://github.com/developing-today/code/actions/runs/45858452597 — pm-console-edge deploy failed on main (push, sha f454d31) at job 'deploy pm-console-edge', step 'Type-check the console': turso-admin.ts TS2322 + stores-live.test.ts TS18048/TS2532. Prior tracker #15099 verified CLOSED, so this is a fresh round. Enqueue + dispatch follow in this pass. developing-today-fleet commented on Nov 26, 2026 ContributorAuthor More actions
state: enqueued, dispatch deferred
Task: 24290 on repo-health-code-pilot (queued). Session: none — dispatch deferred because session enumeration failed (session-count.py: session list payload has no 'data' array, conductor global-stop). Dispatch packet: hidden_files/dispatch-packets/dispatch-pending-code-15652.json. Lane shifts will work the queued task. developing-today-fleet commented on Nov 26, 2026 ContributorAuthor More actions agent-note:v1
state: deduped recurrence — main-ci watch 2026-11-26T17:00Z pass
Run: https://github.com/developing-today/code/actions/runs/45862663848 (workflow: pm-console-edge deploy, event push, branch main, head SHA fa6883c, completed 2026-11-26T16:52:53Z)
Failed job: deploy pm-console-edge — failed step: Type-check the console. Same step as tracked run 45858452597 on this issue.
No duplicate issue/task/session filed; live fix (task 24290) retained per main-ci dedupe rule. developing-today-fleet commented on Nov 26, 2026 ContributorAuthor More actions agent-note:v1
state: deduped recurrence — main-ci watch 2026-11-26
Found via: main-ci watch
New main failure run https://github.com/developing-today/code/actions/runs/45864806311 (pm-console-edge deploy, push, sha 5a32a31, completed 2026-11-26T17:06:41Z) failed job 'deploy pm-console-edge' at step 'Type-check the console' — same step as tracked run 45858452597. Existing live fix track retained (task 24290); no duplicate issue/task/session filed. dezren39 commented on Nov 26, 2026 developing-today-fleet commented on Nov 26, 2026 ContributorAuthor More actions Intake review
Related: CI run 45858452597 (pm-console-edge deploy, main @ f454d31); prior tracker #15099 verified closed, so per the filing this is a fresh round, not a recurrence of an open item.
Notes: Small, exactly-bounded failure: one real type error in src (turso-admin.ts:75 — an unknown flowing into a two-member string union, so the fix is a narrowing/parse at that boundary, not a cast) plus three strict-null errors in the live-stores test. No merged PR resolves it; the deploy workflow is red on main until fixed.
Risks: Low. The trap is silencing the test errors with non-null assertions where r.response can genuinely be absent — the criteria ask for the errors fixed at their source.
Suggested approach: Narrow the turso-admin result at its parse boundary; in the test, assert/handle the absent-response case explicitly. Type-check locally with the same tsc invocation CI uses.
Queue note: This issue carried queue/queued with no live task; the monitor enqueued triage task 24307 this run.
— fleet monitor (repo-fleet-monitor run 2026-11-26 11:14 CST) dezren39 commented on Nov 26, 2026 Main-CI watch recurrence (2026-11-26): run 45864806311 failed Type-check the console with the same turso-admin unknown action and stores-live r.response strict-null diagnostics as run 45858452597, plus a new test/pages.test.ts:459 wrong-arity diagnostic. Existing #15652/task 24290 remains claimed and investigating; no duplicate. developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions agent-note:v1 — main-ci watch recurrence (deduped)
Run https://github.com/developing-today/code/actions/runs/45944150979 (push, sha 8ddf523, completed 2026-11-27T05:31:29Z) failed again: job 'deploy pm-console-edge' at step 'Type-check the console' — same step as the tracked failure. This run completed late (below the watch watermark, still running at the prior pass scan).
State: deduped — live fix already tracked here; queue task 24290 is claimed/not terminal (verified this pass). No duplicate issue, task, or session filed.
Filed by main-ci-failure-fix-trigger (fleet). developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions
PR #15907 is merged as 3c44406. Its required post-merge pm-console-edge deploy run is #45945977244 on main at that exact SHA. As of 2026-11-27 05:48 UTC, the workflow and its only deploy job remain queued, with no steps started. The PR typecheck and three targeted Bun tests passed in Fleet run #45945341162. I am parking this task on the external run reaching a terminal result; resume by checking that result and closing #15652 only if it succeeds. dezren39 commented on Nov 27, 2026 🤖 Agent note · Lane 2352-B-C (bravo SUSTAIN, 2026-11-26 23:52 CST) — queue-vs-GitHub reconciliation, queue task 24290
Reconciled queue task 24290 against GitHub (metadata only; no CI logs read):
- PR fix(pm-console): satisfy strict edge typecheck for run 45934920007 (#15652) #15907 is MERGED — merged 2026-11-27T05:28:03Z, merge commit
3c4440640dc90556dae8078544f22d704816516d, head efcb226c94856456a8444a7be6f90a5d8a4be81f. The fix work is landed, not unlanded.
- The required post-merge verification has now concluded:
pm-console-edge deploy run 45945977244 on main at the exact merge SHA 3c444064 — status completed, conclusion failure (created 05:28:06Z, updated 05:53:01Z). This supersedes the parked checkpoint's "run still queued" state (checked 05:48Z). Cause unattributed — CI logs are a held class and were not read.
- Queue truth: task 24290 is parked,
not_before 2026-11-27T06:06:21Z, lease_until null, worker_id null — no live claim/lease exists to interfere with. Its last checkpoint (stage pr-open-waiting-main-verification) is stale on two counts: the PR is merged, and the main run has concluded.
- Disposition: main CI failure: pm-console-edge deploy (run 45858452597) #15652 correctly stays OPEN — its acceptance (a main-branch pm-console-edge deploy run concluding success) is not met. When task 24290 wakes at 06:06:21Z it should be re-claimed for a follow-on fix slice against the new failure at
3c444064, not completed. Do not close this issue on PR fix(pm-console): satisfy strict edge typecheck for run 45934920007 (#15652) #15907 alone.
developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions agent-note:v1 — main-ci watch recurrence (deduped)
Run 45945977244 (push, sha 3c44406, completed 2026-11-27T05:53:01Z) failed again on pm-console-edge deploy: job deploy pm-console-edge, step Test the console and its edge — 14 tests failed (815 pass) in the token/store-measurement area (e.g. "the tokens the platform holds are the secrets the list of stores names, each once", "read through the fleet binary: each held token's date, never its value…", "a rotated token is fetched again, once, and the store then answers").
Run: https://github.com/developing-today/code/actions/runs/45945977244
Note: this run is the post-merge verification run for PR #15907 (merged as 3c44406) named in task 24290's progress. The failure moved past the earlier type-check step to the test step. This issue and queue task 24290 remain the single live fix track — no duplicate filed. dezren39 commented on Nov 27, 2026 🤖 Agent note · Lane 0007-C-G (charlie ADVANCE, 2026-11-27 00:07 CST) — follow-on premise check for queue task 24290's wake
Full premise check done (issue + ALL comments + PR #15907 read via pooled fleet gh; metadata only — no CI logs read). Precise disposition: a follow-on code fix is NOT identifiable without the CI logs of run 45945977244. This is the CI-log held class (consolidated decision #2), not a vague park.
What is established from issue/PR/code alone:
- PR fix(pm-console): satisfy strict edge typecheck for run 45934920007 (#15652) #15907 is MERGED (merge commit
3c4440640dc90556dae8078544f22d704816516d, head efcb226c…). Its three strict-typecheck fixes landed; the type-check step is no longer the failure.
- Post-merge verification run 45945977244 (main @
3c444064, completed failure 2026-11-27T05:53:01Z) failed at a different, later step: Test the console and its edge — 14 tests failed / 815 passed, in the token/store-measurement area (per the main-ci watch note already on this issue: e.g. "the tokens the platform holds are the secrets the list of stores names, each once", "read through the fleet binary: each held token's date, never its value…", "a rotated token is fetched again, once, and the store then answers").
- Code-side check performed: those tests are hermetic stand-in tests (
pm-stack/console/test/tokens.test.ts, stores-live.test.ts) whose only external input is pm-stack/platform/stores.json. I verified that file on current main (16bb7f72c35e…): it still names exactly the three turso tokens the tests hardcode (fleet-queue / fleet-platform / fleet-mirror) — so the one failure cause readable from code (stores.json data drift) is ruled out.
What cannot be determined without the logs: the actual assertion diffs / error values for the 14 failures. The remaining candidate causes — cross-test state pollution when the full suite runs together, runner-environment differences, or a runtime regression in src/tokens.ts / src/store-live.ts / src/ops.ts — are indistinguishable from source reading alone; the tests pass in isolation in prior lanes' targeted runs (29/29 cited on PR #15907 for its files).
Wake / unblock condition (exact): Drew's go-ahead to read CI logs for this class (consolidated decision #2) — specifically the Test the console and its edge step log of run 45945977244 — OR a log excerpt for that step posted on this issue by the main-ci watch / another lane. On either, re-claim queue task 24290 and fix the named assertions at source. Until then: #15652 stays OPEN, acceptance (a main pm-console-edge deploy run concluding success) is NOT met, and no speculative code change should be made — a blind edit here risks masking a real token/store regression. developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions agent-note:v1
state: deduped recurrence
Found via: main-ci watch (main-ci-failure-fix-trigger, fleet)
Run: https://github.com/developing-today/code/actions/runs/45951825380 (workflow pm-console-edge deploy, branch main, head 02fc2bd, event push, late-completing — updated 2026-11-27T06:35:20Z after prior pass)
Failed job: deploy pm-console-edge — step 'Test the console and its edge'
This issue (#15652) is OPEN and its queue task 24290 is retained (task state could not be cleanly verified this pass — fleet queue show returned empty — so per dedupe rule the fix is treated as live). No duplicate issue/task/session filed. developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions Recurrence (main-ci watch, fresh reads): pm-console-edge deploy run 45951825380 (push, head 02fc2bd = merge #15955, completed 2026-11-27T06:35:20Z) failed at job 140349209941 step 'Test the console and its edge' with the SAME signature as the merge-commit run 45945977244: 14 fail / 816 pass / 830 tests across 39 files (30.59s), same token/store-measurement test names (token list, near-expiry notification, size/counts/schema reads, rotation re-fetch, screen words, installed/forget/host-first-report/Cloudflare-words). Head 02fc2bd contains the #15907 typecheck fix, so the typecheck stage is past and the red is now purely these 14 test assertions. Run: https://github.com/developing-today/code/actions/runs/45951825380. No duplicate issue/task/session — task 24290 (CLAIMED, lease to 2026-11-27T10:06:30Z) remains the single live fix track; this is evidence for it. developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions agent-note:v1 — oc-code-06 / task 24290: resumed the failed post-merge run 45945977244. Logs identify ten cascading failures from rejecting migrated D1 gateway addresses, plus stale service-worker/health expectations and missing refusal wording. Follow-on PR #16094 fixes those sources; 328 focused console tests pass. Reviewer confirmed the gateway pipeline protocol. Full console/typecheck/platform inventory verification: https://github.com/developing-today/fleet/actions/runs/45985207342 . Issue stays open until a main deploy succeeds. developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions oc-code-06 / task 24290 checkpoint: PR #16094 merged as 5b06ebc. Main deploy https://github.com/developing-today/code/actions/runs/45985434339 is in progress at that exact SHA. Task parked for five minutes with an external-run wake condition; issue remains open pending success. Branch head760ccec7035526012fc32814f98975a0e379c649; 328 focused tests pass; full remote verification45985207342 still initializing its runner. dezren39 commented on Nov 27, 2026 agent-note:v1
state: deduped recurrence — main-ci watch
run: https://github.com/developing-today/code/actions/runs/45985434339
workflow: pm-console-edge deploy (branch main, event push, head SHA 5b06ebc, completed 2026-11-27T10:51:07Z)
failed job: deploy pm-console-edge — step 'Test the console and its edge' (same step as tracked run 45951825380)
note: Recurrence of the failure already tracked by this issue. No duplicate issue, task, or session filed per the main-ci watch dedupe rule (one live fix per failing workflow). Existing fix task 24290 retained.
Found via: main-ci watch (main-ci-failure-fix-trigger, fleet) developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions oc-code-06 / task24290: main run45985434339 now passes830 tests and fails one newly drifted native-row assertion (resume_session_id:null). PR #16106 asserts the null default explicitly before excluding that native-only column from hosted TaskRow equality; reviewed against schema and enqueue normalization, merged bc17342. Prior Fleet verification never ran tests due to deleted-branch checkout. Replacement45986235037 targets the fix commit; main deployment verification is next. Issue remains open. developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|