Title: If server binary download fails, the broken file will be cached · Issue #2 · coder/vscode-coder · GitHub
Open Graph Title: If server binary download fails, the broken file will be cached · Issue #2 · coder/vscode-coder
X Title: If server binary download fails, the broken file will be cached · Issue #2 · coder/vscode-coder
Description: During download of the binary on the server (in linux via install.sh, untested on other platforms), the download is made directly to the destination file which may result in an incomplete download being left behind. vscode-coder/src/inst...
Open Graph Description: During download of the binary on the server (in linux via install.sh, untested on other platforms), the download is made directly to the destination file which may result in an incomplete download ...
X Description: During download of the binary on the server (in linux via install.sh, untested on other platforms), the download is made directly to the destination file which may result in an incomplete download ...
Opengraph URL: https://github.com/coder/vscode-coder/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"If server binary download fails, the broken file will be cached","articleBody":"During download of the binary on the server (in linux via `install.sh`, untested on other platforms), the download is made directly to the destination file which may result in an incomplete download being left behind.\r\n\r\nhttps://github.com/coder/vscode-coder/blob/98276d90f0cd51d58ebb8441a781f97024a11236/src/install.sh#L50-L52\r\n\r\nRecommendations:\r\n1. Download to a temp file in the same dir (such as `.filename.temp1234` and then move the file to the destination once the download succeeds.\r\n2. Check the checksum of the downloaded file with the server. We have SHA1 checksums serverside (idk if we expose them as a file in the bin dir but we could start doing that).","author":{"url":"https://github.com/deansheather","@type":"Person","name":"deansheather"},"datePublished":"2023-01-04T03:26:04Z","url":"https://github.com/coder/vscode-coder/issues/2"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ca86fc24-caaf-40d2-5e09-ad5025a56b6e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 97D4:25598F:C3A58C:103F60F:6B00F4FB |
| html-safe-nonce | 2ac796ee86746b47e534896ea396919d6d30ab31ab9e109a3dfae338719ded95 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0Q0OjI1NTk4RjpDM0E1OEM6MTAzRjYwRjo2QjAwRjRGQiIsInZpc2l0b3JfaWQiOiI1MjY4MDc0NTU5MTI2NDM1MDY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f1fd116768d113229a915e4258fc364c07a0d891ef666f343162274b6b81de6f |
| hovercard-subject-tag | issue:1518232180 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/vscode-coder/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac8459a67f3005a48d7478be46ed9df1aa1ad70636c9f074e5c15680274ef148/coder/vscode-coder/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac8459a67f3005a48d7478be46ed9df1aa1ad70636c9f074e5c15680274ef148/coder/vscode-coder/issues/2 |
| og:image:alt | During download of the binary on the server (in linux via install.sh, untested on other platforms), the download is made directly to the destination file which may result in an incomplete download ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | deansheather |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/vscode-coder git https://github.com/coder/vscode-coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 582550891 |
| octolytics-dimension-repository_nwo | coder/vscode-coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 582550891 |
| octolytics-dimension-repository_network_root_nwo | coder/vscode-coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width