Try to fix Clickhouse issue on Github actions#3806
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR attempts to fix ClickHouse connectivity issues in GitHub Actions by configuring ClickHouse to listen on all network interfaces. The change adds the listen_host configuration to bind ClickHouse to 0.0.0.0 instead of the default localhost-only binding.
- Added
listen_hostconfiguration to ClickHouse XML config files - Modified both replicated and latest-alpine ClickHouse configurations
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tensorzero-core/tests/e2e/replicated_clickhouse_config/common/users.xml | Added listen_host configuration for replicated ClickHouse setup |
| tensorzero-core/tests/e2e/clickhouse-configs/latest-alpine/users.xml | Added listen_host configuration for latest-alpine ClickHouse setup |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
tensorzero-core/tests/e2e/replicated_clickhouse_config/common/users.xml
Outdated
Show resolved
Hide resolved
tensorzero-core/tests/e2e/clickhouse-configs/latest-alpine/users.xml
Outdated
Show resolved
Hide resolved
36ccca2 to
4440da0
Compare
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Clickhouse suddenly failed to start up in all of our PR ci jobs (e.g. https://github.com/tensorzero/tensorzero/actions/runs/18230587441/job/51917262832?pr=3801) with this error:
Let's try to fix it by only listening on IPv4
Important
Fix Clickhouse startup issue in CI by configuring it to listen on IPv4 and updating Dockerfile base images.
<listen_host>0.0.0.0</listen_host>inconfig.xmlto listen only on IPv4.docker-compose.e2e.ci.yml,docker-compose.e2e.yml, anddocker-compose.unit.ymlto/etc/clickhouse-server/config.d/docker_related_config.xml.gateway/Dockerfileandui/Dockerfiletolukemathwalker/cargo-chef:latest-rust-1.90-bookworm.This description was created by
for e3bd2be. You can customize this summary. It will automatically update as commits are pushed.