From 4739a0b1fe00593436395507e1bb4bb41d3c40ec Mon Sep 17 00:00:00 2001 From: Simon Kuehn Date: Mon, 18 May 2026 08:15:40 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20allow=20Re-run=20AI=20for=20NeedsReview?= =?UTF-8?q?=20=E2=80=94=20pipeline=20may=20be=20stuck=20mid-step?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- .../Http/Controller/Admin/ArticleCrudController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/Http/Controller/Admin/ArticleCrudController.php b/src/Infrastructure/Http/Controller/Admin/ArticleCrudController.php index 140a6f4..d7855d7 100644 --- a/src/Infrastructure/Http/Controller/Admin/ArticleCrudController.php +++ b/src/Infrastructure/Http/Controller/Admin/ArticleCrudController.php @@ -79,7 +79,7 @@ final class ArticleCrudController extends AbstractCrudController ->askConfirmation(new TranslatableMessage('action.rerun_ai_confirm', [], 'admin')) ->displayIf(fn (Article $a) => \in_array( $a->getStatus(), - [ArticleStatus::Draft, ArticleStatus::Ingesting], + [ArticleStatus::Draft, ArticleStatus::Ingesting, ArticleStatus::NeedsReview], true, ) && !$this->jobRepository->hasActiveJobForArticle($a->getId()));