litellm/tests/test_litellm/proxy/discovery_endpoints
mateo-berri 9440dbac74 perf: cache repacked Agent Skills archives per skill version
The well-known index needs every stored upload repacked to publish its
digest, and both routes are unauthenticated, so each request was rebuilding
every archive on the event loop. With 21 stored skills the index took ~2s and
/health/liveliness on the same worker went from 1ms to 1.7s under two
concurrent index requests.

Repacking now runs off the event loop and each result is cached per skill
version, so a worker builds an archive once until the skill changes. The
archive route also declares application/zip in OpenAPI rather than JSON.
2026-09-06 03:20:37 -07:00
..
test_agent_skills_archive.py feat(proxy): serve registered skills as an Agent Skills well-known index 2026-09-06 02:45:23 -07:00
test_agent_skills_endpoints.py perf: cache repacked Agent Skills archives per skill version 2026-09-06 03:20:37 -07:00
test_ui_discovery_endpoints.py feat(auth): enforce configurable password policy and SSO-only login (#39381) 2026-09-02 14:28:13 -07:00