This commit is contained in:
@@ -71,7 +71,9 @@ def evaluate_changes(
|
||||
|
||||
def evaluate_report_scope(report: FailureReport, summary: ChangeSummary) -> PolicyResult:
|
||||
expected = f"{report.user_feedback or ''}\n{report.expected_behavior or ''}".lower()
|
||||
requires_cross_database_orchestration = "cockpit_config" in expected and "fk_" in expected
|
||||
requires_cross_database_orchestration = (
|
||||
"cockpit_config" in expected and ("fk_" in expected or "erp" in expected)
|
||||
)
|
||||
has_application_change = any(filename.startswith("app/") for filename in summary.files)
|
||||
errors = []
|
||||
if requires_cross_database_orchestration and not has_application_change:
|
||||
|
||||
Reference in New Issue
Block a user