Auto-increment job name when adaptor already used in workflow#4463
Merged
taylordowns2000 merged 2 commits intomainfrom Feb 25, 2026
Merged
Auto-increment job name when adaptor already used in workflow#4463taylordowns2000 merged 2 commits intomainfrom
taylordowns2000 merged 2 commits intomainfrom
Conversation
When adding a new job node with an adaptor that already has a job using the same display name, append an incrementing number to make the name unique (e.g. "Whatsapp" → "Whatsapp 1" → "Whatsapp 2"). This prevents the "Job name should be distinct" save error. https://claude.ai/code/session_012J16P3QNdRrMLbzACMQ8fa
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4463 +/- ##
=======================================
Coverage 89.44% 89.45%
=======================================
Files 425 425
Lines 20212 20212
=======================================
+ Hits 18079 18081 +2
+ Misses 2133 2131 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
elias-ba
approved these changes
Feb 25, 2026
Contributor
elias-ba
left a comment
There was a problem hiding this comment.
Nicely done @brandonjackson 👏🏽
Contributor
|
Hey @brandonjackson, thank you very much for this PR; this is really great! The code is clean and handles edge cases well. I went ahead and tidied up a few things:
Everything else looks good to go. Thanks again! |
taylordowns2000
approved these changes
Feb 25, 2026
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.
Description
This PR fixes duplicate job names when adding multiple jobs with the same adaptor. When adding a new job node with an adaptor that already has a job using the same display name, append an incrementing number to make the name unique (e.g. "Whatsapp" → "Whatsapp 1" → "Whatsapp 2"). This prevents the "Job name should be distinct" save error.
Closes #4464
Validation steps
Additional notes for the reviewer
AI Usage
Pre-submission checklist
/reviewwith Claude Code)
(e.g.,
:owner,:admin,:editor,:viewer)