fix: make AgentRun log tail render-only
This commit is contained in:
@@ -117,8 +117,10 @@ assertCondition(
|
||||
|
||||
assertCondition(
|
||||
agentRunSource.includes("const effectiveLimit = options.tail ?? options.limit;")
|
||||
&& agentRunSource.includes("resourceLogsTailResult(config, ref.name, effectiveLimit, options.fullText)")
|
||||
&& agentRunSource.includes("clientTail: {")
|
||||
&& agentRunSource.includes("return renderEventLike(command, result, { ...options, limit: effectiveLimit }, \"Log\""),
|
||||
"AgentRun logs must map --tail N into the low-noise page limit and preserve pagination commands",
|
||||
"AgentRun logs must map --tail N into render-only client tailing for human and raw outputs",
|
||||
);
|
||||
|
||||
assertCondition(
|
||||
@@ -143,7 +145,7 @@ console.log(JSON.stringify({
|
||||
"AgentRun resource parser supports apply -f -",
|
||||
"AgentRun resource task dispatch and active task list visibility",
|
||||
"AgentRun resource failure output is visible in human mode",
|
||||
"AgentRun logs tail controls page limit",
|
||||
"AgentRun logs tail is enforced by the render-only client",
|
||||
"AgentRun dry-run mutations keep resource-command follow-up",
|
||||
],
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user