Skip to content

Enable Wasm.Build.Tests runtimeconfig property tests - #130853

Merged
pavelsavara merged 3 commits into
dotnet:mainfrom
pavelsavara:enable-runtimeconfig-tests-97449
Jul 16, 2026
Merged

pavelsavara merged 3 commits into
dotnet:mainfrom
pavelsavara:enable-runtimeconfig-tests-97449

Conversation

@pavelsavara

Copy link
Copy Markdown
Member

Re-enables the PropertiesFromRuntimeConfigJson and PropertiesFromCsproj tests in WasmBuildAppTest.

These were disabled under #97449 ("[browser] Support AppContext switches on runtime"), which was completed and closed via #115113 ([browser] runtimeConfig via boot config). Since the underlying feature has shipped, the [ActiveIssue] attributes are removed to bring the tests back into rotation.

Note

This PR description was generated with the assistance of GitHub Copilot.

Copilot AI review requested due to automatic review settings July 16, 2026 08:12
@pavelsavara pavelsavara self-assigned this Jul 16, 2026
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture os-browser Browser variant of arch-wasm labels Jul 16, 2026
@pavelsavara pavelsavara added this to the 11.0.0 milestone Jul 16, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
12 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@pavelsavara
pavelsavara temporarily deployed to copilot-pat-pool July 16, 2026 08:13 — with GitHub Actions Inactive
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Re-enables two Wasm.Build.Tests coverage points for verifying runtimeOptions.configProperties (AppContext data) are honored for browser-wasm builds by removing the [ActiveIssue] skips from WasmBuildAppTest.

Changes:

  • Re-enabled PropertiesFromRuntimeConfigJson by removing its [ActiveIssue(".../97449")] attribute.
  • Re-enabled PropertiesFromCsproj by removing its [ActiveIssue(".../97449")] attribute.

UpdateFile's replacement anchors that contain '\n' (e.g. '}\n}' used by PropertiesFromRuntimeConfigJson) never matched when runtimeconfig.template.json was checked out with CRLF line endings on Windows, causing StringReplaceWithAssert to throw. Normalize line endings to LF before applying dictionary replacements.
Copilot AI review requested due to automatic review settings July 16, 2026 15:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

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

@pavelsavara

Copy link
Copy Markdown
Member Author
image

@pavelsavara

Copy link
Copy Markdown
Member Author

/ba-g infra issue

@pavelsavara
pavelsavara merged commit 11de6b6 into dotnet:main Jul 16, 2026
40 of 42 checks passed
@pavelsavara
pavelsavara deleted the enable-runtimeconfig-tests-97449 branch July 16, 2026 18:25
@dotnet-milestone-bot dotnet-milestone-bot Bot modified the milestones: 11.0.0, 11.0-preview7 Jul 17, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Build-mono os-browser Browser variant of arch-wasm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants