Skip to content

added sqlite3 into knex externals#7413

Merged
BridgeAR merged 4 commits intomasterfrom
pabloerhard/fix-knex-test
Feb 3, 2026
Merged

added sqlite3 into knex externals#7413
BridgeAR merged 4 commits intomasterfrom
pabloerhard/fix-knex-test

Conversation

@pabloerhard
Copy link
Copy Markdown
Contributor

Please make sure your changes are properly tested!

What does this PR do?

Motivation

Additional Notes

@pabloerhard pabloerhard requested a review from a team as a code owner February 2, 2026 17:30
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 2, 2026

Overall package size

Self size: 4.5 MB
Deduped: 5.33 MB
No deduping: 5.33 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.3 | 76.87 kB | 808.03 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.39%. Comparing base (2e337bd) to head (5e44433).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7413   +/-   ##
=======================================
  Coverage   80.39%   80.39%           
=======================================
  Files         732      732           
  Lines       31027    31027           
=======================================
  Hits        24945    24945           
  Misses       6082     6082           
Flag Coverage Δ
aiguard-macos 39.06% <ø> (-0.11%) ⬇️
aiguard-ubuntu 39.10% <ø> (-0.11%) ⬇️
aiguard-windows 38.95% <ø> (-0.11%) ⬇️
apm-capabilities-tracing-macos 48.91% <ø> (ø)
apm-capabilities-tracing-ubuntu 48.91% <ø> (ø)
apm-capabilities-tracing-windows 48.63% <ø> (ø)
apm-integrations-child-process 38.56% <ø> (-0.11%) ⬇️
apm-integrations-couchbase-18 37.28% <ø> (-0.28%) ⬇️
apm-integrations-couchbase-eol 37.92% <ø> (+0.04%) ⬆️
apm-integrations-oracledb 37.96% <ø> (-0.10%) ⬇️
appsec-express 55.38% <ø> (-0.08%) ⬇️
appsec-fastify 51.99% <ø> (-0.08%) ⬇️
appsec-graphql 52.32% <ø> (-0.07%) ⬇️
appsec-kafka 44.62% <ø> (-0.09%) ⬇️
appsec-ldapjs 44.30% <ø> (-0.09%) ⬇️
appsec-lodash 43.98% <ø> (-0.09%) ⬇️
appsec-macos 58.45% <ø> (-0.07%) ⬇️
appsec-mongodb-core 49.08% <ø> (-0.20%) ⬇️
appsec-mongoose 49.88% <ø> (-0.09%) ⬇️
appsec-mysql 51.26% <ø> (-0.08%) ⬇️
appsec-node-serialize 43.49% <ø> (-0.09%) ⬇️
appsec-passport 48.08% <ø> (-0.09%) ⬇️
appsec-postgres 51.05% <ø> (-0.06%) ⬇️
appsec-sourcing 42.83% <ø> (-0.09%) ⬇️
appsec-template 43.66% <ø> (-0.09%) ⬇️
appsec-ubuntu 58.47% <ø> (-0.07%) ⬇️
appsec-windows 58.33% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-bluebird 32.25% <ø> (-0.11%) ⬇️
instrumentations-instrumentation-body-parser 40.70% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-child_process 37.86% <ø> (-0.11%) ⬇️
instrumentations-instrumentation-cookie-parser 34.49% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-express 34.83% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-express-mongo-sanitize 34.63% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-express-session 40.38% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-fs 31.85% <ø> (-0.11%) ⬇️
instrumentations-instrumentation-generic-pool 29.79% <ø> (ø)
instrumentations-instrumentation-http 39.59% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-knex 32.26% <ø> (+0.14%) ⬆️
instrumentations-instrumentation-mongoose 33.58% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-multer 40.44% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-mysql2 38.25% <ø> (-0.11%) ⬇️
instrumentations-instrumentation-passport 40.74% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-passport-http 40.71% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-passport-local 40.71% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-pg 37.77% <ø> (-0.11%) ⬇️
instrumentations-instrumentation-promise 32.18% <ø> (-0.11%) ⬇️
instrumentations-instrumentation-promise-js 32.19% <ø> (-0.11%) ⬇️
instrumentations-instrumentation-q 32.23% <ø> (-0.11%) ⬇️
instrumentations-instrumentation-url 32.15% <ø> (-0.11%) ⬇️
instrumentations-instrumentation-when 32.20% <ø> (-0.11%) ⬇️
llmobs-ai 41.38% <ø> (-0.10%) ⬇️
llmobs-anthropic 40.60% <ø> (-0.10%) ⬇️
llmobs-bedrock 39.48% <ø> (-0.09%) ⬇️
llmobs-google-genai 40.08% <ø> (-0.09%) ⬇️
llmobs-langchain 39.63% <ø> (-0.08%) ⬇️
llmobs-openai 44.43% <ø> (-0.09%) ⬇️
llmobs-vertex-ai 40.30% <ø> (-0.17%) ⬇️
platform-core 28.09% <ø> (ø)
platform-esbuild 31.49% <ø> (ø)
platform-instrumentations-misc 39.62% <ø> (ø)
platform-shimmer 34.83% <ø> (ø)
platform-unit-guardrails 30.37% <ø> (ø)
plugins-azure-event-hubs 22.64% <ø> (ø)
plugins-azure-service-bus 22.08% <ø> (ø)
plugins-bullmq 43.53% <ø> (-0.10%) ⬇️
plugins-cassandra 38.00% <ø> (-0.10%) ⬇️
plugins-cookie 23.69% <ø> (ø)
plugins-cookie-parser 23.50% <ø> (ø)
plugins-crypto 22.88% <ø> (ø)
plugins-dd-trace-api 38.37% <ø> (-0.11%) ⬇️
plugins-express-mongo-sanitize 23.67% <ø> (ø)
plugins-express-session 23.46% <ø> (ø)
plugins-fastify 42.50% <ø> (-0.10%) ⬇️
plugins-fetch 38.57% <ø> (-0.10%) ⬇️
plugins-fs 38.63% <ø> (-0.11%) ⬇️
plugins-generic-pool 22.68% <ø> (ø)
plugins-google-cloud-pubsub 45.70% <ø> (-0.09%) ⬇️
plugins-grpc 41.27% <ø> (-0.10%) ⬇️
plugins-handlebars 23.71% <ø> (ø)
plugins-hapi 40.40% <ø> (-0.10%) ⬇️
plugins-hono 40.60% <ø> (-0.10%) ⬇️
plugins-ioredis 38.43% <ø> (-0.11%) ⬇️
plugins-knex 23.51% <ø> (ø)
plugins-ldapjs 21.28% <ø> (ø)
plugins-limitd-client 32.55% <ø> (-0.11%) ⬇️
plugins-lodash 22.74% <ø> (ø)
plugins-mariadb 39.50% <ø> (-0.11%) ⬇️
plugins-memcached 38.17% <ø> (-0.11%) ⬇️
plugins-microgateway-core 39.41% <ø> (-0.10%) ⬇️
plugins-moleculer 40.81% <ø> (-0.10%) ⬇️
plugins-mongodb 39.52% <ø> (-0.10%) ⬇️
plugins-mongodb-core 39.09% <ø> (-0.10%) ⬇️
plugins-mongoose 39.15% <ø> (-0.10%) ⬇️
plugins-multer 23.46% <ø> (ø)
plugins-mysql 39.22% <ø> (-0.08%) ⬇️
plugins-mysql2 39.27% <ø> (-0.10%) ⬇️
plugins-node-serialize 23.73% <ø> (ø)
plugins-opensearch 37.84% <ø> (-0.10%) ⬇️
plugins-postgres 35.68% <ø> (-0.09%) ⬇️
plugins-process 22.88% <ø> (ø)
plugins-pug 23.69% <ø> (ø)
plugins-redis 38.76% <ø> (-0.11%) ⬇️
plugins-router 43.21% <ø> (-0.10%) ⬇️
plugins-sequelize 22.27% <ø> (ø)
plugins-test-and-upstream-amqp10 38.50% <ø> (-0.11%) ⬇️
plugins-test-and-upstream-amqplib 43.86% <ø> (-0.10%) ⬇️
plugins-test-and-upstream-apollo 39.29% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-avsc 38.79% <ø> (-0.11%) ⬇️
plugins-test-and-upstream-bunyan 33.84% <ø> (-0.11%) ⬇️
plugins-test-and-upstream-connect 41.01% <ø> (-0.10%) ⬇️
plugins-test-and-upstream-graphql 40.20% <ø> (-0.10%) ⬇️
plugins-test-and-upstream-koa 40.65% <ø> (-0.10%) ⬇️
plugins-test-and-upstream-protobufjs 39.02% <ø> (-0.11%) ⬇️
plugins-test-and-upstream-rhea 44.12% <ø> (-0.10%) ⬇️
plugins-undici 39.36% <ø> (-0.10%) ⬇️
plugins-url 22.88% <ø> (ø)
plugins-valkey 38.09% <ø> (-0.11%) ⬇️
plugins-vm 22.88% <ø> (ø)
plugins-winston 34.25% <ø> (-0.10%) ⬇️
plugins-ws 40.73% <ø> (-0.10%) ⬇️
profiling-macos 40.01% <ø> (-0.10%) ⬇️
profiling-ubuntu 40.06% <ø> (-0.10%) ⬇️
profiling-windows 41.43% <ø> (-0.10%) ⬇️
serverless-azure-functions-client 22.88% <ø> (ø)
serverless-azure-functions-eventhubs 22.88% <ø> (ø)
serverless-azure-functions-servicebus 22.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Comment on lines -306 to -307
"name": "pg",
"versions": ["8.7.3"]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As discussed: I believe this is still used

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yep, it's already back in the json

