-
-
Notifications
You must be signed in to change notification settings - Fork 775
#4932 - Fixes for field escaping in orquesta workflows #4933
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#4932 - Fixes for field escaping in orquesta workflows #4933
Conversation
…sta-field-escaping
m4dcoder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
FYI build failures were caused by poisoned Travis cache where |
arm4b
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR definitely needs a Changelog describing the bugfix.
|
@armab Added a changelog. Thank you for noticing this, i was in such a rush to get it fixed i forgot! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thanks!


Closes #4932
This is a fix for the bug found in #4932 .
I had to revert 3x fields in the workflow DB model:
WorkflowExecutionDB.specfor any fields/dict keys that were statically defined in the workflow spec that include a.in their name:Example:
WorkflowExecutionDB.contextfor any dicts/objects that is present in the "context", ie. from a published variable. This can occur, for example, when runningcore.remote. The resulting dictionary has hostnames/IPs as keys in the returned dict.Example:
TaskExecutionDB.task_specfor any inputs passed into the task that may have a dict with a key contain a..Example:
I've added a single integration test case
examples.orequest-test-field-escapingthat invokes these three corner cases.