Skip to content

Antalya 26.8 Backport of #127810 - Backport #127419 to 26.8: Bump brotli from v1.2.0 to v1.2.1 - #2687

Merged
zvonand merged 1 commit into
antalya-26.8from
backports/antalya-26.8/127810
Oct 26, 2026
Merged

zvonand merged 1 commit into
antalya-26.8from
backports/antalya-26.8/127810

Conversation

@zvonand

@zvonand zvonand commented Oct 26, 2026

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Critical Bug Fix (crash, data loss, RBAC)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Updated the bundled brotli library from v1.2.0 to v1.2.1. The Brotli decoder now rejects malformed compressed input with an invalid block switch and returns an error. Before, such input could cause unbounded output. (ClickHouse#127810 by @robot-clickhouse-ci-2)

Documentation entry for user-facing changes

...

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Unit tests
  • Performance tests
  • Aarch64 tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • CAS (content-addressed storage; Antalya only)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • OAuth (5m)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

…7419

Backport ClickHouse#127419 to 26.8: Bump `brotli` from v1.2.0 to v1.2.1
@github-actions

Copy link
Copy Markdown

Workflow [PR], commit [dafc202]

@zvonand

zvonand commented Oct 26, 2026

Copy link
Copy Markdown
Member Author

@blau-ai

@blau-ai

blau-ai commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

CI triage — brotli v1.2.0 → v1.2.1 backport

Verdict: 0 PR-caused failures. 4 checks are red — 1 is infra, 1 is a pre-existing test-setup bug, 2 are the usual Altinity regression-suite noise. None touch the code this PR changes.

This PR is a submodule bump of contrib/brotli + the matching brotli-cmake source-list update (drops BROTLI_BUILD_PORTABLE=1, adds static_init.c, static_dict_lut.c, compound_dictionary.c, shared_dictionary.c, prefix.c). Brotli is used only as the br HTTP/stream compression codec (src/IO/BrotliReadBuffer.cpp, BrotliWriteBuffer.cpp). The real risk of such a bump is compiling the new source list — and every build is green (amd_debug, amd_asan_ubsan, amd_binary, amd_release, arm_release, wasm_parser), as are Fast test, Stateless (amd_debug, parallel), and Unit tests. So the codec compiles and its runtime paths are exercised green.

Per-failure

1. Integration tests (amd_asan_ubsan, db disk, old analyzer, 4/8) — test_scheduler_query (test_create, test_max_concurrent_queries, test_max_waiting_queries_reached)

Error response from daemon: Range of CPUs is from 0.01 to 12.00, as there are only 12 CPUs available

Infra: the test's docker-compose requests more CPUs than the runner has; the container never starts. Not PR-related. → Safe to re-run.

2. Integration tests (amd_asan_ubsan, db disk, old analyzer, 5/8) — test_storage_iceberg_with_spark/test_export_partition_iceberg.py (21 tests)

Code: 497. DB::Exception: ... Not enough privileges. To execute this query, it's necessary to have the grant SHOW NAMED COLLECTIONS SECRETS ON s3.

Pre-existing test-setup bug: the Iceberg-export fixture creates the table with a named collection but the test user lacks SHOW NAMED COLLECTIONS SECRETS. A brotli bump cannot produce an access-control error in the Iceberg storage path. Not PR-related. → Fix belongs in the test's grant setup, not here.

3 & 4. Regression release oauth / swarms — testflows AssertionErrors across OAuth/JWT auth features (access control, authentication, jwt_manipulation, groups, tls, …) and the swarms object-storage suite.

These exercise OAuth/JWT authentication and swarm object storage — no brotli involvement. The base branch's own antalya-26.8 MasterCI run is itself red, so these suites are red independent of this PR. Not PR-related (pre-existing/environmental regression noise). → Compare against the base-branch regression baseline rather than treating as a blocker here.

Bottom line

The backport is sound — green builds and green functional/unit tests cover the brotli codec. The red checks are infra (#1), a pre-existing Iceberg-test grant bug (#2), and pre-existing regression-suite noise also red on antalya-26.8 (#3, #4). Re-running #1 should clear it; the rest are not this PR's responsibility and shouldn't block the merge.

@zvonand
zvonand merged commit f56ba92 into antalya-26.8 Oct 26, 2026
273 of 282 checks passed
@zvonand zvonand added the verified Approved for release label Oct 26, 2026
@blau-ai blau-ai mentioned this pull request Oct 27, 2026
9 of 30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants