mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-24 11:25:50 -06:00
test(gateway): isolate cache proof from runtime startup
Amp-Thread-ID: https://ampcode.com/threads/T-019fee8d-665d-707b-a380-23f2a6a1ce03 Co-authored-by: Peter Steinberger <steipete@gmail.com>
This commit is contained in:
@@ -66,6 +66,16 @@ describe("listSessionsFromStore resolver cache", () => {
|
||||
model: tuple.model,
|
||||
inputTokens: 100,
|
||||
outputTokens: 50,
|
||||
// Keep runtime selection outside this cache proof. ACP metadata gives
|
||||
// the row a concrete runtime without cold-loading provider plugins.
|
||||
acp: {
|
||||
backend: "acpx",
|
||||
agent: "codex",
|
||||
runtimeSessionName: `cache-proof-${i}`,
|
||||
mode: "oneshot",
|
||||
state: "idle",
|
||||
lastActivityAt: now,
|
||||
},
|
||||
} as SessionEntry;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user