Skip to content

feat: adds jobs queue #9804

feat: adds jobs queue

feat: adds jobs queue #9804

Triggered via pull request September 15, 2024 20:53
@jmikrutjmikrut
synchronize #8228
feat/jobs
Status Failure
Total duration 15m 22s
Artifacts 6

main.yml

on: pull_request
Matrix: templates
Matrix: tests-e2e
Matrix: tests-int
tests-unit
32s
tests-unit
app-build-with-packed
0s
app-build-with-packed
tests-type-generation
22s
tests-type-generation
generated-templates
0s
generated-templates
All Green
0s
All Green
Publish Canary
0s
Publish Canary
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Queues › can create new jobs: test/queues/int.spec.ts#L75
expect(received).toBeUndefined() Received: null at Object.toBeUndefined (queues/int.spec.ts:75:39)
tests-int (sqlite)
Process completed with exit code 1.
Queues › can create new jobs: packages/drizzle/src/postgres/insert.ts#L20
error: insert or update on table "payload_jobs_blocks_step1" violates foreign key constraint "payload_jobs_blocks_step1_post_id_posts_id_fk" at ../node_modules/.pnpm/[email protected]/node_modules/pg/lib/client.js:526:17 at ../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]__@neondatabase+_ym5qveu4ootaua5hwrkusltwhe/node_modules/src/node-postgres/session.ts:66:19 at Object.insert (../packages/drizzle/src/postgres/insert.ts:20:14) at upsertRow (../packages/drizzle/src/upsertRow/index.ts:266:38) at Object.create (../packages/drizzle/src/create.ts:18:18) at createOperation (../packages/payload/src/collections/operations/create.ts:239:13) at Object.<anonymous>._default.collections.hooks.afterChange (queues/config.ts:22:13) at ../packages/payload/src/collections/operations/create.ts:338:11 at createOperation (../packages/payload/src/collections/operations/create.ts:333:5) at Object.<anonymous> (queues/int.spec.ts:63:21)
tests-int (postgres-uuid)
Process completed with exit code 1.
Queues › can create new jobs: packages/drizzle/src/postgres/insert.ts#L20
error: insert or update on table "payload_jobs_blocks_step1" violates foreign key constraint "payload_jobs_blocks_step1_post_id_posts_id_fk" at ../node_modules/.pnpm/[email protected]/node_modules/pg/lib/client.js:526:17 at ../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]__@neondatabase+_ym5qveu4ootaua5hwrkusltwhe/node_modules/src/node-postgres/session.ts:66:19 at Object.insert (../packages/drizzle/src/postgres/insert.ts:20:14) at upsertRow (../packages/drizzle/src/upsertRow/index.ts:266:38) at Object.create (../packages/drizzle/src/create.ts:18:18) at createOperation (../packages/payload/src/collections/operations/create.ts:239:13) at Object.<anonymous>._default.collections.hooks.afterChange (queues/config.ts:22:13) at ../packages/payload/src/collections/operations/create.ts:338:11 at createOperation (../packages/payload/src/collections/operations/create.ts:333:5) at Object.<anonymous> (queues/int.spec.ts:63:21)
tests-int (postgres)
Process completed with exit code 1.
Queues › can create new jobs: packages/drizzle/src/postgres/insert.ts#L20
error: insert or update on table "payload_jobs_blocks_step1" violates foreign key constraint "payload_jobs_blocks_step1_post_id_posts_id_fk" at ../node_modules/.pnpm/[email protected]/node_modules/pg/lib/client.js:526:17 at ../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]__@neondatabase+_ym5qveu4ootaua5hwrkusltwhe/node_modules/src/node-postgres/session.ts:66:19 at Object.insert (../packages/drizzle/src/postgres/insert.ts:20:14) at upsertRow (../packages/drizzle/src/upsertRow/index.ts:266:38) at Object.create (../packages/drizzle/src/create.ts:18:18) at createOperation (../packages/payload/src/collections/operations/create.ts:239:13) at Object.<anonymous>._default.collections.hooks.afterChange (queues/config.ts:22:13) at ../packages/payload/src/collections/operations/create.ts:338:11 at createOperation (../packages/payload/src/collections/operations/create.ts:333:5) at Object.<anonymous> (queues/int.spec.ts:63:21)
tests-int (postgres-custom-schema)
Process completed with exit code 1.
Queues › can create new jobs: packages/drizzle/src/postgres/insert.ts#L20
error: insert or update on table "payload_jobs_blocks_step1" violates foreign key constraint "payload_jobs_blocks_step1_post_id_posts_id_fk" at ../node_modules/.pnpm/[email protected]/node_modules/pg/lib/client.js:526:17 at ../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]__@neondatabase+_ym5qveu4ootaua5hwrkusltwhe/node_modules/src/node-postgres/session.ts:66:19 at Object.insert (../packages/drizzle/src/postgres/insert.ts:20:14) at upsertRow (../packages/drizzle/src/upsertRow/index.ts:266:38) at Object.create (../packages/drizzle/src/create.ts:18:18) at createOperation (../packages/payload/src/collections/operations/create.ts:239:13) at Object.<anonymous>._default.collections.hooks.afterChange (queues/config.ts:22:13) at ../packages/payload/src/collections/operations/create.ts:338:11 at createOperation (../packages/payload/src/collections/operations/create.ts:333:5) at Object.<anonymous> (queues/int.spec.ts:63:21)
tests-int (supabase)
Process completed with exit code 1.
All Green
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
test-results-access-control Expired
3.08 MB
test-results-fields__collections__Blocks Expired
2.39 MB
test-results-fields__collections__Lexical__e2e__blocks Expired
4.29 MB
test-results-fields__collections__Relationship Expired
3.14 MB
test-results-plugin-nested-docs Expired
762 KB
test-results-uploads Expired
2.64 MB