fix(types): align restart sentinel and typing test mocks

This commit is contained in:
Peter Steinberger
2026-02-18 18:25:14 +00:00
parent 0def1ac1d2
commit 307719abe9
2 changed files with 3 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ export async function scheduleRestartSentinelWake(_params: { deps: CliDeps }) {
const { baseSessionKey, threadId: sessionThreadId } = parseSessionThreadInfo(sessionKey);
const { cfg, entry } = loadSessionEntry(sessionKey);
const parsedTarget = resolveAnnounceTargetFromKey(baseSessionKey);
const parsedTarget = resolveAnnounceTargetFromKey(baseSessionKey ?? sessionKey);
// Prefer delivery context from sentinel (captured at restart) over session store
// Handles race condition where store wasn't flushed before restart