Clean up session storage
Feature
When locally testing against browser session storage, it is possible to exceed the quota if the tab is overused. It might be nice to free up space by clearing out some old summaries/ops to prevent unexpected storage errors that essentially corrupt the document.
The error looks something like:
"Error: Failed to execute 'setItem' on 'Storage': Setting the value of '<value>' exceeded the quota.
It was noticed by having the same tab open for a few days.
if we don't have a need to long running sessions, another approach could be the propagate this error, and close the container. We'd probably want some UX in the webpack-component-loader too, so the user knew their container was full, and they should create a new one
This issue has been automatically marked as stale because it has had no activity for 180 days. It will be closed if no further activity occurs within 8 days of this comment. Thank you for your contributions to Fluid Framework!