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

Fix ci and get working with Ember 5 #916

Closed
wants to merge 29 commits into from

Conversation

Gaurav0
Copy link
Contributor

@Gaurav0 Gaurav0 commented May 13, 2023

Merges #898 , #907, and #915

fastboot-shoebox-test was broken by #905

Only one test is failing, and it is due to this bug: emberjs/ember.js#20377

Update: the test is "Fixed", but only because the current release is now Ember 5.0

bobisjan and others added 15 commits July 8, 2022 07:35
When running against Ember 4.4 our CI was failing, because
ember-cli-babel incorrectly gets confused about which actual
ember-source is in use.

---

Without this change, the various ember-cli-babel processes were
identifying that ember-source@3.26 was in use and was therefore
transpiling all `@ember/***` module usage to `Ember` global usage. This
is "fine" for Ember 3.26, but under 3.27+ "real" modules exist and
globals rewriting is no longer needed.
@Gaurav0 Gaurav0 force-pushed the fix_ci branch 4 times, most recently from 38cf419 to 74a747e Compare May 13, 2023 19:52
@Gaurav0 Gaurav0 force-pushed the fix_ci branch 2 times, most recently from 7a16150 to b786946 Compare May 14, 2023 17:06
@Gaurav0 Gaurav0 marked this pull request as ready for review May 15, 2023 01:24
@Gaurav0 Gaurav0 changed the title Fix ci Fix ci and get working with Ember 5 May 16, 2023
@@ -16,15 +16,15 @@ describe('FastBootLocation Configuration', function () {

return app
.create('fastboot-location-config', {
emberVersion: 'latest',
emberDataVersion: 'latest',
emberVersion: '~3.28.12',
Copy link
Member

Choose a reason for hiding this comment

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

@Gaurav0, thanks heaps for doing this.

Why fix the version to 3.?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It matches the default version of the ember-cli-fastboot addon being used in the test.

In a followup PR, we should probably update all the defaults to 4.12. Right now, just want to get things working again.

Copy link
Member

@kiwiupover kiwiupover left a comment

Choose a reason for hiding this comment

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

Thanks heaps for doing this @Gaurav0 Looks great to me

@gilest
Copy link

gilest commented Jun 22, 2023

Nice work @Gaurav0 !

How can we help with this? I'm happy to do some testing with existing apps.

@mansona
Copy link
Member

mansona commented Aug 10, 2023

I'm closing this for now. I've looked into it and it seems like the fix is in the wrong place. Also the PR is too big to realistically review properly.

For anyone following this work I'm taking back up the mantle of fixing ember-cli-fastboot this week so don't worry about this getting lost 👍

@mansona mansona closed this Aug 10, 2023
@Gaurav0 Gaurav0 mentioned this pull request Oct 17, 2023
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.

None yet

7 participants