Skip to content

Decide CLI exposure for new API fields from OpenAPI drift #287 #289

Description

@sdairs

#287 (resolved by #288) added 21 fields to clickhouse-cloud-api at the library level only. Per the drift workflow, deciding which of them to surface in the CLI is a separate call. Candidates:

  • chctl cloud clickpipe create (object storage): --skip-initial-load (skip initial load, ingest only queue-notification files; only valid with --queue-url) and --start-after <object-key> (start continuous ingestion after this key; mutually exclusive with --skip-initial-load). Both also exist on the PATCH source for clickpipe update.
  • chctl cloud service create: --min-replicas, --max-replicas, --replica-memory-gb for horizontal autoscaling (fixed memory per replica, variable replica count). Mutually exclusive with the existing --num-replicas/--min-replica-memory-gb/--max-replica-memory-gb flags, and requires horizontal autoscaling to be enabled for the organization — flag validation should enforce the exclusivity client-side.
  • Scaling schedule entries: numReplicas (fixed count for vertical windows) and replicaMemoryGb (fixed memory for horizontal windows) on ScalingScheduleEntryRequest. The CLI currently has no surface that constructs schedule entries, so this only matters if/when one is added.

Per CLAUDE.md, the CLI does not need 100% endpoint/field coverage — be intentional about what is exposed.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions