You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: cache refusal on an extension-protected route says "conditional routing requires cache disabled or no-store" #725
main @ 8260423. Found while implementing #703 (auth credential RateLimit on allowed responses), by reading packages/core/src/router.ts and hitting it in a test.
(with extensions.auth declared). The route is refused at startup, which is correct: protected responses must not be cached. But the message is:
/api/items: conditional routing requires cache disabled or no-store
The route has no match/conditional. The same assertion (router.ts ~106, and the response-header one after it) covers match, conditional, extension handlers and sensitive extension policies, and its message names only the first case.
Relevant output
Suggested: choose the message by the condition that fired, e.g. /api/items: routes protected by extension "auth" cannot be cached; use cache: {strategy: no-store} or remove cache, and likewise for extension handlers. Keep the conditional wording for match/conditional.
Activity
feat(core): authoring fixture/diff tools, automatic host revision pin…