Skip to content

Conversation

@BeksOmega
Copy link
Contributor

@BeksOmega BeksOmega commented Mar 22, 2024

Random broken things, some of which were caused by the merge from master into v11, others of which were caused by bumping to the 11.0.0-beta.6

@BeksOmega BeksOmega changed the title Fix/build v11 fix: build for the v11 branch Mar 22, 2024
@BeksOmega BeksOmega marked this pull request as ready for review March 22, 2024 22:19
@BeksOmega BeksOmega requested a review from a team as a code owner March 22, 2024 22:19
@BeksOmega BeksOmega requested review from maribethb and removed request for a team March 22, 2024 22:19
const chai = require('chai');
const {testHelpers} = require('@blockly/dev-tools');
const Blockly = require('blockly/node');
const Blockly = require('blockly/core');
Copy link
Contributor

@maribethb maribethb Mar 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh. This should have been done in #2229 and I'm surprised that not doing so didn't fail that build. You can probably just change it to 'blockly' and not add the rest of the lines importing blocks and en separately.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That didn't fail because all of the plugins were still using a version of Blockly that didn't have the exports. Christopher was just linking every plugin locally instead of testing against a beta. In the future, I don't think we should test that way. It's too error prone (e.g. this + he lost a week of work to linking incorrectly).

I'm going to continue importing each thing individually, since that's how we recommend people load the code.

@BeksOmega BeksOmega merged commit c7a4fc5 into RaspberryPiFoundation:rc/v11.0.0 Mar 25, 2024
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.

2 participants