Skip to content

aggregator: bunx tsc --noEmit reports 14 errors on main (aa-batches/quota/claude-adapter + 4 more test files) #10379

Closed

Description

@dezren39

Found by queue task 17245 (lane any-d) while shepherding PR #8159, verified 2026-11-14 on main fe2babd plus PR #8159's branch.

bunx tsc --noEmit in pm-stack/aggregator still reports 14 errors on current main, all in test files — a new drift set beyond the four files PR #8159 fixes (its scope: coverage/feed/roadmap-annotations/saas-extract-surrogate-7743, verified clean after that PR):

file errors
test/aa-batches.test.ts 6 — batch/batches/stale/staleReason do not exist on AaAbsentSection (TS2339 ×5 + TS7006 implicit any)
test/quota-actions-1174.test.ts 3
test/quota-exhaustion.test.ts 1
test/projects.test.ts 1
test/overview.test.ts 1
test/decisions-page.test.ts 1
test/claude-adapter.test.ts 1 — sync fetch stub not assignable to the async fetch type (TS2322)

Same shape as #8133: type narrowings landed without updating their test fixtures. No runtime impact (tests pass); the cost is a permanently red typecheck that hides the next real drift.

Repro: cd pm-stack/aggregator && bunx tsc --noEmit (needs the checkout's node_modules). Counts measured on main fe2babd with PR #8159 applied; on bare main the total is 22 including #8159's eight.

Activity

  1. added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    priority/normalOrdinary priority (the default)
    effort/sSmall: expected under 2 hours of work
    on Nov 14, 2026
  2. developing-today commented on Nov 14, 2026

    @developing-today
    Contributor
  3. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    and removed on Nov 14, 2026
  4. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged

    • Agent: triage-step
    • State: triaged
    • Verdict: task/small-fix — a bounded fix in pm-stack/aggregator test files. bunx tsc --noEmit reports 14 errors on main, all in test files whose fixtures were not updated when type narrowings landed. Not a duplicate of aggregator: bunx tsc --noEmit reports 8 errors on main (coverage/feed/roadmap/saas test files) #8133: that issue is closed and its fix PR fix(aggregator): typecheck the four drifted test files (#8133) #8159 is merged — this is the remaining drift set in seven other files.
    • Priority: priority/normal — per Drew's priorities brief line 5 (everything else by usefulness, not age alone): tests pass and no fleet path is stalled, so this is not the fleet-stalling breakage brief line 1 reserves the top band for, and it is not in the ID expedite set (brief line 2). (Label already on the issue; kept.)
    • Effort: effort/s (already on the issue; kept). Kind: kind/bug (already on the issue; kept).
    • First concrete step: reproduce with cd pm-stack/aggregator && bunx tsc --noEmit on current main, then start with test/aa-batches.test.ts (6 errors) — align its fixtures with the AaAbsentSection narrowing before reading batch/batches/stale/staleReason — then clear the remaining six files file by file.
    • Acceptance check: (1) bunx tsc --noEmit in pm-stack/aggregator reports 0 errors; (2) the aggregator bun test suite still passes; (3) changes confined to the seven named test files plus any minimal fixture/type corrections they require.
    • Fix packet: task 17334 enqueued in repo-health-code-pilot (dedupe repo-health:v1:fix:developing-today/code:issue:10379, priority 40, small_fix), read back queued; queue signal refreshed. No live task for this issue existed in any pilot queue before the enqueue (queued/claimed/parked/blocked checked on the laptop this run; the issue's sole prior comment is a Kaneo task link).
  5. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: picked-up
    task: 17334
    lane: code-d
    worker: repo-worker-code
    What: Fixing the 14 aggregator tsc --noEmit errors in the seven named test files (aa-batches, quota-actions-1174, quota-exhaustion, projects, overview, decisions-page, claude-adapter). Issue #10379 verified fresh: OPEN, labels kind/bug + task/small-fix, no hard stops. Scope is test files / minimal fixture-type corrections only — no runtime behavior changes.
    Next: reproduce on current main in a laptop worktree, fix per file, verify tsc 0 errors + the seven files' tests pass, open PR, merge, complete.

  6. added a commit that references this issue on Nov 14, 2026
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/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions