LibreChat/packages/api/src
Marco Beretta 7f597b4787
Some checks are pending
Backend Unit Tests / Build packages (push) Waiting to run
Backend Unit Tests / Codegraph select (push) Waiting to run
Backend Unit Tests / TypeScript type checks (push) Blocked by required conditions
Backend Unit Tests / Circular dependency checks (push) Waiting to run
Backend Unit Tests / Tests: api (shard 1/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 2/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
🧊 fix: Fence Auth User Cache Writes After Eviction and Evict Favorite Holders (#17505)
* fix: Fence Auth User Cache Writes After Eviction and Evict Favorite Holders

An eviction now leaves a per-user fence in the auth user cache that outlives
every document read before it. The reader skips a cached document while its
user is fenced, and a lookup slower than one cache TTL is not cached, so a
request that read the user before a change can no longer repopulate the cache
afterwards, and a document the reverse index lost is hidden as well. Role and
user methods share one bulk eviction helper, and the terms reset only waits
out the TTL when an eviction failed.

Deleting an agent, deleting a user's agents and removing an agent from
favorites now evict the cached auth documents of the users whose favorites
changed.

* fix: Anchor Cached Auth Document Expiry to the Lookup Start

A stalled reverse-index write could land a stale document after the eviction
fence expired, with a fresh TTL. The document now carries an expiry two cache
TTLs after its lookup began; its Redis TTL is computed after the index write
and the reader refuses it past that expiry.

* refactor: Time the Auth User Lookup in the API Package

The lookup start that anchors a cached document's lifetime is now stamped by
timeAuthUserLookup in packages/api, so the OpenID JWT strategy only wires the
lookup through it.

* fix: Wait Out the Full Cached Document Lifetime After Failed Eviction

A document read just before a change can live two cache TTLs from its lookup,
so a credential change or terms reset whose eviction failed now waits that
long before reporting success.

* fix: Recheck Cached Auth Document Expiry After the Fence Read

A fence read that stalls can return after both the fence and the document
expired, so the reader checks the document's expiry again before serving it.
2026-10-29 17:44:51 +01:00
..
acl
actions
admin 🔑 fix: Drop Legacy Langfuse Ingestion Check from Connection Test (#17581) 2026-10-29 15:56:09 +01:00
agents 🧮 refactor: Move Pure Part Helpers Into the Chat Package (#17520) 2026-10-29 14:42:01 +01:00
apiKeys
app fix(metrics): preserve Insights request paths (#17151) 2026-10-29 15:56:39 +01:00
artifacts
assistants ✒️ fix: Bind Assistant Avatar Updates to Authorized Owners (#17391) 2026-10-24 10:16:16 +02:00
auth 🧊 fix: Fence Auth User Cache Writes After Eviction and Evict Favorite Holders (#17505) 2026-10-29 17:44:51 +01:00
cache 🗂️ perf: Index Hot Lookups and Fix the Message Cursor (#17464) 2026-10-28 00:55:02 +01:00
cdn
clientlimits 🪶 fix: Time Out Client Refresh and Trim Lodash Imports (#17467) 2026-10-27 23:30:08 +01:00
cluster
code 🪵 fix: Explain Failed Attachment Copies and Subagent Start-Up Failures (#17398) 2026-10-24 08:51:38 +02:00
conversations
crypto
db 🏨 fix: Restore Strict Tenant Startup and Sign-In (#17441) 2026-10-26 01:08:30 +01:00
endpoints 🧬 feat: Re-Derive Azure Groups, Vertex AI, Custom Parameters and Spec Defaults for Config Profiles (#17399) 2026-10-24 11:46:01 +02:00
favorites 🧊 fix: Fence Auth User Cache Writes After Eviction and Evict Favorite Holders (#17505) 2026-10-29 17:44:51 +01:00
files ⏱️ fix: Bound Remaining Outbound Calls With Timeout Budgets (#17468) 2026-10-29 09:55:18 +01:00
flow 🔐 fix: Fence ACL Viewers and Surface Revocation Failures When Removing Shared MCP Servers (#17506) 2026-10-28 00:37:07 +01:00
html
images ✒️ fix: Bind Assistant Avatar Updates to Authorized Owners (#17391) 2026-10-24 10:16:16 +02:00
insights
langfuse ⬆️ feat: Migrate to Zod v4 (#17442) 2026-10-26 14:16:22 +01:00
mcp 🔐 fix: Fence ACL Viewers and Surface Revocation Failures When Removing Shared MCP Servers (#17506) 2026-10-28 00:37:07 +01:00
memory
messages 🗂️ perf: Index Hot Lookups and Fix the Message Cursor (#17464) 2026-10-28 00:55:02 +01:00
middleware 🧯 fix: Guard SSE Writes and Interval Cleanups Against Crashes (#17462) 2026-10-27 23:06:58 +01:00
modelSpecs 📌 fix: Keep the Composer Thinking Level for the Rest of the Conversation (#17497) 2026-10-28 19:11:07 +01:00
oauth 🫢 fix: Keep OAuth Credentials Out of Logs (#17409) 2026-10-24 09:43:06 +02:00
openapi ⬆️ feat: Migrate to Zod v4 (#17442) 2026-10-26 14:16:22 +01:00
plugins
projects 🪠 fix: Erase Vectors in Their Recorded Namespaces (#17457) 2026-10-26 22:26:11 +01:00
prompts 🏎️ perf: Parallelize Independent Agent and Schedule Lookups (#17465) 2026-10-28 18:59:16 +01:00
protection
pulls 🔎 fix: Quiet Initial PR Discovery Failures and Add Safe Diagnostics (#17436) 2026-10-25 23:18:10 +01:00
rum
schedules 🏎️ perf: Parallelize Independent Agent and Schedule Lookups (#17465) 2026-10-28 18:59:16 +01:00
security
shared-links 📊 feat: Let Deployments Skip the Analytics Consent Prompt (#17552) 2026-10-29 08:55:00 +01:00
skills 🧯 fix: Guard SSE Writes and Interval Cleanups Against Crashes (#17462) 2026-10-27 23:06:58 +01:00
storage ⏱️ fix: Bound Remaining Outbound Calls With Timeout Budgets (#17468) 2026-10-29 09:55:18 +01:00
stream 🛟 fix: Promote Reconciled Compaction Snapshots to the Terminal Row (#16553) 2026-10-28 11:13:50 +01:00
telemetry
tools 🧯 fix: Return Approved Tool and Generation Error Text Instead of Raw Exceptions (#17508) 2026-10-28 00:39:01 +01:00
traces
types
user 🔐 fix: Fence ACL Viewers and Surface Revocation Failures When Removing Shared MCP Servers (#17506) 2026-10-28 00:37:07 +01:00
utils 🚦 fix: Stop Queued Lookups After the First Concurrent Failure (#17557) 2026-10-29 10:04:18 +01:00
web
credentials.spec.ts
credentials.ts
imports.spec.ts
imports.ts
index.spec.ts 🧬 feat: Re-Derive Azure Groups, Vertex AI, Custom Parameters and Spec Defaults for Config Profiles (#17399) 2026-10-24 11:46:01 +02:00
index.ts 🪶 fix: Time Out Client Refresh and Trim Lodash Imports (#17467) 2026-10-27 23:30:08 +01:00
telemetry.ts