Skip to content

Conversation

@jimsynz
Copy link
Contributor

@jimsynz jimsynz commented Jan 12, 2026

Summary

  • The UniquenessTransformer was only checking [:sensors], [:controllers], and [:topology] paths for duplicate names
  • Bridges, which are registered processes in the same registry, were not being checked
  • This could cause runtime errors when starting a robot if a bridge had the same name as a controller, sensor, link, joint, or actuator
  • Now includes [:parameters] in uniqueness checking, catching bridge name conflicts at compile time

Test plan

  • Added tests for bridge name conflicts with controller, sensor, and link
  • All existing tests pass
  • mix check --no-retry passes

The `UniquenessTransformer` was only checking `[:sensors]`, `[:controllers]`,
and `[:topology]` paths for duplicate names. Bridges, which are registered
processes in the same registry, were not being checked.

This could cause runtime errors when starting a robot if a bridge had the
same name as a controller, sensor, link, joint, or actuator.

Now includes `[:parameters]` in uniqueness checking, which catches bridge
name conflicts at compile time.
@jimsynz jimsynz merged commit 107cca2 into main Jan 12, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants