Repository navigation
Conversation
…pp subject - click_stack_list_alerts gains tag/search/source/state filters (repeated query parameters for the array ones), with new ClickStackListAlertsSource and ClickStackListAlertsState enums. Breaking signature change. - ClickStackMetricSource, ClickStackPromqlSource and their Response types gain optional min_auto_granularity; TryFrom carries it back. - ClickStackCASLPermissionSubject adds App. - CLI: `cloud clickstack alert list` passes no filters; a request-shape test pins that no filter parameter is sent. Fixes #1466 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 17, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1466. API PR 3 of 3, stacked on the Postgres PR. CLI exposure follows in #1472.
click_stack_list_alertsgainstag: &[&str],search: Option<&str>,source: &[ClickStackListAlertsSource]andstate: &[ClickStackListAlertsState]. Slice elements are sent as repeated query parameters. New enums, each withUnknown(String), Display andVALUES.min_auto_granularityon ClickStack metric and PromQL sources, including their response types.ClickStackCASLPermissionSubject::App.Drift against the vendored snapshot is zero after this PR, and every gate passes. The live spec has since moved again: Postgres private endpoints and
organization_roles_get_listpaging are new. That drift is left for a follow-up issue.🤖 Generated with Claude Code
Note
Medium Risk
Breaking
click_stack_list_alertssignature affects all Rust consumers; changes are API-model alignment with broad test coverage and low runtime risk beyond compile-time migration.Overview
Syncs the ClickHouse Cloud API crate with new ClickStack OpenAPI fields.
click_stack_list_alertsis a breaking change: callers must pass four filter arguments (tag,search,source,state); empty/Nonepreserves unfiltered list behavior, with repeated query params and newClickStackListAlertsSource/ClickStackListAlertsStateenums.Metric and PromQL source request/response types gain optional
min_auto_granularity, plumbed throughTryFromfor write-back.ClickStackCASLPermissionSubjectaddsApp.clickhousectlalert list still sends no filters; tests and changelog document migration.Reviewed by Cursor Bugbot for commit 307179e. Bugbot is set up for automated code reviews on this repo. Configure here.