fix: report JavaScript worker phases and parent budget recovery

This commit is contained in:
morluto
2026-10-24 02:34:27 +08:00
parent 93de7bc7e3
commit 3f9357b599
7 changed files with 100 additions and 3 deletions
@@ -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 {