fix(server): let slow provider CLIs raise their discovery probe budget (#6223)

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Carlos JimenezandJulius Marminge authored and GitHub committed 2026-08-15 12:07:38 +00:00
1 parent ad47d2347c
commit d715c2e56b
2 files changed
+16 -3

No files matched your search

@@ -45,6 +45,10 @@ export const discovery = {
executable: "az",
versionArgs: ["--version"],
authArgs: ["account", "show", "--query", "user.name", "-o", "tsv"],
// `az` boots a fresh Python interpreter on every invocation, so even `az --version`
// takes ~6s on Windows and overruns the default budget, leaving the provider reported
// as missing on machines where it is installed. `gh` and `glab` answer in ~0.3s.
probeTimeoutMs: 20_000,
parseAuth: parseAzureAuth,
installHint:
"Install the Azure command-line tools (`az`), then enable Azure DevOps support with `az extension add --name azure-devops`.",