microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
711 stars 589 forks source link

Micro:bit save file got mostly wiped #5423

Closed AudibleBuckle18 closed 7 months ago

AudibleBuckle18 commented 9 months ago

Describe the bug I was swapping between programs, and my save file, which had over 1,000 blocks, wouldn't load for about 10 minuites. I reloaded my page, and all that was left was a single loop with a half filled if block.

To Reproduce Steps to reproduce the behavior:

  1. Make two very large programs
  2. swap between them quickly
  3. Error may take multiple swaps to manifest.

Expected behavior The loading screen for a program just keeps on going, not stopping.

Screenshots Add screenshots to help explain your problem. You can copy paste the screenshot in the github report. The .gif screen recording is very useful as well.

Screenshot 2023-12-06 at 5 22 24 PM

micro:bit version: V2

Desktop (please complete the following information):

Additional context This may not be replicatable as I believe the server may have crashed, as my other makecode tab also froze at around the same time. I believe the animation was already cached.

abchatra commented 7 months ago

We have version control introduced to save the history in a project. If you are able to reproduce again in /beta please let us know and share the program through share link.