mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
- cadence.ts: computeNextRunAt catches internally (throw -> null) so a malformed stored timezone disables the schedule (invalid_schedule) instead of throwing out of a tick every lease expiry. - GenerationJobManager: completeJob's error branch and abortJob now honor preserveForReconcile (retain the terminal job WITHOUT completedAt). - request.js: gate both the generation-error and init-error completeJob on the scheduled outcome write; preserve the job for reconcile when it failed. - routes/agents/index.js: record the aborted scheduled outcome BEFORE abortJob, and preserve the aborted job when that write failed. - engine.ts: reconcile deletes the retained job after finalizing from a complete/error/aborted status — the cleanup path for preserveForReconcile jobs (no completedAt) so they don't accumulate to the LRU bound. - clearReconciledJob dep added to ScheduleEngineDeps + wired in index.js. |
||
|---|---|---|
| .. | ||
| api | ||
| client | ||
| data-provider | ||
| data-schemas | ||