Skip to content

refactor(monit): remove retired public API clients - #72

Merged
ysyneu merged 1 commit into
mainfrom
chore/retire-unused-monit-apis
Sep 8, 2026
Merged

refactor(monit): remove retired public API clients#72
ysyneu merged 1 commit into
mainfrom
chore/retire-unused-monit-apis

Conversation

@UlricQin

@UlricQin UlricQin commented Sep 8, 2026

Copy link
Copy Markdown
Member

从 OpenAPI 生成源删除旧查询诊断、规则状态统计和规则仓库 API,并重新生成 SDK、模型及服务注册。

移除 Diagnostics.QueryDiagnoseAlertRules.ReadCounterStatusRuleSets 及其专属请求/响应类型;同步移除规则仓库 E2E 调用。趋势和日志模式调查使用 DataSources.ToolsInvoke

这是有意移除旧方法的破坏性变更;关联 CLI 已固定到本 PR 的 SDK 提交,建议先合入此 PR。

验证:go test ./... 通过;go test -c -tags=e2e -o /tmp/monit-retirement-sdk-e2e.test ./e2e 编译通过,未执行生产 E2E。

关联 PR:

@ysyneu
ysyneu merged commit fbd489a into main Sep 8, 2026
4 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.

2 participants