feat: 1、流水线总开关配置 2、删除p0p1p2级别阻断
All checks were successful
Redis序列化结构检查 / redis-schema-check (push) Has been skipped

This commit is contained in:
2026-07-14 10:58:05 +08:00
parent 7a8ca7ce0b
commit 114b053733
10 changed files with 74 additions and 68 deletions

View File

@@ -5,27 +5,24 @@
# - 本配置文件为业务覆盖配置,会与 jar 内 default-config.yaml 深度合并
# - 未声明的项沿用工具内置默认值(忽略规则、检测模式等)
# 运行模式 notify-仅通知,不阻断流水线 block-按block_severities阻断流水线exit 1
mode: notify
# 总开关 true-执行检测 false-跳过检测
enabled: true
# block 模式下触发阻断的严重级别P0/P1/P2 全部阻断
block_severities:
- P0
- P1
- P2
# 运行模式 notify-仅通知,不阻断流水线 block-检测到结构变更即阻断流水线exit 1
mode: notify
# 通知配置
notify:
enabled: true
webhook_url: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=fa14f0b3-e01a-40f6-96bd-e18beb94e85e
notify_on_clean: false
title_prefix: "【Redis数据结构变更】"
title_prefix: "【序列化结构变更】"
# 观察期:先只扫描 jnpf-tenant 模块,稳定后改为 include_modules: []
include_modules:
- jnpf-tenant
# 人工补充映射(自动推断不准时使用)
# 手动补充映射(自动推断不准时使用)
manual_mappings:
- id: tenant-db-content
writer_method: "jnpf.util.TenantDbContentCacheHelper#cacheSuccess"
@@ -33,5 +30,5 @@ manual_mappings:
value_type: "jnpf.util.TenantDbContentCacheHelper.CacheEnvelope"
description: "租户库信息缓存"
# 已知误报抑制(按需添加)
# 误报忽略(按需添加)
suppressions: []