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

Stop building and testing against Node v16 (runtime EOL) #1061

Merged
merged 3 commits into from
Oct 10, 2023

Conversation

m4heshd
Copy link
Contributor

@m4heshd m4heshd commented Sep 11, 2023

Node v16 reached its EOL today. It's better not to build for unsupported runtimes on future releases.

This also removes building for Electron versions that ship with Node v16. This might seem a bit extreme but this limits a lot of issues in building going forward (like we faced in the past). It also significantly reduces the build time in releases. It already feels too much.

This also removes building for Electron versions that carries Node `v16`.
@m4heshd m4heshd requested review from JoshuaWise and a team as code owners September 11, 2023 06:58
@Prinzhorn
Copy link
Contributor

Electron 22 has EOL in four weeks and Electron 23 already had it's EOL in August and 24 EOL in 3 weeks (the EOL overlaps weirdly because 22 had extended EOL because Windows 7 was dropped). So maybe we remove 23 and 24 as well and merge this in four weeks?

https://endoflife.date/electron

@m4heshd
Copy link
Contributor Author

m4heshd commented Sep 11, 2023

@Prinzhorn We discussed this a bit in #1042 (comment). I still think we could keep building for actively maintained embedded Node runtimes since that's the requirement for native modules that actually matter. But definitely worth discussing further with the maintainers since the Electron release and EOL schedule could make build scripts quite messy and expensive.

Expecting some input from @mceachen.

@mceachen
Copy link
Member

mceachen commented Sep 13, 2023

I’m a bit jaded here.

I’m personally much more hesitant to drop electron builds over node builds, simply because node version-to-version stability is substantially better than electron. PhotoStructure is (still!) stuck on electron v21 due to chromium rendering bugs and is-specific issues I’ve found in later versions, but happily runs on all versions of node v14+.

That said, only supporting supported versions of node and electron would seem to be the best policy for this project, if only to reduce build times and reduce (if only by a tiny bit) the number of supported environments.

That said, I suspect there to be an explosion of new installation issues opened shortly after releasing this due to users not being able to follow the build FAQ. That reason alone makes me feel like we should keep the existing build targets a while longer.

@m4heshd
Copy link
Contributor Author

m4heshd commented Sep 15, 2023

PhotoStructure is (still!) stuck on electron v21 due to chromium rendering bugs and is-specific issues I’ve found in later versions

I can fully get behind this reasoning because the amount of regressions in Electron currently getting ignored is mind-blowing. Had to completely ditch Electron.

That said, I suspect there to be an explosion of new installation issues opened shortly after releasing this due to users not being able to follow the build FAQ. That reason alone makes me feel like we should keep the existing build targets a while longer.

That would be absolutely fine since no dependency updates were done after the EOL. There's a meager chance of failure. Let's keep this open till the time comes then.

Copy link
Member

@mceachen mceachen left a comment

Choose a reason for hiding this comment

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

Can you undo the electron edit? I can then approve this.

@m4heshd
Copy link
Contributor Author

m4heshd commented Oct 10, 2023

@mceachen done.

Copy link
Member

@mceachen mceachen left a comment

Choose a reason for hiding this comment

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

thanks!

@mceachen mceachen merged commit 5a6f47b into WiseLibs:master Oct 10, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants