microsoft / pxt-microbit

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

C++ Cloud compiler might be down/broken #5705

Closed microbit-carlos closed 3 weeks ago

microbit-carlos commented 3 weeks ago

Description

Updating and building a C++ extension locally using PXT_FORCE_LOCAL=1 pxt build in the CLI works.

Building the same extension in the CLI using the cloud compiler via pxt build fails. It shows the waiting 8s for C++ build... message multiple times and then it gives up with abandoning C++ build, terminating with this error:

error TS9043: The hex file is not available, please connect to internet and try again.

The thing we found odd is that in some cases, importing an extension as a C++ project into the MakeCode editor (via import of GH URL, or by drag&drop a locally built hex file) did successfully re-build the C++ code and produced a hex file.

However, creating a new project and adding the same extension using exactly the same tag, then building the new project does fail with the same abandoning C++ build error shown in the browser console.

Reproduce

This simple project is using a simple C++ extension pxt-banana to replicate the issue:

https://makecode.microbit.org/_FtsJVkTamUDr

image

Versions

Tested with MakeCode live:

And beta:

microbit-carlos commented 3 weeks ago

@abchatra could somebody have a look at this please?

abchatra commented 3 weeks ago

@riknoll

riknoll commented 3 weeks ago

it's back up! sorry for the trouble!

microbit-carlos commented 3 weeks ago

Thanks everyone!