treewide: replace BuildStatus::Completed with BuildStatus::Succeeded

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I965dfaca211f9fde527a84a54ae972576a6a6964
This commit is contained in:
raf 2026-02-16 00:08:13 +03:00
commit 541cd7832f
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
7 changed files with 39 additions and 22 deletions

View file

@ -153,7 +153,7 @@ pub async fn auto_promote_if_complete(
) -> Result<()> {
// Check if all builds for this evaluation are completed
let row: (i64, i64) = sqlx::query_as(
"SELECT COUNT(*), COUNT(*) FILTER (WHERE status = 'completed') FROM \
"SELECT COUNT(*), COUNT(*) FILTER (WHERE status = 'succeeded') FROM \
builds WHERE evaluation_id = $1",
)
.bind(evaluation_id)