Skip to content
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

Variable values not persisted on application force-quit/crash #249

Open
hugecannon opened this issue Jul 26, 2024 · 1 comment
Open

Variable values not persisted on application force-quit/crash #249

hugecannon opened this issue Jul 26, 2024 · 1 comment
Labels
bug Something isn't working status:planned We plan to work on this

Comments

@hugecannon
Copy link

Describe the bug
Variable updates are missed if Kreya is force-quit on Mac

To Reproduce
Steps to reproduce the behavior:

  1. Set up a request with a script which stores some variable after completion
  2. Use said variable in request (e.g. query params) to show what state Kreya knows the variable to be
  3. Run a request to ensure variable is set
  4. Force quit Kreya
  5. 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.

@hugecannon hugecannon added the bug Something isn't working label Jul 26, 2024
@CommonGuy CommonGuy added the status:planned We plan to work on this label Jul 31, 2024
@CommonGuy
Copy link
Contributor

Yes, currently Kreya only saves the variable state on exiting. We will check whether we can change this to saving immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status:planned We plan to work on this
Projects
None yet
Development

No branches or pull requests

2 participants