fix(workbench): require explicit terminal trace authority (#2043)
This commit is contained in:
@@ -251,7 +251,7 @@ function terminalTraceEventEvidence(events = []) {
|
||||
const event = events[index];
|
||||
if (!event || typeof event !== "object") continue;
|
||||
if (retryableProviderInterruptionEvidence(event)) continue;
|
||||
const terminal = event.terminal === true || event.final === true || event.replyAuthority === true;
|
||||
const terminal = event.terminal === true;
|
||||
if (!terminal) continue;
|
||||
const status = terminalStatusFromValue(event.status ?? event.terminalStatus) ?? (event.error || event.errorCode ? "failed" : "completed");
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user