feat: add live executor observability
This commit is contained in:
@@ -16,6 +16,7 @@ import {
|
||||
decideWorkflow,
|
||||
statusWorkflow,
|
||||
abortWorkflow,
|
||||
logsWorkflow,
|
||||
retryReviewWorkflow,
|
||||
retryExecuteWorkflow,
|
||||
WorkflowEngineError,
|
||||
@@ -72,6 +73,14 @@ async function main() {
|
||||
abortWorkflow({ runId: args.runId, reason: args.reason });
|
||||
break;
|
||||
|
||||
case "logs":
|
||||
await logsWorkflow({
|
||||
runId: args.runId,
|
||||
follow: args.follow,
|
||||
tail: args.tail,
|
||||
});
|
||||
break;
|
||||
|
||||
default: {
|
||||
const _exhaustive: never = args;
|
||||
throw new Error(`Unknown subcommand: ${(_exhaustive as any).sub}`);
|
||||
|
||||
Reference in New Issue
Block a user