Kreya
Kreya copied to clipboard
Variable values not persisted on application force-quit/crash
Describe the bug Variable updates are missed if Kreya is force-quit on Mac
To Reproduce Steps to reproduce the behavior:
- Set up a request with a script which stores some variable after completion
- Use said variable in request (e.g. query params) to show what state Kreya knows the variable to be
- Run a request to ensure variable is set
- Force quit Kreya
- Re-open Kreya, variable has gone back to previous version (i.e. not latest)
Expected behavior Variable state should be preserved whenever possible, i.e. latest updates to variables should be durable
Screenshots If applicable, add screenshots to help explain your problem.
Environment (if possible, copy the information from the error dialog or the About menu):
- OS: MacOS (arm)
- Kreya Version latest
Additional context It seems possible variable state is only being written on application close, perhaps there should be some more regular routine sync/save.