You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hot reload on iOS: Region.Name changed via XAML HR intermittently isn't picked up by navigation #3245
Navigation.UI.Tests.Given_Navigation_HotReload.When_RegionNameAddedViaXamlHR_Then_NavigationResolvesNewRegion fails on the iOS simulator (iOS 26.1, Mono interpreter, Debug), with the class run in its own app launch (#3238, build 239627):
Expected updatedPanelNav.Route?.Base to be "AddedRegion" ... because After XAML HR adds Region.Name, navigation should resolve the new region (#3075), but "ExistingRegion" ...
After a XAML hot-reload edit adds a Region.Name, navigation still resolves the old region. This is the #3075 scenario, which works on Skia desktop and on Android (22/22 for the class run alone).
On Android it also failed once, but only when ~100 edits had piled up in one process (#3243). On iOS it fails with the class isolated, so it's iOS-specific. Seen in 1 run so far.
Work
Reproduce on a simulator. Check whether the XAML delta reaches the page, or whether the region is resolved before the update applies.
Fix, then remove the exclusion from IosTestFilters in stage-runtime-tests-mobile-hotreload.yml.
changed the title [-]Hot reload on iOS: Region.Name added via XAML HR isn't picked up by navigation[/-][+]Hot reload on iOS: Region.Name changed via XAML HR intermittently isn't picked up by navigation[/+]on Oct 15, 2026
Update: same family, two more tests. In build 239790 (#3238), with Given_Navigation_HotReload in its own app launch, two more Region.Name XAML-edit tests failed on the iOS simulator. After the edit, navigation resolved an empty route:
Both passed in the previous iOS runs (builds 239648 and 239767), so it's intermittent. When_RegionNameAddedViaXamlHR failed in 1 of 2 runs. All three are now excluded from IosTestFilters under this issue. A plausible shared cause is navigation resolving the region before the XAML update has been applied to the visual tree, on a slow simulator. Worth checking whether the tests wait on the page actually being replaced, rather than on the metadata update alone.
Activity
fix(ci): stabilize mobile hot-reload lanes
[-]Hot reload on iOS: Region.Name added via XAML HR isn't picked up by navigation[/-][+]Hot reload on iOS: Region.Name changed via XAML HR intermittently isn't picked up by navigation[/+]ci: exclude flaky mobile hot-reload tests under their issues
kazo0 commentedon Oct 15, 2026
Update: same family, two more tests. In build 239790 (#3238), with
Given_Navigation_HotReloadin its own app launch, two more Region.Name XAML-edit tests failed on the iOS simulator. After the edit, navigation resolved an empty route:When_RegionRenamedViaXamlHR_Then_NavigationUsesNewName: expectedGammaRegion, got""([P2][HR][Gaps][Navigation][Test] Add regression test for renaming a Region across TabBarItem + content region #3088 scenario)When_PanelRegionNamesSwappedViaXamlHR_Then_NavigationStillWorks: expectedRegionRenamed, got""([HR][Gaps][Navigation] Navigating via Panel using Region.Names #2904 scenario)Both passed in the previous iOS runs (builds 239648 and 239767), so it's intermittent.
When_RegionNameAddedViaXamlHRfailed in 1 of 2 runs. All three are now excluded fromIosTestFiltersunder this issue. A plausible shared cause is navigation resolving the region before the XAML update has been applied to the visual tree, on a slow simulator. Worth checking whether the tests wait on the page actually being replaced, rather than on the metadata update alone.