feat: sqlite add set and minor cleanup #15855
Annotations
6 errors, 1 warning, and 4 notices
Run tests:
test/cache-interceptor/cache-store-test-utils.js#L308
Error [ERR_TEST_FAILURE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at process.emit (node:events:524:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at Function.from (node:buffer:325:9)
at Readable.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-store-test-utils.js:308:30)
at Readable.emit (node:events:524:28)
at Readable.read (node:internal/streams/readable:782:10)
at flow (node:internal/streams/readable:1283:53)
at resume_ (node:internal/streams/readable:1262:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
code: 'ERR_INVALID_ARG_TYPE'
}
}
|
Run tests:
test/cache-interceptor/cache-store-test-utils.js#L308
Error [ERR_TEST_FAILURE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at process.emit (node:events:524:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at Function.from (node:buffer:325:9)
at Readable.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-store-test-utils.js:308:30)
at Readable.emit (node:events:524:28)
at Readable.read (node:internal/streams/readable:782:10)
at flow (node:internal/streams/readable:1283:53)
at resume_ (node:internal/streams/readable:1262:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
code: 'ERR_INVALID_ARG_TYPE'
}
}
|
Run tests:
test/cache-interceptor/cache-store-test-utils.js#L308
Error [ERR_TEST_FAILURE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at process.emit (node:events:524:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at Function.from (node:buffer:325:9)
at Readable.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-store-test-utils.js:308:30)
at Readable.emit (node:events:524:28)
at Readable.read (node:internal/streams/readable:782:10)
at flow (node:internal/streams/readable:1283:53)
at resume_ (node:internal/streams/readable:1262:3)
at processTicksAndRejections (node:internal/process/task_queues:90:21)
at runNextTicks (node:internal/process/task_queues:69:3)
at process.processImmediate (node:internal/timers:459:9) {
code: 'ERR_INVALID_ARG_TYPE'
}
}
|
Run tests:
test/cache-interceptor/sqlite-cache-store-tests.js#L23
Error [ERR_TEST_FAILURE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at process.emit (node:events:524:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type number (97)
at Function.from (node:buffer:325:9)
at Readable.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/cache-store-test-utils.js:308:30)
at Readable.emit (node:events:524:28)
at Readable.read (node:internal/streams/readable:782:10)
at flow (node:internal/streams/readable:1283:53)
at resume_ (node:internal/streams/readable:1262:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
code: 'ERR_INVALID_ARG_TYPE'
}
}
|
Run tests:
test/cache-interceptor/sqlite-cache-store-tests.js#L223
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
{
+ body: Uint8Array(3) [
- body: Buffer(3) [Uint8Array] [
97,
115,
100
],
cacheControlDirectives: {
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
{
+ body: Uint8Array(3) [
- body: Buffer(3) [Uint8Array] [
97,
115,
100
],
cacheControlDirectives: {
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/cache-interceptor/sqlite-cache-store-tests.js:223:3)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:931:25)
at Test.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1042:19)
at Test.run (node:internal/test_runner/test:970:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: { body: [Uint8Array], statusCode: 200, statusMessage: '', headers: [Object], etag: undefined, vary: undefined, cacheControlDirectives: [Object], cachedAt: 1737400429063, staleAt: 1737400439063, deleteAt: 1737400449063 },
expected: { statusCode: 200, statusMessage: '', headers: [Object], cacheControlDirectives: [Object], cachedAt: 1737400429063, staleAt: 1737400439063, deleteAt: 1737400449063, body: <Buffer 61 73 64>, etag: undefined, vary: undefined },
operator: 'deepStrictEqual'
}
}
|
Run tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run tests
Total Tests: 1018
Suites 📂: 92
Passed ✅: 1013
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 28466.181ms
|
Run tests
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 2995.233ms
|
Run tests
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 106.502ms
|
Run tests
Total Tests: 33
Suites 📂: 5
Passed ✅: 28
Failed ❌: 5
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 141.481ms
|
Loading