fix: address code review feedback - restrict terminal step check to success only, add test assertions

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-27 16:39:32 +00:00
parent 2c55f076be
commit 4fdb1b8d85
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -339,6 +339,8 @@ class TestStepManager:
# Terminal step hasn't run yet, so file should remain pending
assert status["status"] == "pending"
assert status["has_errors"] is False
assert status["completed_steps"] == 3
def test_get_file_overall_status_failed(self, db_session: Session):
"""Test overall status for a file with failed steps."""