-
Notifications
You must be signed in to change notification settings - Fork 889
feat: check agent API version on connection #11696
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Jan 19, 2024
This was referenced Jan 19, 2024
This was referenced Jan 19, 2024
c7f73d4
to
135bd48
Compare
3469608
to
f56be8e
Compare
135bd48
to
ecef2a9
Compare
f56be8e
to
24a943c
Compare
ecef2a9
to
0b0b1a4
Compare
24a943c
to
16322d1
Compare
deansheather
approved these changes
Jan 22, 2024
0b0b1a4
to
7a301f1
Compare
16322d1
to
c91b1c0
Compare
7a301f1
to
0e38400
Compare
c91b1c0
to
671a2e9
Compare
0e38400
to
35d99a8
Compare
671a2e9
to
5fa6879
Compare
35d99a8
to
66da7c6
Compare
5fa6879
to
8ad2024
Compare
66da7c6
to
62e95de
Compare
8ad2024
to
d7a1794
Compare
62e95de
to
5695841
Compare
d7a1794
to
59e8c2f
Compare
59e8c2f
to
8cbda21
Compare
This was referenced Jan 23, 2024
Merge activity
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #10531
Adds a check for
version
on connection to the Agent API websocket endpoint. This is primarily for future-proofing, so that up-level agents get a sensible error if they connect to a back-level Coderd.It also refactors the location of the
CurrentVersion
variables, to be part of theproto
packages, since the versions refer to the APIs defined therein.