Skip to content

RSDK-13355: remove reconfigure#1167

Open
aldenh-viam wants to merge 1 commit intoviamrobotics:mainfrom
aldenh-viam:push-tllqywwkkpkx
Open

RSDK-13355: remove reconfigure#1167
aldenh-viam wants to merge 1 commit intoviamrobotics:mainfrom
aldenh-viam:push-tllqywwkkpkx

Conversation

@aldenh-viam
Copy link
Contributor

Modules no longer need to implement Reconfigure after viamrobotics/rdk#5811, since ReconfigureResource will not be called by viam-server anymore and it will instead always close (RemoveResource) and recreate (AddResource) the resource.

@aldenh-viam aldenh-viam force-pushed the push-tllqywwkkpkx branch 2 times, most recently from 029f942 to 9a2f335 Compare March 17, 2026 19:02
from viam.proto.app.robot import ComponentConfig
from viam.proto.common import ResourceName
from viam.resource.base import ResourceBase


@runtime_checkable
class Reconfigurable(Protocol):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove this class completely? Or not, because it would crash at runtime for users who bump the SDK version but forget to remove it from their code?

@aldenh-viam aldenh-viam marked this pull request as ready for review March 18, 2026 13:35
@aldenh-viam aldenh-viam requested a review from a team as a code owner March 18, 2026 13:35
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.

1 participant