node icon indicating copy to clipboard operation
node copied to clipboard

New SQlite database options

Open miguelmarcondesf opened this issue 6 months ago • 2 comments

This introduces new SQLite database options that can be set at the database connection level.

cc @geeksilva97

miguelmarcondesf avatar Jun 12 '25 18:06 miguelmarcondesf

Review requested:

  • [ ] @nodejs/sqlite

nodejs-github-bot avatar Jun 12 '25 18:06 nodejs-github-bot

Codecov Report

Attention: Patch coverage is 94.59459% with 4 lines in your changes missing coverage. Please review.

Project coverage is 90.11%. Comparing base (5457443) to head (5693d3c). Report is 67 commits behind head on main.

Files with missing lines Patch % Lines
src/node_sqlite.cc 92.00% 0 Missing and 4 partials :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #58697      +/-   ##
==========================================
+ Coverage   90.03%   90.11%   +0.07%     
==========================================
  Files         635      639       +4     
  Lines      187688   188262     +574     
  Branches    36761    36924     +163     
==========================================
+ Hits       168991   169654     +663     
+ Misses      11499    11326     -173     
- Partials     7198     7282      +84     
Files with missing lines Coverage Δ
src/node_sqlite.h 83.67% <100.00%> (+15.67%) :arrow_up:
src/node_sqlite.cc 81.06% <92.00%> (+0.26%) :arrow_up:

... and 78 files with indirect coverage changes

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Jun 13 '25 12:06 codecov[bot]

~~Since it's addressing a TODO comment, you need to remove it from the code. I was unable to see it~~

I'm wrong

geeksilva97 avatar Jun 17 '25 13:06 geeksilva97

There are a few tests I think we don't need because they are redundant, e.g., those that handle the default scenario. Here, for example, the default is false already, which is already covered.

Other than that, I think you addressed the left comments as expected. Thank you.

I will just ping @nodejs/cpp-reviewers to get a more experienced C++ review.

geeksilva97 avatar Jun 18 '25 14:06 geeksilva97

CI: https://ci.nodejs.org/job/node-test-pull-request/67523/

nodejs-github-bot avatar Jun 18 '25 17:06 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/67525/

nodejs-github-bot avatar Jun 19 '25 01:06 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/67553/

nodejs-github-bot avatar Jun 20 '25 02:06 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/67571/

nodejs-github-bot avatar Jun 20 '25 14:06 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/67619/

nodejs-github-bot avatar Jun 23 '25 13:06 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/67630/

nodejs-github-bot avatar Jun 24 '25 03:06 nodejs-github-bot

Landed in d08513dfc7d7fe2e1d89bf5f283a30a006b990ff

nodejs-github-bot avatar Jun 24 '25 14:06 nodejs-github-bot