Skip to content

main CI failure: pm-aggregator tests (run 45889615843) #15718

Done

Description

@developing-today-fleet

Main CI failure detected by main-ci watch.

Failed test (1 fail, 3976 pass, 3977 tests):

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 tests issue is opened for the same head-SHA failure.

Activity

  1. added
    kind/bug
    task/small-fix
    status/needs-triage
    priority/high
    queue/queued
    source/ci-watch
    on Nov 26, 2026
  2. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    ContributorAuthor

    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.

  3. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    ContributorAuthor

    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.

  4. added
    effort/s
    meta/enriched
    on Nov 26, 2026
  5. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    ContributorAuthor

    Intake review

    🤖 Agent note · state: filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-26 15:14 CST
    • Found via: monitor reconciliation (intake, protocol §5)
    • Task: Intake enrichment — acceptance criteria appended, labels normalized, liveness checked.
    • Expectation: see the issue's queue task / assignee for the fix itself.
    • Links: n/a

    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.

  6. added
    stray-work
    epic/main-broken
    primary-parent/main-broken
    on Nov 26, 2026
  7. 13 remaining items

  8. dezren39 commented on Nov 27, 2026

    @dezren39
    Member

    Recheck — lane 0437-A-C, queue task 24370, 2026-11-27. Dispatched a fresh full pm-aggregator tests run on current main: run 45984323925 (head 159a8d111420242f6682dbac97e9debdb0b6b9f1). Result (run metadata only): workflow conclusion failure; job aggregator tests and typecheck failed 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: resolveBrokerAnswer mapping expectations and HOME-unset HomeUnresolvedError config 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.

  9. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    Recheck — lane oc-code-08, queue task 24370 (2026-11-27).

    Dispatched a fresh full pm-aggregator tests run on current main: 46029386029 (head 98103f9b). Result: workflow conclusion failure; job aggregator tests and typecheck failed 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 priming tests pass — PR #15754's fix remains intact.

    Remaining failures: 4x resolveBrokerAnswer (#14149), 1x webhook-listener vanished-item write-back, 6x loadConfig HOME-defaults (#8220) — all previously recorded — plus 3 new PM-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.

  10. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    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:number while that test still reads github: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.

  11. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    Recheck — lane oc-code-08, queue task 24370.

    Dispatched a fresh full pm-aggregator tests run on current main: 46043832873 (head d2e5ea98). Result: workflow conclusion failure; job aggregator tests and typecheck failed 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:

    The original /api/health provenance priming failure for this issue passes — PR #15754's fix remains intact. Acceptance (overall main-branch success) still awaits the owning-area remediations.

  12. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    agent-note:v1
    state: deduped recurrence
    Found via: main-ci watch

    Recurrence of pm-aggregator tests main-branch failure:

    • Run: https://github.com/developing-today/code/actions/runs/46065979204 (run 46065979204, workflow_dispatch, branch main, head SHA d4b6f2f, completed 2026-11-27T20:48:20Z)
    • Failed job: aggregator tests and typecheck — step Typecheck (bunx tsc --noEmit, exit 2)
    • Log excerpt: src/work-mobile-views.ts(288-290) TS2678 'needs_triage'/'recent'/'cold_backlog' not comparable to WorkView union; test/aa-explorer-computations.test.ts TS7006; test/actions-exec-apply*.test.ts TS2353/TS2322; test/work-mobile-views.test.ts TS2459 WorkView not exported.
    • Same failure step (Typecheck) as tracked run in this issue. No duplicate issue/task/session filed; live fix track retained (task 24370).
  13. added
    queue/claimed
    work/assigned
    status/in-progress
    on Nov 27, 2026
  14. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    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 --noEmit goes 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.

  15. added a commit that references this issue on Nov 27, 2026
  16. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    ContributorAuthor

    Lane code-g serve of queue task 24370. Fresh re-verify found new signal since the 00:00Z park:

  17. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    ContributorAuthor

    Agent note · fix verified green — lane oc-code-02, queue task 24370, 2026-11-28

    • Fix PR Fix pm-aggregator typecheck: 8 errors across 5 files (#15718) #16351 MERGED 2026-11-27T23:56:23Z (merge 1589e68d4349d307c739ca092d3ae8fb5173716e).
    • Post-merge verification run dispatched by lane code-g: https://github.com/developing-today/code/actions/runs/46087420159 — workflow pm-aggregator tests, workflow_dispatch on main, head 42f0f6c2 (contains the fix merge, behind_by 0).
    • Result: SUCCESS — all 5 jobs green, including aggregator tests and typecheck. Newest run of the workflow; the four preceding runs (46029386029, 46043832873, 46065695309, 46065979204) were all FAILURE.
    • The run-45889615843 failure is resolved. Closing as fixed; recurrence watch will file fresh on any new red.
  18. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/sepic/main-brokenkind/bugmeta/enrichedprimary-parent/main-brokenpriority/highqueue/claimedqueue/parkedsource/ci-watchstatus/in-progressstatus/parkedstray-worktask/small-fixwork/assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions