fix(flow): flow trigger with both conditions and preconditions

When a flow have both a condition and a precondition, the condition was evaluated twice which lead to double execution triggered.

Fixes
This commit is contained in:
Loïc Mathieu
2025-11-13 14:52:18 +01:00
parent 6803801f88
commit 9957b1659e
8 changed files with 226 additions and 114 deletions

View File

@@ -531,7 +531,7 @@ class FlowControllerTest {
List<String> namespaces = client.toBlocking().retrieve(
HttpRequest.GET("/api/v1/main/flows/distinct-namespaces"), Argument.listOf(String.class));
assertThat(namespaces.size()).isEqualTo(12);
assertThat(namespaces.size()).isEqualTo(13);
}
@Test