Skip to content

[wasm] Fix WebSocket tests on NodeJS - #64330

Merged
maraf merged 14 commits into
dotnet:mainfrom
maraf:WasmFixWebSocketTestsOnNodeJs
Feb 9, 2022
Merged

[wasm] Fix WebSocket tests on NodeJS#64330
maraf merged 14 commits into
dotnet:mainfrom
maraf:WasmFixWebSocketTestsOnNodeJs

Conversation

@maraf

@marafmaraf commented Jan 26, 2022

Copy link
Copy Markdown
Member
  • FixesNodeJS packed as correlation payload doesn't preserve symbolic links #64473 - restore two symbolic links.
  • Add WasmXHarnessArgsCli as an alternative variable that can be used from cli, as WasmXHarnessMonoArgs is used in some csprojs.
  • Include TestEchoMiddleware and RemoteLoopMiddleware as correlation payload even for NodeJS.
  • Move SetScriptCommands to a targets so they are in correct order in the generated run script.

@marafmaraf added arch-wasm WebAssembly architecture area-Infrastructure-mono labels Jan 26, 2022
@marafmaraf self-assigned this Jan 26, 2022
@ghost

Copy link
Copy Markdown

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

Issue Details
  • Move all SetScriptCommands for NPM restore to a target, so they are placed after scenario in the generated script.
  • Fix passing WasmXHarnessMonoArgs. The original where passed to XHarness, but not to the javascript.
Author:maraf
Assignees:maraf
Labels:

arch-wasm, area-Infrastructure-mono

Milestone:-

@maraf

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@marafmaraf added this to the 7.0.0 milestone Jan 26, 2022
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@maraf

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@maraf

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara

Copy link
Copy Markdown
Member

Perhaps unrelated, but why we have WasmXHarnessArgs into _XHarnessArgs

and then both _XHarnessArgs and WasmXHarnessArgs into RunScriptCommand

Does that duplicate WasmXHarnessArgs ?

Also, could we improve it so that I could pass something like /p:WasmXHarnessArgs="--no-headless" from commandline without ruining --web-server-use-cors by forcing WasmXHarnessArgs to constant.

@maraf

Copy link
Copy Markdown
MemberAuthor

Perhaps unrelated, but why we have WasmXHarnessArgs into _XHarnessArgs

and then both _XHarnessArgs and WasmXHarnessArgs into RunScriptCommand

There are two flavors of those - MSBuild property vs environment variable. I have added a comment about it.

Also, could we improve it so that I could pass something like /p:WasmXHarnessArgs="--no-headless" from commandline without ruining --web-server-use-cors by forcing WasmXHarnessArgs to constant.

I have add a new MSBuild property WasmXHarnessArgsCli that behaves as WasmXHarnessArgs, but it's used in csprojs.

Comment threadsrc/libraries/sendtohelix-wasm.targets Outdated
@maraf

maraf commented Feb 3, 2022

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@maraf

maraf commented Feb 3, 2022

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@maraf

maraf commented Feb 4, 2022

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@maraf

maraf commented Feb 4, 2022

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

…ario in the generated script.
Fix passing WasmXHarnessMonoArgs. The original where passed to XHarness, but not to the javascript.
@maraf
marafforce-pushed the WasmFixWebSocketTestsOnNodeJs branch from 6c75fce to 5fe7c0fCompareFebruary 8, 2022 11:22
@maraf

maraf commented Feb 8, 2022

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@maraf

maraf commented Feb 8, 2022

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@maraf

maraf commented Feb 8, 2022

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@maraf
maraf requested a review from radicalFebruary 8, 2022 16:23
@maraf
maraf marked this pull request as ready for review February 8, 2022 16:23
@maraf

maraf commented Feb 8, 2022

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@maraf

maraf commented Feb 8, 2022

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasmWebAssembly architecturearea-Infrastructure-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NodeJS packed as correlation payload doesn't preserve symbolic links

3 participants

@maraf@pavelsavara@radical