-
Notifications
You must be signed in to change notification settings - Fork 128
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
Fix Beta/Canary Tests #404
Conversation
22a16e7
to
7b312ed
Compare
I think the actual culprit here was the If the rest of the changes here should be removed, I can pull them into a separate PR or ditch them altogether. I'm also happy to take that clean-up further and remove the use of the |
Okay, so the To get the rest of them, we need to upgrade more dependencies that depend themselves on |
^ I'm hoping that cleaning up more of the deprecation warnings will show us whatever is causing the Edit: This seems to be the error hanging up Embroider:
|
With those last dependency updates, I was able to get the Embroider build to pass locally... 🤞 that it passes in CI, too! |
e089032
to
2c9457c
Compare
Same issue as before is still happening in CI, but Embroider installed locally seems to work fine... I don't get it 🤷 |
Still working on reproducing that specific If I just run the normal Embroider build locally (by follow it's normal installation steps) it works fine. If I try to run it through |
Welp, I thought that a hail-Mary attempt at regenerating the whole lockfile might fix things by upgrading some deep-down version of a package that might be causing the problems, but... Apparently not! |
b317c62
to
9d3a239
Compare
I'm going to try the Embroider setup from #403 just to see if that, for some reason, helps... |
Nope... Same problem 😡 |
Okay, I'm going to back off and take a different approach here. I think there are some CI configuration improvements that could be made, including allowing the Beta and Canary builds to fail (at least for now, where it seems like it's something on Ember's end rather than on this package's end). I'm going to open a separate PR to address that clean-up, then revisit after that. I tried again to get the Embroider tests to fail locally but... they just don't. That's making me think it might have something to do with the CI environment itself. Nothing seems strange but here are some outdated packages (like |
* Upgrade package * Use `hbs` template tag from that package instead
* Set the Ember Edition in `package.json` * Set all optional features to Octane default values * Remove single-use, classic-style components in favor of inlining an Octane-style equivalent into the test itself
This prevents accessing the Ember global in the 3.27+ version of Ember, in which this behavior is deprecated
16b5d4e
to
5f8bc3f
Compare
Is this current with the main branch? Should we update/merge with the ember-try failures as welll? |
Changes proposed in this pull request
The tests for #403 show the
ember-beta
andember-canary
builds timing out. This should address those problems and get them working again!It also fixes some warnings related to Ember 4.0 that are printed when running the tests.
A few code mods were used to migrate to better-recommended approaches to things:
ember-cli-htmlbars-inline-precompile-codemod
qunit-dom-codemod
The
qunit-dom
change was made to resolve an issue wherefind('*')
was used to check the text content of the whole "template" for an integration test, but that syntax isn't actually valid. I thought thatqunit-dom
might help. That wasn't quite the answer, as I still had to go remove the'*'
argument that was code-modded into thequnit-dom
syntax, but thequnit-dom
error made it more clear what was going wrong. Since the syntax is cleaner and the tests read more easily with them using that library, I figured I would leave that in this PR.