fix(qg): use check_ci_green instead of local tests on development stage

This commit is contained in:
Dev Agent
2026-06-04 01:22:43 +03:00
parent 994f73a78e
commit e15d339b14
6 changed files with 70 additions and 9 deletions

View File

@@ -249,6 +249,9 @@ def check_reviewer_verdict(repo: str, work_item_id: str, branch: str | None = No
def check_tests_local(repo: str, branch: str) -> tuple[bool, str]:
"""
DEPRECATED: replaced by check_ci_green on the development stage (CI is now
configured). Kept for backward-compat; not wired to any stage.
S-1 fix: run the project test suite locally and judge by exit code, instead of
depending on Gitea CI (which is not configured -> always false).