Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add ConnectRPC variants for older Agent API versions#13778

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
spikecurtis merged 1 commit intomainfromspike/agentsdk-api-versions
Jul 3, 2024

Conversation

spikecurtis
Copy link
Contributor

@spikecurtisspikecurtis commentedJul 3, 2024
edited
Loading

AddsConnectRPC20 andConnectRPC21 to the agentsdkClient. These allow you to ask for v2.0 and v2.1 of the Agent API explicitly, for maximum compatibility.

Useful for situations likeenvbox orenvbuilder orkube-logstream which use theagentsdk to talk to Coder Server, but don't know at build time what version of the Coder Server they're talking to. The new RPC in v2.1 doesn't matter for logging use cases.

I haven't added any new tests for these because they're just using the go typechecker to do the heavy lifting.

@spikecurtisGraphite App
Copy link
ContributorAuthor

This stack of pull requests is managed by Graphite.Learn more about stacking.

Join@spikecurtis and the rest of your teammates onGraphiteGraphite

@spikecurtisspikecurtis requested review fromsreya,coadler anddeansheather and removed request forcoadlerJuly 3, 2024 11:54
@spikecurtisspikecurtis marked this pull request as ready for reviewJuly 3, 2024 11:55
@spikecurtisspikecurtisforce-pushed thespike/agentsdk-api-versions branch from0f09ba5 toad9ab2fCompareJuly 3, 2024 11:58
@spikecurtisspikecurtisforce-pushed thespike/agentsdk-api-versions branch fromad9ab2f toeb30239CompareJuly 3, 2024 12:00
@spikecurtisspikecurtis merged commitf6639b7 intomainJul 3, 2024
28 checks passed
@spikecurtisGraphite App
Copy link
ContributorAuthor

Merge activity

@spikecurtisspikecurtis deleted the spike/agentsdk-api-versions branchJuly 3, 2024 12:11
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJul 3, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather approved these changes

@sreyasreyaAwaiting requested review from sreya

Assignees

@spikecurtisspikecurtis

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@spikecurtis@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp