stackblitz / webcontainer-core

Dev environments. In your web app.
https://webcontainers.io
MIT License
3.93k stars 171 forks source link

Lost all progress when prompted to upgrade my membership #1620

Open captecdigital opened 3 days ago

captecdigital commented 3 days ago

Describe the bug

I have been working with your AI for the last few hours and managed to burn through around 5 million tokens. I think this afternoon and it came up with a notification saying that I had around 152,000 tokens left and encouraged me to upgrade to the next package the 50 million token package and by clicking on the link and then following the steps to upgrade my membership subscription the application has lost progress over the last few hours and reverted back to old version

Link to the blitz that caused the error

https://stackblitz.com/edit/sb1-htr7vp?file=.gitignore

Steps to reproduce

Spent half the day coding with your AI use up all the credits. Click the link to upgrade your package to continue working on your project. Return to the project notice all the work has disappeared.

Expected behavior

I would have expected the system to have also saved and backed up much more regularly than the previous checkpoint that it took me back to. I was not aware that progress is not automatically live. Saved like it is with all other AI applications I have used. I would also expect that if this system provides a link to click the necessary precautions would be in place to ensure that by clicking that link to increase my membership that I wouldn't lose out on all the work that I had been working on which caused me to use my credits in the first place. This isn't actually the first time this has happened but the previous time I thought it was my fault so I haven't reported anything however that needs to be your systems in place that more regularly save progress on people's projects. The conversation history is all gone, so the AI can only work off what it's using in front of it, which is a very outdated version of the app that I've been building.

Parity with Local

Screenshots

Screenshot isn't really relevant in this case because I haven't got any screenshots of the prior version or any logs

Platform

Browser name  = Chrome
Full version  = 128.0.0.0
Major version = 128
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0
performance.memory = {
  "totalJSHeapSize": 101441888,
  "usedJSHeapSize": 88103300,
  "jsHeapSizeLimit": 4294705152
}
Hash = d3acb9e1

Additional context

I have ticked the box above to state that I have run the project in my local machine, and I could not reproduce the issue because without taking that box, it will not allow me to to submit this form, which seems like it must be a error because I haven't run the project on my local machine, but I still want to submit this issue for you to look into. If there is any way that you are able to revert my current working files to a more recent version in case there are additional backups saved somewhere and it's just a book that I've gone back to this early version, that would be greatly appreciated, so I don't have to redo all of the work again.