Skip to content

RSDK-13800: Fix _dial_app to pass dial options to _dial_direct#1211

Open
claude[bot] wants to merge 1 commit intomainfrom
claude/RSDK-13800-dial-app-pass-options
Open

RSDK-13800: Fix _dial_app to pass dial options to _dial_direct#1211
claude[bot] wants to merge 1 commit intomainfrom
claude/RSDK-13800-dial-app-pass-options

Conversation

@claude
Copy link
Copy Markdown
Contributor

@claude claude Bot commented May 5, 2026

Summary

  • _dial_app was not accepting or forwarding DialOptions to _dial_direct, so options like insecure=True were silently ignored when connecting to the app endpoint
  • Updated _dial_app to accept an optional DialOptions parameter and pass it through
  • Updated ViamClient.create_from_dial_options to pass its dial_options to _dial_app

Test plan

  • Added test_passes_dial_options_to_dial_app — verifies _dial_app is called with the dial options (including insecure=True) and default app URL
  • Added test_passes_dial_options_with_custom_url — verifies _dial_app is called with both a custom URL and dial options
  • All 13 existing + new tests pass

🤖 Generated with Claude Code

_dial_app was ignoring dial options (like insecure=True), causing SSL
errors when connecting to insecure localhost app instances.

RSDK-13800

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@claude claude Bot requested a review from a team as a code owner May 5, 2026 20:52
@claude claude Bot requested review from lia-viam and stuqdog May 5, 2026 20:52
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.

0 participants