Skip to content
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

Fix: #3876 Update task utils: removeIterationFromTaskRefName #1

Merged
merged 1 commit into from
Dec 3, 2023

Conversation

appunni-m
Copy link
Owner

Parsing name is not considering existing task ref name with double underscores

  • This is not fully fixing the use of this function. There needs to be some kind of validation against the user from setting up the taskRefName with double underscore

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes (Please run ./gradlew generateLock saveLock to refresh dependencies)
  • WHOSUSING.md
  • Other (please describe):

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.

Changes in this PR

Describe the new behavior from this PR, and why it's needed
Issue Netflix#3876
If this is not there, then task creation would go into infinite loop. This can be used to cause issues in conductor installation

Alternatives considered

Add validation in the create start workflow / create workflow definition api

Describe alternative implementation you have considered

Parsing name is not considering task ref name with double underscores

- This is not fully fixing the use of this function. There needs to be some kind of validation against the user from setting up the taskRefName with double underscore
@appunni-m appunni-m merged commit c685368 into main Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant