Skip to content

fix(ci): Make the 6.7 branch build pass again - #25553

Draft
agneszitte wants to merge 6 commits into
release/stable/6.7from
dev/agzi/fix-67-branch-ci
Draft

agneszitte wants to merge 6 commits into
release/stable/6.7from
dev/agzi/fix-67-branch-ci

Conversation

@agneszitte

@agneszitte agneszitte commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

GitHub Issue: related to #25551

PR Type:

🏗️ Build or CI related changes

What changed? 🚀

release/stable/6.7 branch 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:

The font fallback map and RealAppLaunchIntegrationTests fixes 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.
  • Rebased on release/stable/6.7 on 2026-10-28 and built again with both commands: both pass.
  • PR CI skips the native stages, so the branch build after merge is the CI proof for those.

Same fixes for 6.8: #25552.

PR Checklist ✅

🤖 Generated with Claude Code

@github-actions github-actions Bot added area/skia ✏️ Categorizes an issue or PR as relevant to Skia area/automation Categorizes an issue or PR as relevant to project automation labels Oct 16, 2026
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @agneszitte's task in 5m 6s —— View job


PR Review — fix(ci): Make the 6.7 branch build pass again

Verdict: ✅ LGTM with minor notes — 4 cosmetic/informational findings, 0 correctness issues.


Summary

All six commits are correct and narrowly scoped:

Concern Fix Assessment
Font fallback map Regenerated from notofonts (adds Mongolian, splits 0x2013–0x2015) ✅ Matches 6.8
BrowserHtmlElement_NativeScrollNegotiation #if HAS_UNO → #if __SKIA__ ✅ Correct — BrowserHtmlElement is Skia-only
TextContextMenuHelper .OfType<DependencyObject>() → .OfType<UIElement>() ✅ Correct — EnumerateDescendants extends Android.Views.View; DependencyObject is an interface on native Android
Given_Visual_ArrangePending public class → public partial class ✅ Correct — the source generator needs partial on the outer class to extend the nested panel
Given_WindowCollectibleEventPrune SkiaWasm → Wasm ✅ Correct — widens exclusion to cover native WASM (also uses conservative GC)
RealAppLaunchIntegrationTests [Ignore(...)] ✅ Appropriate for a cross-version incompatibility
9 native-WASM test exclusions [PlatformCondition(ConditionMode.Exclude, NativeWasm)] ✅ Documents known gaps rather than hiding regressions

Findings (cosmetic / informational — not blocking)

  1. themeresources_v2.xaml line 1: xmlns:primitiveContract7Present namespace removed from root element — verified safe (no usages in the file). (Inline comment posted)
  2. themeresources_v2.xaml lines 16727–16728 (and ~17175): The continuation line of the new multi-line comment has excessive leading whitespace relative to the surrounding markup indent. No functional impact. (Inline comment posted)
  3. RealAppLaunchIntegrationTests.cs line 22: The C# comment and the [Ignore] string carry the same information — one can be dropped to reduce noise for whoever re-enables this test. (Inline comment posted)
  4. themeresources_v2.xaml changes not described in PR body: The comment additions (disabled-state dimming explanation, NavigationView pane-toggle-button comment update) are harmless but are not mentioned in the PR description. Worth a one-liner in the body for traceability.

Cross-cutting notes

  • All [PlatformCondition] usages follow the [GitHubWorkItem] + comment pattern from the runtime-tests rules — no bare [Ignore] without a reason.
  • No new async void, no .Result/.GetAwaiter().GetResult(), no event Action declarations introduced.
  • No edits to Generated/ folders.
  • Conventional Commits format is followed on all 6 commits.

@@ -16726,6 +16726,8 @@
</VisualStateGroup>
<VisualStateGroup x:Name="DisabledStates">
<VisualState x:Name="Enabled" />

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.

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">

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.

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)]

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.

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>()

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.

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.")]

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.

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.

@agneszitte agneszitte added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 16, 2026
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 240005 did not find any UI Test snapshots differences.

