Skip to content

Conversation

danielbotros
Copy link
Member

@danielbotros danielbotros commented Sep 5, 2025

Description

  • Extend ClientConn interface to expose GetState so that we can call it on connections that have an underlying type of grpc.ClientConn in the rdk
  • Not worrying about webrtc connections for now, just return default Unknown state
  • Testing and other info found in corresponding RDK PR

Comment on lines +338 to +339
func (ch *webrtcClientChannel) GetState() connectivity.State {
return Unknown
Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe add a TODO here?

Copy link
Member

Choose a reason for hiding this comment

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

ya, can you make a ticket and add a TODO here?

@viambot viambot added the safe to test Mark as safe to test label Sep 5, 2025
@danielbotros danielbotros changed the title Extend ClientConn inteface to include GetState and handle webrtc case [RSDK-8344] Expose machine internet connectivity Sep 5, 2025
@danielbotros danielbotros requested a review from cheukt September 5, 2025 16:04
@danielbotros danielbotros marked this pull request as ready for review September 5, 2025 16:04
Copy link
Member

@cheukt cheukt left a comment

Choose a reason for hiding this comment

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

LGTM with adding the ticket and TODO

Comment on lines +338 to +339
func (ch *webrtcClientChannel) GetState() connectivity.State {
return Unknown
Copy link
Member

Choose a reason for hiding this comment

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

ya, can you make a ticket and add a TODO here?

@danielbotros danielbotros merged commit 3911cad into viamrobotics:main Sep 5, 2025
4 checks passed
@viambot viambot added safe to test Mark as safe to test and removed safe to test Mark as safe to test labels Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test Mark as safe to test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants