Skip to content

Conversation

@akoeplinger
Copy link
Member

@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Dec 11, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the -UseBasicParsing parameter to all Invoke-WebRequest calls in repository-specific PowerShell scripts and Dockerfiles, addressing issue #122393. The -UseBasicParsing parameter ensures that the cmdlet doesn't depend on Internet Explorer's DOM parser, making the scripts more reliable and portable across different environments.

Key changes:

  • Updated all Invoke-WebRequest calls to include -UseBasicParsing parameter
  • Changes span across WASI bindings generation scripts, stress test build scripts, Python scripts embedding PowerShell, and Docker configuration files

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/libraries/System.Private.CoreLib/src/System/Threading/Wasi/generate-wasi-poll-bindings.ps1 Added -UseBasicParsing to Invoke-WebRequest for downloading wasi-http archive
src/libraries/System.Net.Http/src/System/Net/Http/WasiHttpHandler/generate-wasi-http-bindings.ps1 Added -UseBasicParsing to Invoke-WebRequest for downloading wasi-http archive
src/libraries/Common/tests/System/Net/StressTests/build-local.ps1 Added -UseBasicParsing to Invoke-WebRequest for downloading dotnet-install script
src/coreclr/scripts/superpmi_aspnet2.py Added -UseBasicParsing to Invoke-WebRequest in embedded PowerShell command for SDK installation
eng/docker/libraries-sdk.windows.Dockerfile Added -UseBasicParsing to Invoke-WebRequest for downloading dotnet-install script in Docker build

@akoeplinger akoeplinger added area-Infrastructure and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Dec 11, 2025
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@akoeplinger
Copy link
Member Author

/ba-g failures are all on non-Windows platforms and can't be related

@akoeplinger akoeplinger merged commit f1a20ab into main Dec 11, 2025
157 of 165 checks passed
@akoeplinger akoeplinger deleted the usebasicparsing branch December 11, 2025 19:00
@github-actions github-actions bot locked and limited conversation to collaborators Jan 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants