refactor(monit): remove retired public API clients - #72
Merged
Conversation
This was referenced Sep 8, 2026
Merged
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.
从 OpenAPI 生成源删除旧查询诊断、规则状态统计和规则仓库 API,并重新生成 SDK、模型及服务注册。
移除
Diagnostics.QueryDiagnose、AlertRules.ReadCounterStatus、RuleSets及其专属请求/响应类型;同步移除规则仓库 E2E 调用。趋势和日志模式调查使用DataSources.ToolsInvoke。这是有意移除旧方法的破坏性变更;关联 CLI 已固定到本 PR 的 SDK 提交,建议先合入此 PR。
验证:
go test ./...通过;go test -c -tags=e2e -o /tmp/monit-retirement-sdk-e2e.test ./e2e编译通过,未执行生产 E2E。关联 PR: