Skip to content

fix: [COVAL-9263] require HTTPS for custom API URLs - #11

Merged
kobicovaldev merged 4 commits into
mainfrom
kobi/coval-9263-sdk-https-api-urls
Nov 10, 2026
Merged

kobicovaldev merged 4 commits into
mainfrom
kobi/coval-9263-sdk-https-api-urls

Conversation

@kobicovaldev

@kobicovaldev kobicovaldev commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Validate custom api_base_url formats consistently for voice, text and trace uploads. The default https://api.coval.dev/v1 remains unchanged.

Custom API roots use HTTPS. Integrations using a nonlocal http:// root must switch to https:// before upgrading. HTTP remains supported for local development with localhost or unscoped loopback IP literals. Custom roots must not contain user information, query strings or fragments and must use valid URL components. Configure the final API root directly. Redirect responses are reported as SDK errors.

Tests cover both public client constructors, supported and unsupported URL formats, redirect responses for GET, JSON POST and protobuf POST, and trace uploads after correcting the API root. No runtime dependency, package version or release workflow changes.

Validation at head 5fab80f: pinned Ruff checks and formatting, architecture checks, strict type checks, distribution build/metadata/base-install checks, and installed-wheel tests passed on Python 3.10, 3.12 and 3.14. Each Python job passed 286 tests and 49 subtests. All 25 release-tooling tests and required PR checks passed. CI run.

Linear: https://linear.app/coval/issue/COVAL-9263/require-https-for-custom-agent-sdk-api-urls

@kobicovaldev
kobicovaldev requested a review from a team as a code owner November 10, 2026 21:39
@kobicovaldev
kobicovaldev merged commit 2c50eb2 into main Nov 10, 2026
9 checks passed
@kobicovaldev
kobicovaldev deleted the kobi/coval-9263-sdk-https-api-urls branch November 10, 2026 22:14
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