mirror of
https://github.com/morluto/rea.git
synced 2026-11-13 10:12:50 +00:00
fix(native): report dispatch target applicability (#8400)
* fix(native): report dispatch target applicability * fix(native): clarify unavailable mode recovery * test(kuna): avoid overlapping verifier imports * docs(native): explain mode-specific discovery * fix(native): preserve unbound provider recovery
This commit is contained in:
1 parent
d684125eed
commit
bafe3784cd
9 files changed
+246
-7
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import { z } from "zod";
|
||||
import type { InvestigationStatistics } from "../../domain/investigationLifecycle.js";
|
||||
import { artifactTargetRefusal } from "../../domain/apple/artifactTargetApplicability.js";
|
||||
import { targetApplicabilityRefusal } from "../../domain/targetApplicability.js";
|
||||
import type { BinaryTarget } from "../../domain/binaryTargetTypes.js";
|
||||
import type { ResolvedAppBundleResourceRoot } from "../AppBundleExecutable.js";
|
||||
import { binaryTargetSummary } from "./BinaryTargetSummary.js";
|
||||
@@ -76,7 +77,12 @@ export const binarySessionStatus = async ({
|
||||
const targetRefusal =
|
||||
target === undefined
|
||||
? undefined
|
||||
: artifactTargetRefusal(descriptor.operation, target);
|
||||
: descriptor.targetApplicability === undefined
|
||||
? artifactTargetRefusal(descriptor.operation, target)
|
||||
: targetApplicabilityRefusal(
|
||||
descriptor.targetApplicability,
|
||||
target,
|
||||
);
|
||||
if (targetRefusal !== undefined && descriptor.available)
|
||||
return {
|
||||
...descriptor,
|
||||
|
||||
Reference in new issue
Block a user