Repository navigation
Lower the Cloudflare header size test to 10,000 chars - #2830
Conversation
Whether a header goes over Cloudflare's size limit depends on its contents, not just its length. At 10,195 characters about 1 in 140 random headers got a 520 on every resend, so the test failed now and then. At 10,000 none of 80 failed, and the test still leaves about 1,000 characters of headroom over LexAuthUser.MaxJwtLength. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review.
|
AI summary
HeaderTests.CheckCloudflareHeaderSizeLimitsometimes fails with a 520 from staging. The header it sends (10,195 chars) sits right on Cloudflare's size limit.ApiTestBase'sHttpClientalready retries 5xx responses 3 times, and the failing run got four 520s in a row.LexAuthUser.MaxJwtLength(9,000).Test plan
Testingproject builds/api/healthzwith curl: 10,195 failed 1 of 140; 10,100 and 10,000 failed 0 of 80 eachGHA integration tests / dotnetpasses in CI🤖 Generated with Claude Code