Skip to content
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

[BUGFIX release] Remove unintentional duplication from ember-testing bundle #20726

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Jul 30, 2024

Working on a fix for #20724

The ember-testing bundle is inlining copies of other ember packages that cause state to duplicate, which is most noticeable in breaking legacy test waiters.

  • Next step here is to sort out the AMD/ESM compat for the external references between the bundles.

@ef4 ef4 force-pushed the extra-content-in-testing branch from 7bbd411 to cb17142 Compare August 5, 2024 18:50
@ef4 ef4 marked this pull request as ready for review August 5, 2024 18:50
get VERSION() { return require('ember/version').default },
},
}`,
'@ember/-internals/glimmer': `{
Copy link
Contributor

Choose a reason for hiding this comment

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

are these stubs that don't matter / aren't used in the actual output?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They're used in the ember-template-compiler.js bundle. Which has always done wonky things so that it will share the main ember implementations of things if you load it into the browser, but bring its own copies of some of the things and stub the others if you load it by itself in node.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The node tests accurately reflect the things that older versions of ember-cli-htmlbars actually expect the ember-template-compiler.js bundle to do.

@ef4
Copy link
Contributor Author

ef4 commented Aug 5, 2024

@kategengler this is ready and should be "bugfix release".

@ef4 ef4 mentioned this pull request Aug 5, 2024
@kategengler kategengler changed the title Remove unintentional duplication from ember-testing bundle [BUGFIX release] Remove unintentional duplication from ember-testing bundle Aug 5, 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.

3 participants