-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Extensions don't stay enabled #7784
Comments
If the
It looks like this right after Lens has started:
This would explain why the extension is not enabled after restarting Lens. I have seen this before, do you remember what the problem is @Nokel81 ? |
Looks likes a call to Maybe making a unit test with that initial state and expecting that after the application starts up that the state is the same could help here. |
Yeah we probably should do nothing in that case. IIRC the shape of the stored object changed in that PR. Also, does the |
It does change. That was copy-paste chicanery on my part, I edited my lens-extensions.json file to have just one extension in it, missed the version change. |
Okay good |
I believe that the intended behaviour was to convert between an object based storage and an entry based one since the backing type changed from |
Ok. I'm going to double check this because I see the migration version changing for a dev run but it appears the alphas are not changing it(?) On my windows machine, latest alpha, after testing with it and previous alpha:
|
Maybe this is caused by me going from latest to alpha to latest... |
Hmmm Screen.Recording.2023-05-29.at.5.37.42.PM.mov |
Oh I see, that is the single store the now uses a new method of calculating the store version number, which is based on the declared migrations. But migrations are only declared on |
Describe the bug
If you enable an extension then restart Lens, the extension is disabled.
To Reproduce
Steps to reproduce the behavior:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: