Events + pino #1534
Annotations
3 errors and 1 warning
src/events/services/scrape.test.ts > insert menu into db > scrapes events data and upserts it to db:
packages/api/src/events/services/scrape.test.ts#L16
AssertionError: expected [Function] to throw error including 'Rollback' but got 'insert or update on table "events" vi…'
- Expected
+ Received
- Rollback
+ insert or update on table "events" violates foreign key constraint "events_restaurant_id_restaurants_id_fk"
❯ src/events/services/scrape.test.ts:16:5
|
src/menus/procedures/getMenu.test.ts > menu.get > should get today's brandywine lunch menu:
packages/api/src/menus/services/menu.ts#L40
TRPCError: self-signed certificate in certificate chain
❯ ../../node_modules/pg-pool/index.js:45:11
❯ ../../node_modules/src/node-postgres/session.ts:65:19
❯ Module.getMenu src/menus/services/menu.ts:40:29
❯ src/menus/procedures/getMenu.ts:9:18
❯ resolveMiddleware ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:103:30
❯ callRecursive ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:153:32
❯ callRecursive ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:153:32
❯ procedure ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:183:24
❯ ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/router.mjs:111:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
Caused by: Error: self-signed certificate in certificate chain
❯ ../../node_modules/pg-pool/index.js:45:11
❯ ../../node_modules/src/node-postgres/session.ts:65:19
❯ Module.getMenu src/menus/services/menu.ts:40:29
❯ src/menus/procedures/getMenu.ts:9:18
❯ resolveMiddleware ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:103:30
❯ callRecursive ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:153:32
❯ callRecursive ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:153:32
❯ procedure ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:183:24
❯ ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/router.mjs:111:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'SELF_SIGNED_CERT_IN_CHAIN' }
|
src/schedules/procedures/getSchedule.test.ts > getSchedule > should get today's brandywine schedule:
packages/api/src/schedules/services/schedule.ts#L40
TRPCError: self-signed certificate in certificate chain
❯ ../../node_modules/pg-pool/index.js:45:11
❯ ../../node_modules/src/node-postgres/session.ts:65:19
❯ Module.getSchedule src/schedules/services/schedule.ts:40:26
❯ src/schedules/procedures/getSchedule.ts:9:22
❯ resolveMiddleware ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:103:30
❯ callRecursive ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:153:32
❯ callRecursive ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:153:32
❯ procedure ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:183:24
❯ ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/router.mjs:111:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
Caused by: Error: self-signed certificate in certificate chain
❯ ../../node_modules/pg-pool/index.js:45:11
❯ ../../node_modules/src/node-postgres/session.ts:65:19
❯ Module.getSchedule src/schedules/services/schedule.ts:40:26
❯ src/schedules/procedures/getSchedule.ts:9:22
❯ resolveMiddleware ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:103:30
❯ callRecursive ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:153:32
❯ callRecursive ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:153:32
❯ procedure ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:183:24
❯ ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/router.mjs:111:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'SELF_SIGNED_CERT_IN_CHAIN' }
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|