Repository navigation
fix(engine): evaluate multi-instance input mappings with iteration bindings - #3818
Draft
hauptmedia wants to merge 1 commit into
Draft
hauptmedia wants to merge 1 commit into
hauptmedia wants to merge 1 commit into
Conversation
…ndings Preserve parent mapping semantics while exposing the current element and loop counter through a DelegateExecution view. Add 61 regression invocations and an architectural decision record. Fixes #3814
This was referenced Oct 9, 2026
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Fixes #3814. The issue was also reproduced with Operaton 2.1.5.
Multi-instance input mappings currently evaluate in the outer scope and can miss the current element/loop counter or silently read a same-name parent value. Capture the iteration bindings for input evaluation while preserving the existing parent semantics for other reads and explicit writes. Mapping targets remain local.
Expressions, scripts and the public
DelegateExecutionview use consistent bindings, including null shadowing and lazily deserialized typed values. No persistent execution scope, database schema or history layout changes are introduced. The ADR explains the compatibility tradeoff for custom code relying on concrete internal execution casts or object identity.Regression tests
Companion draft PRs: #3819 (baseline engine regressions) and #3820 (frontend/SDK harness and date validation).
Verification scope
The three companion change sets were validated together on
79f9f874bcec4f3ff7423ac39270bfea2b66cfb1: 26,919 distinct Java cases, zero failures/errors and 142 existing skips; all 129 reactor modules completed successfully across verified recovery segments. This was not one uninterrupted build, and it is not a claim that each split branch independently passed the expanded full suite.This branch is based on
ce6e96e4139a006bb3ba6a3fce70f80eb3641f5c. The intervening main change only updates the REST documentation dependency lockfile. Every published changed file was checked byte-for-byte against the tested content.Legacy browser test execution is explicitly deferred for this run: Chromium cannot create its required Unix socket in the test executor. The 32 UI, 7 SDK browser and 13 Commons browser spec inventories are not claimed as passed. No tests are permanently disabled. Optional external-database/runtime-container/E2E matrices were not run.
The cleanup script's isolated imports phase passed. Its code/test phases encountered existing recipe configuration errors, so the complete cleanup pipeline is not claimed as passed.
git diff --checkpassed.