feat: add email trigger webhook to execution worker #89
ci.yml
on: push
Lint and Type Check
29s
Test
45s
Annotations
11 errors
|
Lint and Type Check
Process completed with exit code 2.
|
|
Lint and Type Check
@poppy/execution-worker#typecheck: command (/home/runner/work/poppy/poppy/apps/execution-worker) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
|
|
Lint and Type Check
Property 'recurrence' is missing in type '{ id: string; executionAgentDoId: string; doScheduleId: string; agentId: string; conversationId: string; taskDescription: string; context: null; scheduledAt: Date; status: "pending"; createdAt: Date; processedAt: null; completedAt: null; errorMessage: null; retryCount: number; }' but required in type '{ conversationId: string; id: string; context: unknown; retryCount: number; agentId: string; status: "completed" | "failed" | "cancelled" | "pending" | "processing"; createdAt: Date; completedAt: Date | null; ... 6 more ...; processedAt: Date | null; }'.
|
|
Lint and Type Check
Property 'recurrence' is missing in type '{ id: string; executionAgentDoId: string; doScheduleId: string; agentId: string; conversationId: string; taskDescription: string; context: { priority: string; }; scheduledAt: Date; status: "pending"; ... 4 more ...; retryCount: number; }' but required in type '{ conversationId: string; id: string; context: unknown; retryCount: number; agentId: string; status: "completed" | "failed" | "cancelled" | "pending" | "processing"; createdAt: Date; completedAt: Date | null; ... 6 more ...; processedAt: Date | null; }'.
|
|
Lint and Type Check
Argument of type '{ task_description: string; delay_seconds: number; }' is not assignable to parameter of type '{ task_description: string; delay_seconds: number; recurrence: "none" | "daily" | "weekly" | "weekdays"; reason?: string | undefined; }'.
|
|
Lint and Type Check
Argument of type '{ task_description: string; delay_seconds: number; }' is not assignable to parameter of type '{ task_description: string; delay_seconds: number; recurrence: "none" | "daily" | "weekly" | "weekdays"; reason?: string | undefined; }'.
|
|
Lint and Type Check
Argument of type '{ task_description: string; delay_seconds: number; reason: string; }' is not assignable to parameter of type '{ task_description: string; delay_seconds: number; recurrence: "none" | "daily" | "weekly" | "weekdays"; reason?: string | undefined; }'.
|
|
Test
Process completed with exit code 1.
|
|
Test
@poppy/execution-worker#test: command (/home/runner/work/poppy/poppy/apps/execution-worker) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
|
src/tests/integration/reminders.test.ts > Reminder Tools > createSetReminderTool > should handle reminder without reason:
apps/execution-worker/src/tests/integration/reminders.test.ts#L65
AssertionError: expected "spy" to be called with arguments: [ { …(3) } ]
Received:
1st spy call:
[
{
"context": {},
- "scheduledAt": Any<Date>,
+ "recurrence": "none",
+ "scheduledAt": 2026-01-12T04:29:51.100Z,
"taskDescription": "Send follow-up email",
},
]
Number of calls: 1
❯ Proxy.methodWrapper home/runner/work/poppy/poppy/apps/execution-worker/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/deps_ssr/vitest___@vitest_expect___chai.js:1603:25
❯ src/tests/integration/reminders.test.ts:65:32
|
|
src/tests/integration/reminders.test.ts > Reminder Tools > createSetReminderTool > should schedule a reminder and save to database:
apps/execution-worker/src/tests/integration/reminders.test.ts#L29
AssertionError: expected "spy" to be called with arguments: [ { …(3) } ]
Received:
1st spy call:
[
{
"context": {
"reason": "User wants a weather update",
},
- "scheduledAt": Any<Date>,
+ "recurrence": "none",
+ "scheduledAt": 2026-01-12T03:34:51.074Z,
"taskDescription": "Check the weather forecast",
},
]
Number of calls: 1
❯ Proxy.methodWrapper home/runner/work/poppy/poppy/apps/execution-worker/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/deps_ssr/vitest___@vitest_expect___chai.js:1603:25
❯ src/tests/integration/reminders.test.ts:29:32
|