Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/docs/maui-ci-facts.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,15 @@ error XAGRDL0000: Could not GET '...pkgs.dev.azure.com/.../maven/v1/...'
| `error NETSDK1144` | `maui-pr` TrimFull legs | Optimizing assemblies for size failed (often an ILLink warning promoted to error). Check whether the same leg is red on the base branch. |
| `XamlC` | `maui-pr` | XAML compiler — usually missing type or bad binding |
| `error XAGRDL0000` / `401` / `No local versions` | `maui-pr` or official build | Gradle/Maven feed issue — see above |
| Apple workload install cannot find a `net10.0` SDK pack | `maui-pr` SDK provisioning | The .NET 11 Apple manifests also install .NET 10 compatibility packs. Resolve the exact missing version's feed with `darc get-asset`; the current .NET 11 feed alone may not contain it. |
| `NETSDK1140` rejects Apple target platform version 26.5 and lists 27.0 | `maui-pr` build/pack | Align the current Apple target-framework versions and SDK defaults in `Directory.Build.props` with the selected RC2 Apple SDK. Updating package pins alone does not update library TFMs; preserve the previous-.NET compatibility targets. |
| Xcode 27 rejects native iOS 12.x / mapped macOS 10.15 deployment targets | `maui-pr` native interop archive | Align the native framework and managed iOS minimum to 15.0, already used by the app templates. The native iOS 15.0 target maps to the supported macOS 12.0 minimum for Mac Catalyst. |
| Apple `bgen.dll` exits 150 requesting .NET RC2 `26465.108` while only `26458.109` is installed | `maui-pr` Apple binding generation | Update both bootstrap (`global.json`) and workload provisioning (`MicrosoftNETSdkPackageVersion`) SDK pins to a build carrying a compatible host runtime. SDK `11.0.100-rc.2.26470.103` is verified on net11 CI; updating only one provisioning path can reinstall the older SDK. |
| Resizetizer raster test assertions pass but `Dispose` fails with a Windows sharing violation | Helix Windows unit tests | Keep temporary images under `BaseTest.DestinationDirectory` and reuse its bounded, logged cleanup retries from #38124. Dispose raster tools deterministically; preserve all image assertions and let exhausted cleanup retries fail the test. |
| `Svg.Animation` / `Svg.SceneGraph` `NU1603`, or `SKPathBuilder` `CS0246` | `maui-pr` restore/build | Release merges can preserve old `eng/Versions.props` pins while importing Skia 4 source and packaging changes. Restore the coordinated SkiaSharp/HarfBuzz/SVG dependency versions, not just the first missing package. |
| Required Xcode is missing / requested iOS runtime is unavailable | `maui-pr` macOS provisioning | Select agents advertising the required Xcode capability: RC2 uses the MAUI pool's Xcode 27 RC agents rather than the Aces image with Xcode 26.6. Do not fall back to an older Xcode or purge runtimes to repair a version mismatch. The legacy Provisionator task is not installed in `dnceng-public`; enabling it prevents pipeline startup. |
| `iOS 27.0 (universal) is not available for download` | `maui-pr` simulator provisioning | Request the `arm64` runtime on Apple Silicon agents; forcing `universal` requests an unavailable variant. An unavailable download can also return exit code 70, so do not treat every exit 70 as a wedged CoreSimulator or delete installed runtimes. |
| Helix monitor cannot use `NetCore-Svc-Public` | `maui-pr` release branches | The monitor must use the pipeline's selected Helix submission pool, with its Linux image demand, rather than independently selecting an unauthorized pool from the branch name. |
| `XHarness timeout` | `maui-pr-devicetests` Helix logs | Test killed by infrastructure; may be transient |
| `No test result files found` | `maui-pr-devicetests` Helix logs | Tests never ran or app crashed on launch |
| UI test screenshot diff | `maui-pr-uitests` | Visual regression; check baseline images |
Expand Down
55 changes: 54 additions & 1 deletion .github/scripts/Review-PR.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -986,12 +986,65 @@ Describe 'Snapshot diff asset publishing' {
Describe 'Simulator runtime provisioning contract' {
It 'pins every recovery download and smoke test to the selected Xcode version' {
$provisionContent | Should -Match ([regex]::Escape(
'DOWNLOAD_ARGS=(-downloadPlatform iOS -architectureVariant universal -buildVersion "${MAJOR}.${MINOR}")'))
'DOWNLOAD_ARGS=(-downloadPlatform iOS -architectureVariant "$RUNTIME_ARCHITECTURE" -buildVersion "${MAJOR}.${MINOR}")'))
([regex]::Matches($provisionContent, [regex]::Escape(
'sudo xcodebuild "${DOWNLOAD_ARGS[@]}"'))).Count | Should -Be 3
$provisionContent | Should -Match 'SMOKE_RT=.*--arg req "\$\{MAJOR\}\.\$\{MINOR\}".*== \$req'
}

