镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[wasm] Assert Regex is absent before new-assembly rebuild - #137035

Merged
akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:akoeplinger-wasm-rebuild-failures
Nov 6, 2026
Merged

akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:akoeplinger-wasm-rebuild-failures

Conversation

@akoeplinger

@akoeplinger akoeplinger commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

ReferenceNewAssembly relies on the replacement entry point introducing System.Text.RegularExpressions so that the AOT module table changes. Assert that the first publish does not already contain that assembly, making a future shared-fixture dependency change fail at the violated precondition rather than at the later driver-gen.c timestamp comparison.

The assertion checks both coreAssembly and assembly in the boot manifest, using logical paths to support fingerprinted files and both DLL and WebCIL output.

Related to #130616. The same test assumption was invalidated on release/10.0 when #131361 added crypto usage to the shared memory-test fixture.

Note

This change and description were created with GitHub Copilot.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@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.

@akoeplinger
akoeplinger merged commit c616e40 into dotnet:main Nov 6, 2026
41 checks passed
ProjectInfo info = CopyTestAsset(config, aot, TestAsset.WasmBasicTestApp, "rebuild_tasks");
BuildPaths paths = await FirstNativeBuildAndRun(info, config, aot, nativeRelink, invariant);

WasmSdkBasedProjectProvider provider = GetProvider<WasmSdkBasedProjectProvider>();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I checked this test's Helix testResults.xml artifacts from build 1666420: both Linux Mono lanes run with fingerprinting, producing names such as System.Text.RegularExpressions.n0pescj9i3.wasm and System.Text.RegularExpressions.5hiaytntjz.dll. All three Release cases pass in each lane; NoWebcil disables WebCIL, not fingerprinting, so these runs do not establish coverage with fingerprinting disabled.

Note

This comment was generated with the assistance of GitHub Copilot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants