fix(ghidra): recover stale clients on same-target reopen (#2014)
* fix(ghidra): recover stale clients on same-target reopen * test(ghidra): allow supervised shutdown in health regression * fix(ghidra): read process exit without diagnostic snapshots Health and startup exit checks called the supervisor snapshot, which concatenates retained launcher output only to read the exit code. * test(adb): align fixtures with literal output and directory commands --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
This commit is contained in:
co-authored by
Cursor Agent
morluto
parent
69e097a8ca
commit
4573e8cf35
@@ -108,7 +108,10 @@ export type GhidraProviderClientFactory = (
|
||||
Partial<
|
||||
Pick<
|
||||
GhidraClient,
|
||||
"runtimeLineage" | "readTargetSnapshot" | "hashTargetSnapshot"
|
||||
| "operationHealthSnapshot"
|
||||
| "runtimeLineage"
|
||||
| "readTargetSnapshot"
|
||||
| "hashTargetSnapshot"
|
||||
>
|
||||
>;
|
||||
|
||||
@@ -840,6 +843,7 @@ export const createGhidraProviderClient = (input: {
|
||||
}),
|
||||
);
|
||||
},
|
||||
operationHealthSnapshot: () => client.operationHealthSnapshot?.(),
|
||||
runtimeLineageSnapshots: () => {
|
||||
const observation = client.runtimeLineage?.() ?? null;
|
||||
return observation === null
|
||||
|
||||
Reference in New Issue
Block a user