feat(admin): add fenced expired editorial run recovery control
Deploy Canina / deploy (push) Successful in 4m46s

This commit is contained in:
devops committed 2026-10-24 10:58:18 +00:00
1 parent f4add07780
commit 4712433903
9 files changed
+174 -5

No files matched your search

@@ -130,7 +130,10 @@ export class OrchestrationController {
);
}
@Get('tasks/:id') async one(@Param('id') id: string, @Req() req: any) {
return this.safe(await this.service.findOne(id), req);
const row = await this.service.findOne(id);
const editorialRecovery = this.workflow
? await this.workflow.editorialRecovery(row, this.actor(req)) : undefined;
return { ...this.safe(row, req), ...(editorialRecovery ? { editorialRecovery } : {}) };
}
@Get('overview') async overview() {
const tasks = await this.service.findAll();