Skip to content

feat(cloud): manage service upgrade windows - #749

Merged
sdairs merged 1 commit into
stack/572-scaling-schedulesfrom
stack/573-upgrade-windows
Sep 7, 2026
Merged

sdairs merged 1 commit into
stack/572-scaling-schedulesfrom
stack/573-upgrade-windows

Conversation

@sdairs

@sdairs sdairs commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Expose service upgrade windows

Adds cloud service upgrade-window get|set|delete for reading, fully replacing, and removing a ClickHouse Cloud service's six-hour upgrade window. set requires a weekday from 0 (Sunday) through 6 (Saturday) and a UTC start hour of 0, 6, 12, or 18; delete restores the platform's default scheduling behavior. Reads support OAuth, while set and delete use the existing API-key-only write guard.

Validation:

  • cargo fmt --all -- --check
  • cargo clippy -p clickhousectl -- -D warnings
  • cargo check -p clickhousectl --no-default-features
  • cargo clippy -p clickhousectl --all-targets --no-default-features -- -D warnings
  • cargo test -p clickhousectl upgrade_window
  • cargo test -p clickhousectl --test cli_request_shape_test upgrade_window

Closes #573

@sdairs
sdairs requested a review from iskakaushik as a code owner September 5, 2026 13:52
@sdairs sdairs added this to the v0.5.0 milestone Sep 5, 2026
@sdairs
sdairs requested a review from rndD as a code owner September 5, 2026 13:52
@sdairs sdairs linked an issue Sep 5, 2026 that may be closed by this pull request

@iskakaushik iskakaushik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sdairs
sdairs merged commit e4a5c8b into main Sep 7, 2026
10 checks passed
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.

Expose service upgrade windows

2 participants