fc-queue-runner: map exit codes to extended BuildStatus variants

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ibaa4de9e2c789931df8c67a53528829a6a6a6964
This commit is contained in:
raf 2026-02-16 12:58:45 +03:00
commit 5f09a46d29
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
3 changed files with 14 additions and 9 deletions

View file

@ -49,7 +49,7 @@ pub async fn run(
if let Err(e) = repo::builds::complete(
&pool,
build.id,
BuildStatus::Completed,
BuildStatus::Succeeded,
None,
None,
None,
@ -95,7 +95,7 @@ pub async fn run(
if let Err(e) = repo::builds::complete(
&pool,
build.id,
BuildStatus::Completed,
BuildStatus::Succeeded,
existing.log_path.as_deref(),
existing.build_output_path.as_deref(),
None,