| … | … | @@ -114,7 +119,15 @@ export function resolveUsageLimitsAfterProbe(input: { | |
| 127 | + | ...(published.overageAllowed !== undefined | |
| 128 | + | ? { overageAllowed: published.overageAllowed } | |
| 129 | + | : {}), | |
| 130 | + | }; | |
🟠 High server/usageLimits.ts:122
A window-only update that advances published.checkedAt makes this branch replace the probe's overageAllowed: true with stale false (or omit it), so exhaustedUsageWindow continues triggering fallback despite usable overage. checkedAt reflects the window update, not permission freshness; preserve probed.overageAllowed unless there is a separate signal that the published permission is newer.
No longer relevant as of 38a513635f079bc32d9ee16333c8353776bb01f2