Skip to content

Exercise PostgreSQL ClickPipe creation through the CLI in live CI - #503

Open
sdairs wants to merge 3 commits into
issue-446-clickpipe-tls-guidance-v2from
issue-447-live-postgres-clickpipe-cli
Open

Exercise PostgreSQL ClickPipe creation through the CLI in live CI#503
sdairs wants to merge 3 commits into
issue-446-clickpipe-tls-guidance-v2from
issue-447-live-postgres-clickpipe-cli

Conversation

@sdairs

@sdairs sdairs commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • invoke the workflow-built clickhousectl binary for both PostgreSQL ClickPipe creation attempts
  • assert the private-CA attempt without --ca-certificate preserves the x509 API error, then write the fetched CA and create successfully
  • retain isolated tagged services, API-driven polling and cleanup, Running-state validation, initial snapshot, and ongoing CDC checks
  • isolate CLI state in a temporary home/workspace and document the missing publicly trusted PostgreSQL fixture

Verification

  • cargo build -p clickhousectl
  • cargo test -p clickhouse-cloud-api --test clickpipe_postgres_cdc_test --no-run
  • cargo test --workspace
  • python3 -m unittest discover -s scripts/tests -p 'test_*.py' (43 passed)
  • python3 scripts/classify-cloud-integration.py issue-446-clickpipe-tls-guidance-v2 HEAD (service,postgres,organization,clickpipes; workflow guard selects all)
  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • credentialed Cloud Integration run 32751122188 (passed all four mandatory suites)

Live Test Status

Passed in credentialed CI. The CLI-backed PostgreSQL test verified the private-CA error without the flag, successful creation with the written CA file, transition to Running, the initial three-row snapshot, a post-create CDC change, and cleanup. The optional long-lived ClickPipe smoke fixture was unavailable and its separate step was skipped.

A successful no-upload path remains untested because mandatory CI has no PostgreSQL fixture with a publicly trusted certificate.

Stack

Position: 3 of 3. Based on #494 (issue-446-clickpipe-tls-guidance-v2); the parent remains unchanged.

Closes #447

@sdairs sdairs changed the title issue 447 live postgres clickpipe cli Exercise PostgreSQL ClickPipe creation through the CLI in live CI Aug 24, 2026
@sdairs sdairs added the run-cloud-integration Run live Cloud integration tests for this PR head label Aug 24, 2026
@sdairs
sdairs had a problem deploying to cloud-integration August 24, 2026 15:57 — with GitHub Actions Failure
@sdairs sdairs added run-cloud-integration Run live Cloud integration tests for this PR head and removed run-cloud-integration Run live Cloud integration tests for this PR head labels Aug 24, 2026
@sdairs
sdairs temporarily deployed to cloud-integration August 24, 2026 16:29 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-cloud-integration Run live Cloud integration tests for this PR head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exercise PostgreSQL ClickPipe creation through the CLI in live CI

1 participant