LibreChat/api/server/controllers/agents/__tests__
Danny Avila 72ed15635e fix: Codex round 11 — pause recording, resume/abort preserve, Redis preserve TTL
- request.js: record a scheduled fire's HITL pause as requires_action before
  returning, so overlap/capacity (which key on 'started') stop counting it as
  active immediately instead of after the reconcile min-age delay.
- request.js: the late-abort finalization records the interrupted outcome first
  and only completeJob's when that write succeeded — leaving a preserved aborted
  job intact rather than overwriting it as an error job (which reconcile would
  count toward failure auto-disable).
- resume.js: gate the resume-failure completeJob on the outcome write, preserving
  the job for reconcile when it failed.
- RedisJobStore: a terminal updateJob without completedAt is the preserve signal,
  so retain the job hash on the longer running TTL (not the 300s completed TTL) —
  giving reconcile a window instead of a 5-minute race; it deletes the job after.
2026-07-21 23:56:03 -04:00
..
askUserQuestion.e2e.spec.js 🙋 feat: ask_user_question - agent-initiated questions with durable pause/resume (#14139) 2026-07-08 15:31:05 -04:00
callbacks.spec.js 🙊 refactor: Clarify Ask Question Schema Errors and Retry Guidance (#14279) 2026-07-15 11:06:29 -04:00
client.contextMetadata.spec.js 🪙 fix: Correct Context Usage Gauge After Summarization (#13744) 2026-06-14 18:23:30 -04:00
client.memory.spec.js
hitlCheckpoint.e2e.spec.js 🧹 feat: Eager HITL Checkpoint Cleanup (Expiry + Deletion) & Full-Wiring E2E (#14123) 2026-07-05 11:29:30 -04:00
jobReplacement.spec.js perf: Persist HITL checkpoints only on pause (lazy checkpointer) (#14024) 2026-07-05 08:30:06 -04:00
modelEndHandler.spec.js 💸 feat: Per-Agent Endpoint Token Config in Multi-Endpoint Billing (#13738) 2026-06-14 12:00:32 -04:00
openai.spec.js 🧾 fix: Bill Subagent Child-Run Model Usage in Parent Transactions (#13683) 2026-06-13 14:55:48 -04:00
request.resumeMetadata.spec.js fix: Codex round 10 — preserve failed-outcome jobs across error/abort, cleanup, cadence 2026-07-21 23:32:19 -04:00
responses.unit.spec.js 🎒 fix: Apply OCR Context to Responses API Agents and Handoffs (#13707) 2026-06-20 10:17:09 -04:00
resume.spec.js fix: Codex round 11 — pause recording, resume/abort preserve, Redis preserve TTL 2026-07-21 23:56:03 -04:00
steer.spec.js 🧭 feat: Mid-Run Steering and Queued Messages for Agent Runs (#14220) 2026-07-14 10:11:10 -04:00
usageEvents.integration.spec.js 🪙 refactor: Reconcile Context Gauge to Actual Provider Tokens (#13780) 2026-06-16 11:05:44 -04:00
usageEvents.live.spec.js 📊 feat: Real-Time Context Window & Token Usage Tracking (#13670) 2026-06-13 19:38:28 -04:00
v1.duplicate-actions.spec.js
v1.spec.js