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

fix(enterprise/coderd): check provisionerd API version on connection#12191

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
johnstcn merged 8 commits intomainfromcj/provisionerd-check-current-version
Feb 16, 2024

Conversation

johnstcn
Copy link
Member

@johnstcnjohnstcn commentedFeb 16, 2024
edited
Loading

Extracted from#12021

Moves packagecoderd/util/apiversion toapiversion to avoid import cycles.
Adds a version check when a provisioner daemon attempts to connect to coderd.
We were not doing this before.
We assume that the API version is "1.0" if no version is specified.
Adds a test that a missingversion parameter is treated as API version 1.0.

@johnstcnjohnstcn self-assigned thisFeb 16, 2024
Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Moves package coderd/util/apiversion to apiversion to avoid import cycles.

I'm not opposed to the change but I saw nothing that would've cause an import cycle without the restructuring.

@johnstcnjohnstcn merged commita2cbb0f intomainFeb 16, 2024
@johnstcnjohnstcn deleted the cj/provisionerd-check-current-version branchFebruary 16, 2024 18:43
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsFeb 16, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mafredrimafredrimafredri approved these changes

@aslilacaslilacaslilac approved these changes

@spikecurtisspikecurtisAwaiting requested review from spikecurtisspikecurtis is a code owner

@mtojekmtojekAwaiting requested review from mtojek

Assignees

@johnstcnjohnstcn

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@johnstcn@mafredri@aslilac

[8]ページ先頭

©2009-2025 Movatter.jp