Skip to content

Conversation

bliuchak
Copy link
Contributor

@bliuchak bliuchak commented Sep 26, 2025

This PR fix Dockerfile and allows unit tests to run inside a container gracefully. Also it specifies a node.js version 18 into .nvmrc file to ensure compatibility. Discussed later with Jirka that it's better not to have this file. All the tests must be fixed and should be compatible with newer versions of node all the time.

Resolves: #599

@bliuchak bliuchak added bug Something isn't working. adhoc Ad-hoc unplanned task added during the sprint. t-core-services Issues with this label are in the ownership of the core services team. t-unblocking Issues with this label are in the ownership of the unblocking team. labels Sep 26, 2025
@github-actions github-actions bot added the tested Temporary label used only programatically for some analytics. label Sep 26, 2025
@bliuchak bliuchak changed the title chore: specify node version using .nvmrc fix: can't run unit tests in docker Sep 26, 2025
@jirimoravcik
Copy link
Member

SOCKS test is failing in CI

@bliuchak
Copy link
Contributor Author

@jirimoravcik should be fixed now.

Copy link
Member

@jirimoravcik jirimoravcik left a comment

Choose a reason for hiding this comment

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

Could we also add tests for newer Node.js versions in the CI? Now we have 14, 16, 18. Let's add 20, 22, 24 (soon LTS)

@bliuchak
Copy link
Contributor Author

I've already checked node 22 and tests are failing there due to few breakable changes (e.g. node 22 don't allow us to response with status code 55). I'd open a new issue for it if you don't mind.

@jirimoravcik
Copy link
Member

I've already checked node 22 and tests are failing there due to few breakable changes (e.g. node 22 don't allow us to response with status code 55). I'd open a new issue for it if you don't mind.

Yes, that's fine

@bliuchak
Copy link
Contributor Author

Here's issue about node version upgrade: #601

@jirimoravcik jirimoravcik self-requested a review September 29, 2025 20:48
Copy link
Contributor

@lewis-wow lewis-wow left a comment

Choose a reason for hiding this comment

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

Really nice!

@bliuchak bliuchak merged commit 8e3142b into master Sep 30, 2025
5 checks passed
@bliuchak bliuchak deleted the fix/unit-tests branch September 30, 2025 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adhoc Ad-hoc unplanned task added during the sprint. bug Something isn't working. t-core-services Issues with this label are in the ownership of the core services team. t-unblocking Issues with this label are in the ownership of the unblocking team. tested Temporary label used only programatically for some analytics.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unit tests are failing
3 participants