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

update ci workflow node environments #8664

Merged
merged 29 commits into from May 17, 2024

Conversation

SourceR85
Copy link
Contributor

@SourceR85 SourceR85 commented Jun 17, 2023

Switch from node 14 & 16 to 18 and 20

Aligns with currently supported node versions
https://nodejs.dev/en/about/releases/

I've added node 20, so we get compatibility feedback from within ci pipelines.

Benefits:

@garethbowen
Copy link
Member

@SourceR85 Would you mind resolving the conflict and running the build again with the new test suites?

@SourceR85 SourceR85 closed this Jul 24, 2023
@SourceR85 SourceR85 force-pushed the update-node-test-environment branch 2 times, most recently from ef9ea9e to 12974e0 Compare July 24, 2023 22:41
@SourceR85 SourceR85 reopened this Jul 24, 2023
@SourceR85
Copy link
Contributor Author

@garethbowen Hi, can you re-execute the ci-workflow? (best case: running only the failing tests)

There was a network problem in two test-runner environments:
(one of the error-messages as an example)

E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/g/gst-plugins-bad1.0/gstreamer1.0-plugins-bad_1.20.3-0ubuntu1_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http: [IP: 52.252.75.106 80]

Everything else was running fine.

@garethbowen
Copy link
Member

@SourceR85 I've re-run and everything passed. GitHub isn't happy because you've changed the builds so some "required" builds never ran. This is not a blocker.

However I'm a little concerned about dropping support for Node 14, not because we shouldn't do it, but it's a breaking change so we should probably do a major release. What do you think?

@SourceR85
Copy link
Contributor Author

Sounds like a plan 👍
I'd like to see #8665 and #8663 in an upcoming major.
But this summer I'm to short on spare time to work on #8711...

.github/workflows/ci.yml Outdated Show resolved Hide resolved
@alxndrsn
Copy link
Member

However I'm a little concerned about dropping support for Node 14, not because we shouldn't do it, but it's a breaking change so we should probably do a major release. What do you think?

I don't think we should be shy about dropping support for EOL'd node versions. Even node 16 is EOL at this point.

@garethbowen
Copy link
Member

I don't think we should be shy about dropping support for EOL'd node versions. Even node 16 is EOL at this point.

I agree, but needs communication, probably a major version bump is correct. With everything else that's merged, or soon to be merged (I hope), but not yet released, we should probably be talking about a major release anyway.

@SourceR85
Copy link
Contributor Author

I don't think we should be shy about dropping support for EOL'd node versions. Even node 16 is EOL at this point.

I agree, but needs communication, probably a major version bump is correct. With everything else that's merged, or soon to be merged (I hope), but not yet released, we should probably be talking about a major release anyway.

Since node 16 CI-Actions will be automatically upgraded to node 20 in march, I think we already have a release date.

@SourceR85
Copy link
Contributor Author

SourceR85 commented Feb 22, 2024

However I'm a little concerned about dropping support for Node 14, not because we shouldn't do it, but it's a breaking change so we should probably do a major release. What do you think?

I don't think we should be shy about dropping support for EOL'd node versions. Even node 16 is EOL at this point.

How's your suggestion, should I drop node 16 too? Add 21?

@alxndrsn
Copy link
Member

How's your suggestion, should I drop node 16 too? Add 21?

I don't mind about 16, but I don't think it's necessary.

I don't think odd-numbered releases should be included.

I would prefer to see unrelated changes to whitespace and action.yml excluded from this PR.

But overall, I'm happy to see this merged once the build is passing.

@SourceR85
Copy link
Contributor Author

SourceR85 commented Feb 26, 2024

Found (and fixed) out-of-bound exceptions: #8861

@SourceR85
Copy link
Contributor Author

SourceR85 commented May 2, 2024

Okay, everything's ✅
Next step: out with the old Branch protection rules (node 14-16) and in with the new (18-20)

@garethbowen
Copy link
Member

LGTM.

I'm happy to change the branch protection rules but this has to be coordinated because it'll block any other PRs until this is merged.

@janl Can I get your thumbs up on this PR before we officially drop support for old Node versions?

@garethbowen garethbowen requested a review from janl May 7, 2024 07:47
@garethbowen garethbowen merged commit 7d71f44 into pouchdb:master May 17, 2024
86 checks passed
@SourceR85 SourceR85 deleted the update-node-test-environment branch May 21, 2024 07:08
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

4 participants