Skip to content

fix(deps): bump better-sqlite3 to 13.0.3 for Node 24 - #5359

Merged
openshift-ci[bot] merged 2 commits into
redhat-developer:mainfrom
NiallTwomey2:RHDHBUGS-3725-bump-better-sqlite3
Sep 14, 2026
Merged

openshift-ci[bot] merged 2 commits into
redhat-developer:mainfrom
NiallTwomey2:RHDHBUGS-3725-bump-better-sqlite3

Conversation

@NiallTwomey2

@NiallTwomey2 NiallTwomey2 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Node 24 aborts in better-sqlite3 12.x during Statement teardown (RemoveEnvironmentCleanupHook, env != nullptr). 13.x uses N-API and avoids that crash. This unblocks rhdh-local dev CI, which runs quay.io/rhdh-community/rhdh:next with in-memory SQLite.

Description

Bump better-sqlite3 from 12.11.1 to 13.0.3 in packages/backend.

rhdh-local dev does not contain this dependency. It pulls :next, which is built from rhdh main. After this merges and :next rebuilds, rhdh-local default compose jobs should stop aborting.

Which issue(s) does this PR fix

PR acceptance criteria

  • rhdh CI checks are passed
  • Local yarn start on Node 24 stays up (Listening on :7007, no sqlite native abort)
  • After merge and :next rebuild, rhdh-local default / corporate-proxy / dynamic-plugins-root jobs return HTTP 200

Node 24 aborts in better-sqlite3 12.x during Statement teardown (RemoveEnvironmentCleanupHook). 13.x uses N-API. Unblocks rhdh-local dev CI on :next (RHDHBUGS-3725).

Signed-off-by: Niall Twomey <ntwomey@redhat.com>
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

@codecov

codecov Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.69%. Comparing base (efddbda) to head (b331ee7).
⚠️ Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5359      +/-   ##
==========================================
- Coverage   63.68%   59.69%   -3.99%     
==========================================
  Files         121      109      -12     
  Lines        2288     2062     -226     
  Branches      526      477      -49     
==========================================
- Hits         1457     1231     -226     
- Misses        829      830       +1     
+ Partials        2        1       -1     
Flag Coverage Δ
rhdh 59.69% <ø> (-3.99%) ⬇️
Components Coverage Δ
Backend plugins ∅ <ø> (∅)
Backend app 69.69% <ø> (ø)
Frontend app 58.82% <ø> (ø)
Plugin utils ∅ <ø> (∅)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update efddbda...b331ee7. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@NiallTwomey2

Copy link
Copy Markdown
Contributor Author

/test e2e-ocp-helm

@NiallTwomey2

Copy link
Copy Markdown
Contributor Author

@davidfestal PTAL when you get the chance, should solve the CI checks from failing on the dev branch

@rostalan

rostalan commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@rostalan

rostalan commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

tested here: redhat-developer/rhdh-plugin-export-overlays#3564

@openshift-ci openshift-ci Bot removed the lgtm label Sep 9, 2026
@sonarqubecloud

sonarqubecloud Bot commented Sep 9, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

@rm3l

rm3l commented Sep 14, 2026

Copy link
Copy Markdown
Member

/test e2e-ocp-helm

@rhdh-qodo-merge

Copy link
Copy Markdown

Important

The /test command by Qodo was deprecated on the 1st of September 2026 and is no longer available. We recommend switching to the latest Qodo review capabilities. Learn more

@openshift-ci
openshift-ci Bot merged commit 134b1f5 into redhat-developer:main Sep 14, 2026
25 checks passed
jonkoops added a commit to jonkoops/rhdh that referenced this pull request Sep 15, 2026
better-sqlite3 13.x needs a native compile during yarn install. The
Playwright image only ships skopeo/jq today, so root install fails with
"not found: make" after redhat-developer#5359.

Ref: RHIDP-15873
Signed-off-by: Jon Koops <jonkoops@gmail.com>
jonkoops added a commit to jonkoops/rhdh that referenced this pull request Sep 15, 2026
better-sqlite3 13.x needs a native compile during yarn install. The
Playwright image only ships skopeo/jq today, so root install fails with
"not found: make" after redhat-developer#5359.

Ref: RHIDP-15873
Signed-off-by: Jon Koops <jonkoops@gmail.com>
jonkoops added a commit to jonkoops/rhdh that referenced this pull request Sep 15, 2026
better-sqlite3 13.x needs a native compile during yarn install. The
Playwright image only ships skopeo/jq today, so root install fails with
"not found: make" after redhat-developer#5359.

Ref: RHIDP-15873
Signed-off-by: Jon Koops <jonkoops@gmail.com>
jonkoops added a commit that referenced this pull request Sep 15, 2026
* chore(deps): bump install-dynamic-plugins to 0.5.0

Restrict ref:// resolution to OCI packages in include files, aligning
the init container with rhdh-operator#3473.

Ref: RHIDP-15873
Signed-off-by: Jon Koops <jonkoops@gmail.com>

* fix(ci): install build tools for cluster-free harness

better-sqlite3 13.x needs a native compile during yarn install. The
Playwright image only ships skopeo/jq today, so root install fails with
"not found: make" after #5359.

Ref: RHIDP-15873
Signed-off-by: Jon Koops <jonkoops@gmail.com>

* Revert "fix(ci): install build tools for cluster-free harness"

This reverts commit 111e151.

---------

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants