feat(FN-4625): complete Step 2 — add worktrunk failure handler
Fusion-Task-Id: FN-4625 Fusion-Task-Lineage: c1d9b414-b5dd-4786-ba51-0b8adec4acf5
This commit is contained in:
committed by
gsxdsm
parent
296203443b
commit
0da21bb880
@@ -1359,6 +1359,15 @@ export interface Task {
|
||||
pausedReason?: string;
|
||||
/** ISO timestamp set when the task first crossed the soft token budget cap. */
|
||||
tokenBudgetSoftAlertedAt?: string;
|
||||
/** ISO timestamp marking first one-shot alert when worktrunk failed and fell back to native backend. */
|
||||
worktrunkFallbackAlertedAt?: string;
|
||||
/** Structured details for a fail-hard worktrunk operation failure. */
|
||||
worktrunkFailure?: {
|
||||
op: "create" | "sync" | "prune" | "remove" | "install" | "resolve-binary";
|
||||
stderr?: string;
|
||||
exitCode?: number | null;
|
||||
attemptedAt: string;
|
||||
};
|
||||
/** ISO timestamp set when the task first crossed the hard token budget cap. */
|
||||
tokenBudgetHardAlertedAt?: string;
|
||||
/** Optional per-task budget override set by an operator on resume. */
|
||||
|
||||
Reference in New Issue
Block a user