Merge pull request #937 from getmaxun/run-progress

feat(core): real time progress update for runs
This commit is contained in:
Karishma Shukla
2026-01-04 18:11:48 +05:30
committed by GitHub
4 changed files with 145 additions and 13 deletions

View File

@@ -580,6 +580,13 @@ export class WorkflowInterpreter {
setActionName: (name: string) => {
this.currentActionName = name;
},
progressUpdate: (current: number, total: number, percentage: number) => {
this.socket.nsp.emit('workflowProgress', {
current,
total,
percentage
});
},
},
serializableCallback: async (data: any) => {
try {