fix: await both owned crash trees and dispose fixtures before removal

This commit is contained in:
Agent Workbench Dev
2026-10-31 02:56:38 +08:00
parent e1a2661bf4
commit 91cdd454ed
24 changed files with 13289 additions and 23 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ provider.complete = async (config, messages, project) => {
const save = store.save;
store.save = function(session, event) { const result = save.call(this, session, event); if (event?.type === 'worker.check_process_owned') {
const info = [...store.core.check_job.values()].find(job => job.id === event.detail.jobId)?.currentCheck?.process;
process.send?.({ kind: 'owned-check', descendants: info?.descendants?.length ?? 0 });
process.send?.({ kind: 'owned-check', jobId: event.detail.jobId, process: info, descendants: info?.descendants?.length ?? 0 });
} return result; };
const group = store.core.collaboration.get(groupId), parent = store.session(group.sessionId);
const started = runtime.workerManager().start(parent, group.id, group.fingerprint);