Skip to content

Revert "Revert "Experiment: use azurite-rs instead of azurite for functional tests"" - #100980

Merged
alexey-milovidov merged 15 commits into
masterfrom
revert-100618-revert-95967-use-azurite-rs-for-functional-tests
Apr 8, 2026
Merged

alexey-milovidov merged 15 commits into
masterfrom
revert-100618-revert-95967-use-azurite-rs-for-functional-tests

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Mar 28, 2026 •

Copy link
Copy Markdown
Member

Reverts #100618

Version info

  • Merged into: 26.4.1.681

@clickhouse-gh

clickhouse-gh Bot commented Mar 28, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [dc8c93d]

Summary: ✅


AI Review

Summary

This PR switches stateless/upgrade test tooling from azurite (Node-based) to azurite-rs (downloaded binary), updates startup commands accordingly, and removes Node.js installation from the test image. I did not find new correctness, safety, or performance defects in the changed lines. The only issue is PR template metadata quality.

PR Metadata
  • ⚠️ Changelog category / Changelog entry / documentation checkbox from .github/PULL_REQUEST_TEMPLATE.md are missing in the PR body.
  • This is already reported by an existing inline comment from clickhouse-gh[bot], so no duplicate inline comment was posted.
  • Suggested replacement: update the PR description to exactly follow .github/PULL_REQUEST_TEMPLATE.md, with an appropriate category for CI tooling changes (typically CI Fix or improvement) and a specific user-facing entry.
ClickHouse Rules
Item Status Notes
Deletion logging ➖
Serialization versioning ➖
Core-area scrutiny ➖
No test removal ✅
Experimental gate ➖
No magic constants ✅
Backward compatibility ✅
SettingsChangesHistory.cpp ➖
PR metadata quality ⚠️ PR template fields are missing (Changelog category, Changelog entry, docs checkbox).
Safe rollout ✅
Compilation time ✅
Final Verdict
  • Status: ⚠️ Request changes
  • Minimum required actions:
    • Update PR description to the repository PR template and provide valid Changelog category / Changelog entry / documentation checkbox values.

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 28, 2026
@alexey-milovidov
alexey-milovidov marked this pull request as draft March 28, 2026 01:31
Comment thread ci/docker/stateless-test/Dockerfile Outdated
&& npm install -g tslib
# Download azurite-rs (Azure Blob Storage emulator in Rust)
# https://github.com/ClickHouse/azurite-rs
ARG AZURITE_RS_VERSION=v0.1.0-28a2afc

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR metadata quality: the PR body is missing required template fields: Changelog category, Changelog entry, and the docs checkbox from .github/PULL_REQUEST_TEMPLATE.md.

Please update the PR description using the template. For this change, CI Fix or Improvement looks appropriate.

alexey-milovidov and others added 7 commits March 28, 2026 15:47
The previous version (v0.1.0-28a2afc) had a stub batch handler that
caused server crashes via "map::at: key not found" in the Azure C++ SDK.

See ClickHouse/azurite-rs#4

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
The Azure C++ SDK URL-encodes blob paths in batch sub-requests (slashes
become %2F). The previous version didn't decode them, so batch deletes
failed with 404 for all blobs with slashes in their names.

See ClickHouse/azurite-rs@0dc0443

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
…nse)

The Azure C++ SDK parser checks IsEnd() after consuming the end boundary
marker. A trailing \r\n caused an extra parser iteration that tried to
parse an empty string as HTTP response — "failed to parse response body
at 0".

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@alexey-milovidov
alexey-milovidov marked this pull request as ready for review March 30, 2026 02:43
@alexey-milovidov

Copy link
Copy Markdown
Member Author

The Stress test (arm_msan) failure is fixed by #101239, which should be merged first. After it is merged, please update the branch to include the fix.

alexey-milovidov and others added 4 commits April 6, 2026 17:49
- Lazy container existence checks (skip on fast path)
- Pre-allocate download buffers with known size
- Single-pass snapshot scanning in list_blobs

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Every request is now logged to stderr with start/completion markers.
This will help diagnose which requests hang during CI timeouts.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

The test 02859_replicated_db_name_zookeeper is fixed in #101952

@alexey-milovidov alexey-milovidov self-assigned this Apr 8, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Apr 8, 2026
Merged via the queue into master with commit 94f8959 Apr 8, 2026
162 checks passed
@alexey-milovidov
alexey-milovidov deleted the revert-100618-revert-95967-use-azurite-rs-for-functional-tests branch April 8, 2026 21:03
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants