SQL上线检测和提交
#2691
-
在SQL上线检测时出现错误的情况,是否应该不允许提交,至少应该有个开关控制,不允许强制提交。 |
Beta Was this translation helpful? Give feedback.
Answered by
peixubin
Jul 1, 2024
Replies: 3 comments 8 replies
-
有相关配置,可以探索下 |
Beta Was this translation helpful? Give feedback.
4 replies
-
只看到critical_ddl_regex和auto_review_wrong像是实现类似的功能。 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
找到了问题原因。
在AuditV2类中,把自动通过和自动审核等价了。这应该是个严重BUG了,希望能尽快修复。
def generate_audit_setting(self) -> AuditSetting: if self.is_auto_review(): return AuditSetting(auto_pass=True) ... def create_audit(self): ... audit_setting = self.generate_audit_setting() ... # 自动通过的情况 if audit_setting.auto_pass: self.audit.current_status = WorkflowStatus.PASSED