fix(server): working timers no longer reset on every background wake (#15029)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
9333509c91
commit
736130c2fd
9 files changed
+245
-11
No files matched your search
@@ -1147,10 +1147,9 @@ export function sortInboxThreadsByReturn<
|
||||
);
|
||||
}
|
||||
|
||||
/** The timestamp a working thread's elapsed label counts from: the running
|
||||
turn's start (request time until adoption), falling back to the session's
|
||||
last transition when the turn projection lags behind. Malformed
|
||||
timestamps fall through to the next candidate, not just missing ones. */
|
||||
/** The timestamp a working thread's elapsed label counts from: when its
|
||||
current work started (request time until adoption). Background wakes do
|
||||
not reset it. Malformed timestamps fall through to the next candidate. */
|
||||
export function resolveWorkingStartedAt(
|
||||
thread: Pick<SidebarThreadSummary, "latestRun" | "runtime">,
|
||||
): string | null {
|
||||
|
||||
Reference in new issue
Block a user