feat(daemon): park repository, credential and forge-extension failures with a recovery link on the task list
This commit is contained in:
1 parent
6f57d38669
commit
afdb4b203f
7 files changed
+38
-3
No files matched your search
@@ -42,6 +42,9 @@ function meta(task: AttentionTask): string {
|
||||
}}</RouterLink>
|
||||
<p class="truncate font-mono text-xs text-fg-subtle">{{ meta(task) }}</p>
|
||||
</div>
|
||||
<Button v-if="task.recovery" as-child size="sm" variant="outline">
|
||||
<RouterLink :to="task.recovery.link">{{ task.recovery.label }}</RouterLink>
|
||||
</Button>
|
||||
<TaskRowActions :task="task" @done="loadDashboard" />
|
||||
</Item>
|
||||
</ItemGroup>
|
||||
|
||||
@@ -16,6 +16,8 @@ export interface Task {
|
||||
status?: string;
|
||||
park_class?: string;
|
||||
park_reason?: string;
|
||||
/** The page that fixes a parked task's blocker, when the viewer may use it. */
|
||||
recovery?: { blocker: string; label: string; link: string };
|
||||
tokens_used?: number;
|
||||
workflow?: string;
|
||||
/** The exact definition the run pinned. */
|
||||
|
||||
Reference in new issue
Block a user