fix: reject deprecated node-name frontend key (backport #538)#545
Open
mergify[bot] wants to merge 1 commit into
Open
fix: reject deprecated node-name frontend key (backport #538)#545mergify[bot] wants to merge 1 commit into
mergify[bot] wants to merge 1 commit into
Conversation
Signed-off-by: Lidang Jiang <lidangjiang@gmail.com> (cherry picked from commit 5a8cbb2)
4 tasks
christophebedard
approved these changes
May 10, 2026
Member
|
Pulls: #545 |
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
Stop accepting the deprecated
node-namefrontend key inNode.parse()so YAML and XML launch files report it as an unexpected key/attribute, matching the existingnameAPI.Fixes #537
Is this user-facing behavior change?
Yes. Launch files that still use the deprecated
node-namefrontend key/attribute will now fail frontend parsing as an unexpected key/attribute. Users should use the existingnamekey/attribute instead.Did you use Generative AI?
Yes. I used OpenAI Codex (GPT-5) to help prepare this PR, including drafting the PR description, checking the diff, and addressing reviewer feedback. The code change itself is limited to removing the deprecated
node-nameparsing path; the initially added regression tests were removed after review feedback.Additional Information
Before
After
Test plan
git diff --checkpython3 -m py_compile launch_ros/launch_ros/actions/node.py test_launch_ros/test/test_launch_ros/frontend/test_node_frontend.pyruff check launch_ros/launch_ros/actions/node.py test_launch_ros/test/test_launch_ros/frontend/test_node_frontend.pyament_index_pythonis not installedThis is an automatic backport of pull request fix: reject deprecated node-name frontend key #538 done by Mergify.