Skip to content

[DO NOT MERGE] Validate dotnet/xharness PR #1597 (NativeAOT + Sim Commands fix)#129133

Draft
matouskozak wants to merge 2 commits into
dotnet:mainfrom
matouskozak:test/xharness-1597-nativeaot-validation
Draft

[DO NOT MERGE] Validate dotnet/xharness PR #1597 (NativeAOT + Sim Commands fix)#129133
matouskozak wants to merge 2 commits into
dotnet:mainfrom
matouskozak:test/xharness-1597-nativeaot-validation

Conversation

@matouskozak

Copy link
Copy Markdown
Member

Purpose

Throw-away PR. Validates dotnet/xharness#1597 (NativeAOT-published xharness + Sim Commands per-queue rework) against runtime CI before that PR is merged into dotnet/xharness:main.

What this PR does

  • Drops 7 locally-packed xharness nupkgs (built from xharness commit 1b5c7a70, the head of Add NativeAOT publish slice for Android + Apple and CI integration xharness#1597) into eng/local-xharness/.
  • Adds that folder as a local file feed in NuGet.config.
  • Bumps the 3 xharness deps in eng/Version.Details.{xml,props} from 11.0.0-prerelease.26279.1 -> 11.0.0-prerelease.26308.1 so restore picks the PR's packages.

What to look at

  • Run the mobile pipelines (/azp run runtime-androidemulator, /azp run runtime-ioslikesimulator, etc.) and compare against the same pipelines on a clean main run.
  • The xharness PR's own CI is already green on the relevant Apple Simulator + NativeAOT stages — this exercises the consumer side from runtime.

After

When dotnet/xharness#1597 merges, the normal darc "Update dependencies from dotnet/xharness" PR will flow these (and other) updates the proper way. This branch can be closed/deleted then.

DO NOT MERGE. This is a throw-away branch to validate dotnet/xharness PR
dotnet#1597 (NativeAOT POC + Sim Commands per-queue fix) against runtime CI
before that PR is merged.

Changes:
- Drop 7 locally-packed xharness nupkgs from dotnet/xharness commit
  1b5c7a70 (PR dotnet#1597 head) into eng/local-xharness/.
- Add a local file feed to NuGet.config pointing at that folder.
- Bump the 3 xharness deps in eng/Version.Details.{xml,props} from
  11.0.0-prerelease.26279.1 -> 11.0.0-prerelease.26308.1 to pick the
  PR's nupkgs from the local feed instead of dotnet-eng.

Once dotnet/xharness PR dotnet#1597 merges and the normal darc subscription
flows the new versions, delete this branch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 8, 2026 16:54
@github-actions github-actions Bot added the area-codeflow for labeling automated codeflow label Jun 8, 2026

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

This PR wires up a temporary local NuGet feed (eng/local-xharness/) and bumps the runtime repo’s XHarness package versions/SHA to validate an upstream dotnet/xharness PR against runtime mobile CI.

Changes:

  • Adds a new local package source (local-xharness-pr-1597) to NuGet.config pointing at eng/local-xharness.
  • Updates XHarness dependency versions + SHA in eng/Version.Details.xml and eng/Version.Details.props to 11.0.0-prerelease.26308.1 / 1b5c7a70....
  • Adds an eng/local-xharness/.gitignore override to allow committing .nupkg files (and includes the local .nupkg payload in that folder).

Reviewed changes

Copilot reviewed 4 out of 11 changed files in this pull request and generated 2 comments.

File Description
NuGet.config Adds a local package source for the temporary XHarness validation feed.
eng/Version.Details.xml Bumps XHarness dependency versions and SHA to the validation build.
eng/Version.Details.props Updates XHarness package version properties to match the validation build.
eng/local-xharness/.gitignore Un-ignores .nupkg files in the local feed directory so they can be committed.

Comment thread NuGet.config Outdated
Comment on lines +15 to +17
<!-- Local nupkgs for validating dotnet/xharness PR #1597 (NativeAOT POC).
Remove this entry and eng/local-xharness/ before merging. -->
<add key="local-xharness-pr-1597" value="eng/local-xharness" />
Comment on lines +1 to +3
# Override the repo-wide *.nupkg ignore for this folder so the local feed
# nupkgs for the dotnet/xharness PR #1597 validation can be committed.
!*.nupkg
The first attempt used a relative path 'eng/local-xharness'. The
workload-testing SDK (src/mono/nuget/Microsoft.NET.Runtime.Workload
Testing.Internal) generates a Restore.csproj at a deep nested path
like artifacts/obj/workload-XXX/YYY/restore/, and when NuGet evaluates
that generated nuget.config it re-resolves the relative source path
against the GENERATED config's directory - so 'eng/local-xharness'
becomes '.../restore/eng/local-xharness', which obviously doesn't
exist and the restore fails with NU1301.

Switch to %BUILD_SOURCESDIRECTORY% expansion (NuGet supports Windows-
style %VAR% syntax in source paths). AzDO sets this env var on every
agent to the workspace root (Linux: /__w/1/s, Windows: D:\a\1\s,
macOS: /Users/runner/work/1/s), so the absolute path is correct for
every queue. Verified locally that NuGet expands %VAR% before
resolving the source path.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-codeflow for labeling automated codeflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants