From b8c316727ea58402ade02935a30b8929c120b476 Mon Sep 17 00:00:00 2001 From: claude Date: Tue, 24 Mar 2026 17:25:48 +0100 Subject: [PATCH] fix: update ExecutionRecord constructor calls in tests for new fields --- .../app/storage/PostgresExecutionStoreIT.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/PostgresExecutionStoreIT.java b/cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/PostgresExecutionStoreIT.java index 8b698d5e..96080caa 100644 --- a/cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/PostgresExecutionStoreIT.java +++ b/cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/PostgresExecutionStoreIT.java @@ -25,7 +25,8 @@ class PostgresExecutionStoreIT extends AbstractPostgresIT { "exec-1", "route-a", "agent-1", "app-1", "COMPLETED", "corr-1", "exchange-1", now, now.plusMillis(100), 100L, - null, null, null); + null, null, null, + "REGULAR", null, null, null, null); executionStore.upsert(record); Optional found = executionStore.findById("exec-1"); @@ -33,6 +34,7 @@ class PostgresExecutionStoreIT extends AbstractPostgresIT { assertTrue(found.isPresent()); assertEquals("exec-1", found.get().executionId()); assertEquals("COMPLETED", found.get().status()); + assertEquals("REGULAR", found.get().engineLevel()); } @Test @@ -40,10 +42,12 @@ class PostgresExecutionStoreIT extends AbstractPostgresIT { Instant now = Instant.now(); ExecutionRecord first = new ExecutionRecord( "exec-dup", "route-a", "agent-1", "app-1", - "RUNNING", null, null, now, null, null, null, null, null); + "RUNNING", null, null, now, null, null, null, null, null, + null, null, null, null, null); ExecutionRecord second = new ExecutionRecord( "exec-dup", "route-a", "agent-1", "app-1", - "COMPLETED", null, null, now, now.plusMillis(200), 200L, null, null, null); + "COMPLETED", null, null, now, now.plusMillis(200), 200L, null, null, null, + "COMPLETE", null, null, null, null); executionStore.upsert(first); executionStore.upsert(second); @@ -59,7 +63,8 @@ class PostgresExecutionStoreIT extends AbstractPostgresIT { Instant now = Instant.now(); ExecutionRecord exec = new ExecutionRecord( "exec-proc", "route-a", "agent-1", "app-1", - "COMPLETED", null, null, now, now.plusMillis(50), 50L, null, null, null); + "COMPLETED", null, null, now, now.plusMillis(50), 50L, null, null, null, + "COMPLETE", null, null, null, null); executionStore.upsert(exec); List processors = List.of(