You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "gmunozfe (via GitHub)" <gi...@apache.org> on 2026/02/05 00:27:52 UTC

[I] [Regression] ProcessEventDispatcher doesn't consider processInstanceId [incubator-kie-issues]

gmunozfe opened a new issue, #2238:
URL: https://github.com/apache/incubator-kie-issues/issues/2238

   **ProcessEventDispatcher** should dispatch _CloudEvents_ based on the `processInstanceId` received into the `kogitoprocrefid`.
   This was working prior to https://github.com/apache/incubator-kie-kogito-runtimes/pull/4059 but now it is failing. 
   A regression test must be added to supervise this scenario.
   
   ### Reproducer
   
   Add this test into EventFlowIT and execute it:
   
   ```
   @Test
   void testWrongProcessIdNotProcessedRainy() throws IOException {
      final String flowName = "nonStartEvent";
      final String id = startProcess(flowName);
      sendEvents(UUID.randomUUID().toString(), "move");
      assertThrows(ConditionTimeoutException.class, () -> waitForFinish(flowName, id, Duration.ofSeconds(5)));
   }
   ```
   
   ### Expected result
   
   As the UUID used as id is random, it won't match the one for the process and the event shouldn't be dispatched: therefore, the process doesn't finish during 5 seconds, a exception is thrown and the test passes.
   
   ### Actual result
   
   Regression test like the one proposed above is failing.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [Regression] ProcessEventDispatcher doesn't consider processInstanceId [incubator-kie-issues]

Posted by "fjtirado (via GitHub)" <gi...@apache.org>.
fjtirado closed issue #2238: [Regression] ProcessEventDispatcher doesn't consider processInstanceId
URL: https://github.com/apache/incubator-kie-issues/issues/2238


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [Regression] ProcessEventDispatcher doesn't consider processInstanceId [incubator-kie-issues]

Posted by "fjtirado (via GitHub)" <gi...@apache.org>.
fjtirado commented on issue #2238:
URL: https://github.com/apache/incubator-kie-issues/issues/2238#issuecomment-3855497538

   @gmunozfe 
   This [change](https://github.com/apache/incubator-kie-kogito-runtimes/pull/4059/changes#diff-ccac37dfbcb422cfee1b47313cbdf805e74eab8b9ca19dbd384b95b3667d9fe2R101-R102) is provoking the failure 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org