Skip to content

Commit 833c35e

Browse files
committed
Merge branch 'feat/agent-skills-rebuild' into fix/async-blocking-cleanup
2 parents 14f7888 + fff5460 commit 833c35e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

agent-skills/run-quality-gate/scripts/run-gates.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,10 @@ fi
107107
pytest_status=0
108108
pytest_pid=""
109109
pytest_ran=false
110+
pytest_reused=false
110111
if [ "${run_backend}" = true ] && [ "${ci_verdict}" = "success" ]; then
111112
pytest_ran=true
113+
pytest_reused=true
112114
echo "backend pytest: PASS (reusing CI test-backend run for pushed HEAD $(git rev-parse --short HEAD); local run skipped)"
113115
echo "CI verdict reused; see: gh run list --commit $(git rev-parse HEAD)" >"${pytest_log}"
114116
elif [ "${run_backend}" = true ]; then
@@ -136,7 +138,7 @@ fi
136138
echo "frontend build: FAIL (exit ${build_status})"
137139
fi
138140
}
139-
[ "${pytest_ran}" = true ] && {
141+
[ "${pytest_ran}" = true ] && [ "${pytest_reused}" = false ] && {
140142
if [ "${pytest_status}" -eq 0 ]; then
141143
echo "backend pytest: PASS"
142144
else

0 commit comments

Comments
 (0)