Fix: The default name of the operator does not include a numeric suffix. - #19451
Fix: The default name of the operator does not include a numeric suffix.#19451cike8899 wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe change aligns the empty dataflow DSL with the node-name generator. Parser nodes now use ChangesParser naming
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to New empty agent graphs use Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit hops where Parser names now flow Comment |
wangq8
left a comment
There was a problem hiding this comment.
This is an AI review comment.
The change is clean and the test coverage is good. generateNodeNamesWithIncreasingIndex now emits the bare name for the first operator of a type and Name_1, Name_2, … afterwards, with correct gap-filling and legacy _0 handling. I traced all six new test cases against the implementation and the expected outputs are correct.
Minor observations (non-blocking):
-
DataflowEmptyDslupdates the seed Parser node fromParser_0→Parser; the empty-DSL File node already uses the bare nameFile, so the two are now consistent. Good. -
generateNodeNamesWithIncreasingIndexstill keys offx.data.nameonly, not the node'slabel/operator type. A node of a different operator whosedata.namehappens to equal the requested name would be counted toward the index. This is pre-existing behavior (not a regression), so just flagging it — fine if names are guaranteed unique-per-operator.
Otherwise LGTM.
This is an AI review comment.
Summary
Fix: The default name of the operator does not include a numeric suffix.