Clear finished jobs' steps a minute after they end
Job steps (bots_queue_updates) only feed the live working row, so the new clear-job-steps cron deletes them shortly after a job ends, however it ended, keeping their count on bots_queue.steps for the message details. Not done the moment a job ends: the live relay would miss the last ones. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
+1
-1
@@ -1581,7 +1581,7 @@ export type MessageDetailsJob = {
|
||||
started_at: number | null;
|
||||
finished_at: number | null;
|
||||
/**
|
||||
* How many model turns and notes it recorded (`bots_queue_updates`).
|
||||
* How many model turns and notes it recorded (`bots_queue.steps` once cleared, plus any `bots_queue_updates` left).
|
||||
*/
|
||||
steps: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user