perf(run-logs): skip durable log restore for a proven-new run (#17367)

This commit is contained in:
Nicky Leach authored and GitHub committed 2026-10-23 14:30:06 -07:00
1 parent a967d479bd
commit 2e38649341
5 files changed
+171 -2

No files matched your search

@@ -292,6 +292,7 @@ model or rely on an LLM choosing the desired timing.
| Execution and cleanup both fail | Original execution error retained; cleanup error attached | `native-session-runtime.test.ts` |
| Retry in same process or after local log loss | Earlier attempts survive locally and in the durable mirror | Server `run-log-store.test.ts` |
| Two restores overlap and one appends before the other publishes | Complete prefix is published without replacement; both attempts survive | Server `run-log-store.test.ts` |
| New run whose row has no log reference, output sequence, or log size | No durable-mirror request; a later attempt with a recorded log reference still restores after local loss | Server `run-log-store.test.ts`, `heartbeat/run-output.test.ts` |
## Residual local trust and revocation window