github-actions[bot] opened a new pull request, #64492:
URL: https://github.com/apache/airflow/pull/64492

   * UI: Block polling requests to endpoints that returned 403 Forbidden
   
   Adds axios interceptors to track URLs that return 403 and abort
   subsequent requests to those URLs. Permissions don't change mid-session,
   so this prevents wasted polling traffic without requiring per-component
   changes.
   
   * UI: Only block polling for permission-based 403s, not auth-related ones
   
   Narrow the 403 URL tracking to responses with detail "Forbidden"
   (missing permissions). Auth-related 403s like "Invalid JWT token"
   are left alone to trigger the login redirect.
   
   ---------
   (cherry picked from commit 3e3b44cd4fefba2beef91c7468f5dc678ab21f59)
   
   Co-authored-by: Pierre Jeambrun <[email protected]>
   Co-authored-by: Rahul Vats <[email protected]>


-- 
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]

Reply via email to