Skip to content

feat: 新增 Alarm Engine DetectionOutcome v1 契约 - #12014

Open
chenguo367 wants to merge 10 commits into
TencentBlueKing:masterfrom
chenguo367:feat/alarm-engine-detection-contract/#1010158081137225805
Open

feat: 新增 Alarm Engine DetectionOutcome v1 契约#12014
chenguo367 wants to merge 10 commits into
TencentBlueKing:masterfrom
chenguo367:feat/alarm-engine-detection-contract/#1010158081137225805

Conversation

@chenguo367

Copy link
Copy Markdown
Collaborator

变更内容

  • 新增 DetectionOutcome v1 与 Trigger StrategyIR 纯函数契约
  • 从现有 Detect/Trigger 测试抽取无运行时依赖的共享 fixture
  • 提供 Python→Go→Python Golden、稳定 input_id 与 fail-closed 边界测试

边界

  • 不接入现有生产调用链
  • 不引入 Kafka、Redis、Celery、Shadow 或生产写入

本地验证

  • 纯契约与 Golden:42 passed
  • Ruff check/format、compileall、diff-check 通过
  • 既有 Django service 测试由 DevOps 分支门禁执行

@chenguo367
chenguo367 requested a review from unique0lai August 17, 2026 12:18
@chenguo367 chenguo367 self-assigned this Aug 17, 2026
@chenguo367 chenguo367 added feat A new feature. Correlates with MINOR in SemVer project/monitor project monitor alarm-engine labels Aug 17, 2026
@chenguo367
chenguo367 marked this pull request as ready for review August 18, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

alarm-engine feat A new feature. Correlates with MINOR in SemVer project/monitor project monitor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant