mirror of
https://github.com/morluto/rea.git
synced 2026-11-20 21:53:51 +00: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:
1 parent
184ed690d6
commit
8f72740592
4 files changed
+206
-105
No files matched your search
@@ -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