mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-17 13:33:45 +00:00
* 🪂 fix: Release Stalled MCP Catalog Recovery Without Dropping Refreshed Tokens Passive catalog recovery could hang forever when discovery hit an expired OAuth access token and the refreshed tokens' authorization-fence write stalled. The shared flight, every request coalesced onto it, and their process-wide catalog slots waited with it until capacity was exhausted. - Stop discovery's OAuth token wait at its deadline or abort without cancelling the shared token flow, so redeemed tokens still persist. - Stop recovery waiting on a discovery once its budget plus `mcpSettings.catalogRecovery.discoverySettleGraceMs` (default 10s) has passed, releasing the flight, its joiners, and their slots with backoff. - Add `waitUntilDeadline` for waits that must end without cancelling work. * 🪂 test: Rediscover Once a Released Flight's Refresh Publishes * 🪂 fix: Hold a Server's Recovery Until Its Released Discovery Settles * 🪂 fix: Scope Released-Discovery Holds to Observed State Under a Process-Wide Limit * 🪂 fix: Count Token Work a Discovery Hands Off at Its Deadline |
||
|---|---|---|
| .. | ||
| controllers | ||
| middleware | ||
| routes | ||
| services | ||
| utils | ||
| cleanup.js | ||
| csp.spec.js | ||
| experimental.js | ||
| experimental.spec.js | ||
| index.js | ||
| index.metrics.spec.js | ||
| index.spec.js | ||
| socialLogins.js | ||
| socialLogins.spec.js | ||
| telemetry.js | ||
| telemetry.spec.js | ||