ai-workflows 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +3 -0
- package/package.json +1 -1
- package/.turbo/turbo-test.log +0 -104
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
ADDED
package/package.json
CHANGED
package/.turbo/turbo-test.log
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> ai-workflows@0.0.1 test /Users/nathanclevenger/projects/mdx.org.ai/primitives/packages/ai-workflows
|
|
3
|
-
> vitest
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
DEV v2.1.9 /Users/nathanclevenger/projects/mdx.org.ai/primitives/packages/ai-workflows
|
|
7
|
-
|
|
8
|
-
✓ test/every.test.ts (39 tests) 7ms
|
|
9
|
-
✓ test/on.test.ts (8 tests) 4ms
|
|
10
|
-
✓ test/context.test.ts (11 tests) 5ms
|
|
11
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should deliver events to registered handlers
|
|
12
|
-
[workflow] Starting with 1 event handlers and 0 schedules
|
|
13
|
-
|
|
14
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should allow chained event sending from handlers
|
|
15
|
-
[workflow] Starting with 2 event handlers and 0 schedules
|
|
16
|
-
|
|
17
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should track events in state history
|
|
18
|
-
[workflow] Starting with 1 event handlers and 0 schedules
|
|
19
|
-
|
|
20
|
-
✓ test/send.test.ts (9 tests) 20ms
|
|
21
|
-
stderr | test/send.test.ts > send - event emission > send > should continue with other handlers if one throws
|
|
22
|
-
Error in handler for Customer.created: Error: Handler 1 failed
|
|
23
|
-
at /Users/nathanclevenger/projects/mdx.org.ai/primitives/packages/ai-workflows/test/send.test.ts:104:50
|
|
24
|
-
at file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:146:14
|
|
25
|
-
at file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:533:11
|
|
26
|
-
at runWithTimeout (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:39:7)
|
|
27
|
-
at runTest (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1056:17)
|
|
28
|
-
at runSuite (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1205:15)
|
|
29
|
-
at runSuite (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1205:15)
|
|
30
|
-
at runSuite (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1205:15)
|
|
31
|
-
at runFiles (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1262:5)
|
|
32
|
-
at startTests (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1271:3)
|
|
33
|
-
|
|
34
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should trigger schedule handlers
|
|
35
|
-
[workflow] Starting with 0 event handlers and 1 schedules
|
|
36
|
-
|
|
37
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should trigger schedule handlers
|
|
38
|
-
[workflow] Stopping
|
|
39
|
-
|
|
40
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should stop schedule handlers on stop
|
|
41
|
-
[workflow] Starting with 0 event handlers and 1 schedules
|
|
42
|
-
[workflow] Stopping
|
|
43
|
-
|
|
44
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should support $.set and $.get for context data
|
|
45
|
-
[workflow] Starting with 2 event handlers and 0 schedules
|
|
46
|
-
|
|
47
|
-
✓ test/workflow.test.ts (20 tests) 23ms
|
|
48
|
-
|
|
49
|
-
Test Files 5 passed (5)
|
|
50
|
-
Tests 87 passed (87)
|
|
51
|
-
Start at 14:14:37
|
|
52
|
-
Duration 512ms (transform 163ms, setup 0ms, collect 335ms, tests 58ms, environment 0ms, prepare 404ms)
|
|
53
|
-
|
|
54
|
-
PASS Waiting for file changes...
|
|
55
|
-
press h to show help, press q to quit
|
|
56
|
-
c[3J RERUN src/context.ts
|
|
57
|
-
|
|
58
|
-
✓ test/context.test.ts (11 tests) 5ms
|
|
59
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should deliver events to registered handlers
|
|
60
|
-
[workflow] Starting with 1 event handlers and 0 schedules
|
|
61
|
-
|
|
62
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should allow chained event sending from handlers
|
|
63
|
-
[workflow] Starting with 2 event handlers and 0 schedules
|
|
64
|
-
|
|
65
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should track events in state history
|
|
66
|
-
[workflow] Starting with 1 event handlers and 0 schedules
|
|
67
|
-
|
|
68
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should trigger schedule handlers
|
|
69
|
-
[workflow] Starting with 0 event handlers and 1 schedules
|
|
70
|
-
|
|
71
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should trigger schedule handlers
|
|
72
|
-
[workflow] Stopping
|
|
73
|
-
|
|
74
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should stop schedule handlers on stop
|
|
75
|
-
[workflow] Starting with 0 event handlers and 1 schedules
|
|
76
|
-
[workflow] Stopping
|
|
77
|
-
|
|
78
|
-
stdout | test/workflow.test.ts > Workflow - unified $ API > Workflow() > should support $.set and $.get for context data
|
|
79
|
-
[workflow] Starting with 2 event handlers and 0 schedules
|
|
80
|
-
|
|
81
|
-
✓ test/send.test.ts (9 tests) 17ms
|
|
82
|
-
✓ test/workflow.test.ts (20 tests) 11ms
|
|
83
|
-
stderr | test/send.test.ts > send - event emission > send > should continue with other handlers if one throws
|
|
84
|
-
Error in handler for Customer.created: Error: Handler 1 failed
|
|
85
|
-
at /Users/nathanclevenger/projects/mdx.org.ai/primitives/packages/ai-workflows/test/send.test.ts:104:50
|
|
86
|
-
at file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:146:14
|
|
87
|
-
at file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:533:11
|
|
88
|
-
at runWithTimeout (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:39:7)
|
|
89
|
-
at runTest (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1056:17)
|
|
90
|
-
at runSuite (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1205:15)
|
|
91
|
-
at runSuite (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1205:15)
|
|
92
|
-
at runSuite (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1205:15)
|
|
93
|
-
at runFiles (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1262:5)
|
|
94
|
-
at startTests (file:///Users/nathanclevenger/projects/mdx.org.ai/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1271:3)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
Test Files 3 passed (3)
|
|
98
|
-
Tests 40 passed (40)
|
|
99
|
-
Start at 01:20:37
|
|
100
|
-
Duration 78ms
|
|
101
|
-
|
|
102
|
-
PASS Waiting for file changes...
|
|
103
|
-
press h to show help, press q to quit
|
|
104
|
-
ELIFECYCLE Test failed. See above for more details.
|