mirror of
https://github.com/morluto/rea.git
synced 2026-11-22 14:35:45 +00:00
refactor(process): build provider captured output through one owner (#11330)
* refactor(process): build provider captured output through one owner * fix(process): report only declared diagnostics on successful provider results
This commit is contained in:
1 parent
264dcd5fee
commit
0d35ea065d
25 files changed
+198
-147
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { capturedProviderOutput } from "../process/capturedProviderOutput.js";
|
||||
import { randomUUID } from "node:crypto";
|
||||
import { rm } from "node:fs/promises";
|
||||
|
||||
@@ -14,7 +15,6 @@ import {
|
||||
runOwnedCommand,
|
||||
} from "../process/OwnedCommand.js";
|
||||
import { DarwinProcessOwnershipInspectionError } from "../process/DarwinProcessRunTokenReader.js";
|
||||
import { artifactCommandOutput } from "../process/ArtifactAnalysisResources.js";
|
||||
import {
|
||||
AnalysisOutputError,
|
||||
cancelledBy,
|
||||
@@ -142,7 +142,7 @@ export const runDesktopBuildOwnedCommand = async (input: {
|
||||
? preparation instanceof DarwinProcessOwnershipInspectionError
|
||||
? preparation.capturedOutput
|
||||
: undefined
|
||||
: artifactCommandOutput(command.snapshot);
|
||||
: capturedProviderOutput(command.snapshot);
|
||||
const reason = desktopBuildOwnedCommandReason(failure);
|
||||
const physical =
|
||||
failure instanceof AnalysisError
|
||||
|
||||
Reference in new issue
Block a user