fix(web)!: retain capture read cleanup through export

BREAKING CHANGE: WebScriptExportError accepts error context and residual paths in an options object.
This commit is contained in:
morluto
2026-10-11 06:30:56 +08:00
parent 67966c69a5
commit 95a77b6e25
4 changed files with 479 additions and 85 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ export const publishWebScripts = async (
cause instanceof ArtifactReaderFailure ? cause.reason : "io",
tree.outputRoot,
diagnostic,
[tree.outputRoot],
{ residualPaths: [tree.outputRoot] },
);
if (tree.published && result !== undefined)
error.retainPartialObservation({