From cde79bd172b359c9f459677157d472df4107c06d Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Thu, 26 Mar 2026 23:40:13 +0100 Subject: [PATCH] fix: remove stale diagramNodeId from test ProcessorRecord constructors TreeReconstructionTest and PostgresExecutionStoreIT still passed the removed diagramNodeId parameter. Missed by mvn compile (main only); caught by mvn verify (test compilation). Co-Authored-By: Claude Opus 4.6 (1M context) --- .../server/app/storage/PostgresExecutionStoreIT.java | 4 ++-- .../cameleer3/server/core/detail/TreeReconstructionTest.java | 2 +- 2 files changed, 3 insertions(+), 3 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 909e3dca..9ee7cc29 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 @@ -68,11 +68,11 @@ class PostgresExecutionStoreIT extends AbstractPostgresIT { executionStore.upsert(exec); List processors = List.of( - new ProcessorRecord("exec-proc", "proc-1", "log", null, + new ProcessorRecord("exec-proc", "proc-1", "log", "app-1", "route-a", 0, null, "COMPLETED", now, now.plusMillis(10), 10L, null, null, "input body", "output body", null, null, null), - new ProcessorRecord("exec-proc", "proc-2", "to", null, + new ProcessorRecord("exec-proc", "proc-2", "to", "app-1", "route-a", 1, "proc-1", "COMPLETED", now.plusMillis(10), now.plusMillis(30), 20L, null, null, null, null, null, null, null) diff --git a/cameleer3-server-core/src/test/java/com/cameleer3/server/core/detail/TreeReconstructionTest.java b/cameleer3-server-core/src/test/java/com/cameleer3/server/core/detail/TreeReconstructionTest.java index de7ae2ce..70da2c54 100644 --- a/cameleer3-server-core/src/test/java/com/cameleer3/server/core/detail/TreeReconstructionTest.java +++ b/cameleer3-server-core/src/test/java/com/cameleer3/server/core/detail/TreeReconstructionTest.java @@ -24,7 +24,7 @@ class TreeReconstructionTest { private ProcessorRecord proc(String id, String type, String status, int depth, String parentId) { return new ProcessorRecord( - "exec-1", id, type, "node-" + id, + "exec-1", id, type, "default", "route1", depth, parentId, status, NOW, NOW, 10L, null, null, null, null, null, null, null