test(android): retain incomplete cleanup failure reasons (#1443)

Include the full stop disposition in the fixture assertion message, so incomplete owned teardown retains its typed reason in Vitest failure reporters. Preserve the existing cleanup requirement without retries or relaxed ownership checks.

Seven process-boundary tests, full serial typecheck/lint/duplication/format checks, and 19 final-head CI checks pass after integrating the combined-main fixture fix. A controlled failure-rendering probe verifies that the explicit message preserves the reason. The original CI cleanup failure remains unreproduced; this is diagnostic work with a synthetic JADX producer, not a root-cause or real-engine fix.

Refs #1441, #1446, #1448, #1065.
This commit is contained in:
Ysopwnable 2026-10-10 14:37:49 +08:00 committed by GitHub
parent ea92328775
commit 4e3d335439
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -74,7 +74,10 @@ export const createJadxProtocolFixture = async (
ownsProcessLifetime: true,
cleanup: () => cleanupOwnedProcessGroup(spawned.ownership),
});
expect((await supervisor.stop()).status).not.toBe("incomplete");
const stopped = await supervisor.stop();
expect(stopped, JSON.stringify(stopped)).not.toMatchObject({
status: "incomplete",
});
if (options.cwd !== undefined)
await rm(options.cwd, { recursive: true, force: true });
});