fix: surface AgentRun event payload summaries
This commit is contained in:
@@ -123,6 +123,16 @@ assertCondition(
|
||||
"AgentRun logs must map --tail N into render-only client tailing for human and raw outputs",
|
||||
);
|
||||
|
||||
assertCondition(
|
||||
agentRunSource.includes("function agentRunEventSummary(item: Record<string, unknown>, payload: Record<string, unknown>): string")
|
||||
&& agentRunSource.includes("push(payload.failureKind)")
|
||||
&& agentRunSource.includes("push(error.message)")
|
||||
&& agentRunSource.includes("push(error.additionalDetails)")
|
||||
&& agentRunSource.includes("push(payload.phase)")
|
||||
&& agentRunSource.includes("function agentRunEventCommandId(item: Record<string, unknown>, payload: Record<string, unknown>): string"),
|
||||
"AgentRun logs/events must render payload error, backend phase, and command id summaries by default",
|
||||
);
|
||||
|
||||
assertCondition(
|
||||
agentRunSource.includes("function rerunWithoutDryRun(command: string): string")
|
||||
&& agentRunSource.includes("options.dryRun ? [rerunWithoutDryRun(command)] : undefined"),
|
||||
@@ -146,6 +156,7 @@ console.log(JSON.stringify({
|
||||
"AgentRun resource task dispatch and active task list visibility",
|
||||
"AgentRun resource failure output is visible in human mode",
|
||||
"AgentRun logs tail is enforced by the render-only client",
|
||||
"AgentRun logs/events expose payload error and backend phase summaries",
|
||||
"AgentRun dry-run mutations keep resource-command follow-up",
|
||||
],
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user