@auto-engineer/job-graph-processor 1.107.0 → 1.109.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/package.json CHANGED
@@ -6,15 +6,15 @@
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "dependencies": {
8
8
  "nanoid": "^5.0.0",
9
- "@auto-engineer/message-bus": "1.107.0"
9
+ "@auto-engineer/message-bus": "1.109.0"
10
10
  },
11
11
  "devDependencies": {
12
- "@auto-engineer/pipeline": "1.107.0"
12
+ "@auto-engineer/pipeline": "1.109.0"
13
13
  },
14
14
  "publishConfig": {
15
15
  "access": "public"
16
16
  },
17
- "version": "1.107.0",
17
+ "version": "1.109.0",
18
18
  "scripts": {
19
19
  "build": "tsc && tsx ../../scripts/fix-esm-imports.ts",
20
20
  "test": "vitest run --reporter=dot",
@@ -32,6 +32,16 @@ describe('classifyJobEvent', () => {
32
32
  });
33
33
  });
34
34
 
35
+ it('returns null for events with intermediate: true', () => {
36
+ const result = classifyJobEvent({
37
+ type: 'ComponentImplemented',
38
+ data: { intermediate: true, name: 'Foo' },
39
+ correlationId: 'graph:g1:job-a',
40
+ });
41
+
42
+ expect(result).toBe(null);
43
+ });
44
+
35
45
  it('returns JobSucceeded when event has no error', () => {
36
46
  const result = classifyJobEvent({
37
47
  type: 'BuildCompleted',
@@ -14,6 +14,8 @@ export function isJobFailure(event: Event): boolean {
14
14
  }
15
15
 
16
16
  export function classifyJobEvent(event: Event): JobGraphEvent | null {
17
+ if (event.data.intermediate === true) return null;
18
+
17
19
  const parsed = parseCorrelationId(event.correlationId ?? '');
18
20
  if (parsed === null) return null;
19
21