fixup! feat(hooks/atlas): use getWorkForSession in boulder lookups and session tracking
This commit is contained in:
@@ -28,6 +28,10 @@ export async function syncBackgroundLaunchSessionTracking(input: {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (typeof toolInput.sessionID !== "string") {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
const trackedWork = getWorkForSession(ctx.directory, toolInput.sessionID)
|
const trackedWork = getWorkForSession(ctx.directory, toolInput.sessionID)
|
||||||
const extractedSessionId = metadataSessionId ?? extractSessionIdFromOutput(toolOutput.output)
|
const extractedSessionId = metadataSessionId ?? extractSessionIdFromOutput(toolOutput.output)
|
||||||
const lineageSessionIDs = trackedWork?.session_ids ?? boulderState.session_ids
|
const lineageSessionIDs = trackedWork?.session_ids ?? boulderState.session_ids
|
||||||
|
|||||||
Reference in New Issue
Block a user