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
Archived Workflows - Failed to execute 'setItem' on 'Storage' #9656
Comments
@ltartarini Thanks for fixing this bug. Please submit the PR. We are happy to review. |
@sarabala1979 i don't think anyone fixed.
i wonder if its related to too many workflows which fill up the browser storage? i have over 35k in that month range below is the javascript:
i guess it is not paginating by doing a new request to server every 500 rows but instead storing ALL workflows for the month in the browser in one go #9570 maybe related any idea @terrytangyuan ? |
The bug is on this line of code: Line 185 in 365b6df
It should not save state to local storage. |
@alexec - Is the scope of the solution for this issue about not saving the state at all for archived workflows into the browser's local storage, or to store the state to the browser's local storage with a pagination/max limit? |
The code is saving more into the state that is needed. The line needs to be changed to something like this.storage.setItem('options', {this.state.pagination}, {}); |
Just to confirm: Basically all the state variables (this.state.*) - except the |
That is correct. |
Awesome. Can I work on the patch for this as part of Hacktoberfest, if no one is already working on it? |
Opened a PR here: #9846 |
@alexec Regarding @athityakumar 's question above: this PR does not save workflows to local storage at all (as opposed to paginating them). Do you feel that's okay? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is a mentoring request, please provide an update here. Thank you for your contributions. |
Not stale |
Pre-requisites
:latest
What happened/what you expected to happen?
When opening the tab "Archived Workflows" in the web UI I got the following error:
Failed to execute 'setItem' on 'Storage': Setting the value of 'ArchiveListOptions/options' exceeded the quota.
In particular, I am using a Postgres storage backend to archive the workflows and I already tried to increase resources for both workflow-controller and argo-server.
Any idea?
Version
v3.3.5
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.
Cannot view any workflow in the UI.
The text was updated successfully, but these errors were encountered: