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).
This commit is contained in:
1 parent
3da9e47873
commit
b190d6fa1b
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user