Skip to content

feat: add new workqueue and user role config #2955

feat: add new workqueue and user role config

feat: add new workqueue and user role config #2955

Triggered via pull request December 4, 2025 12:28
@Nil20Nil20
synchronize #1169
ocrvs-11215
Status Failure
Total duration 59s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
test
Process completed with exit code 1.
src/api/notification/notification.user.sms.test.ts: src/form/v2/birth/index.ts#L33
ZodError: [ { "code": "custom", "path": [ "actions", 2, "flags", 0, "id" ], "message": "Custom flag cannot be one of the inherent flags: pending-certification, incomplete, rejected, correction-requested, potential-duplicate" }, { "code": "custom", "message": "Action flag id must match a configured flag in the flags array. Invalid action flag ID for event 'birth': 'rejected'", "path": [ "actions" ] } ] ❯ Proxy.defineConfig node_modules/@opencrvs/toolkit/dist/events/index.js:5737:29 ❯ src/form/v2/birth/index.ts:33:27 ❯ src/api/custom-event/handler.ts:2:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { _zod: { traits: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', size: 2, values: 'Function<values>', keys: 'Function<values>', union: 'Function<union>', intersection: 'Function<intersection>', difference: 'Function<difference>', symmetricDifference: 'Function<symmetricDifference>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>' }, constr: 'Function<ZodError>', def: [ { code: 'custom', path: [ 'actions', 2, 'flags', +0, 'id' ], message: 'Custom flag cannot be one of the inherent flags: pending-certification, incomplete, rejected, correction-requested, potential-duplicate' }, { code: 'custom', message: 'Action flag id must match a configured flag in the flags array. Invalid action flag ID for event \'birth\': \'rejected\'', path: [ 'actions' ] } ], deferred: [] }, issues: [ { code: 'custom', path: [ 'actions', 2, 'flags', +0, 'id' ], message: 'Custom flag cannot be one of the inherent flags: pending-certification, incomplete, rejected, correction-requested, potential-duplicate' }, { code: 'custom', message: 'Action flag id must match a configured flag in the flags array. Invalid action flag ID for event \'birth\': \'rejected\'', path: [ 'actions' ] } ], format: 'Function<value>', flatten: 'Function<value>', addIssue: 'Function<value>', addIssues: 'Function<value>', isEmpty: false }
src/api/notification/notification.user.email.test.ts: src/form/v2/birth/index.ts#L33
ZodError: [ { "code": "custom", "path": [ "actions", 2, "flags", 0, "id" ], "message": "Custom flag cannot be one of the inherent flags: pending-certification, incomplete, rejected, correction-requested, potential-duplicate" }, { "code": "custom", "message": "Action flag id must match a configured flag in the flags array. Invalid action flag ID for event 'birth': 'rejected'", "path": [ "actions" ] } ] ❯ Proxy.defineConfig node_modules/@opencrvs/toolkit/dist/events/index.js:5737:29 ❯ src/form/v2/birth/index.ts:33:27 ❯ src/api/custom-event/handler.ts:2:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { _zod: { traits: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', size: 2, values: 'Function<values>', keys: 'Function<values>', union: 'Function<union>', intersection: 'Function<intersection>', difference: 'Function<difference>', symmetricDifference: 'Function<symmetricDifference>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>' }, constr: 'Function<ZodError>', def: [ { code: 'custom', path: [ 'actions', 2, 'flags', +0, 'id' ], message: 'Custom flag cannot be one of the inherent flags: pending-certification, incomplete, rejected, correction-requested, potential-duplicate' }, { code: 'custom', message: 'Action flag id must match a configured flag in the flags array. Invalid action flag ID for event \'birth\': \'rejected\'', path: [ 'actions' ] } ], deferred: [] }, issues: [ { code: 'custom', path: [ 'actions', 2, 'flags', +0, 'id' ], message: 'Custom flag cannot be one of the inherent flags: pending-certification, incomplete, rejected, correction-requested, potential-duplicate' }, { code: 'custom', message: 'Action flag id must match a configured flag in the flags array. Invalid action flag ID for event \'birth\': \'rejected\'', path: [ 'actions' ] } ], format: 'Function<value>', flatten: 'Function<value>', addIssue: 'Function<value>', addIssues: 'Function<value>', isEmpty: false }
src/api/notification/notification.informant.sms.test.ts: src/form/v2/birth/index.ts#L33
ZodError: [ { "code": "custom", "path": [ "actions", 2, "flags", 0, "id" ], "message": "Custom flag cannot be one of the inherent flags: pending-certification, incomplete, rejected, correction-requested, potential-duplicate" }, { "code": "custom", "message": "Action flag id must match a configured flag in the flags array. Invalid action flag ID for event 'birth': 'rejected'", "path": [ "actions" ] } ] ❯ Proxy.defineConfig node_modules/@opencrvs/toolkit/dist/events/index.js:5737:29 ❯ src/form/v2/birth/index.ts:33:27 ❯ src/api/custom-event/handler.ts:2:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { _zod: { traits: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', size: 2, values: 'Function<values>', keys: 'Function<values>', union: 'Function<union>', intersection: 'Function<intersection>', difference: 'Function<difference>', symmetricDifference: 'Function<symmetricDifference>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>' }, constr: 'Function<ZodError>', def: [ { code: 'custom', path: [ 'actions', 2, 'flags', +0, 'id' ], message: 'Custom flag cannot be one of the inherent flags: pending-certification, incomplete, rejected, correction-requested, potential-duplicate' }, { code: 'custom', message: 'Action flag id must match a configured flag in the flags array. Invalid action flag ID for event \'birth\': \'rejected\'', path: [ 'actions' ] } ], deferred: [] }, issues: [ { code: 'custom', path: [ 'actions', 2, 'flags', +0, 'id' ], message: 'Custom flag cannot be one of the inherent flags: pending-certification, incomplete, rejected, correction-requested, potential-duplicate' }, { code: 'custom', message: 'Action flag id must match a configured flag in the flags array. Invalid action flag ID for event \'birth\': \'rejected\'', path: [ 'actions' ] } ], format: 'Function<value>', flatten: 'Function<value>', addIssue: 'Function<value>', addIssues: 'Function<value>', isEmpty: false }
src/api/notification/notification.informant.email.test.ts: src/form/v2/birth/index.ts#L33
ZodError: [ { "code": "custom", "path": [ "actions", 2, "flags", 0, "id" ], "message": "Custom flag cannot be one of the inherent flags: pending-certification, incomplete, rejected, correction-requested, potential-duplicate" }, { "code": "custom", "message": "Action flag id must match a configured flag in the flags array. Invalid action flag ID for event 'birth': 'rejected'", "path": [ "actions" ] } ] ❯ Proxy.defineConfig node_modules/@opencrvs/toolkit/dist/events/index.js:5737:29 ❯ src/form/v2/birth/index.ts:33:27 ❯ src/api/custom-event/handler.ts:2:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { _zod: { traits: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', size: 2, values: 'Function<values>', keys: 'Function<values>', union: 'Function<union>', intersection: 'Function<intersection>', difference: 'Function<difference>', symmetricDifference: 'Function<symmetricDifference>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>' }, constr: 'Function<ZodError>', def: [ { code: 'custom', path: [ 'actions', 2, 'flags', +0, 'id' ], message: 'Custom flag cannot be one of the inherent flags: pending-certification, incomplete, rejected, correction-requested, potential-duplicate' }, { code: 'custom', message: 'Action flag id must match a configured flag in the flags array. Invalid action flag ID for event \'birth\': \'rejected\'', path: [ 'actions' ] } ], deferred: [] }, issues: [ { code: 'custom', path: [ 'actions', 2, 'flags', +0, 'id' ], message: 'Custom flag cannot be one of the inherent flags: pending-certification, incomplete, rejected, correction-requested, potential-duplicate' }, { code: 'custom', message: 'Action flag id must match a configured flag in the flags array. Invalid action flag ID for event \'birth\': \'rejected\'', path: [ 'actions' ] } ], format: 'Function<value>', flatten: 'Function<value>', addIssue: 'Function<value>', addIssues: 'Function<value>', isEmpty: false }