Add DangerBot check for AI logging compliance
This commit introduces a new Dangerfile to check for AI logging compliance: - Detect usage of GitLab::Llm::Logger.build.info and .error methods - Warn when AI logging is not gated behind expanded_ai_logging flag - List files with potentially non-compliant AI logging - Add relevant labels to merge requests with AI logging This check helps ensure adherence to GitLab's AI data usage policies and promotes proper AI logging practices across the codebase.
显示
- danger/ai_logging/Dangerfile 3 个添加, 0 个删除danger/ai_logging/Dangerfile
- danger/plugins/ai_logging.rb 10 个添加, 0 个删除danger/plugins/ai_logging.rb
- spec/tooling/danger/ai_logging_spec.rb 69 个添加, 0 个删除spec/tooling/danger/ai_logging_spec.rb
- tooling/danger/ai_logging.rb 59 个添加, 0 个删除tooling/danger/ai_logging.rb
加载中
想要评论请 注册 或 登录