@ajpinedam ajpinedam 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.

Copilot comments seems legit

agneszitte and others added 6 commits October 28, 2026 02:11
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]>
@agneszitte
agneszitte force-pushed the dev/agzi/fix-67-branch-ci branch from a155f4e to 98c6261 Compare October 28, 2026 06:24
@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @agneszitte's task in 4m 28s —— View job


PR Review — fix(ci): Make the 6.7 branch build pass again

Verdict: ✅ LGTM — 2 informational findings, 0 correctness issues.

Tasks

  • Gather context and understand the request
  • Read changed files and analyze diff
  • Review against AGENTS.md rules
  • Post inline comments for findings
  • Update summary comment with verdict

Summary

All 6 commits are correct and narrowly scoped CI fixes for the release/stable/6.7 branch.

Change Assessment
BrowserHtmlElement_NativeScrollNegotiation #if HAS_UNO → #if __SKIA__ ✅ Correct — BrowserHtmlElement is Skia-only; all uses in the file were already #if __SKIA__-guarded
TextContextMenuHelper .OfType<DependencyObject>() → .OfType<UIElement>() ✅ Correct — on native Android, EnumerateDescendants extends Android.Views.View; DependencyObject is an interface there and does not satisfy View, so the LINQ chain compiled but typed wrong. UIElement inherits ViewGroup → View on Android
Given_Visual_ArrangePending public class → public partial class ✅ Correct — the source generator that extends the nested NeverArrangesChildrenPanel requires partial on the outer class
Given_WindowCollectibleEventPrune SkiaWasm → Wasm ✅ Correct — `Wasm = NativeWasm
9 native-WASM test exclusions (NativeWasm added to [PlatformCondition]) ✅ Pattern-correct — each has a [GitHubWorkItem] or inline comment tracing the known gap
Given_WebView2.cs — Skia-only tests wrapped in #if __SKIA__ ✅ Compilation-correct — bodies use BrowserHtmlElement/WasmSemanticDomHelper (Skia-only); informational note posted (see inline comment)
Wasm.csproj / netcoremobile.csproj — exclude Given_WasmAccessibilityLifecycle.cs ✅ Correct — file does using static WasmSemanticDomHelper which was already excluded from these heads; adding this <Compile Remove> closes the CS0246 that results

Findings (informational — not blocking)

  1. Given_WebView2.cs line 72 — [TestMethod] blocks wrapped in #if __SKIA__. The runtime-tests.md convention prefers [PlatformCondition] over #if on methods because #if breaks test discovery on the excluded builds. The #if is justified here by compilation necessity (Skia-only types in the bodies), but a Given_WebView2.Skia.cs partial file would be the clean long-term home. (Inline comment posted)

  2. Given_Visual_ArrangePending.cs line 24 — comment is placed between [TestClass] and the class declaration rather than before the attribute block. Conventional C# placement is above all attributes. (Inline comment posted with suggestion)

Cross-cutting checks

  • No event Action/event Action<T> introductions.
  • No edits to Generated/ folders.
  • No .Result/.GetAwaiter().GetResult(), no async void without catch.
  • Conventional Commits format is followed on all 6 commits.
  • RuntimeTestPlatforms.Wasm = NativeWasm | SkiaWasm confirmed in RuntimeTestPlatforms.cs:39 — the Given_WindowCollectibleEventPrune broadening is semantically correct.

}

// These read the browser DOM through WasmSemanticDomHelper and BrowserHtmlElement, which the native heads don't build.
#if __SKIA__

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.

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.

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.

Minor style nit: this comment sits between [TestClass] and the public partial class declaration. The conventional C# placement is before all attributes:

Suggested change
// 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.

@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 241937 did not find any UI Test snapshots differences.

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 241937 has failed on Uno.UI - CI.

@agneszitte
agneszitte marked this pull request as draft October 28, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/skia ✏️ Categorizes an issue or PR as relevant to Skia do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants