LibreChat/api/server
Danny Avila 2529b22a66
🔕 fix: Log Lost Generation Predecessor Fences as Warnings (#16689)
A conditional generation create that loses its predecessor fence is an expected admission outcome: the store rejects before replacing anything, an automatic continuation defers without consuming an attempt, and a client restores its queued turn. Sibling background-tool wake-ups for one conversation race this fence by design, which logged every lost race as an initialization error with a stack.

Route the controller's initialization-failure log through a typed packages/api helper that logs a predecessor mismatch as a concise warning with the stream, conversation, continuation flag, and whether the current generation is active, and keeps every other failure at error level as redacted text.
2026-10-02 20:12:22 -04:00
..
controllers 🔕 fix: Log Lost Generation Predecessor Fences as Warnings (#16689) 2026-10-02 20:12:22 -04:00
middleware 📔 feat: Preserve Owner Text During PII Redaction (#16311) 2026-10-02 11:43:10 -04:00
routes ✅ feat: Default Machine Selection and Linked-Worktree Lanes On (#16678) 2026-10-02 20:08:35 -04:00
services 🪇 perf: Coalesce Ready Background Completions (#16650) 2026-10-02 15:03:22 -04:00
utils 📔 feat: Preserve Owner Text During PII Redaction (#16311) 2026-10-02 11:43:10 -04:00
cleanup.js
csp.spec.js 🔌 fix: Close Leaked HTTP Server in Server Specs (#15821) 2026-09-10 15:17:06 -04:00
experimental.js 🪇 perf: Coalesce Ready Background Completions (#16650) 2026-10-02 15:03:22 -04:00
experimental.spec.js 📼 fix: Replay Running Subagent Activity (#16541) 2026-10-02 13:24:47 -04:00
index.js 🪇 perf: Coalesce Ready Background Completions (#16650) 2026-10-02 15:03:22 -04:00
index.metrics.spec.js 🔌 fix: Close Leaked HTTP Server in Server Specs (#15821) 2026-09-10 15:17:06 -04:00
index.spec.js 📼 fix: Replay Running Subagent Activity (#16541) 2026-10-02 13:24:47 -04:00
socialLogins.js 🔁 feat: Retry OpenID Discovery After Startup Failures (#15899) 2026-09-13 23:16:26 -04:00
socialLogins.spec.js 🔁 feat: Retry OpenID Discovery After Startup Failures (#15899) 2026-09-13 23:16:26 -04:00
telemetry.js 🪵 feat: Add OpenTelemetry Logs Pipeline via Winston Bridge (#15565) 2026-09-03 21:16:09 -04:00
telemetry.spec.js 🪵 feat: Add OpenTelemetry Logs Pipeline via Winston Bridge (#15565) 2026-09-03 21:16:09 -04:00