fix(android): cancel admitted snapshot copies with their operation

Forward caller and timeout cancellation through engine and APK snapshots, release stream handles before removing partial output, and retain the existing root cleanup authority. Verify cancellation after destination bytes appear with a sparse filesystem fixture.
This commit is contained in:
morluto
2026-10-11 01:54:20 +08:00
parent c1217e711b
commit 999e3e2098
3 changed files with 73 additions and 7 deletions
+2
View File
@@ -388,12 +388,14 @@ export class JadxProvider implements AndroidAnalysisPort {
jarHash,
root.path,
request.operation,
signal,
);
const snapshot = await snapshotAndroidTarget(
target.path,
target.sha256,
root.path,
request.operation,
signal,
);
const bridge = join(root.path, "ReaJadxBridge.java");
await copyFile(BRIDGE_SOURCE, bridge);