-
Notifications
You must be signed in to change notification settings - Fork 23
Add option to disable downloading Coder binary even if out of date or missing #193
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
Comments
Yeah we should add an option to disable downloading like our JetBrains plugin has. That said, the VS Code plugin should only try to download if the binary is the wrong version, so setting |
@code-asher No, as I understand it from my testing and checking
The extension seems usable afterwards though. |
Huh, that is strange, assuming it is the same version (the hash matches, sent via the Lines 226 to 229 in ae17065
I suppose this implies that the endpoint is returning a 200. Lines 214 to 216 in ae17065
Is the binary being downloaded from somewhere that is not supporting the In the JetBrains plugin one thing we do is check the version before making the request with |
And good point about the error message, we should change that to something like "Failed to download binary, continuing anyway" or something like that. Maybe we should only try to continue if there is an existing binary there, outdated or not. |
Thanks for the pointers; indeed, could also be an issue with the forward or reverse proxies removing the header; to be investigated. |
Yeah, this is a blocker for us to. @kylecarbs |
Will fix @michaelbrewer |
@michaelbrewer Is I will update the issue title too. |
@code-asher turns out the bigger issue is the coder binary not being signed. |
In some environments, it is not allowed to download then execute arbitrary binaries; such binaries have to be approved, specifically packaged and then installed from a central application repository through e.g. UI tooling.
#122 adds settings for the Coder binary source and destination; would it be possible to also allow pointing to an existing coder executable (e.g. "C:\Program Files\Coder\bin\coder-windows-amd64.exe"), and disable the remote download?
The text was updated successfully, but these errors were encountered: