mirror of
https://github.com/morluto/rea.git
synced 2026-11-21 14:05:49 +00:00
fix(managed): preserve native export coverage during verification (#9472)
This commit is contained in:
1 parent
90c95a6b64
commit
00a6524b9a
3 files changed
+94
-2
No files matched your search
@@ -34,6 +34,11 @@ export interface ManagedNativeObservationFacts {
|
||||
readonly evidence: Evidence;
|
||||
readonly symbols: readonly NativeSymbol[];
|
||||
readonly supported: boolean;
|
||||
/** Coverage of an export inventory; function observations are targeted. */
|
||||
readonly exportCoverage?: {
|
||||
readonly exhaustive: boolean;
|
||||
readonly limitations: readonly string[];
|
||||
};
|
||||
}
|
||||
|
||||
const inputFailure = (
|
||||
@@ -62,6 +67,10 @@ const readNativeObservation = (
|
||||
return ok({
|
||||
evidence,
|
||||
supported: true,
|
||||
exportCoverage: {
|
||||
exhaustive: payload.value.exports.exhaustive,
|
||||
limitations: payload.value.exports.limitations,
|
||||
},
|
||||
symbols: payload.value.exports.items.map((symbol) => ({
|
||||
evidence_id: evidence.evidence_id,
|
||||
operation: evidence.operation,
|
||||
|
||||
Reference in new issue
Block a user