aliotta commented on code in PR #64333:
URL: https://github.com/apache/airflow/pull/64333#discussion_r3003070978
##########
airflow-core/src/airflow/ui/src/main.tsx:
##########
@@ -64,6 +81,16 @@ axios.interceptors.response.use(
globalThis.location.replace(`${loginPath}?${params.toString()}`);
}
+ // Track permission-based 403 URLs so future polling requests are blocked
at the request interceptor.
+ // Only block "Forbidden" (missing permissions), not other auth-related
403s.
+ if (
+ error.response?.status === 403 &&
Review Comment:
well maybe just 429 and 408 are retryable
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]