feat(wasm): inspect local artifacts with WABT (#1533)

* feat(wasm): inspect local artifacts with WABT

* fix(wasm): preserve custom names and failed cleanup ownership

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
This commit is contained in:
Thang Luu
2026-10-11 19:49:00 +08:00
committed by GitHub
co-authored by morluto
parent e4407dbed5
commit ffaf2c12f1
46 changed files with 2309 additions and 7 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ export class MachOSliceArtifactReader implements ArtifactReader {
}
async #releaseResources(): Promise<void> {
await Promise.allSettled([...this.#pendingCommands]);
await Promise.allSettled(this.#pendingCommands);
let cleanup: ArtifactReaderFailure["cleanup"];
try {
const failures = (await this.runner.retryCleanup?.()) ?? [];