ember-fastboot / ember-cli-fastboot

Server-side rendering for Ember.js apps
http://ember-fastboot.com/
MIT License
852 stars 160 forks source link

Update using ember-cli-update and drop support for Node 10 #834

Closed mansona closed 2 years ago

mansona commented 3 years ago

So this PR has been a bit of a saga 🙈

Essentially I have been trying to get https://github.com/ember-fastboot/ember-cli-fastboot/pull/824 working (so that we can add node 16 to our test suite) and I have been having the world of trouble.

To make a long story very short: we had a problem with a sub-sub-sub-dependency of ember-cli-babel@6, workerpool. The version that we had in our sub-sub-sub-dependencies was very very old and had a bug in it that broke Node 16 that was fixed in the latest version.

My first attempt to fix this was to try and update the version of workerpool that we used in our old ember-cli-fastboot and potentially release a patch version of that: https://github.com/babel/broccoli-babel-transpiler/pull/203 but @rwjblue rightly said that this caused odd semver concerns.

in that conversation @stefanpenner said that if we could patch the old version of workerpool then we could release a patch of that old version, so I did 🎉 https://github.com/josdejong/workerpool/pull/309

Now that workerpool@2.3.4 has been released our problem with Node 16 that was failing the tests has gone away 🎉

Todo

mansona commented 3 years ago

Thanks for the note @snewcomer 😂 but I don't entirely agree that this looks like great work 😂

The thing is I don't know that putting a resolution in our package.json will "fix" the issue, because anyone downstream will still have this issue. I briefly discussed this with @Turbo87 in discord the other day and we had some ideas on how to proceed: https://discord.com/channels/480462759797063690/485861149821239298/850047640816582767

I would love to know your thoughts, It's a shame I couldn't join the meeting yesterday because I would have loved to discuss this.