fix(tools): drop multi-status filter in fleet audit — hub times out on comma-separated status values
CI / Test ingest-api (push) Failing after 40s
CI / Lint and typecheck admin-ui (push) Failing after 43s
CI / Validate Docker build (push) Failing after 42s
CI / Test api (push) Failing after 10m49s

Paperclip-Task-Id: BIT-25722
This commit is contained in:
David Santos committed 2026-06-22 07:22:16 +00:00
1 parent 3c307ea32d
commit 615d771ade
1 file changed
+1 -2
@@ -126,8 +126,7 @@ def _patch_json(url: str, payload: dict[str, Any], headers: dict[str, str] | Non
def fetch_hub_rows(hub_base: str, api_key: str, limit: int) -> list[dict[str, Any]]:
url = (
f"{hub_base}/api/error-monitoring/recent-errors"
f"?limit={limit}&status=open,investigating,resolved,ignored"
f"&order=occurred_at_desc&api_key={api_key}"
f"?limit={limit}&order=occurred_at_desc&api_key={api_key}"
)
# Use curl to avoid Cloudflare bot challenges on urllib
result = subprocess.run(