merge: integrate review-11-session-expiry
This commit is contained in:
commit
6f4608635b
5 files changed
+91
-37
No files matched your search
@@ -88,9 +88,9 @@ export async function handleAiProLogs(ctx: AiProExecutionContext): Promise<AiPro
|
||||
|
||||
let runRecord: ApprovalRunRecord | null = null;
|
||||
if (runHandle) {
|
||||
runRecord = repo.getRunByHandle(runHandle);
|
||||
runRecord = repo.getRunByHandle(runHandle, undefined, { allowExpired: true });
|
||||
} else if (targetSn) {
|
||||
const maybeRun = repo.getRunByHandle(targetSn);
|
||||
const maybeRun = repo.getRunByHandle(targetSn, undefined, { allowExpired: true });
|
||||
if (maybeRun?.shortId && maybeRun.shortId.toUpperCase() === targetSn.toUpperCase()) {
|
||||
runRecord = maybeRun;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user