You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "mdproctor (via GitHub)" <gi...@apache.org> on 2026/04/27 00:53:09 UTC
[I] Sub-epic: droolsvol2 evaluation engine — phase 2 (3+ patterns, BetaNode hierarchy, ctx.getMemory) [incubator-kie-drools]
mdproctor opened a new issue, #6684:
URL: https://github.com/apache/incubator-kie-drools/issues/6684
Second phase of evaluation engine work — extends the core infrastructure (#6680) to handle multi-pattern rules, the correct BetaNode class hierarchy, and cleaner context-based memory access.
## Scope
- **3+ pattern rules** — `UnitInstance.wireHead()` currently throws for `sources.size() > 2`; needs chained `JoinNode` support where each additional pattern adds one more `JoinNode` with its own `JoinMemory`
- **BetaNode hierarchy** — introduce the intermediate class between `BetaNode` and `JoinNode`/`NotNode`/`ExistsNode`/`AccumulateNode` that carries both left and right inlets; `EvalConditionNode` stays as a `BetaNode` with left inlet only (it operates on partial tuples, which is what makes it beta — not the number of inputs)
- **`ctx.getMemory(node)`** — implement on `AbstractContext` so inlets use `ctx.getMemory(joinNode)` rather than capturing `NodeMemories` directly; matches the original design intent found in git history
- **`fn` on update/remove** — deferred head currently only fires on `add`; extend to `update` and `remove`
## Depends on
- #6680 — Evaluation engine core infrastructure
Parent epic: #6639
--
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