It 'selects <RuntimeArchitecture> simulator downloads on <HostArchitecture>' -TestCases @(
@{ HostArchitecture = 'arm64'; RuntimeArchitecture = 'arm64' },
@{ HostArchitecture = 'x86_64'; RuntimeArchitecture = 'universal' }
) -Skip:(-not (Get-Command bash -ErrorAction SilentlyContinue)) {
param($HostArchitecture, $RuntimeArchitecture)

$selection = [regex]::Match(
$provisionContent,
'(?ms)^\s*RUNTIME_ARCHITECTURE=universal.*?^\s*DOWNLOAD_ARGS=.*?\r?$')
$selection.Success | Should -BeTrue
$script = @'
HOST_ARCH="$1"
uname() { printf '%s\n' "$HOST_ARCH"; }
MAJOR=27
MINOR=0
'@ + "`n" + $selection.Value + "`n" + 'printf "%s\n" "${DOWNLOAD_ARGS[@]}"'
$actual = & bash -c $script -- $HostArchitecture

$LASTEXITCODE | Should -Be 0
($actual -join ' ') | Should -Be "-downloadPlatform iOS -architectureVariant $RuntimeArchitecture -buildVersion 27.0"
}

It 'handles <Case> before simulator recovery' -TestCases @(
@{ Case = 'unavailable runtime'; Message = 'iOS 27.0 (arm64) is not available for download.'; DownloadExitCode = 70; ExpectedExitCode = 1 },
@{ Case = 'CoreSimulator connection failure'; Message = 'Unable to connect to simulator'; DownloadExitCode = 70; ExpectedExitCode = 0 },
@{ Case = 'successful download'; Message = 'Download complete'; DownloadExitCode = 0; ExpectedExitCode = 0 }
) -Skip:(-not (Get-Command bash -ErrorAction SilentlyContinue)) {
param($Case, $Message, $DownloadExitCode, $ExpectedExitCode)

$download = [regex]::Match(
$provisionContent,
'(?ms)^\s*DOWNLOAD_LOG=\$\(mktemp\).*?(?=^\s*if \[\[ "\$RC" != "0" \]\]; then)')
$download.Success | Should -BeTrue
$script = @'
DOWNLOAD_MESSAGE="$1"
DOWNLOAD_EXIT_CODE="$2"
sudo() { printf '%s\n' "$DOWNLOAD_MESSAGE"; return "$DOWNLOAD_EXIT_CODE"; }
MAJOR=27
MINOR=0
RUNTIME_ARCHITECTURE=arm64
DOWNLOAD_ARGS=(-downloadPlatform iOS)
'@ + "`n" + $download.Value + "`n" + 'echo "RECOVERY_CHECK_RC=$RC"'
$actual = & bash -c $script -- $Message $DownloadExitCode

$LASTEXITCODE | Should -Be $ExpectedExitCode
if ($ExpectedExitCode -eq 1) {
($actual -join "`n") | Should -Match 'simulator recovery cannot fix an unavailable download'
($actual -join "`n") | Should -Not -Match 'RECOVERY_CHECK_RC'
} else {
($actual -join "`n") | Should -Match "RECOVERY_CHECK_RC=$DownloadExitCode"
}
}

