You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[refactoring] reduce size of execute rewrite recipes messages #897
The message for the command sts/rewrite/execute contains lots of data and has a size of about 500Kb (in my tests). This doesn't seem to be reasonable and we should reduce the size down to the data that is really needed to identify the selected recipes and their params (as a first guess).
The sts/rewrite/list needs improvements in this area as well. Likely we need to flatten the recipe tree such that when navigating inside the recipe we'd load more data for sub-recipes rather than load everything at once.
There is going to be quite a bit of work. Size of the recipe descriptor json has grown thus we'd need to address this rather soon.
Should be fixed with d6ff60a
Instead of loading. all recipes and sub-recipes lazy load sub-recipes on demand. Instead of sending recipe descriptors to instatiate recipes on the LS side send selected recipes json.
Activity
BoykoAlex commentedon Oct 16, 2023
The
sts/rewrite/listneeds improvements in this area as well. Likely we need to flatten the recipe tree such that when navigating inside the recipe we'd load more data for sub-recipes rather than load everything at once.There is going to be quite a bit of work. Size of the recipe descriptor json has grown thus we'd need to address this rather soon.
BoykoAlex commentedon Dec 19, 2023
Should be fixed with d6ff60a
Instead of loading. all recipes and sub-recipes lazy load sub-recipes on demand. Instead of sending recipe descriptors to instatiate recipes on the LS side send selected recipes json.