@BridgeAR
Copy link
Copy Markdown
Member

BridgeAR commented Feb 2, 2026

We could add this to our setup which is called automatically for all tests:

const ORIGINAL_PROCESS_EXIT = process.exit

exports.mochaHooks = {
  beforeAll () {
    process.exit = (code) => {
      throw new Error(`process.exit(${code}) was called during tests`)
    }
  },

  afterAll () {
    process.exit = ORIGINAL_PROCESS_EXIT
  },

@pabloerhard pabloerhard requested a review from BridgeAR February 2, 2026 20:00
@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Feb 2, 2026

Benchmarks

Benchmark execution time: 2026-02-02 23:37:37

Comparing candidate commit 5e44433 in PR branch pabloerhard/fix-knex-test with baseline commit 2e337bd in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 232 metrics, 28 unstable metrics.

Copy link
Copy Markdown
Member

@BridgeAR BridgeAR left a comment

Choose a reason for hiding this comment

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

LGTM with green CI (currently unknown due to github outage)

@BridgeAR BridgeAR merged commit e19ce95 into master Feb 3, 2026
787 checks passed
@BridgeAR BridgeAR deleted the pabloerhard/fix-knex-test branch February 3, 2026 01:19
dd-octo-sts bot pushed a commit that referenced this pull request Feb 3, 2026
…7413)

* added sqlite3 into externals

* Added process.exit patching before mocha tests

---------

Co-authored-by: Ruben Bridgewater <[email protected]>
@dd-octo-sts dd-octo-sts bot mentioned this pull request Feb 3, 2026
BridgeAR added a commit that referenced this pull request Feb 5, 2026
…7413)

* added sqlite3 into externals

* Added process.exit patching before mocha tests

---------

Co-authored-by: Ruben Bridgewater <[email protected]>
bm1549 pushed a commit that referenced this pull request Feb 10, 2026
…7413)

* added sqlite3 into externals

* Added process.exit patching before mocha tests

---------

Co-authored-by: Ruben Bridgewater <[email protected]>
BridgeAR added a commit that referenced this pull request Feb 22, 2026
…7413)

* added sqlite3 into externals

* Added process.exit patching before mocha tests

---------

Co-authored-by: Ruben Bridgewater <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants