Files
schemaCheck/.gitea/config/redis-schema-check-config.yaml
dongzi 6aab14bd1e
Some checks failed
Redis序列化结构检查 / redis-schema-check (push) Has been cancelled
feat: 流水线补充
2026-07-13 15:41:53 +08:00

41 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ============================================================
# Redis 序列化结构变更检测 — 业务仓库配置
# ============================================================
# 说明:
# - 本文件为业务覆盖配置,会与 jar 内 default-config.yaml 深度合并
# - 未声明的项沿用工具内置默认值(忽略规则、检测模式等)
# - 上线策略:先 notify 观察 1 周,稳定后改为 mode: block
# 运行模式
# notify - 仅通知,不阻断流水线
# block - 按 block_severities 阻断流水线exit 1
mode: notify
# block 模式下触发阻断的严重级别P0/P1/P2 全部阻断)
block_severities:
- P0
- P1
- P2
# 通知配置
notify:
enabled: true
webhook_env: WECOM_ROBOT_WEBHOOK
notify_on_clean: false
title_prefix: "[Redis结构变更]"
# 观察期:先只扫描 jnpf-tenant 模块,稳定后改为 include_modules: []
include_modules:
- jnpf-tenant
# 人工补充映射(自动推断不准时使用)
manual_mappings:
- id: tenant-db-content
writer_method: "jnpf.util.TenantDbContentCacheHelper#cacheSuccess"
key_pattern: "tenant:db:content:*"
value_type: "jnpf.util.TenantDbContentCacheHelper.CacheEnvelope"
description: "租户库信息缓存"
# 已知误报抑制(按需添加)
suppressions: []