Repository navigation
fix(ci): Make the 6.7 branch build pass again - #25553
agneszitte wants to merge 6 commits into
Conversation
|
Claude finished @agneszitte's task in 5m 6s —— View job PR Review — fix(ci): Make the 6.7 branch build pass againVerdict: ✅ LGTM with minor notes — 4 cosmetic/informational findings, 0 correctness issues. SummaryAll six commits are correct and narrowly scoped:
Findings (cosmetic / informational — not blocking)
Cross-cutting notes
|
| @@ -16726,6 +16726,8 @@ | |||
| </VisualStateGroup> | |||
| <VisualStateGroup x:Name="DisabledStates"> | |||
| <VisualState x:Name="Enabled" /> | |||
There was a problem hiding this comment.
The continuation line of this multi-line comment has excessive leading whitespace compared to the surrounding markup indent level — it looks like it was auto-formatted at column 80+ rather than following the file's tab-based indent. Same issue at the second occurrence (~line 17175). No functional impact, but worth aligning visually for the next edit pass.
| @@ -1,4 +1,4 @@ | |||
| <ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="ios android wasm skia" xmlns:controls="using:Microsoft.UI.Xaml.Controls" xmlns:primitives="using:Microsoft.UI.Xaml.Controls.Primitives" xmlns:media="using:Microsoft.UI.Xaml.Media" xmlns:contract7Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,7)" xmlns:contract7NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,7)" xmlns:contract6Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,6)" xmlns:uc="using:Uno.UI.Controls" xmlns:not_mux="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:not_win="http://uno.ui/not_win" xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:wasm="http://uno.ui/wasm" xmlns:uno="using:Uno.UI.Xaml.Controls" xmlns:automation="clr-namespace:Microsoft.UI.Xaml.Automation" xmlns:animatedvisuals="using:Microsoft.UI.Xaml.Controls.AnimatedVisuals" xmlns:animatedVisuals="using:Microsoft.UI.Xaml.Controls.AnimatedVisuals" xmlns:contract4Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,4)" xmlns:contract8Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,8)" xmlns:contract12Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,12)" xmlns:contract12NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,12)" xmlns:contract5Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,5)" xmlns:contract5NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,5)" xmlns:netstdref="http://uno.ui/netstdref" xmlns:skia="http://uno.ui/skia" xmlns:contract6NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,6)" xmlns:primitiveContract7Present="using:Microsoft.UI.Xaml.Controls.Primitives?IsApiContractPresent(Windows.Foundation.UniversalApiContract,7)" xmlns:contract4NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,4)" xmlns:unouwp="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Uno.WinUI,1)" xmlns:ios="http://uno.ui/ios" xmlns:not_skia="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:android="http://uno.ui/android" xmlns:not_android="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | |||
| <ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="ios android wasm skia" xmlns:controls="using:Microsoft.UI.Xaml.Controls" xmlns:primitives="using:Microsoft.UI.Xaml.Controls.Primitives" xmlns:media="using:Microsoft.UI.Xaml.Media" xmlns:contract7Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,7)" xmlns:contract7NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,7)" xmlns:contract6Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,6)" xmlns:uc="using:Uno.UI.Controls" xmlns:not_mux="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:not_win="http://uno.ui/not_win" xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:wasm="http://uno.ui/wasm" xmlns:uno="using:Uno.UI.Xaml.Controls" xmlns:automation="clr-namespace:Microsoft.UI.Xaml.Automation" xmlns:animatedvisuals="using:Microsoft.UI.Xaml.Controls.AnimatedVisuals" xmlns:animatedVisuals="using:Microsoft.UI.Xaml.Controls.AnimatedVisuals" xmlns:contract4Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,4)" xmlns:contract8Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,8)" xmlns:contract12Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,12)" xmlns:contract12NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,12)" xmlns:contract5Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,5)" xmlns:contract5NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,5)" xmlns:netstdref="http://uno.ui/netstdref" xmlns:skia="http://uno.ui/skia" xmlns:contract6NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,6)" xmlns:unouwp="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Uno.WinUI,1)" xmlns:ios="http://uno.ui/ios" xmlns:not_skia="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:android="http://uno.ui/android" xmlns:not_android="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | |||
There was a problem hiding this comment.
The xmlns:primitiveContract7Present namespace declaration that was in the old first line has been removed. Verified safe — grep finds zero usages of that prefix in the file. Just flagging it was intentional so reviewers don't wonder why the root element changed.
| // runtimes have non-deterministic/conservative GC and don't reliably reclaim it, so the assertion is | ||
| // unreliable there. Coverage stays on CoreCLR-backed Skia (Desktop/Android) + WinAppSDK. | ||
| [PlatformCondition(ConditionMode.Exclude, RuntimeTestPlatforms.SkiaWasm | RuntimeTestPlatforms.SkiaUIKit)] | ||
| [PlatformCondition(ConditionMode.Exclude, RuntimeTestPlatforms.Wasm | RuntimeTestPlatforms.SkiaUIKit)] |
There was a problem hiding this comment.
Good catch. The old SkiaWasm flag only excluded Skia-on-browser (IsSkia() && OperatingSystem.IsBrowser()), leaving native WASM to run and hit the Assert.Inconclusive inside the method due to GC non-determinism. Wasm = NativeWasm | SkiaWasm correctly lines up with the "WASM and UIKit (Mono) runtimes" statement in the class-level comment.
| .Select(popup => popup.Child) | ||
| .OfType<DependencyObject>() | ||
| // UIElement, not DependencyObject: on native Android, EnumerateDescendants extends Android views. | ||
| .OfType<UIElement>() |
There was a problem hiding this comment.
Correct. On native Android EnumerateDescendants is defined on _View = Android.Views.View, and DependencyObject is an interface (not a View subclass) there, so the LINQ chain failed to compile. UIElement on native Android inherits Android.Views.ViewGroup → View, so the extension method applies correctly. The downstream .OfType<AppBarButton>() still narrows to the right type.
| // Uno.Templates@*-* resolves to 7.0 prereleases, so MyApp is built on 7.0 packages and the | ||
| // locally built 6.x RemoteControl client never connects (no app-launch/connected event). | ||
| [TestMethod] | ||
| [Ignore("Uno.Templates@*-* scaffolds MyApp against 7.0 packages, which this 6.x build cannot connect to.")] |
There was a problem hiding this comment.
The [Ignore] string duplicates the comment two lines above it — one of them can be dropped without losing information. Consider keeping just the attribute message (it's what the test runner surfaces) and deleting the C# comment, or vice-versa. Minor, but it's noise for whoever re-enables this when the templates version is fixed.
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 240005 did not find any UI Test snapshots differences. |
ajpinedam
left a comment
There was a problem hiding this comment.
Copilot comments seems legit
Given_Visual_ArrangePending must be partial: on native Android the source generator extends its nested panel (CS0260). The Android Native build has failed on every release/stable/6.7 branch build since at least 2026-09-15. Co-Authored-By: Claude Opus 5.5 <[email protected]>
These have failed on every native WASM run of the 6.7 and 6.8 branch builds since they were added (6.7 since 2026-08-04, 6.8 since 2026-09-02): two FocusManager page-navigation tests, the detached Hyperlink focus tests (#23750), the ItemContainer touch-scroll test (#23892), the NavigationView top-nav overflow test (#20193) and the collectible-subscriber prune test, which already excludes Skia WASM for the same GC reason. They stay covered on the Skia heads. Co-Authored-By: Claude Opus 5.5 <[email protected]>
On native Android, EnumerateDescendants extends Android views, which a DependencyObject isn't (CS1929). Popup children are UIElements, which are views there and DependencyObjects elsewhere. The compiler only reported this once the earlier errors on that head were fixed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…droid Its Uno.UI.NativeElementHosting using was guarded by HAS_UNO, but the namespace only exists on Skia (CS0234 on the native Android head). All its uses are already under __SKIA__, so the using now is too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
They read the browser DOM through WasmSemanticDomHelper and BrowserHtmlElement, which the native heads don't build, so native Android failed with CS0234 since #25780. Same change as on servicing/6.8 (#25552). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…heads Given_WasmAccessibilityLifecycle (from #25770) uses WasmSemanticDomHelper, which the native Android and WASM heads don't build, so they failed with CS0234. Exclude it like the other Given_Accessible* tests there. Co-Authored-By: Claude Opus 5.5 <[email protected]>
a155f4e to
98c6261
Compare
|
Claude finished @agneszitte's task in 4m 28s —— View job PR Review — fix(ci): Make the 6.7 branch build pass againVerdict: ✅ LGTM — 2 informational findings, 0 correctness issues. Tasks
SummaryAll 6 commits are correct and narrowly scoped CI fixes for the
Findings (informational — not blocking)
Cross-cutting checks
|
| } | ||
|
|
||
| // These read the browser DOM through WasmSemanticDomHelper and BrowserHtmlElement, which the native heads don't build. | ||
| #if __SKIA__ |
There was a problem hiding this comment.
The runtime-tests.md rule says "skip per platform with attributes, not #if on the method — wrapping [TestMethod] in #if compiles but breaks test discovery." The #if __SKIA__ here is justified by compilation necessity (the bodies reference BrowserHtmlElement and WasmSemanticDomHelper, which are Skia-only types), not just a runtime skip, so the test-discovery warning applies only partially.
For future cleanup, extracting these Skia-specific tests into a Given_WebView2.Skia.cs partial file would align with the platform-targeting convention (dedicated file suffix → auto-excluded on non-Skia builds) and restore full test-discovery on Skia heads. Not blocking for this CI-fix branch PR.
|
|
||
| [TestClass] | ||
| public class Given_Visual_ArrangePending | ||
| // Partial: on the native Android head the source generator extends the nested panel, which needs it. |
There was a problem hiding this comment.
Minor style nit: this comment sits between [TestClass] and the public partial class declaration. The conventional C# placement is before all attributes:
| // Partial: on the native Android head the source generator extends the nested panel, which needs it. | |
| // Partial: on the native Android head the source generator extends the nested panel, which needs it. | |
| [TestClass] | |
| public partial class Given_Visual_ArrangePending |
Not blocking, but mixing attributes and comments in the declaration header looks odd to readers scanning the class.
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 241937 did not find any UI Test snapshots differences. |
|
|
GitHub Issue: related to #25551
PR Type:
🏗️ Build or CI related changes
What changed? 🚀
release/stable/6.7branch builds fail on the native heads: Android Native and WASM Native haven't compiled since 2026-08-04. PR builds skip those stages, so the backports that broke them merged green. One commit per concern:Given_Visual_ArrangePendingispartial,TextContextMenuHelperfiltersUIElements, the native scroll negotiation sample guards itsUno.UI.NativeElementHostingusing with__SKIA__, and theGiven_WebView2iframe tests are Skia-only (they came with fix(wasm): Remove WebView2 iframe once it is collected (backport #24841) (backport #24842) #25780; same change as on 6.8). Each fix uncovered the next error.Given_Accessible*tests:Given_WasmAccessibilityLifecycle(from ci: Backport master's CI fixes to 6.8 (backport #25725) #25770) usesWasmSemanticDomHelper, which those heads don't build (CS0234 on Android Native and WASM Native since 2026-10-27).Given_FocusManagerpage-navigation tests, the detached-Hyperlinkfocus tests (Detached elements can receive or retain keyboard focus #23750), theItemContainertouch-scroll test (Pointer events are not raised for ListView items when ItemContainer is used inside ItemTemplate #23892), theNavigationViewtop-nav overflow test ([Skia] NavigationView "Index was out of range" after resizing when PaneDisplayMode="Top" #20193), andGiven_WindowCollectibleEventPrune, which already excluded Skia WASM for the same GC reason. They failed on every native WASM run of the 6.7 and 6.8 branch builds since they were added (6.7 since 2026-08-04, 6.8 since 2026-09-02), so this documents a known gap rather than hiding a regression.The font fallback map and
RealAppLaunchIntegrationTestsfixes this PR used to carry reached 6.7 through #25770, so the rebase dropped them.Validation (local, CI's commands, Release):
SamplesApp.netcoremobile(-f net10.0-android -p:UnoTargetFrameworkOverride=net10.0-android) builds. Before: CS0260, then CS1929, then CS0234.SamplesApp.Wasm(-p:UnoTargetFrameworkOverride=net10.0) builds with the exclusions.release/stable/6.7on 2026-10-28 and built again with both commands: both pass.Same fixes for 6.8: #25552.
PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code