-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.5 UI: Workflow list blocked when limit applied #12663
Comments
Thanks. Seems the same. I believe the cause is in the dependency array of one of the useEffect |
Yea that was what I checked first too, but I don't see anything obviously off with it (I even checked to make sure One thing I did noticed was that I seemed to have written the wrong key for the |
Yea I can't reproduce this locally, I only have one long-running On Let me try building 3.5.4 specifically. #12626 suggests it might be an environment issue. Have you tried clearing your |
Hmm actually your issue might be different. There none of the requests get cancelled, it just opens multiple (meaning the |
Ok I was able to partially reproduce this. With pagination on and when moving between pages, I get 2 SSEs and often neither will cancelled after moving pages (sometimes 1 will be cancelled). The second one is probably due to React dev mode's double render. The bizarre part is that there is no error in the console and I confirmed with a log statement and other observations that the I can rewrite the logic so that it ensures there is only ever one This also doesn't happen when I'm not interacting with the page, I still haven't been able to reproduce an infinite loop, nor one with no interaction required. |
The plot thickens -- this doesn't fix it. Even with a singular ref, somehow multiple |
Found the main bug, the That also seems to mostly fix the So I'll fix the main problem that is a regression and hopefully we won't see the |
Pre-requisites
:latest
What happened/what did you expect to happen?
On the workflow list page, when the total number of workflows exceeds the limit applied in the query string:
(eg: total number of workflows = 150 and
<base_url>/workflows/product-replacement-engine?&limit=140
)the application enters into a loop, continuously repeating the same calls, and blocking any other requests.
Version
v3.5.4
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
n/a
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: