Rikkola opened a new pull request, #7124: URL: https://github.com/apache/incubator-kie/pull/7124
## Summary When a sequence step contains both **alpha** (intra-fact) and **beta** (cross-fact / anchor-bound) constraints, `DynamicFilter` takes the beta evaluation path and delegates to `CombinedConstraint#isAllowedCachedLeft`. Previously, `isAllowedCachedLeft` iterated over child constraints and only evaluated those implementing `BetaConstraint`, completely skipping pure `AlphaNodeFieldConstraint` children. This caused facts that satisfied beta constraints but violated alpha constraints to incorrectly pass evaluation and trigger matches. ## Changes - Renamed `CombinedAlphaConstraint` → `CombinedConstraint` to reflect its support for mixed alpha and beta constraints. - Evaluating non-`BetaConstraint` children via `isAllowed(FactHandle, ValueResolver)` inside `isAllowedCachedLeft`. - Added comprehensive unit and edge-case tests for mixed and multiple alpha constraints. ## Issue Closes: https://github.com/apache/incubator-kie/issues/7100 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
