Skip to content

Fix test 04652: support Antalya build flavour in the settings history - #2404

Merged
zvonand merged 1 commit into
antalya-26.8from
fix/antalya-26.8/settings-history-2
Sep 18, 2026
Merged

zvonand merged 1 commit into
antalya-26.8from
fix/antalya-26.8/settings-history-2

Conversation

@zvonand

@zvonand zvonand commented Sep 18, 2026

Copy link
Copy Markdown
Member

Follow-up for #2345

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

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)

`04652_system_documentation_settings_history` builds its sort key from
`system.settings_changes` by splitting the version on `.` and casting every part
to `UInt32`, which throws on the `altinityantalya` suffix an Antalya version
carries. The `26.8.1.20001.altinityantalya` block of `SettingsChangesHistory.cpp`
therefore only worked while it was empty, and the first live entry in it fails the
test with `Cannot parse string 'altinityantalya' as UInt32`.

Use `toUInt32OrZero` for the sort key. `ClickHouseVersion` accepts at most four
numeric components, so the suffix becomes a fifth, zero component that orders an
Antalya version right after the upstream release it patches, the way
`ClickHouseVersion` orders it.

The version claimed by `**Introduced in:**` is extracted with `[0-9.]+`, which cuts
the suffix off and so never equals the recorded version; extract the whole token
instead. This one fires on an Antalya entry that introduces a setting, which is the
shape of every entry in the older Antalya blocks.

Related: #2379 (comment)
@zvonand zvonand added port-antalya PRs to be ported to all new Antalya releases antalya-26.8 Session label (releasy session config) labels Sep 18, 2026
@github-actions

Copy link
Copy Markdown

Workflow [PR], commit [341cfa9]

@zvonand
zvonand merged commit 7dfbc9c into antalya-26.8 Sep 18, 2026
224 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

antalya-26.8 Session label (releasy session config) port-antalya PRs to be ported to all new Antalya releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant