MCPcopy Index your code
hub / github.com/coder/mux / workflowRunTerminalOutcome

Function workflowRunTerminalOutcome

src/node/services/taskService.ts:366–377  ·  view source on GitHub ↗
(status: WorkflowRunStatus)

Source from the content-addressed store, hash-verified

364}
365
366function workflowRunTerminalOutcome(status: WorkflowRunStatus): TerminalAttentionOutcome {
367 switch (status) {
368 case "completed":
369 return "completed";
370 case "failed":
371 return "failed";
372 case "interrupted":
373 return "interrupted";
374 default:
375 return "error";
376 }
377}
378
379function workspaceTurnTerminalOutcome(status: WorkspaceTurnTaskStatus): TerminalAttentionOutcome {
380 switch (status) {

Calls

no outgoing calls

Tested by

no test coverage detected