Skip to content

Conversation

@DatGuyJonathan
Copy link
Contributor

@DatGuyJonathan DatGuyJonathan commented Nov 4, 2025

Note

Adds full ClickHouse cluster (ON CLUSTER) support across CLI/migrations/DDL, TS/Py SDKs, templates, docs, and CI with new end-to-end tests.

  • OLAP/DDL & Migrations:
    • Add cluster_name to table model/proto and propagate through infra maps, planning, diffing, ordering, and display.
    • Generate ON CLUSTER in CREATE/ALTER/DROP and settings/index/sample/TTL SQL; preserve cluster_name during reconcile.
    • Validate databases and clusters in migrate; plan validator checks cluster references.
    • Adjust replicated engine param injection (dev/prod; with/without cluster).
    • Migration plan schema allows complex engine objects.
  • CLI:
    • Preserve clusters/additional_databases when overriding ClickHouse URL.
    • Show Cluster in infra display.
    • Docker compose mounts optional clusters.xml.
  • SDKs (TS/Python):
    • Add cluster to OlapConfig and serialization; forbid mixing cluster with explicit keeperPath/replicaName.
    • New unit tests for cluster validation.
  • Templates & E2E:
    • Add templates/typescript-cluster and templates/python-cluster and corresponding E2E tests (Cluster Support suites) and constants.
  • Docs:
    • Document cluster-aware replicated tables and deployment semantics in TS/Python guides and configuration/olap pages.
  • CI:
    • Add TS/Py cluster E2E jobs and gate them in summary; tweak change-detection patterns.

Written by Cursor Bugbot for commit c73d6f4. This will update automatically on new commits. Configure here.

@linear
Copy link

linear bot commented Nov 4, 2025

@vercel
Copy link

vercel bot commented Nov 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
framework-docs Ready Ready Preview Comment Nov 11, 2025 7:21pm
moosestack-framework-docs-v2 Ready Ready Preview Comment Nov 11, 2025 7:21pm

@DatGuyJonathan DatGuyJonathan force-pushed the eng-1117-add-on-cluster-support-for-replicated-clickhouse-tables branch from 21fe7ee to c6c3954 Compare November 4, 2025 16:51
@DatGuyJonathan DatGuyJonathan force-pushed the eng-1117-add-on-cluster-support-for-replicated-clickhouse-tables branch from 7bb0782 to 069ebb6 Compare November 4, 2025 19:08
@DatGuyJonathan DatGuyJonathan force-pushed the eng-1117-add-on-cluster-support-for-replicated-clickhouse-tables branch from f7f8c50 to 5933a0f Compare November 4, 2025 21:10
@DatGuyJonathan DatGuyJonathan force-pushed the eng-1117-add-on-cluster-support-for-replicated-clickhouse-tables branch from 5933a0f to c3f78b3 Compare November 4, 2025 23:46
@DatGuyJonathan DatGuyJonathan force-pushed the eng-1117-add-on-cluster-support-for-replicated-clickhouse-tables branch from c3f78b3 to 23daf2e Compare November 5, 2025 04:52
@DatGuyJonathan DatGuyJonathan force-pushed the eng-1117-add-on-cluster-support-for-replicated-clickhouse-tables branch from 00d184c to cc21483 Compare November 5, 2025 16:53
@DatGuyJonathan DatGuyJonathan force-pushed the eng-1117-add-on-cluster-support-for-replicated-clickhouse-tables branch from ac3c6a4 to 651a7c7 Compare November 6, 2025 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants