Skip to content

Added ability to switch to postgres client instead of sqlite #122

Added ability to switch to postgres client instead of sqlite

Added ability to switch to postgres client instead of sqlite #122

Triggered via push July 14, 2025 06:49
Status Failure
Total duration 4m 46s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 8 warnings
addressRepository > should update wallet sync state: test/application/repositories/AddressRepository.test.ts#L34
PrismaClientKnownRequestError: Invalid `prisma.address.update()` invocation in /home/runner/work/dig-sdk-v2/dig-sdk-v2/src/application/repositories/AddressRepository.ts:37:26 34 } 35 36 async updateAddressSync(address: string, synced_to_height: number, synced_to_hash: string) { → 37 await prisma.address.update( An operation failed because it depends on one or more records that were required but not found. No record was found for an update. at Xn.handleRequestError (/home/runner/work/dig-sdk-v2/dig-sdk-v2/node_modules/@prisma/client/runtime/library.js:121:7459) at Xn.handleAndLogRequestError (/home/runner/work/dig-sdk-v2/dig-sdk-v2/node_modules/@prisma/client/runtime/library.js:121:6784) at Xn.request (/home/runner/work/dig-sdk-v2/dig-sdk-v2/node_modules/@prisma/client/runtime/library.js:121:6491) at l (/home/runner/work/dig-sdk-v2/dig-sdk-v2/node_modules/@prisma/client/runtime/library.js:130:9812) at AddressRepository.updateAddressSync (/home/runner/work/dig-sdk-v2/dig-sdk-v2/src/application/repositories/AddressRepository.ts:37:5) at Object.<anonymous> (/home/runner/work/dig-sdk-v2/dig-sdk-v2/test/application/repositories/AddressRepository.test.ts:36:5)
build
Process completed with exit code 1.
build
Jest coverage report action failed
build
Error: The process '/opt/hostedtoolcache/node/24.4.0/x64/bin/npx' failed with exit code 1 Error: The process '/opt/hostedtoolcache/node/24.4.0/x64/bin/npx' failed with exit code 1 at wd._setResult (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:19186) at wd.CheckComplete (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:18773) at ChildProcess.<anonymous> (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:17765) at ChildProcess.emit (node:events:507:28) at maybeClose (node:internal/child_process:1101:16) at ChildProcess._handle.onexit (node:internal/child_process:305:5)
build
Error: The process '/opt/hostedtoolcache/node/24.4.0/x64/bin/npx' failed with exit code 1 Error: The process '/opt/hostedtoolcache/node/24.4.0/x64/bin/npx' failed with exit code 1 at wd._setResult (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:19186) at wd.CheckComplete (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:18773) at ChildProcess.<anonymous> (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:17765) at ChildProcess.emit (node:events:507:28) at maybeClose (node:internal/child_process:1101:16) at ChildProcess._handle.onexit (node:internal/child_process:305:5)
🧾 Statement is not covered: src/infrastructure/DatabaseProvider.ts#L25
Warning! Not covered statement
🧾 Statement is not covered: src/infrastructure/DatabaseProvider.ts#L30
Warning! Not covered statement
🧾 Statement is not covered: src/infrastructure/DatabaseProvider.ts#L38
Warning! Not covered statement
🌿 Branch is not covered: src/infrastructure/DatabaseProvider.ts#L35
Warning! Not covered branch
🌿 Branch is not covered: src/infrastructure/DatabaseProvider.ts#L36
Warning! Not covered branch
🌿 Branch is not covered: src/infrastructure/DatabaseProvider.ts#L37
Warning! Not covered branch