fix: handle escape chars in withParam/withItems. Fixes #13718#14864
Merged
MasonM merged 5 commits intoargoproj:mainfrom Dec 15, 2025
Merged
fix: handle escape chars in withParam/withItems. Fixes #13718#14864MasonM merged 5 commits intoargoproj:mainfrom
MasonM merged 5 commits intoargoproj:mainfrom
Conversation
51a5ad0 to
e50be2e
Compare
Signed-off-by: Tzu-Ting <tzingshih@gmail.com>
7788c6e to
1641d2b
Compare
4 tasks
1641d2b to
abfa425
Compare
Signed-off-by: Tzu-Ting <tzingshih@gmail.com>
abfa425 to
fb957c6
Compare
Contributor
Author
|
Note for the failed tests On Dec 2025, I rebased the branch to reflect the changes from 2672ba3 and found the test "CI / E2E Tests (test-python-sdk)" failed. This PR is focused on the logic in |
Member
|
/retest |
1 similar comment
Member
|
/retest |
eduardodbr
approved these changes
Dec 9, 2025
Member
|
Thanks for the thorough tests! You're correct that the failures with |
Member
|
/retest |
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.
Fixes #13718
Motivation
On using withParam/withItems on DAG/Steps, Argo Workflow mistakenly replace the
\nchars as\\nand it may break some tasks.Modifications
The operator used a JSON serialized string for building items. This casues some escape string got escaped again.
This PR use the the
GetStrValmethod to extract its original value.Verification
Covered in the test cases added in fb957c6
Documentation