It 'requires a Ready runtime matching Xcode rather than any installed runtime' -Skip:(-not (Get-Command jq -ErrorAction SilentlyContinue)) {
$filterMatch = [regex]::Match(
$provisionContent,
Expand Down
16 changes: 8 additions & 8 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,16 @@
<!-- version number information -->
<PropertyGroup>
<!-- Default versions from the SDKs (update when there is a new TFM version) -->
<IosTargetFrameworkVersionSdkDefault>26.5</IosTargetFrameworkVersionSdkDefault>
<TvosTargetFrameworkVersionSdkDefault>26.5</TvosTargetFrameworkVersionSdkDefault>
<MacCatalystTargetFrameworkVersionSdkDefault>26.5</MacCatalystTargetFrameworkVersionSdkDefault>
<MacosTargetFrameworkVersionSdkDefault>26.5</MacosTargetFrameworkVersionSdkDefault>
<IosTargetFrameworkVersionSdkDefault>27.0</IosTargetFrameworkVersionSdkDefault>
<TvosTargetFrameworkVersionSdkDefault>27.0</TvosTargetFrameworkVersionSdkDefault>
<MacCatalystTargetFrameworkVersionSdkDefault>27.0</MacCatalystTargetFrameworkVersionSdkDefault>
<MacosTargetFrameworkVersionSdkDefault>27.0</MacosTargetFrameworkVersionSdkDefault>
<AndroidTargetFrameworkVersionSdkDefault>37.0</AndroidTargetFrameworkVersionSdkDefault>
<!-- Current .NET -->
<IosTargetFrameworkVersion>26.5</IosTargetFrameworkVersion>
<TvosTargetFrameworkVersion>26.5</TvosTargetFrameworkVersion>
<MacCatalystTargetFrameworkVersion>26.5</MacCatalystTargetFrameworkVersion>
<MacosTargetFrameworkVersion>26.5</MacosTargetFrameworkVersion>
<IosTargetFrameworkVersion>27.0</IosTargetFrameworkVersion>
<TvosTargetFrameworkVersion>27.0</TvosTargetFrameworkVersion>
<MacCatalystTargetFrameworkVersion>27.0</MacCatalystTargetFrameworkVersion>
<MacosTargetFrameworkVersion>27.0</MacosTargetFrameworkVersion>
<AndroidTargetFrameworkVersion>37.0</AndroidTargetFrameworkVersion>
<WindowsTargetFrameworkVersion>10.0.19041.0</WindowsTargetFrameworkVersion>
<Windows2TargetFrameworkVersion>10.0.20348.0</Windows2TargetFrameworkVersion>
Expand Down
4 changes: 2 additions & 2 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@

<!-- platform version number information -->
<PropertyGroup Condition="'$(_MauiTargetPlatformIsiOS)' == 'True'">
<SupportedOSPlatformVersion>13.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion>13.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion>15.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion>15.0</TargetPlatformMinVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(_MauiTargetPlatformIstvOS)' == 'True'">
<SupportedOSPlatformVersion>10.0</SupportedOSPlatformVersion>
Expand Down
2 changes: 2 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
<!-- Begin: Package sources from dotnet-dotnet -->
<add key="darc-pub-dotnet-dotnet-e17b0d0" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-dotnet-e17b0d08/nuget/v3/index.json" />
<!-- End: Package sources from dotnet-dotnet -->
<!-- .NET 10 compatibility SDK packs referenced by the Apple RC2 workload manifests. -->
<add key="apple-rc2-net10-compat" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-macios-fd471cba/nuget/v3/index.json" />
<add key="local" value="LOCAL_PLACEHOLDER" />
<add key="nuget-only" value="NUGET_ONLY_PLACEHOLDER" />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" protocolVersion="3" />
Expand Down
4 changes: 2 additions & 2 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Dependencies>
<ProductDependencies>
<Dependency Name="Microsoft.NET.Sdk" Version="11.0.100-rc.2.26458.109">
<Dependency Name="Microsoft.NET.Sdk" Version="11.0.100-rc.2.26470.103">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>c65c25f0c9889e06a5d70e275c741d8430fa353a</Sha>
<Sha>68f63657247e6ddb48a93cae3dfc05776dec8838</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.App.Ref" Version="11.0.0-rc.2.26458.109">
<Uri>https://github.com/dotnet/dotnet</Uri>
Expand Down
16 changes: 8 additions & 8 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<!-- Current previous .NET SDK major version's stable release of MAUI packages -->
<MicrosoftMauiPreviousDotNetReleasedVersion>10.0.101</MicrosoftMauiPreviousDotNetReleasedVersion>
<!-- dotnet/sdk -->
<MicrosoftNETSdkPackageVersion>11.0.100-rc.2.26458.109</MicrosoftNETSdkPackageVersion>
<MicrosoftNETSdkPackageVersion>11.0.100-rc.2.26470.103</MicrosoftNETSdkPackageVersion>
<MicrosoftDotnetSdkInternalPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftDotnetSdkInternalPackageVersion>
<!-- dotnet/runtime -->
<MicrosoftNETCoreAppRefPackageVersion>11.0.0-rc.2.26458.109</MicrosoftNETCoreAppRefPackageVersion>
Expand Down Expand Up @@ -122,8 +122,8 @@
<MicrosoftCodeAnalysisBannedApiAnalyzersVersion>4.14.0</MicrosoftCodeAnalysisBannedApiAnalyzersVersion>
<MicrosoftIoRecyclableMemoryStreamVersion>3.0.1</MicrosoftIoRecyclableMemoryStreamVersion>
<SystemNumericsVectorsVersion>4.6.1</SystemNumericsVectorsVersion>
<SystemMemoryPackageVersion>4.5.5</SystemMemoryPackageVersion>
<SystemBuffersPackageVersion>4.5.1</SystemBuffersPackageVersion>
<SystemMemoryPackageVersion>4.6.3</SystemMemoryPackageVersion>
<SystemBuffersPackageVersion>4.6.1</SystemBuffersPackageVersion>
<SystemIOUnmanagedMemoryStreamPackageVersion>4.3.0</SystemIOUnmanagedMemoryStreamPackageVersion>
<SystemObjectModelPackageVersion>4.3.0</SystemObjectModelPackageVersion>
<SystemRuntimeCompilerServicesUnsafePackageVersion>6.1.2</SystemRuntimeCompilerServicesUnsafePackageVersion>
Expand All @@ -136,19 +136,19 @@
- Feed URI in the nuget.config
- Native assets build and sha
-->
<_SkiaSharpVersion>3.116.1</_SkiaSharpVersion>
<_SkiaSharpExtendedVersion>3.0.0-preview.13</_SkiaSharpExtendedVersion>
<_HarfBuzzSharpVersion>8.3.0.1</_HarfBuzzSharpVersion>
<_SkiaSharpVersion>4.150.1</_SkiaSharpVersion>
<_SkiaSharpExtendedVersion>3.0.0</_SkiaSharpExtendedVersion>
<_HarfBuzzSharpVersion>14.2.1.1</_HarfBuzzSharpVersion>
<_SkiaSharpNativeAssetsVersion>0.0.0-commit.e57e2a11dac4ccc72bea52939dede49816842005.1728</_SkiaSharpNativeAssetsVersion>
<MicrosoftTemplateEngineTasksVersion>7.0.120</MicrosoftTemplateEngineTasksVersion>
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>11.0.0-prerelease.26064.3</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>11.0.0-prerelease.26064.3</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
<MicrosoftDotNetXHarnessCLIVersion>11.0.0-prerelease.26064.3</MicrosoftDotNetXHarnessCLIVersion>
<TizenUIExtensionsVersion>0.9.2</TizenUIExtensionsVersion>
<SvgSkiaPackageVersion>2.0.0.4</SvgSkiaPackageVersion>
<SvgSkiaPackageVersion>5.1.1</SvgSkiaPackageVersion>
<FizzlerPackageVersion>1.3.0</FizzlerPackageVersion>
<TizenUIExtensionsVersion>0.9.0</TizenUIExtensionsVersion>
<ExCSSPackageVersion>4.2.3</ExCSSPackageVersion>
<ExCSSPackageVersion>4.3.1</ExCSSPackageVersion>
<SystemDrawingCommonPackageVersion>9.0.0</SystemDrawingCommonPackageVersion>
<MicrosoftDotNetBuildTasksFeedVersion>11.0.0-beta.26458.109</MicrosoftDotNetBuildTasksFeedVersion>
<MicrosoftDotNetBuildTasksInstallersPackageVersion>11.0.0-beta.26458.109</MicrosoftDotNetBuildTasksInstallersPackageVersion>
Expand Down
3 changes: 1 addition & 2 deletions eng/pipelines/arcade/stage-helix-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,10 @@ stages:
displayName: Monitor Helix Jobs
timeoutInMinutes: ${{ parameters.helixJobMonitorTimeoutInMinutes }}
pool:
name: ${{ parameters.helixPool.name }}
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: $(DncEngPublicBuildPool)
demands: ImageOverride -equals build.azurelinux.3.amd64.open
${{ else }}:
name: $(DncEngInternalBuildPool)
demands: ImageOverride -equals build.azurelinux.3.amd64
steps:
- checkout: self
Expand Down
Loading
Loading