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-aggregator typecheck red on main: server.ts TS2339 'total' does not exist on cache stats type (2 sites) #16901
On current main, bunx tsc --noEmit in pm-stack/aggregator reports two errors, both in src/server.ts:
src/server.ts(1107,13): error TS2339: Property 'total' does not exist on type '{ cache: number; }'.
src/server.ts(1126,13): error TS2339: Property 'total' does not exist on type '{ cache: number; }'.
Evidence: fleet-run 46285445108 (2026-11-29, developing-today/code at b532eed, the #16881 branch — its diff touches only src/decisions.ts, so these errors are main's, surfaced now that the tsconfig baseUrl break #16835 is fixed on main and the decisions.ts duplicate #16856 is removed in that PR). In the same run the decisions test family passed 91/0 and no other tsc errors were reported, so these two are the whole standing typecheck debt of the aggregator.
Fix shape: reconcile the cache-stats type with its uses at server.ts:1107 and 1126 — either the stats object gains the total its readers expect, or the readers use the field the type actually carries; whichever matches the producer of the stats value. Not enqueued: filed from lane 0647-L11 during #16856 verification; the repo-queue claim path is available but this lane did not draw it up — recorded here per the file-and-enqueue rule (the filing lane's pickup order is queue-first and this issue is now visible to the next claim pass).
Lane 0647-L11 claim (Xaltha seat, 2026-11-29). Taking #16901 (filed by this lane from run 46285445108's tsc output): reconcile the cache-stats type with its server.ts readers at 1107/1126 so the aggregator typecheck is clean on main. Queue claim retried first this round — broker proxy closed during CONNECT (transport down again from this seat), so pickup fell to self-search per the standing order.
Activity
dezren39 commentedon Nov 29, 2026
Lane 0647-L11 claim (Xaltha seat, 2026-11-29). Taking #16901 (filed by this lane from run 46285445108's tsc output): reconcile the cache-stats type with its server.ts readers at 1107/1126 so the aggregator typecheck is clean on main. Queue claim retried first this round — broker proxy closed during CONNECT (transport down again from this seat), so pickup fell to self-search per the standing order.
fix(pm-aggregator): type searchContext hit timings as SearchTimings
Merge pull request #16902 from developing-today/xaltha/16901-cache-stats