fix(providers): retry transient Codex response failures (#1332)

* fix(providers): retry transient Codex response failures

* test(cron): tolerate nil session store in handler tests
This commit is contained in:
Zezae Oh authored and GitHub committed 2026-07-03 07:54:40 +07:00
1 parent fabe86b3de
commit 360fe30a8e
5 files changed
+148 -12

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ func makeCronJobHandler(sched *scheduler.Scheduler, msgBus *bus.MessageBus, cfg
// multi-run dialog.
// Save() persists the empty session to DB so stale data won't reload
// after restart (#294).
if job.Stateless {
if job.Stateless && sessionMgr != nil {
sessionMgr.Reset(cronCtx, sessionKey)
sessionMgr.Save(cronCtx, sessionKey)
}