Skip to content

Add a service-scoped repair path for stale query keys - #538

Open
sdairs wants to merge 1 commit into
stack/453-query-endpoint-readinessfrom
stack/454-repair-query-key
Open

Add a service-scoped repair path for stale query keys#538
sdairs wants to merge 1 commit into
stack/453-query-endpoint-readinessfrom
stack/454-repair-query-key

Conversation

@sdairs

@sdairs sdairs commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add an explicit cloud service repair-query-key <service-id> write operation with human and JSON output
  • report stored-key 401/403 failures with an exact repair command without silently provisioning
  • verify ownership metadata, replace only the owned endpoint binding, preserve unrelated credentials, and retain exact cleanup metadata across partial failures
  • refuse legacy or incomplete records and extend service deletion to clean pending exact key IDs

Tests

  • cargo build -p clickhousectl
  • cargo test -p clickhousectl --no-fail-fast
  • cargo clippy -p clickhousectl --all-targets -- -D warnings
  • cargo fmt --all --check

Closes #454

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.

1 participant