Make stale-sie-503 actually return a 503#173
Conversation
stale-sie-503 was identical to stale-sie-close: its second request disconnected instead of returning a 503, so the stale-if-error-on- error-status path was never exercised. Return 503 like stale-503 does. Closes #167 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ReviewVerified against the engine and the sibling tests. This is correct and does what #167 asks. Scope — The diff is limited to the The change is the right shape:
It genuinely differs from
Consistency — The new shape mirrors the existing One minor nit, non-blocking: Verdict: LGTM — approve. The fix is minimal, correct, and restores the test's intended coverage. This is an AI-generated review (Claude Code), produced as part of a maintainer-directed review of the test suite. |
Fixes #167:
stale-sie-503was a byte-for-byte behavioral duplicate ofstale-sie-close— its second request useddisconnect: truerather than returning a 503, so the stale-if-error-on-error-status case was never tested. Its second request now returns503 Service Unavailable(mirroring the existingstale-503test) and expects a200served from the stale cache.Closes #167
🤖 This PR was generated by an AI agent (Claude Code) under human supervision, as part of a maintainer-directed review of the test suite.