fix(inspector): preserve script identity and parse-failure facts
Fixes #6535 Fixes #6546
This commit is contained in:
1 parent
6bb4f4bf7d
commit
56685c6ec6
11 files changed
+223
-10
No files matched your search
@@ -10,6 +10,7 @@ import type {
|
||||
ListJavaScriptRuntimeTargetsInput,
|
||||
ObserveJavaScriptRuntimeInput,
|
||||
} from "../../domain/javascript/javascriptRuntimeObservation.js";
|
||||
import { jsonValueSchema } from "../../domain/jsonValue.js";
|
||||
|
||||
type RuntimeObservationOperation =
|
||||
| "list_javascript_runtime_targets"
|
||||
@@ -29,7 +30,7 @@ export const createJavaScriptRuntimeObservationEvidence = (
|
||||
: "rea.javascript-runtime-observation",
|
||||
operation,
|
||||
parameters: parameters(input),
|
||||
result,
|
||||
result: jsonValueSchema.parse(result),
|
||||
rawResult: null,
|
||||
confidence: "observed",
|
||||
authority: "external-service",
|
||||
|
||||
Reference in new issue
Block a user