Skip to content

refactor: Update auth SDK#143

Draft
Ruari-Phipps wants to merge 3 commits into
mainfrom
ruari/refactor/refactor_auth_sdk
Draft

refactor: Update auth SDK#143
Ruari-Phipps wants to merge 3 commits into
mainfrom
ruari/refactor/refactor_auth_sdk

Conversation

@Ruari-Phipps
Copy link
Copy Markdown
Collaborator

@Ruari-Phipps Ruari-Phipps commented May 14, 2026

Summary

Refactor auth/base url setting for SDK so it's easier to subclass

Motivation

Allow usage of JWT tokens with different endpoints

Changes

  • Subclass base path and header setting

Test strategy

  • Added/updated unit tests
  • Manual CLI testing (poly <command>)
  • Tested against a live Agent Studio project
  • N/A (docs, config, or trivial change)

Checklist

  • ruff check . and ruff format --check . pass
  • pytest passes
  • No breaking changes to the poly CLI interface (or migration path documented)
  • Commit messages follow conventional commits

Screenshots / Logs

@Ruari-Phipps Ruari-Phipps requested a review from a team May 14, 2026 16:38
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

Coverage Report

Base (main) PR Change
71.5% 71.5% -0.0% ⚠️

Changed file coverage

File Coverage Change
poly/handlers/sdk.py 15.1% +0.5% ✅
poly/handlers/sync_client.py 25.4% -0.1% ⚠️

@Ruari-Phipps Ruari-Phipps marked this pull request as draft May 18, 2026 13:42
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