Skip to content

Update CI to use node 24. Dockerfile now using hardened images#66

Merged
hossenlopp merged 7 commits into
mainfrom
node-24-bump
Apr 14, 2026
Merged

Update CI to use node 24. Dockerfile now using hardened images#66
hossenlopp merged 7 commits into
mainfrom
node-24-bump

Conversation

@hossenlopp

@hossenlopp hossenlopp commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Update to use newer node for CI and Docker builds. Additional address many out of date npm audit concerns. Updated ESlint to the latest version.

New behavior

None

Code changes

None

Testing guidance

  • Run in docker with docker compose up --build.
  • npm run check

@hossenlopp hossenlopp requested a review from lmd59 March 30, 2026 18:36
@github-actions

github-actions Bot commented Mar 30, 2026

Copy link
Copy Markdown

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 73.95% 596/806
🟡 Branches 62.87% 215/342
🟡 Functions 70.99% 93/131
🟡 Lines 74.3% 587/790

Test suite run success

97 tests passing in 8 suites.

Report generated by 🧪jest coverage report action from 42e2fe8

@elsaperelli

Copy link
Copy Markdown
Collaborator

It looks like I am still getting some npm audit issues when I run npm install

@lmd59 lmd59 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Did some testing with data loaded into the docker instance, and that was looking good to me. Changes also seem to look good!
If npm audit issues are in scope, then I agree that I'm seeing some issues. npm audit fix fixes some, but can't address the critical I'm seeing.
I did a little poking at the critical issue, which seemed to be coming from a sequelize dependency. This is a dependency out of @asymmetrik/fhir-qb, which hasn't been updated in quite a long time because it has actually been moved into node-fhir-server-core, which has much more recent updates. Dependency being used is the QueryBuilder class, which can be found in core here: https://github.com/bluehalo/node-fhir-server-core/blob/75a1011e3cfdffa76a3184ddf57921843126c60b/packages/fhir-qb/index.js#L45
Shouldn't be too hard a replacement.

@hossenlopp hossenlopp requested a review from lmd59 April 13, 2026 15:47

@lmd59 lmd59 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes are looking good. I noticed if I run npm audit fix on branch, it fixes one moderate vulnerability. Any reason not to include that last fix?
Additionally, is it worth a little update on the PR description just to capture a little more of what's happening here in case we're looking at historical changes in the future?

@lmd59 lmd59 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍 🎉

@hossenlopp hossenlopp merged commit c88b16f into main Apr 14, 2026
4 checks passed
@hossenlopp hossenlopp deleted the node-24-bump branch April 14, 2026 21: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.

3 participants