Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cone version to user agent info #114

Merged
merged 5 commits into from
Jan 10, 2025
Merged

Add cone version to user agent info #114

merged 5 commits into from
Jan 10, 2025

Conversation

mj-palanker
Copy link
Contributor

@mj-palanker mj-palanker commented Jan 9, 2025

Passes along the versioning info to the SDK to put in user agent
Relies on SDK change in review here: ConductorOne/conductorone-sdk-go#84

Here's the observed user agent when using the change (taken from dev proxy logs)
"cone/dev speakeasy-sdk/go 1.22.0 2.452.0 0.1.0-alpha github.com/conductorone/conductorone-sdk-go"
or with a mocked MJP version
"cone/MJP speakeasy-sdk/go 1.22.0 2.452.0 0.1.0-alpha github.com/conductorone/conductorone-sdk-go"

TODO

  • Replace temporary vendor patch with actual SDK update

@mj-palanker mj-palanker merged commit f7841e6 into main Jan 10, 2025
2 checks passed
@mj-palanker mj-palanker deleted the mjp/cone-user-agent branch January 10, 2025 23:49
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