Add cloud integration CI test foundation#39
Merged
sdairs merged 12 commits intobump-v0.1.12from Mar 16, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces a real-cloud integration testing foundation for clickhousectl, including an ignored Rust test harness that exercises the built CLI binary, plus a scheduled/manual GitHub Actions workflow to run it against live ClickHouse Cloud.
Changes:
- Added a Rust integration test harness under
tests/cloud_cli/with structured step logging, polling helpers, and best-effort cleanup. - Added a live service CRUD lifecycle test that provisions, updates, scales, and deletes a cloud service via the
clickhousectl cloud --jsonCLI. - Added a dedicated
Cloud IntegrationGitHub Actions workflow and documented how to run the suite locally.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
tests/cloud_cli/support.rs |
Implements the CLI runner, step/failure recording, polling, cleanup, and redaction helpers for the live-cloud harness. |
tests/cloud_cli/service_crud.rs |
Adds the end-to-end service lifecycle integration test (ignored by default) using the support harness. |
tests/cloud_cli.rs |
Wires the integration test modules into a single integration test target. |
README.md |
Documents required env vars and how to run the cloud integration suite locally. |
.github/workflows/cloud-integration.yml |
Adds scheduled/manual CI workflow to build the binary and run the ignored live-cloud test. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Build out the initial cloud integration CI testing foundation for
clickhousectl.This adds a live-cloud Rust integration test harness that exercises the built CLI binary, a dedicated GitHub Actions workflow, and an expanded service lifecycle flow with structured output and capability checks.
What changed
tests/clickhousectlbinary rather than internal handlersCONTINUE_ON_NON_BLOCKING_FAILURES=1Verification
cargo test --test cloud_cli -- --ignored --listLive test runs were also used during development to validate the harness behavior.
Known follow-ups
Issues raised from live runs:
--json