Skip to content

remove ancient patch floating blocks code#11281

Merged
riknoll merged 2 commits intomasterfrom
dev/riknoll/microbit-patch-floating-blocks
Apr 23, 2026
Merged

remove ancient patch floating blocks code#11281
riknoll merged 2 commits intomasterfrom
dev/riknoll/microbit-patch-floating-blocks

Conversation

@riknoll
Copy link
Copy Markdown
Member

@riknoll riknoll commented Apr 21, 2026

fixes microsoft/pxt-microbit#6776

removes the code for patching ancient scripts that existed prior to the existence of the on start block, back when we allowed you to put code anywhere on the workspace. this was also prior to us having the share feature so i think it's very unlikely that any of these scripts are floating around in the wild.

if someone had a hex file that was made before this time (10 years ago), then they could possibly run into issues importing it into makecode, but i think it's just as likely to fail for many other reasons given how different everything is now! they can always import it into one of the older versions of makecode like v0

@riknoll riknoll requested a review from a team April 21, 2026 21:12
@abchatra
Copy link
Copy Markdown
Collaborator

Lets hotfix as well.

@riknoll riknoll merged commit 35c66fb into master Apr 23, 2026
20 checks passed
@riknoll riknoll deleted the dev/riknoll/microbit-patch-floating-blocks branch April 23, 2026 17:21
riknoll added a commit that referenced this pull request Apr 23, 2026
* add disabled reasons to import check

* remove patch floating blocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unintentional migration of blocks into "on start"

3 participants