Skip to content

Add dev/choci, improve dev/runch#284

Merged
theory merged 1 commit into
mainfrom
runch-more
Jun 16, 2026
Merged

Add dev/choci, improve dev/runch#284
theory merged 1 commit into
mainfrom
runch-more

Conversation

@theory

@theory theory commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Add dev/config with configurations to support enabling features in specific versions of ClickHouse and teach dev/runch to install the appropriate one given the version. This mimics the behavior of .github/ubuntu/clickhouse.sh, which configures a ClickHouse server on Debian. These configs allow tests to pass for ClickHouse versions 24.8 and earlier on Linux. A few still fail on macOS, alas, as its outputs vary. Will investigate that issue later.

But in the meantime, add dev/choci, which is super similar to dev/runch, but runs a specific ClickHouse version in an OCI container. It, too, adds the relevant configuration file to the container so that ClickHouse will start with the appropriate configuration. This allows one to run tests against a specific ClickHouse version on any platform with an OCI runner and docker CLI.

While at it, add the versions and remove commands to dev/runch, as well as dev/choci, and name the runch service to include the version so as to prevent different versions from using the same dat directory.

@theory theory requested a review from serprex June 16, 2026 12:35
@theory theory self-assigned this Jun 16, 2026
@theory theory added quality Quality controls, testing, test coverage tooling Tools to assist with development, maintenance, release, etc. labels Jun 16, 2026
@theory theory force-pushed the runch-more branch 2 times, most recently from a319522 to 613001a Compare June 16, 2026 12:55
Add `dev/config` with configurations to support enabling features in
specific versions of ClickHouse and teach `dev/runch` to install the
appropriate one given the version. This mimics the behavior of
`.github/ubuntu/clickhouse.sh`, which configures a ClickHouse server on
Debian. These configs allow tests to pass for ClickHouse versions 24.8
and earlier on Linux. A few still fail on macOS, alas, as its outputs
vary. Will investigate that issue later.

But in the meantime, add `dev/choci`, which is super similar to
`dev/runch`, but runs a specific ClickHouse version in an OCI container.
It, too, adds the relevant configuration file to the container so that
ClickHouse will start with the appropriate configuration. This allows
one to run tests against a specific ClickHouse version on any platform
with an OCI runner and `docker` CLI.

While at it, add the `versions` and `remove` commands to `dev/runch`, as
well as `dev/choci`, and name the `runch` service to include the version
so as to prevent different versions from using the same dat directory.
@theory theory merged commit 2bd5873 into main Jun 16, 2026
23 checks passed
@theory theory deleted the runch-more branch June 16, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

quality Quality controls, testing, test coverage tooling Tools to assist with development, maintenance, release, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants