perf(gateway): reduce sessions.list read amplification under streaming load (#118207)

* perf(gateway): reduce sessions list read amplification

* test(gateway): stabilize title batch perf proof

* fix(gateway): satisfy sessions list CI contracts

* perf(gateway): reuse warm batch title fields

* fix(gateway): satisfy strict title cache types

* test(gateway): use transcript write scope in cache test

* fix(gateway): fence session list cache on active runs

* refactor(infra): extract agent run registry

* fix(infra): keep run-registry context types module-local
This commit is contained in:
Peter Steinberger
2026-08-02 16:08:07 -07:00
committed by GitHub
parent f23a0c8fcf
commit 88d6a2c8d6
83 changed files with 2056 additions and 737 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ describe("audit-seams cron seam classification", () => {
const source = `
import { runCliAgent } from "../../agents/cli-runner.js";
import { runWithModelFallback } from "../../agents/model-fallback-runner.js";
import { registerAgentRunContext } from "../../infra/agent-events.js";
import { registerAgentRunContext } from "../../infra/agent-run-registry.js";
import { deliverOutboundPayloads } from "../../infra/outbound/deliver.js";
import { buildOutboundSessionContext } from "../../infra/outbound/session-context.js";