fix: report JavaScript worker phases and parent budget recovery

This commit is contained in:
morluto committed 2026-10-24 02:35:59 +08:00
1 parent 93de7bc7e3
commit 3f9357b599
7 files changed
+100 -3

No files matched your search

@@ -206,6 +206,16 @@ export const reconstructJavaScriptArtifact = async (
abortIfNeeded(signal);
},
signal,
async (file, phase) => {
abortIfNeeded(signal);
await progress?.report({
phase: `javascript_worker_${phase}`,
completed: 0,
total: 1,
message: `JavaScript worker ${phase}: ${file.path}`,
});
abortIfNeeded(signal);
},
);
} finally {
try {