Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

windows 1.13.x vscode-update.azurewebsites.net archives have an incorrect zip structure #64

Closed
ryanluker opened this issue Jun 15, 2017 · 4 comments
Assignees
Milestone

Comments

@ryanluker
Copy link

ryanluker commented Jun 15, 2017

The 1.13.x archives seem to be zipped incorrect as they do not have the important Code.exe file in the root. Instead code is located like this: Downloads\VSCode-win32-ia32-1.13.1\VSCode-win32-ia32\Code
while previous releases it was: Downloads\VSCode-win32-1.11.0\Code. This has the not so fun side effect of causing integration tests to fail:

### VS Code Extension Test Run ###
Current working directory: C:\dev\vscode-coverage-gutters
Downloading VS Code into "C:\dev\vscode-coverage-gutters\.vscode-test" from: https://vscode-update.azurewebsites.net/1.1
3.1/win32-archive/stable
Running extension tests: C:\dev\vscode-coverage-gutters\.vscode-test\Code C:\dev\vscode-coverage-gutters\out\test --exte
nsionDevelopmentPath=C:\dev\vscode-coverage-gutters --extensionTestsPath=C:\dev\vscode-coverage-gutters\out\test
Failed to execute tests: Error: spawn C:\dev\vscode-coverage-gutters\.vscode-test\Code ENOENT
Tests exited with code: -4058
npm ERR! code ELIFECYCLE

It seems directly related to the code assumption that the executable Code will always be in the root? https://github.com/Microsoft/vscode-extension-vscode/blob/master/bin/test#L24
Let me know if I am interpreting something wrong about my situation 😄

example failing build: https://ci.appveyor.com/project/ryanluker/vscode-coverage-gutters/build/1.0.272

Thanks,

@ryanluker ryanluker changed the title 1.13.x vscode-update.azurewebsites.net archives have an incorrect zip structure windows 1.13.x vscode-update.azurewebsites.net archives have an incorrect zip structure Jun 15, 2017
@joaomoreno joaomoreno self-assigned this Jun 15, 2017
@joaomoreno joaomoreno added this to the Backlog milestone Jun 15, 2017
@joaomoreno
Copy link
Member

Fixed in microsoft/vscode@c1562a5

@bpasero
Copy link
Member

bpasero commented Jun 15, 2017

@joaomoreno thanks 👍

@bpasero
Copy link
Member

bpasero commented Jun 15, 2017

Unfortunately we need a new release for this to take effect. As a workaround you can set an environment variable that the test script will pick up: set CODE_VERSION=1.12.2

@ryanluker
Copy link
Author

@joaomoreno @bpasero Thanks for the quick turn around guys 😄 👍

patbenatar pushed a commit to patbenatar/vscode-advanced-new-file that referenced this issue Jul 5, 2017
patbenatar pushed a commit to patbenatar/vscode-advanced-new-file that referenced this issue Jul 5, 2017
patbenatar pushed a commit to patbenatar/vscode-advanced-new-file that referenced this issue Jul 5, 2017
patbenatar pushed a commit to patbenatar/vscode-advanced-new-file that referenced this issue Jul 5, 2017
patbenatar pushed a commit to patbenatar/vscode-advanced-new-file that referenced this issue Jul 5, 2017
…on, dir

of currently open file, workspace root.

Plus some misc README updates, refactors, and tests.

Specify VS Code version until microsoft/vscode-extension-vscode#64 is fixed
patbenatar pushed a commit to patbenatar/vscode-advanced-new-file that referenced this issue Jul 5, 2017
…on, dir

of currently open file, workspace root.

Plus some misc README updates, refactors, and tests.

Specify VS Code version until microsoft/vscode-extension-vscode#64 is fixed
patbenatar pushed a commit to patbenatar/vscode-advanced-new-file that referenced this issue Jul 5, 2017
…on, dir

of currently open file, workspace root.

Plus some misc README updates, refactors, and tests.

Specify VS Code version until microsoft/vscode-extension-vscode#64 is fixed
DanTup added a commit to Dart-Code/Dart-Code that referenced this issue Jul 7, 2017
kevcunnane pushed a commit to microsoft/vscode-mssql that referenced this issue Jul 10, 2017
- This is caused by microsoft/vscode-extension-vscode#64 and will be fixed in the 1.14 release of VSCode
kevcunnane added a commit to microsoft/vscode-mssql that referenced this issue Jul 10, 2017
* Upgrade and fix most tests
- Upgrade to .Net Core 2.0 in SqlToolsService
- Upgraded TypeMoq to fix multiple tests

* Fix tests broken due to TypeMoq update
- Loose vs Strict mode behavior has changed. Given we initially added strict mode to catch regressions and these are now very stable parts of the code, it seems fine to use Loose mocking and allow the passthroughs to be used.
- Other change was due to assert.equal changing. Before it would return true on deep object equality but it no longer seems to work. Added clear property-level validation in some cases to fix this.

* Fixed issue running test from cmdline locally

* Fix for AppVeyor test fail issue
- This is caused by microsoft/vscode-extension-vscode#64 and will be fixed in the 1.14 release of VSCode

* Attempt to fix travis build without using deprecated group value
- Investigating similar issues causing failure to find apt-get packages led to travis-ci/travis-ci#5252. The solution may be to run apt-get update first.
patbenatar pushed a commit to patbenatar/vscode-advanced-new-file that referenced this issue Nov 5, 2017
patbenatar pushed a commit to patbenatar/vscode-advanced-new-file that referenced this issue Nov 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants