Repository navigation
Done
Labels
effort/sSmall: expected under 2 hours of workepic/main-brokenEpic: main-broken - all issues of this effort carry itkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedprimary-parent/main-brokenPrimary parent epic main-broken (design §3)priority/highImportant and time-sensitivequeue/claimedQueue worker lifecycle statequeue/parkedQueue task is parked (waiting on CI, time, or an event)source/ci-watchFiled by main-ci watchstatus/in-progressQueue worker lifecycle statestatus/parkedDeliberately paused with a recorded resume conditionstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)task/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state
Description
Main CI failure detected by main-ci watch.
- Run: https://github.com/developing-today/code/actions/runs/45889615843
- Workflow: pm-aggregator tests
- Branch: main
- Head SHA: 8b94770
- Event: workflow_dispatch
- Failed jobs: aggregator tests and typecheck (step: Run aggregator tests)
Failed test (1 fail, 3976 pass, 3977 tests):
- /api/health provenance priming (fix(aggregator): provenance is lazily populated per process — /api/health reports "fixtures" for facets not yet loaded since boot #1267) > the first-ever response reports the live facets truthfully
Log excerpt (trimmed):
aggregator tests and typecheck Run aggregator tests (fail) /api/health provenance priming (#1267) > the first-ever response reports the live facets truthfully [0.30ms]
3976 pass
1 fail
70124 expect() calls
Ran 3977 tests across 323 files. [46.03s]
##[error]Process completed with exit code 1.
Prior tracker #15658 for this workflow is CLOSED, so this is a fresh round per main-ci watch dedupe rules.
Filed by main-ci-failure-fix-trigger (fleet). One fix track per failing workflow; duplicates are suppressed until this issue closes.
{
"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-26T20:22:51Z",
"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 pm-aggregator test suite passes on main, including
/api/health provenance priming (#1267) > the first-ever response reports the live facets truthfully. - The failure is fixed at its cause (provenance priming behaviour or the test's expectation, whichever is wrong) — not by skipping or deleting the test.
- No new
main CI failure: pm-aggregator testsissue is opened for the same head-SHA failure.
Metadata
Metadata
Assignees
Labels
effort/sSmall: expected under 2 hours of workepic/main-brokenEpic: main-broken - all issues of this effort carry itkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedprimary-parent/main-brokenPrimary parent epic main-broken (design §3)priority/highImportant and time-sensitivequeue/claimedQueue worker lifecycle statequeue/parkedQueue task is parked (waiting on CI, time, or an event)source/ci-watchFiled by main-ci watchstatus/in-progressQueue worker lifecycle statestatus/parkedDeliberately paused with a recorded resume conditionstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)task/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state
Activity
developing-today-fleet commentedon Nov 26, 2026
state: filed
Found via: main-ci watch
Run: https://github.com/developing-today/code/actions/runs/45889615843 — pm-aggregator tests failed on main (workflow_dispatch, sha 8b94770). Failed job: aggregator tests and typecheck at Run aggregator tests — 1 fail: /api/health provenance priming (#1267) > the first-ever response reports the live facets truthfully. Prior tracker #15658 verified CLOSED this pass, so this is a fresh round. Enqueue + dispatch follow in this pass.
developing-today-fleet commentedon Nov 26, 2026
state: enqueued; dispatch deferred
Binding: issue #15718 ↔ queue task 24370 (repo-health-code-pilot) ↔ session: none yet.
Dispatch deferred this pass: session enumeration failed (session-count.py: session list payload has no 'data' array — conductor global-stop). Prepared dispatch packet: hidden_files/dispatch-packets/dispatch-pending-code-15718.json. Task remains queued; lane shifts will work it. Pool intended: opencode-route/workhorse.
developing-today-fleet commentedon Nov 26, 2026
Intake review
🤖 Agent note · state: filed
Related: run https://github.com/developing-today/code/actions/runs/45889615843 (head 8b94770); the failing test references #1267 (health provenance priming). A live queue task for this issue is claimed by main-ci-watch, so this intake is bookkeeping only.
Notes: single failure out of 3,977 tests — could be a genuine priming-order bug or a flake; the worker should check reproducibility before changing code.
Risks: a first-response-only bug is timing-sensitive and may not reproduce locally.
Suggested approach: re-run the single test in isolation and in suite order; if it only fails cold, inspect the provenance priming path for first-response facet reporting.
13 remaining items
dezren39 commentedon Nov 27, 2026
Recheck — lane 0437-A-C, queue task 24370, 2026-11-27. Dispatched a fresh full
pm-aggregator testsrun on current main: run 45984323925 (head159a8d111420242f6682dbac97e9debdb0b6b9f1). Result (run metadata only): workflow conclusion failure; jobaggregator tests and typecheckfailed at step Run aggregator tests; all other jobs (notify-relay, contract corpus, browser acceptance, projector) succeeded.So the acceptance condition — a main-branch pm-aggregator run concluding success — is still unmet, and the failure is again in the aggregator test step (the signature recorded at 05:43Z:
resolveBrokerAnswermapping expectations and HOME-unsetHomeUnresolvedErrorconfig tests, owned by #14149 / #8220 tracks). PR #15754's original health-priming fix remains intact. Keeping #15718 open and parked until those owning-source fixes land; next lane should re-dispatch the full workflow after they merge.developing-today-fleet commentedon Nov 27, 2026
Recheck — lane oc-code-08, queue task 24370 (2026-11-27).
Dispatched a fresh full
pm-aggregator testsrun on current main: 46029386029 (head98103f9b). Result: workflow conclusion failure; jobaggregator tests and typecheckfailed at step Run aggregator tests (4065 pass, 14 fail); all other jobs green. Typecheck step skipped (test step failed first).The original
/api/health provenance primingtests pass — PR #15754's fix remains intact.Remaining failures: 4x
resolveBrokerAnswer(#14149), 1x webhook-listener vanished-item write-back, 6xloadConfigHOME-defaults (#8220) — all previously recorded — plus 3 newPM-core schedule registry coverage(#16056) failures (Surface 6 rows for quota refresh / fleet-feed collection / legacy-timer coexistence missing from the rendered surface).Notable: owning issues #14149, #8220 and #16056 are all CLOSED while their tests still fail on main — those closures look premature or a regression landed since. Parking the fix task until these areas are green; the next recheck should rerun the full workflow on current main and require overall success.
developing-today-fleet commentedon Nov 27, 2026
Recheck — issue-sweep run 2026-11-27T11:20 CST. No newer main run than 46029386029 (head 98103f9, conclusion failure); oc-code-08's 14-failure signature stands and no dispatch was warranted (main moved, but the owning-source failures are unchanged on current main per local runs).
One of the 14 is fixed in flight: the webhook-listener vanished-item write-back failure is a stale artifact-ID assertion in the test itself, not a product bug. Main migrated artifact IDs to
gh:repo#kind:numberwhile that test still readsgithub:developing-today/code#issue/4242(lookup returns null → directParentNumber undefined). Reproduced failing on a clean origin/main worktree; passes with the corrected ID in PR #16247 (which also resolves the #16011 merge conflicts). Remaining 13 (resolveBrokerAnswer ×4, loadConfig HOME ×6, schedule-registry ×3) reproduce identically on clean main and are unaffected by #16247.No dispatch, no close — acceptance (full green main run) still unmet. Next: re-dispatch after #16247 merges to confirm 14→13, then owning-source fixes for the rest.
developing-today-fleet commentedon Nov 27, 2026
Recheck — lane oc-code-08, queue task 24370.
Dispatched a fresh full
pm-aggregator testsrun on current main: 46043832873 (headd2e5ea98). Result: workflow conclusion failure; jobaggregator tests and typecheckfailed at step Run aggregator tests (13 fail); all other jobs green. Typecheck step skipped (test step failed first).Progress vs run 46029386029 (14 fail): the webhook-listener vanished-item write-back failure is gone — PR #16247 (native parents in sweeper/webhook) resolved it.
Remaining 13 failures, all in owning areas whose issues closed while red:
loadConfigHOME-derived defaults (home-resolution contract: disposition the os.homedir() surface against #5762 #8220)resolveBrokerAnswer/ radio-checklist (Generalised question schema: per-type answer resolution into the decide envelope #14149)The original
/api/health provenance primingfailure for this issue passes — PR #15754's fix remains intact. Acceptance (overall main-branch success) still awaits the owning-area remediations.developing-today-fleet commentedon Nov 27, 2026
agent-note:v1
state: deduped recurrence
Found via: main-ci watch
Recurrence of pm-aggregator tests main-branch failure:
Fix pm-aggregator typecheck: 8 errors across 5 files (#15718)
developing-today-fleet commentedon Nov 27, 2026
Progress — lane oc-code-03, queue task 24370
Typecheck fix PR open: #16351. Run 46065979204 (head d4b6f2f, 20:47Z) failed the Typecheck step with 8 errors across 5 files, so the aggregator test step never ran. The PR fixes all 8 at cause (3 dead switch cases in work-mobile-views.ts, 2 untyped test lambdas, 1 over-wide incident literal, 1 widened decide mock, 1 mis-sourced type import);
bunx tsc --noEmitgoes from 8 errors to exit 0, and the 4 touched test files pass 67/67. No runtime behavior changes.Acceptance still awaits: (1) this PR merging, then (2) the owning-area aggregator-test remediations (loadConfig x6, resolveBrokerAnswer x4, schedule-registry x3 per run 46043832873), then a full main-branch pm-aggregator run concluding success.
Next: after #16351 merges, re-dispatch the full pm-aggregator workflow on current main and require overall success.
Merge pull request #16351 from developing-today/queue/24370-15718-typ…
developing-today-fleet commentedon Nov 28, 2026
Lane code-g serve of queue task 24370. Fresh re-verify found new signal since the 00:00Z park:
developing-today-fleet commentedon Nov 28, 2026
Agent note · fix verified green — lane oc-code-02, queue task 24370, 2026-11-28
1589e68d4349d307c739ca092d3ae8fb5173716e).pm-aggregator tests,workflow_dispatchonmain, head42f0f6c2(contains the fix merge, behind_by 0).aggregator tests and typecheck. Newest run of the workflow; the four preceding runs (46029386029, 46043832873, 46065695309, 46065979204) were all FAILURE.developing-today-fleet commentedon Nov 28, 2026
Closed as implemented. Closing as implemented: pm-aggregator tests workflow is green on main post-#16351 (run 46087420159, all 5 jobs success, head 42f0f6c). See verification note above for full evidence.