-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circular dependency between blockly and dev-tools #5834
Comments
I wrote a brainstorming/options doc and then we discussed as a group. I'll summarize the 3 options discussed.
Nobody was really strongly in favor of either option 2 or 3. Therefore we decided to go with option 1, but leaving it open to changing our minds in the future. If this continues to be a problem or cause undue amounts of toil, then we will revisit. When we revisit, we are leaning towards Option 3. We can make the npm link process less painful by adding a workflow that automatically repackages blockly after a change, or possibly by enabling blockly to be linked at the top-level instead of from within the Separately, we also should go ahead and change the codelabs so that none of them encourage people to make edits anywhere in the core codebase (unless it is a codelab about contributing to Blockly). Either the codelab should provide starter code, or the codelab should start with calling the TLDR: For at least Q1 2022, we do not plan to change the location of the advanced playground. We may decide to do so in the future. |
Is your feature request related to a problem? Please describe.
Having the advanced playground in core creates a circular dependency between Blockly and dev-tools. In the past release we had changes in dev-tools that required the new version of Blockly and Blockly needed the new version of dev-tools for the advanced playground to work. This required us to release a patch version of Blockly to up date the dev-tools version. On top of that, during the quarter we must release a beta version of dev-tools every time that we up date it to rely on the most recent release.
Describe the solution you'd like
I'm not entirely sure on the correct fix for this. The obvious option is to remove the advanced-playground from core and have developers use the advanced playground in samples (probably in the dev-tools plugin?). However, linking to Blockly locally requires the developer builds and packages Blockly every time there is a change. We would probably want to find a way to automate this so that using the advanced playground with local Blockly does not become a large pain point.
Describe alternatives you've considered
Additional context
I believe most if not all of our codelabs tell developers to use the advanced playground. So this will also need to be addressed.
The text was updated successfully, but these errors were encountered: