When a exception occured in execution, the error message is transfered to the next executions.#592
Merged
Merged
Conversation
…be transfered to the next runs.
Contributor
Author
@microsoft-github-policy-service agree [company="{your company}"] |
Contributor
Author
@microsoft-github-policy-service agree |
Contributor
Author
|
Does anyone look at the PRs? |
YogeshPraj
approved these changes
Sep 4, 2024
3 tasks
YogeshPraj
added a commit
that referenced
this pull request
May 27, 2026
…606 (#729) Code fixes: (common in custom actions that don't need config). Added null guards for both the context dict itself and each entry's value. ErrorMessage template was never interpolated into ExceptionMessage on the result tree (unlike ExecuteAllRulesAsync which formats correctly). Added the call. `$(input1.Inner.Name)` produced the raw JSON of `Inner` (`{"Name":"..."}`) instead of walking to the leaf. Rewrote UpdateErrorMessage to traverse the full path via JsonNode and emit the leaf scalar (unquoted) or nested JSON. Verified-already-fixed (regression tests added): run was fixed in commit 4ca3cc2 (#592). Test guards against regression. no longer reproduces — likely fixed by FastExpressionCompiler / Dynamic.Core version bumps. Test guards against regression. no longer reproduces, likely resolved by the AutoRegisterInputType work. Test guards against regression. mis-resolved on master — likely fixed by Dynamic.Core 1.4.3 → 1.6.7 bump. Test guards against regression. Not fixed in this PR: decision rather than a bug — ActionContext is documented as a static key/value config dict. Users who want evaluation should use OutputExpression. All 142 unit tests pass on net6 / net8 / net9 / net10. Co-authored-by: Yogesh Prajapati <yogeshcprajapati@outlook.com>
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.
No description provided.