Keep provider diagnostics useful when discovery is slow (#1724)

This commit is contained in:
Mohamed Boudra
2026-06-25 19:30:19 +08:00
committed by GitHub
parent c00121273b
commit 2cf041c4d8
10 changed files with 782 additions and 107 deletions
@@ -70,6 +70,9 @@ async function findFirstProbeable(
continue;
}
seen.add(candidate);
if (!options.exists(candidate)) {
continue;
}
if (await options.probeExecutable(candidate, options.probeTimeoutMs)) {
return candidate;
}