Repository navigation
Add tests for an early error response while an HTTP request body is sent - #131333
Conversation
The tests-only part of ClickHouse#131102, unchanged: the `lingering` mode of `NoSuchUploadAction` in the S3 mock, the early-error rows of `test_early_error_response_at_upload_is_not_retried`, and the `SilkFiberSocketTest.HTTPRequestBody` gtest. They pass on master, where plain HTTP is handled by the read of ClickHouse#124557. Related: ClickHouse#131084 Co-authored-by: Sema Checherinda <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 1 finding) plus my own cold review (2 nits). No change: the three files stay byte-identical to #131102.
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-9:20261113-144011 |
|
Workflow [PR], commit [feb2566] Summary: ✅
AI ReviewSummaryAdds S3 early-error coverage for immediate and lingering connection closes, with and without upload throttling, plus an HTTP request-body round trip over plain and TLS Silk sockets. No actionable correctness or reliability findings at head Missing context / blind spots
Final Verdict✅ Approve. No new inline findings. |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Slowest function optimization changes (ThinLTO)Median per-function time ratio to the master baseline:
Compile time of recompiled translation units6 translation units recompiled, 4 s compile time in total, 6 of them have a recent master baseline. |
148fb6a
Related: #131084
Related: #131102
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
The tests-only part of #131102, taken unchanged (the three files are byte-identical to its head
477b1251ec60), as asked in #131084 (comment):broken_s3.py: thelingeringmode ofNoSuchUploadAction(answers before reading the body, then reads and drops up to 8 MiB of it before the reset, like AWS S3).test_early_error_response_at_upload_is_not_retried: rows[1-0],[1-1000000](the existing case),[lingering-0].SilkFiberSocketTest.HTTPRequestBody(plain and TLS fiber sockets).No server code is changed. On master
c89eff2308d4(debug build), each integration row passed 12 of 12 runs (one single run, 10 in a row, and one whole-module run with all 40 tests green), and in the 33 runs whose server log I checked, the 404 came through the early-response read of #124557. The gtest passed 50 times in a row for each instance.Workflow [PR]
Sync PR [sync-upstream/pr/131333]
Version info
26.11.1.2430-master(included in26.11and later)