From b190d6fa1b99a0ac16ae12b6035ba84414d617dd Mon Sep 17 00:00:00 2001 From: David Santos Date: Mon, 7 Sep 2026 09:39:28 +0100 Subject: [PATCH] chore(hub): BIT-30044 restore multi-status filter in fleet audit script Revert the BIT-25722 workaround now that BIT-30040 fixed the recent-errors mega-incident query hang (verified <1s in prod with status=open,investigating,resolved,ignored&limit=2000). --- tools/paperclip/paperclip_fleet_error_reporting_audit_once.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/paperclip/paperclip_fleet_error_reporting_audit_once.py b/tools/paperclip/paperclip_fleet_error_reporting_audit_once.py index 0ec5e43..581fb72 100755 --- a/tools/paperclip/paperclip_fleet_error_reporting_audit_once.py +++ b/tools/paperclip/paperclip_fleet_error_reporting_audit_once.py @@ -126,7 +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}&order=occurred_at_desc&api_key={api_key}" + f"?limit={limit}&order=occurred_at_desc&status=open,investigating,resolved,ignored&api_key={api_key}" ) # Use curl to avoid Cloudflare bot challenges on urllib result = subprocess.run(