Skip to content

Race updating coder binary #347

Open
Open
@aaronlehmann

Description

@aaronlehmann

There appears to be a race in the Coder VSCode extension where using mulitple VS Code windows connected to different workspaces can try to update the coder binary at the same time, resulting in failures:

Error: ENOENT: no such file or directory, rename '/Users/mkrasnow/Library/Application Support/Code/User/globalStorage/coder.coder-remote/bin/coder-darwin-amd64' -> '/Users/mkrasnow/Library/Application Support/Code/User/globalStorage/coder.coder-remote/bin/coder-darwin-amd64.old-rtvak' 
Error: ENOENT: no such file or directory, rename '/Users/mkrasnow/Library/Application Support/Code/User/globalStorage/coder.coder-remote/bin/coder-darwin-amd64' -> '/Users/mkrasnow/Library/Application Support/Code/User/globalStorage/coder.coder-remote/bin/coder-darwin-amd64.old-5oo5n'

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions