@auto-engineer/job-graph-processor 1.39.0 → 1.41.0
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/.turbo/turbo-test.log +3 -3
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +63 -0
- package/dist/src/pipeline-e2e.specs.js +9 -9
- package/dist/src/pipeline-e2e.specs.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/pipeline-e2e.specs.ts +9 -9
package/package.json
CHANGED
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@event-driven-io/emmett": "^0.38.2",
|
|
9
9
|
"nanoid": "^5.0.0",
|
|
10
|
-
"@auto-engineer/message-bus": "1.
|
|
10
|
+
"@auto-engineer/message-bus": "1.41.0"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@auto-engineer/pipeline": "1.
|
|
13
|
+
"@auto-engineer/pipeline": "1.41.0"
|
|
14
14
|
},
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
|
-
"version": "1.
|
|
18
|
+
"version": "1.41.0",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "tsc && tsx ../../scripts/fix-esm-imports.ts",
|
|
21
21
|
"test": "vitest run --reporter=dot",
|
|
@@ -29,11 +29,11 @@ describe('Job Graph Pipeline E2E', () => {
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
const implementHandler: CommandHandlerWithMetadata = {
|
|
32
|
-
name: '
|
|
33
|
-
events: ['
|
|
32
|
+
name: 'ImplementClient',
|
|
33
|
+
events: ['ClientImplemented'],
|
|
34
34
|
handle: async (cmd: Command) => {
|
|
35
35
|
implementCalls.push(cmd);
|
|
36
|
-
return { type: '
|
|
36
|
+
return { type: 'ClientImplemented', data: { clientDir: cmd.data.clientDir } };
|
|
37
37
|
},
|
|
38
38
|
};
|
|
39
39
|
|
|
@@ -45,7 +45,7 @@ describe('Job Graph Pipeline E2E', () => {
|
|
|
45
45
|
failurePolicy: e.data.failurePolicy,
|
|
46
46
|
}))
|
|
47
47
|
.on('GraphProcessed')
|
|
48
|
-
.emit('
|
|
48
|
+
.emit('ImplementClient', { clientDir: './client' })
|
|
49
49
|
.build();
|
|
50
50
|
|
|
51
51
|
const server = new PipelineServer({ port: 0 });
|
|
@@ -85,7 +85,7 @@ describe('Job Graph Pipeline E2E', () => {
|
|
|
85
85
|
|
|
86
86
|
expect(eventTypes).toContain('GraphDispatched');
|
|
87
87
|
expect(eventTypes).toContain('GraphProcessed');
|
|
88
|
-
expect(eventTypes).toContain('
|
|
88
|
+
expect(eventTypes).toContain('ClientImplemented');
|
|
89
89
|
expect(implementCalls.length).toBeGreaterThanOrEqual(1);
|
|
90
90
|
|
|
91
91
|
await server.stop();
|
|
@@ -104,17 +104,17 @@ describe('Job Graph Pipeline E2E', () => {
|
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
const implementHandler: CommandHandlerWithMetadata = {
|
|
107
|
-
name: '
|
|
108
|
-
events: ['
|
|
107
|
+
name: 'ImplementClient',
|
|
108
|
+
events: ['ClientImplemented'],
|
|
109
109
|
handle: async (cmd: Command) => {
|
|
110
110
|
implementCalls.push(cmd);
|
|
111
|
-
return { type: '
|
|
111
|
+
return { type: 'ClientImplemented', data: { clientDir: cmd.data.clientDir } };
|
|
112
112
|
},
|
|
113
113
|
};
|
|
114
114
|
|
|
115
115
|
const pipeline = define('job-graph-fail-e2e')
|
|
116
116
|
.on('GraphProcessed')
|
|
117
|
-
.emit('
|
|
117
|
+
.emit('ImplementClient', { clientDir: './client' })
|
|
118
118
|
.build();
|
|
119
119
|
|
|
120
120
|
const server = new PipelineServer({ port: 0 });
|