mirror of
https://github.com/morluto/rea.git
synced 2026-12-06 15:33:56 +08:00
fix(source-maps): preserve physical codec launch failures during cancellation (#12579)
* fix(source-maps): classify launch failure by process owner * fix(source-maps): retain preparation cleanup ownership during cancellation (#12582) fix(source-maps): preserve ownership preparation failure origins
This commit is contained in:
@@ -8,6 +8,7 @@ import { projectAnalysisError } from "../../../src/domain/analysisErrorProjectio
|
||||
import { SourceMapDecoder } from "../../../src/javascript/sourceMaps/SourceMapDecoder.js";
|
||||
import type { SourceMapDecoderDependencies } from "../../../src/javascript/sourceMaps/SourceMapCommand.js";
|
||||
import { PrivateRuntimeRoot } from "../../../src/process/PrivateRuntimeRoot.js";
|
||||
import { assertProcessOwnershipInspectionActive } from "../../../src/process/ProcessInspectionCancellation.js";
|
||||
import { spawnOwnedProviderProcess } from "../../../src/process/ProviderProcess.js";
|
||||
import { waitForProviderProcessReady } from "../../fixtures/providerProcess.js";
|
||||
import {
|
||||
@@ -69,7 +70,7 @@ it.each([
|
||||
const decoder = realDecoder({
|
||||
prepareOwnership: async (signal) => {
|
||||
controller.abort(reason);
|
||||
signal?.throwIfAborted();
|
||||
assertProcessOwnershipInspectionActive(signal);
|
||||
},
|
||||
createRuntime,
|
||||
launcher,
|
||||
|
||||
Reference in New Issue
Block a user