Repository navigation
Revert "Experiment: use azurite-rs instead of azurite for functional tests" - #100618
Conversation
|
Workflow [PR], commit [27192d4] Summary: ❌
AI ReviewSummaryThis PR reverts the ClickHouse Rules
Final VerdictStatus: ✅ Approve |
The batch handler was a stub returning a single hardcoded 202 response, which caused ClickHouse CI failures: - "failed to parse response body at 0" (malformed multipart response) - "map::at: key not found" (missing Content-ID matching) Fix by implementing the full batch protocol: - Single-level multipart response (no changeset nesting) matching the Azure C++ SDK parser expectations - Reuse request batch boundary in response (matching official Azurite) - Echo Content-ID from each sub-request in corresponding sub-response - Parse and execute individual DELETE sub-requests - Handle both flat and nested (changeset) request formats - Return proper 404 errors for non-existent blobs Fixes: ClickHouse/ClickHouse#100618 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
…of azurite for functional tests"
…of azurite for functional tests"
Backport #100618 to 26.3: Revert "Experiment: use azurite-rs instead of azurite for functional tests"
Backport #100618 to 26.2: Revert "Experiment: use azurite-rs instead of azurite for functional tests"
The batch handler was a stub returning a single hardcoded 202 response, which caused ClickHouse CI failures: - "failed to parse response body at 0" (malformed multipart response) - "map::at: key not found" (missing Content-ID matching) Fix by implementing the full batch protocol: - Single-level multipart response (no changeset nesting) matching the Azure C++ SDK parser expectations - Reuse request batch boundary in response (matching official Azurite) - Echo Content-ID from each sub-request in corresponding sub-response - Parse and execute individual DELETE sub-requests - Handle both flat and nested (changeset) request formats - Return proper 404 errors for non-existent blobs Fixes: ClickHouse/ClickHouse#100618 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Investigation: Root Cause AnalysisEvery single CI failure from both linked test reports traces to one issue: the batch blob delete API in azurite-rs. What happened
The Timeline
The fixClickHouse/azurite-rs#4 rewrites the batch handler to implement the full Azure Blob Batch protocol:
To unblock PR #100980
|
Reverts #95967
https://github.com/ClickHouse/azurite-rs is broken in multiple places, and it is not possible to maintain all features of Azure Blob Storage in a vibe-coded project.
Examples of broken protocol:
Support Batch Remove for Azure #100522
Version info
26.4.1.23126.3.1.895,26.2.6.24