feat: add live executor observability

This commit is contained in:
liujing
2026-07-17 00:48:52 +08:00
parent 3566a73a03
commit c9d76d8f58
13 changed files with 1546 additions and 28 deletions
+9
View File
@@ -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}`);