Repository navigation
Add local device performance measurements for native MAUI scenarios - #38274
morning4coffe-dev wants to merge 21 commits into
Conversation
Skill Validation Results
❌ Skill Validation Results —
|
|
Hey there @@morning4coffe-dev! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
|
Hey there @morning4coffe-dev! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 38274Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 38274" |
There was a problem hiding this comment.
🟡 Changes recommended
There are verified build/infra breakages (nullability mismatch in a benchmark, duplicate HelixBuild assignment, and an actions lock update that no longer covers actions still referenced by existing workflows).
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR adds opt-in performance analysis infrastructure intended for on-demand /perf-check reviews, spanning managed benchmark overlays, device performance test categories/results, parsers/validators, and supporting Azure Pipelines + Helix submission plumbing.
Changes:
- Introduces device-performance result schema + reporting helpers and adds opt-in “Performance*” device-test categories/scenarios with default exclusion behavior.
- Adds scripts and pipeline templates to build paired base/head device-test apps, package payloads, and submit ABBA comparisons to Helix across iOS/MacCatalyst/Android/Windows.
- Adds perf-analysis policy/config/test coverage plus a workflow to persist validated performance history points to a dedicated branch.
File summaries
| File | Description |
|---|---|
| src/TestUtils/src/DeviceTests.Runners/HeadlessRunner/Windows/ControlsHeadlessTestRunner.cs | Filters out Performance* categories by default unless explicitly enabled via env var during discovery. |
| src/Core/tests/DeviceTests.Shared/DeviceTestSharedHelpers.cs | Defaults to skipping Performance* categories unless explicitly selected; expands Category=Performance to include all performance categories. |
| src/Core/tests/DeviceTests.Shared/DevicePerformanceResult.cs | Adds device-performance result schema, measurement helper, JSON source-gen context, and log/file reporter. |
| src/Core/tests/Benchmarks/Benchmarks/VisualDiagnosticsBenchmarker.cs | Adds a managed benchmark targeting visual diagnostics event dispatch. |
| src/Core/tests/Benchmarks/Benchmarks/LayoutExtensionsBenchmarker.cs | Adds a managed benchmark targeting layout frame computation scenarios. |
| src/Controls/tests/DeviceTests/TestCategory.cs | Adds Performance* device-test category constants to enable scenario selection. |
| src/Controls/tests/DeviceTests/Performance/HandlerPropertyUpdatePerformanceTests.cs | Adds a Windows/Android performance scenario measuring handler property update batches with basic correctness counters. |
| src/Controls/tests/DeviceTests/Performance/CollectionViewScrollPerformanceTests.iOS.cs | Adds iOS grouped ScrollTo(MakeVisible) performance scenario with target-position stability counters. |
| src/Controls/tests/DeviceTests/Performance/CollectionViewItemsUpdatePerformanceTests.iOS.cs | Adds iOS CollectionView KeepItemsInView update performance scenario with correctness counters. |
| src/Controls/tests/DeviceTests/Performance/CollectionViewItemsUpdatePerformanceTests.Android.cs | Adds Android CollectionView KeepItemsInView update performance scenario with correctness counters. |
| src/Controls/tests/DeviceTests/Performance/CarouselViewWheelSnapPerformanceTests.Windows.cs | Adds Windows CarouselView wheel-scroll centering performance scenario with correctness counters. |
| src/Controls/tests/DeviceTests/Performance/CarouselViewSwipePerformanceTests.iOS.cs | Adds iOS CarouselView disabled-swipe layout performance scenario with state reapplication counters. |
| src/Controls/tests/DeviceTests/Performance/CarouselViewSwipePerformanceTests.Android.cs | Adds Android CarouselView disabled-swipe interception performance scenario with event counters. |
| eng/scripts/Run-WindowsDevicePerformanceComparison.Tests.ps1 | Adds tests validating the Windows ABBA driver behavior and expected pipeline/Helix wiring. |
| eng/scripts/Run-WindowsDevicePerformanceComparison.ps1 | Adds the Windows ABBA driver: discovery, run plan, execution, and results comparison plumbing. |
| eng/scripts/Run-DevicePerformanceComparison.helix.sh | Adds Helix entrypoint wrapper to preserve env vars for Apple targets via launchctl asuser. |
| eng/scripts/Prepare-DevicePerformancePayload.Tests.ps1 | Adds tests for payload preparation (including metadata injection/link rejection). |
| eng/scripts/Parse-DevicePerformanceResults.Tests.ps1 | Adds tests for parsing result markers and chunked records from logs. |
| eng/scripts/Parse-DevicePerformanceResults.ps1 | Adds log parser that extracts/validates device-performance JSON records (including chunk reassembly). |
| eng/pipelines/common/device-performance-build-job.yml | Adds a reusable job to build base/head device-performance apps with trusted harness snapshot/overlay. |
| eng/pipelines/ci-device-performance.yml | Adds an AzDO pipeline to build base/head apps, package payloads, and submit Helix device-performance runs. |
| eng/pipelines/arcade/stage-device-performance.yml | Adds an Arcade stage template to read payload metadata and submit Helix work items. |
| eng/helix_device_performance.proj | Adds the Helix project defining device-performance work items for each target OS. |
| eng/devices/devices-shared.cake | Excludes Performance* categories from “run separately” category splitting. |
| .github/workflows/perf-history.yml | Adds workflow to persist validated history points to a perf-data branch on successful perf-check runs. |
| .github/skills/perf-analysis/tests/Validate-DevicePerformanceEvidence.Tests.ps1 | Adds tests for sealing/validating device-performance evidence across platform pairs. |
| .github/skills/perf-analysis/tests/Update-PerformanceHistory.Tests.ps1 | Adds tests for merging/retaining performance history points. |
| .github/skills/perf-analysis/tests/Resolve-PerfDecision.Tests.ps1 | Adds tests for deterministic decision resolution rules based on coverage/evidence. |
| .github/skills/perf-analysis/tests/New-PerformanceReport.Tests.ps1 | Adds tests ensuring the report renderer/validator follows policy and resists narrative injection. |
| .github/skills/perf-analysis/tests/New-DevicePerformanceRequests.Tests.ps1 | Adds tests for generating AzDO device-performance queue requests from selection evidence. |
| .github/skills/perf-analysis/scripts/Validate-DevicePerformanceEvidence.ps1 | Implements sealing/validation of device-performance summaries for one exact PR revision. |
| .github/skills/perf-analysis/scripts/Update-PerformanceHistory.ps1 | Implements bounded history point persistence with environment fingerprinting and retention. |
| .github/skills/perf-analysis/scripts/Resolve-PerfDecision.ps1 | Implements deterministic “what to do next” decision baseline from managed/device evidence and coverage. |
| .github/skills/perf-analysis/scripts/New-DevicePerformanceRequests.ps1 | Implements trusted request generation for supported device scenarios (with stale-head rejection). |
| .github/skills/perf-analysis/references/recommendation-policy.json | Defines report verdicts, recommendation limits, and hard gates for the perf-check report. |
| .github/skills/perf-analysis/references/benchmark-families.json | Defines benchmark families, path patterns, and selection filters for managed measurements. |
| .github/skills/perf-analysis/benchmark-overlays/src/Core/tests/Benchmarks/Benchmarks/VisualDiagnosticsBenchmarker.cs | Adds trusted benchmark overlay copy for deterministic managed measurement runs. |
| .github/skills/perf-analysis/benchmark-overlays/src/Core/tests/Benchmarks/Benchmarks/LayoutExtensionsBenchmarker.cs | Adds trusted benchmark overlay copy for deterministic managed measurement runs. |
| .github/docs/trigger-azdo-pipeline-setup.md | Documents AzDO pipeline registration and OIDC setup required for /perf-check device runs. |
| .github/aw/actions-lock.json | Updates gh-aw action lock entries for pinned workflow compilation/validation. |
| .gitattributes | Forces LF endings for .sh scripts to avoid cross-platform execution issues. |
Review details
- Files reviewed: 57/58 changed files
- Comments generated: 3
- Review effort level: Lite
There was a problem hiding this comment.
🟡 Changes recommended
The Helix wrapper script currently persists/sources the full environment for Apple runs, which can leak secrets and should be narrowed to an allowlist with a robust console-user launch pattern.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 57/58 changed files
- Comments generated: 1
- Review effort level: Lite
kubaflo
left a comment
There was a problem hiding this comment.
Could you please remove the part responsible for triggering?
/perf-check
The reason is that it is insecure and we have a different workflow for triggering agentic things
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
| foreach ($run in $plan) | ||
| { | ||
| New-Item -ItemType Directory -Force -Path $run.RunDirectory | Out-Null | ||
| $consoleLog = Join-Path $run.RunDirectory "xharness-console.log" | ||
| if (-not [string]::IsNullOrWhiteSpace([string]$run.ResultFile)) | ||
| { | ||
| Remove-Item $run.ResultFile -Force -ErrorAction SilentlyContinue | ||
| } | ||
|
|
||
| Write-Host "Running $($run.Variant) iteration $($run.Number) on $Platform..." | ||
| $arguments = @($run.Arguments) | ||
| & $run.Executable @arguments *> $consoleLog |
| try { | ||
| $process = Start-Process ` | ||
| -FilePath $run.App ` | ||
| -ArgumentList "`"$testResults`"", "$($run.CategoryIndex)" ` | ||
| -WorkingDirectory (Split-Path -Parent $run.App) ` | ||
| -RedirectStandardOutput $consoleLog ` | ||
| -RedirectStandardError $errorLog ` | ||
| -PassThru |
This comment has been minimized.
This comment has been minimized.
|
Note 🔍
|
MauiBot
left a comment
There was a problem hiding this comment.
Expert Review — 1 findings
See inline comments for details.
| $summaryJson = Join-Path $OutputDirectory "comparison-summary.json" | ||
| $summaryMarkdown = Join-Path $OutputDirectory "comparison-summary.md" | ||
|
|
||
| & $parser -InputPath $OutputDirectory -OutputPath $resultsPath |
There was a problem hiding this comment.
🔍 AI-Generated Review (multi-model)
[major] Logic and Correctness — The parser is invoked with -InputPath $OutputDirectory, which recursively reads every file under the output root. On a reused output directory, stale MAUI_PERF_RESULT logs from prior runs are ingested and can force an inconclusive comparison for the current ABBA run (for example, mixed old/new scenarios failing expected-scenario/provenance checks). Limit parsing to this invocation's run artifacts (as the Windows runner does) or clear the output root before parsing.
MauiBot
left a comment
There was a problem hiding this comment.
AI Review Summary
@morning4coffe-dev — new AI review results are available based on commit
7402f34.
🗂️ Review Sessions — click to expand
🚦 Gate — Test Before & After Fix
Gate Result: ⚠️ INCONCLUSIVE
Platform: WINDOWS · Base: main · Merge base: 3d7ff41c
🩺 Could not verify — environment/infrastructure error. The gate ran the tests but hit an environment error (an emulator/simulator/Appium/XHarness flake, a device that would not boot, or an empty/invalid result file), so it could not record a real pass/fail. The /review to retry on a fresh agent.
Test filter 'Category=PerformanceCarouselViewWheelSnap' matched 0 Windows device test categories. Available categories: Dispatcher, Border, BoxView, Button, CarouselView, CheckBox, CollectionView, Compatibility, ContentView, MenuFlyout, DatePicker, Editor, Entry, FlyoutPage, Label, Frame, HybridWebView, Image, Layout, FlexLayout, Map, Modal, NavigationPage, Page, Path, Picker, Behavior, RadioButton, RefreshView, ScrollView, SearchBar, Shape, Shell, TabbedPage, TemplatedView, Toolbar, View, VisualElement, Lifecycle, VisualElementTree, WebView, Window, Mapper, Xaml, WindowOverlay, Memory
| Test | Without Fix (expect FAIL) | With Fix (expect PASS) |
|---|---|---|
🧪 DevicePerformanceTests DevicePerformanceTests |
❌ PASS — 151s | ✅ PASS — 84s |
📱 CarouselViewWheelSnapPerformanceTests (WheelScrollCentersClosestItem) Category=PerformanceCarouselViewWheelSnap |
||
📱 HandlerPropertyUpdatePerformanceTests (CommonControlPropertyUpdates) Category=PerformanceHandlerPropertyUpdate |
🔴 Without fix — 🧪 DevicePerformanceTests: PASS ❌ · 151s
(no coded error found; showing last 1200 chars)
sion 18.0.2 (x64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.13)
[xUnit.net 00:00:00.16] Discovering: Microsoft.Maui.Controls.Core.UnitTests
[xUnit.net 00:00:01.15] Discovered: Microsoft.Maui.Controls.Core.UnitTests
[xUnit.net 00:00:01.16] Starting: Microsoft.Maui.Controls.Core.UnitTests
[xUnit.net 00:00:01.32] Finished: Microsoft.Maui.Controls.Core.UnitTests
Passed ReportingUsesVerificationAfterCounterFinalization(mismatch: False) [67 ms]
Passed ReportingUsesVerificationAfterCounterFinalization(mismatch: True) [1 ms]
Passed PickerVerificationRejectsStaleNonEmptyValues(culture: "de-DE", dateFormat: "dd MMM yyyy", timeFormat: "HH:mm") [21 ms]
Passed PickerVerificationRejectsStaleNonEmptyValues(culture: "en-US", dateFormat: "d", timeFormat: "t") [1 ms]
Passed CorrectnessDoesNotDefaultToSuccess [< 1 ms]
Passed VerificationExceptionsDoNotProduceSuccessfulMeasurements [2 ms]
Passed PickerVerificationHandlesClearedValues [< 1 ms]
Test Run Successful.
Total tests: 7
Passed: 7
Total time: 1.8806 Seconds
🟢 With fix — 🧪 DevicePerformanceTests: PASS ✅ · 84s
(no coded error found; showing last 1200 chars)
ion 18.0.2 (x64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 10.0.13)
[xUnit.net 00:00:00.21] Discovering: Microsoft.Maui.Controls.Core.UnitTests
[xUnit.net 00:00:01.33] Discovered: Microsoft.Maui.Controls.Core.UnitTests
[xUnit.net 00:00:01.34] Starting: Microsoft.Maui.Controls.Core.UnitTests
Passed ReportingUsesVerificationAfterCounterFinalization(mismatch: False) [69 ms]
[xUnit.net 00:00:01.50] Finished: Microsoft.Maui.Controls.Core.UnitTests
Passed ReportingUsesVerificationAfterCounterFinalization(mismatch: True) [< 1 ms]
Passed PickerVerificationRejectsStaleNonEmptyValues(culture: "de-DE", dateFormat: "dd MMM yyyy", timeFormat: "HH:mm") [8 ms]
Passed PickerVerificationRejectsStaleNonEmptyValues(culture: "en-US", dateFormat: "d", timeFormat: "t") [3 ms]
Passed CorrectnessDoesNotDefaultToSuccess [< 1 ms]
Passed VerificationExceptionsDoNotProduceSuccessfulMeasurements [4 ms]
Passed PickerVerificationHandlesClearedValues [< 1 ms]
Test Run Successful.
Total tests: 7
Passed: 7
Total time: 2.2990 Seconds
🔴 Without fix — 📱 CarouselViewWheelSnapPerformanceTests (WheelScrollCentersClosestItem): ⚠️ ENV ERROR · 392s
No log file found
🟢 With fix — 📱 CarouselViewWheelSnapPerformanceTests (WheelScrollCentersClosestItem): ⚠️ ENV ERROR · 240s
No log file found
🔴 Without fix — 📱 HandlerPropertyUpdatePerformanceTests (CommonControlPropertyUpdates): ⚠️ ENV ERROR · 303s
No log file found
🟢 With fix — 📱 HandlerPropertyUpdatePerformanceTests (CommonControlPropertyUpdates): ⚠️ ENV ERROR · 305s
No log file found
⚠️ Failure Details
- ❌ DevicePerformanceTests PASSED without fix (should fail) — tests don't catch the bug
⚠️ CarouselViewWheelSnapPerformanceTests (WheelScrollCentersClosestItem) without fix:Test filter 'Category=PerformanceCarouselViewWheelSnap' matched 0 Windows device test categories. Available categories: Dispatcher, Border, BoxView, Button, CarouselView, CheckBox, CollectionView, Compatibility, ContentView, MenuFlyout, DatePicker, Editor, Entry, FlyoutPage, Label, Frame, HybridWebView, Image, Layout, FlexLayout, Map, Modal, NavigationPage, Page, Path, Picker, Behavior, RadioButton, RefreshView, ScrollView, SearchBar, Shape, Shell, TabbedPage, TemplatedView, Toolbar, View, VisualElement, Lifecycle, VisualElementTree, WebView, Window, Mapper, Xaml, WindowOverlay, Memory⚠️ HandlerPropertyUpdatePerformanceTests (CommonControlPropertyUpdates) without fix:Test filter 'Category=PerformanceHandlerPropertyUpdate' matched 0 Windows device test categories. Available categories: Dispatcher, Border, BoxView, Button, CarouselView, CheckBox, CollectionView, Compatibility, ContentView, MenuFlyout, DatePicker, Editor, Entry, FlyoutPage, Label, Frame, HybridWebView, Image, Layout, FlexLayout, Map, Modal, NavigationPage, Page, Path, Picker, Behavior, RadioButton, RefreshView, ScrollView, SearchBar, Shape, Shell, TabbedPage, TemplatedView, Toolbar, View, VisualElement, Lifecycle, VisualElementTree, WebView, Window, Mapper, Xaml, WindowOverlay, Memory⚠️ CarouselViewWheelSnapPerformanceTests (WheelScrollCentersClosestItem) with fix:Test filter 'Category=PerformanceCarouselViewWheelSnap' matched 0 Windows device test categories. Available categories: Dispatcher, Border, BoxView, Button, CarouselView, CheckBox, CollectionView, Compatibility, ContentView, MenuFlyout, DatePicker, Editor, Entry, FlyoutPage, Label, Frame, HybridWebView, Image, Layout, FlexLayout, Map, Modal, NavigationPage, Page, Path, Picker, Behavior, RadioButton, RefreshView, ScrollView, SearchBar, Shape, Shell, TabbedPage, TemplatedView, Toolbar, View, VisualElement, Lifecycle, VisualElementTree, WebView, Window, Mapper, Xaml, WindowOverlay, Memory⚠️ HandlerPropertyUpdatePerformanceTests (CommonControlPropertyUpdates) with fix:Test filter 'Category=PerformanceHandlerPropertyUpdate' matched 0 Windows device test categories. Available categories: Dispatcher, Border, BoxView, Button, CarouselView, CheckBox, CollectionView, Compatibility, ContentView, MenuFlyout, DatePicker, Editor, Entry, FlyoutPage, Label, Frame, HybridWebView, Image, Layout, FlexLayout, Map, Modal, NavigationPage, Page, Path, Picker, Behavior, RadioButton, RefreshView, ScrollView, SearchBar, Shape, Shell, TabbedPage, TemplatedView, Toolbar, View, VisualElement, Lifecycle, VisualElementTree, WebView, Window, Mapper, Xaml, WindowOverlay, Memory
📁 Fix files reverted (1 files)
eng/devices/devices-shared.cake
📋 Pre-Flight — Context & Validation
PR #38274 Pre-Flight
Context
- Title: Add local device performance measurements for native MAUI scenarios
- State: Open
- Base:
main - Local review branch:
pr-review-38274 - Materialized review commit:
85e288ea5574c4319bc3192d6b46432344e98747(PR #38274 squashed for review) - Change size: 31 files, 5,698 insertions, 12 deletions.
- GitHub CLI metadata lookup was unavailable because this environment has no
ghauthentication. Public GitHub API metadata and the local squashed diff were used instead.
What the PR implements
The PR adds an explicitly invoked, local native-device performance system. It builds merge-base and head with a shared trusted harness, executes ABBA (base, head, head, base) comparisons, emits schema-v3 measurement records, validates identity/environment/correctness, and writes deterministic JSON and Markdown summaries. Windows uses an unpackaged local device-test app with a unique run token, completion marker, fresh-output validation, bounded process waits, and explicit process exit. Android and Apple use XHarness.
The current implementation also:
- Adds five curated native scenarios under
src/Controls/tests/DeviceTests/Performance/. - Adds measurement/result/statistics/reporting helpers in
src/Core/tests/DeviceTests.Shared/DevicePerformanceResult.cs. - Adds parse, compare, category-overlay, cross-platform driver, and Windows driver scripts under
eng/scripts/. - Excludes
Performance*categories from ordinary device-test runs unless explicitly selected. - Extends the Windows headless runner so opted-in performance runs validate category discovery, wait for the result writer, write a completion token, and exit with the run result.
- Wires six bounded standalone PowerShell regression suites into
.github/workflows/powershell-script-tests.ymlon Ubuntu and Windows.
Existing approach in the diff
The existing fix is a new end-to-end local performance harness rather than a narrow change to existing product code. Its key safety/correctness mechanisms are strict schema/provenance validation, explicit correctness counters, isolated source snapshots, credential-filtered child environments, opt-in performance categories, ABBA ordering, and fresh completion-token/output checks on Windows.
Modified existing files include category filtering (eng/devices/devices-shared.cake and DeviceTestSharedHelpers.cs) and Windows runner lifecycle (ControlsHeadlessTestRunner.cs and HomePage.xaml.cs). Most of the implementation is in newly added files.
Detected bounded tests
The Windows-specific primary regression test is:
pwsh -NoProfile -File eng/scripts/Run-WindowsDevicePerformanceComparison.Tests.ps1The PR's workflow identifies these six standalone regression suites as the bounded script-test set:
pwsh -NoProfile -File eng/scripts/Parse-DevicePerformanceResults.Tests.ps1
pwsh -NoProfile -File eng/scripts/Compare-DevicePerformanceResults.Tests.ps1
pwsh -NoProfile -File eng/scripts/Merge-DevicePerformanceCategories.Tests.ps1
pwsh -NoProfile -File eng/scripts/Run-DevicePerformanceComparison.Tests.ps1
pwsh -NoProfile -File eng/scripts/Run-WindowsDevicePerformanceComparison.Tests.ps1
pwsh -NoProfile -File eng/scripts/DevicePerformanceBehavior.Tests.ps1The focused managed regression class is DevicePerformanceTests in src/Controls/tests/Core.UnitTests/DevicePerformanceTests.cs. No full suite is authorized. The supplied gate result is INCONCLUSIVE because tests could not be built/run; it must not be rerun or treated as a failing fix.
Try-fix constraints and current blocker
Before pre-flight, the worktree already contained 13 tracked deletions, all PR-added skill/script files, including all six production scripts and all six script-test files. .github/.baseline-state.json does not exist, so EstablishBrokenBaseline.ps1 -Restore has no recorded state from which to recover them. Pre-flight did not alter these files.
This is a hard try-fix blocker for two independent reasons:
EstablishBrokenBaseline.ps1requires a clean tracked worktree and will stop on the pre-existing deletions.- Even from a clean tree, the script classifies the newly added
eng/scripts/*.ps1files asNewFiles. The loadedtry-fixcontract requires an immediateBlockedresult wheneverNewFilesis non-empty; only paths inRevertedFilesmay be edited.
Each candidate must still run the baseline step, capture the exact blocker and required artifacts, perform no source edits, run the exact script-only restore command, and report honestly. Candidate 2 must use candidate 1's recorded result and avoid presenting the same proposed mechanism as a second implementation candidate.
🔬 Code Review — Deep Analysis
Expert PR Evaluation — PR #38274 (initial pass)
Independent assessment (code-first)
This change introduces a full device-performance harness pipeline: scenario-gated drivers (Run-DevicePerformanceComparison.ps1, Run-WindowsDevicePerformanceComparison.ps1), result parsing/comparison scripts, category-merging utilities, new performance test categories/scenarios across Android/iOS/Windows, and runner integration for Windows performance mode with completion markers.
Inferred motivation: make performance checks deterministic and provenance-aware (ABBA ordering, expected scenario/platform/commit/harness metadata, correctness gates, advisory timing deltas), while isolating performance categories from normal device-test runs.
Overall approach is strong (scenario allow-listing, explicit metadata, completion-file handshake for Windows). One concrete correctness gap remains in the non-Windows driver artifact collection.
Concrete findings
⚠️ Warning (major) — stale-artifact ingestion can invalidate current run- Location:
eng/scripts/Run-DevicePerformanceComparison.ps1:309 - The parser is called as:
& $parser -InputPath $OutputDirectory -OutputPath $resultsPath
Parse-DevicePerformanceResults.ps1recursively scans every file under each input path and extracts anyMAUI_PERF_RESULT/MAUI_PERF_CHUNKrecord it finds.- Failure mode: if the same output directory is reused, old logs from a previous scenario/platform/commit can be included in
results.json, and thenCompare-DevicePerformanceResults.ps1marks the run inconclusive on provenance/scenario mismatch despite the current ABBA run being valid. - This is a mechanical false-negative gate path, not speculative.
- Location:
External-output-contract analysis
| Consumer token/pattern | Producer location | Producer emission condition | Consumer assumption | Ordinary negative case | Downstream effect |
|---|---|---|---|---|---|
MAUI_PERF_RESULT: / MAUI_PERF_CHUNK: records parsed from all files in an input tree |
src/Core/tests/DeviceTests.Shared/DevicePerformanceResult.cs (DevicePerformanceReporter.Write) and log files retained under prior run folders |
Emitted whenever a performance test writes a result; persisted in logs/files and can remain from earlier invocations | Run-DevicePerformanceComparison.ps1 effectively assumes all records under $OutputDirectory belong to the current invocation when passing the whole directory to parser |
Re-run script with same output root after a prior scenario run; old and new result records coexist | Compare-DevicePerformanceResults.ps1 can report inconclusive due to mixed scenario/provenance sets, blocking a valid current run |
Failure-mode probing
- Reused output root: Not handled safely in non-Windows driver because parse scope is broad (
$OutputDirectory), unlike Windows driver which passes only currentmaui-perf-result.logpaths. - Process lifecycle / timeout path: Windows runner’s completion-file + run-id handshake appears robust for distinguishing successful completion vs timeout/failure.
- Cross-platform scenario gating: allow-list and platform checks are correctly fail-closed.
CI and gate status
- Required checks could not be queried in this environment.
- Supplied gate status is inconclusive and explicitly treated as undetermined (not a test failure verdict).
Verdict
- Verdict: NEEDS_CHANGES
- Confidence: medium
Rationale: one validated major correctness issue can produce inconclusive/failed comparison outcomes unrelated to the current measured run, affecting reliability of the submitted performance harness.
🛠️ Try-Fix — Analysis & Comparison
PR #38274 Try-Fix Aggregate
Candidate 1 — Cross-Phase Run Attestation
Model: gpt-5.3-codex
Approach: Couple all four ABBA executions through a two-phase run-attestation manifest and validate provenance plus expected phase order as a joined run, instead of accepting each output independently.
Prior approach avoided: The PR's current schema-v3 records, unique completion token, freshness checks, and per-run identity checks independently validate each output. This candidate targeted cross-phase mixing as a different failure mechanism.
Mechanism-level difference: A comparison would become valid only after every expected base/head phase joined the same manifest in the expected order, so stale or partial outputs from individually valid but unrelated invocations could not be combined.
Result: Blocked
Files changed: No source files. Candidate diff is empty.
Evidence: EstablishBrokenBaseline.ps1 rejected the pre-existing tracked deletions as a dirty working directory before any legal edit or test. The mandatory restore command reported No baseline state found (Restored False). The primary and regression tests were not run.
Failure analysis: The worktree already lacked the PR-added performance scripts, and no baseline state existed to restore them. Manually reconstructing or restoring those files is forbidden by the try-fix contract. The candidate therefore remains an unimplemented design, not a validated fix.
Self-review: 0 findings; there was no candidate source diff.
Detailed record: ../try-fix-1/content.md
Candidate 2 — Dedicated Windows Performance Host
Model: gpt-5.6-sol
Approach: Move performance-only Windows discovery, result-writer completion, completion signaling, and explicit process shutdown into a dedicated host entry point that the local driver launches explicitly. Preserve the ordinary ControlsHeadlessTestRunner and HomePage lifecycle rather than switching their behavior through environment-controlled performance mode.
Prior approaches avoided: The PR layers opt-in lifecycle behavior into the shared Windows runner and independently validates each output through schema-v3 provenance, completion tokens, and freshness checks. Candidate 1 instead proposed joining all ABBA phases through a shared attestation manifest. Candidate 2 proposes neither stronger per-output validation nor cross-phase identity/order joins.
Mechanism-level difference: This candidate targets lifecycle coupling. A separate performance host would make performance-specific exception propagation, completion-marker creation, and process termination unreachable from ordinary Windows device-test execution; existing parser and comparator checks would remain responsible for rejecting invalid results.
Result: Blocked
Files changed: No source files. Candidate diff is empty.
Evidence: A fresh mandatory baseline invocation exited 1 after reporting all 13 pre-existing tracked deletions. No .github/.baseline-state.json was created, so there was no RevertedFiles edit allow-list. The primary and five additional bounded regression commands were not run. The supplied inconclusive gate was not rerun. The exact mandatory restore command exited 0 with No baseline state found (Restored False), which is the expected result when baseline establishment makes no edits.
Failure analysis: The contract forbids cleaning or reconstructing the deleted PR-added scripts and forbids editing without a baseline allow-list. It would also block on the PR-added scripts as NewFiles if classification were reached. The dedicated-host candidate therefore remains an unimplemented and unvalidated design.
Self-review: 0 findings; there was no candidate source diff.
Detailed record: ../try-fix-2/content.md
Aggregate Outcome
Exactly two mechanism-level alternatives were generated in the required model order. Both attempts completed their baseline and restoration obligations but were blocked before implementation or testing by the pre-existing worktree state. Neither candidate is a validated fix, and neither changed source:
| Candidate | Mechanism | Result | Tests |
|---|---|---|---|
| 1 | Cross-phase run attestation | Blocked | Not run |
| 2 | Dedicated Windows performance host | Blocked | Not run |
🏁 Report — Final Recommendation
⚠️ Final Recommendation: REQUEST CHANGES
Winner: pr-plus-reviewer. The submitted PR has a strong, well-bounded native performance design, but the expert review verified that its non-Windows driver recursively parses the reusable output root. Old MAUI_PERF_RESULT records can therefore contaminate a later valid ABBA run and force a false inconclusive result. The winning candidate fixes that defect with per-invocation artifact isolation and current-plan-only parser inputs, and its focused regression suite passed.
Comparative ranking
| Rank | Candidate | Implementation | Validation | Assessment |
|---|---|---|---|---|
| 1 | pr-plus-reviewer |
PR plus unique per-invocation run roots and current-run parser inputs | PASS — Run-DevicePerformanceComparison.Tests.ps1 (exit 0) |
Resolves the expert finding directly, adds regression coverage, and preserves the PR's existing provenance/correctness model. |
| 2 | pr |
Submitted 31-file local native-performance harness | Gate INCONCLUSIVE; not treated as a failure | Broad approach is sound, but stale records under a reused output directory can invalidate a current non-Windows run. Expert verdict: NEEDS_CHANGES. |
| 3 | try-fix-1 |
Proposed cross-phase run-attestation manifest | Blocked; no diff and no tests | Conceptually addresses cross-run mixing, but remained an unimplemented design and adds more machinery than the focused isolation fix. |
| 4 | try-fix-2 |
Proposed dedicated Windows performance host | Blocked; no diff and no tests | Could reduce Windows lifecycle coupling, but it does not address the expert's non-Windows stale-artifact defect and was never implemented. |
Evidence and decision
- The required inline finding was persisted at
inline-findings.json; it identifieseng/scripts/Run-DevicePerformanceComparison.ps1:309. pr-plus-reviewerstores every invocation beneath a unique run root and invokes the parser with only the four planned run directories.- Its regression test proves repeated invocations use different directories and prevents restoring the broad
-InputPath $OutputDirectoryscan. - Both STEP 5a candidates were blocked before edits and testing. They did not fail regression tests, but they provide no executable or validated alternative.
- The trusted Gate is INCONCLUSIVE because of environment/category-discovery problems. It is neither counted as a PR failure nor used alone to request changes.
The submitted PR therefore needs the pr-plus-reviewer change before approval.
📱 UI Tests — Button,Label,Layout
Detected UI test categories: Button,Label,Layout
[!WARNING]
No UI test results were produced for the detected categories. The trusted gate was
inconclusive and did not establish whether the PR build was healthy. The deep UI stage also
returned no results, usually because of a build, environment, or infrastructure interruption;
inspect the Gate section and independent CI checks before retrying.
🧭 Next Steps — reviewer changes required
The reviewer-enhanced candidate identified changes that are not yet in the submitted PR.
Why: The expert review found that the submitted non-Windows driver can ingest stale records from a reused output root. pr-plus-reviewer isolates each invocation, limits parsing to its four current run directories, and passes the focused driver regression suite; both try-fix candidates were blocked without implementations or test evidence.
Address the actionable findings in this review before merging.
This comment has been minimized.
This comment has been minimized.
Tests Failure Analysis
🧪 CI Analysis — click to expand📊 maui-prNo failures found. 🧪 maui-pr-devicetestsNo results available. 🧪 maui-pr-uitestsNo results available. 🧭 Follow-up — actions and refreshNext action: Comment
|
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Superseded by #38324. We are consolidating the performance-review work in the hosted |
…8324) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Description of Change Adds a **maintainer-triggered GitHub Agentic Workflow (gh-aw) for `/review performance`**. The command runs selected managed benchmarks against pinned merge-base/head revisions, asks GPT to interpret the evidence and coverage gaps, and publishes one independently rendered and validated performance report. It follows the `/review tests` command entrypoint and #38807's separation between untrusted execution and credentialed reporting. **The PR is now scoped to this hosted workflow and its required managed benchmarking/reporting dependencies.** ### Hosted-only scope Reduced from 63 changed files to **24**, all under `.github/`. There are no remaining changes to framework source, device tests/runners, `eng/`, or `docs/`. Retained: the workflow source/compiled lock, trusted orchestration, managed selector/ABBA runner/comparator, trusted managed benchmark overlays, coverage catalogs, GPT interpretation skill, deterministic decision/renderer/validator, focused managed/report checks, and command documentation/routing. Removed: native-device infrastructure and drivers, the local `check-pr-performance` skill, native request/evidence ingestion, the history writer, duplicate benchmark sources under `src/`, and their dedicated tests/documentation. **This PR no longer depends on #38274.** The platform catalog only describes coverage gaps; it does not execute native scenarios or promise an available device driver. Merged `main` without rewriting history. Preserved its removal of legacy rerun automation and moved the performance-command exclusion into the new shared recovery helper. ### New GitHub Agentic Workflow - **Source:** `.github/workflows/copilot-review-performance.md`. - **Compiled workflow:** `.github/workflows/copilot-review-performance.lock.yml`, generated with gh-aw **v0.86.2**. - **Trusted orchestrator:** `.github/scripts/Review-Performance.ps1` (`Gather`, `Measure`, `Prepare`, `Render`). - **Interpretation skill/model:** `perf-analysis`, using **`gpt-5.6-sol`**. A current write/maintain/admin collaborator requests a review with a newly created comment on an open PR: ```text /review performance ``` Only this exact subcommand activates the performance workflow. Other subcommands, unauthorized comments, issues, closed PRs, and changes without product files do not start measurements. The full `/review` trigger and missed-command recovery explicitly exclude `/review performance`. 1. **Trusted intake:** executes from the default branch, pins PR merge-base/head and harness SHAs, and selects coverage without executing PR code. 2. **Isolated measurements:** a disposable GitHub-hosted Linux job runs managed BenchmarkDotNet benchmarks in ABBA order. Base/head use separate unprivileged users and an explicit child-environment allowlist. No Copilot PAT or posting token reaches benchmark builds/runs. 3. **Independent evidence and GPT interpretation:** a fresh job imports bounded structured evidence and computes the decision baseline. GPT reads that bundle and the pinned diff and supplies narrative only, with no authority to execute more measurements or select another publication target. 4. **Validated gh-aw publication:** a separate safe-output job downloads independent evidence, recomputes the decision, renders and validates the report, and rechecks caller permission plus live PR base/head identities before publishing. Older performance reports are hidden. Automation failures produce a run link, not a fabricated performance verdict. Production uses the existing **`copilot-pat-pool` environment** for GPT credentials and the repository's GitHub Actions token for scoped publication. There is no new Azure pipeline, service connection, device queue, or scheduled recovery. ### Manual dispatch and retries After deployment to the default branch: ```bash # Measure, interpret, render, and validate without posting. gh workflow run copilot-review-performance.lock.yml \ --repo dotnet/maui --ref main \ -f pr_number=32382 -f suppress_output=true # Run the same workflow and publish the validated report. gh workflow run copilot-review-performance.lock.yml \ --repo dotnet/maui --ref main \ -f pr_number=32382 -f suppress_output=false ``` `pr_number` must identify an open PR. Dry-run mode suppresses publication, not measurements, GPT interpretation, or report validation. Context, structured evidence, reports, and separate SDK-install/build/benchmark diagnostics are retained for seven days. Diagnostic logs are not admitted as measurement evidence. **Retry with a fresh dispatch or a new command, not Re-run failed jobs.** Repeated attempts can leave same-named gh-aw agent artifacts in one run, allowing a downstream job to select an earlier attempt's empty output. The decision resolver recommends a managed retry only for missing/incomplete execution or benchmark data; repeating completed unchanged filters cannot fill excluded benchmark-input or native coverage gaps. ### Evidence policy | Evidence | Treatment | |---|---| | Managed allocations | Repeated non-overlapping ranges; default materiality thresholds of 8 bytes and 0.5% | | Shared-host timing | Advisory; requires non-overlapping ranges and at least 15% median movement | | Sampled benchmark families | Supplemental evidence, not proof the changed path executed | | Native paths | Explicit unmeasured coverage gaps; no native execution or local evidence admission | | Missing/incompatible evidence | Incomplete or inconclusive, never a whole-PR pass | The deterministic scripts own verdicts, coverage, and permitted actions. GPT cannot erase a measured regression or clear missing/sampled evidence. Recommendations distinguish measurements, static support, and hypotheses. There is no numeric worth-it score, automatic merge decision, code/label mutation, issue closure, or automatic follow-up. ### Successful final fork verification The [fresh final fork canary](https://github.com/kubaflo/maui/actions/runs/36765284345) **completed successfully** against #32382, using the final production implementation from `867ffde2fe`. - Intake, activation, measurements, evidence preparation, GPT interpretation, detection, safe outputs, and conclusion all succeeded. - Both Core builds succeeded under `LinuxUsers` isolation with `credentialsSanitized: true`. - Seven benchmarks completed in each of the four ABBA runs, with matching benchmark sets and complete measurement data. - Changed binding/XAML workloads remained excluded. Coverage was explicitly incomplete, with the deterministic next action `needs_human_discussion`; no native measurements or whole-PR clearance were claimed. - The downloaded report-validation artifact contains **`valid: true` and `errors: []`**. Canary commit `e2550e87ba` differs from production only in the two workflow files: it uses the existing personal Copilot secret, restricts dispatch to the dedicated fork branch, targets the selected upstream PR, and forces staged output. **No new upstream report was posted, and no upstream environment protection was changed.** Production PAT-pool configuration and normal publication behavior remain intact on the PR branch. The staged run retains a non-fatal gh-aw conclusion annotation about the absent `safe-outputs-items` artifact. The actual safe-output rendering/validation job and overall run succeeded; this is not a claim that live upstream publication was exercised by the dry run. ### Additional validation and CI caveats All five retained managed/decision/report suites passed again on the final revision. The 69 existing command-routing/recovery checks passed. PowerShell/JSON syntax, scoped formatting, whitespace checks, strict gh-aw compilation, and native actionlint checks passed. Existing shared-workflow actionlint diagnostics were verified against `main` and left unchanged. **Normal PR checks are not all green:** the [Pester check](https://github.com/dotnet/maui/actions/runs/36765208984) has 2,201 passes and two stale assertions expecting `gpt-5.6-sol` while `Review-Tests.ps1` uses `gpt-6-astra`. Both test files and their subject are byte-identical to the merged `main`. [Skill Validation](https://github.com/dotnet/maui/actions/runs/36765201279) fails before inspecting PR content because the unchanged checkout action refuses fork checkout in `pull_request_target`. These unrelated shared checks were not weakened or modified. `maui-pr` is neutral on the final GitHub-only revision. Earlier real hosted runs exposed and verified fixes for assigning to PowerShell's read-only `$HOME` and using the Windows-only SDK installer on Linux. Those fixes and retained diagnostic artifacts remain in the reduced implementation. **Deployment remains pending:** the PR is still a draft and unmerged. The workflow, lock, skill, and trusted scripts must reach `dotnet/maui`'s default branch before the upstream slash command operates. Fork validation does not imply production activation or replace normal CI and human review. Operating instructions are in `.github/docs/pr-review-workflow.md`. ### Issues Fixed No product issue is closed. This PR adds an explicitly authorized, hosted managed-performance review workflow. --------- Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9c4135af-95e6-472d-9309-98f5d13cb737

Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
Adds local device performance measurements, invoked from our machines through PowerShell scripts or the
check-pr-performanceskill. Select a native scenario and platform, build the PR merge-base and head with the same trusted harness, and obtain repeatable latency/correctness data plus deterministic JSON and Markdown comparisons.There are no native-performance measurement pipelines, remote device submissions, payload-packaging tools, privileged host wrappers, automatic native-measurement PR triggers, or automatic posting/queue/history workflows in this PR. The standalone
/perf-checktrigger remains removed. Separate PR-triggered CI jobs execute only the bounded script regression suites and fixtures, not native measurements.The local skill selects a relevant supported scenario, prepares isolated builds, and runs the same scripts. The scripts do not invoke an AI model. Publishing a generated comment requires a separate explicit request; neither the skill nor the scripts approve changes or provide automatic merge clearance.
How it works
The drivers consume already-built apps; the skill documents and performs local preparation. Both drivers support
-DryRunto inspect the plan before execution. Android/iOS/MacCatalyst use the installeddotnet xharnessorxharnesscommand. Windows invokes an unpackaged local device-test app, with bounded process waits and checks for failed exits or missing fresh artifacts.The category overlay preserves each measured revision's own
TestCategory.csand adds only missing trusted performance constants. It does not replace older categories such asListView; conflicting performance category values are rejected. This compatibility fix came from a real older-PR build, not just a synthetic fixture.Builds and execution use isolated source snapshots and credential-filtered child environments. The trusted harness is separate from the measured product code. Do not expose privileged credentials to PR-controlled builds/apps, run as root, or reset shared devices.
What is measured
All measurements come from device-test execution; there is no managed BenchmarkDotNet or AI-generated measurement fallback. The scenarios are finite and curated, not universal code-path coverage. Supplemental experiments require explicit approval and identical harness changes on both revisions.
The comparator requires two results per variant, matching PR/base/head/harness identity and environment metadata, and required correctness counters. Timing movement remains advisory: it is flagged only when repeated ranges do not overlap and the median changes by at least 15% by default.
The results are
neutral,time-regression-advisory,time-improvement-advisory, orinconclusive. A successful script exit means the comparison was written; consumers must inspect the classification and provenance/correctness fields. Latency and correctness do not imply allocation, jank, accessibility, or whole-app startup coverage.Components
src/Controls/tests/DeviceTests/Performance/src/Core/tests/DeviceTests.Shared/DevicePerformanceResult.cseng/scripts/Run-DevicePerformanceComparison.ps1eng/scripts/Run-WindowsDevicePerformanceComparison.ps1eng/scripts/Parse-DevicePerformanceResults.ps1andCompare-DevicePerformanceResults.ps1eng/scripts/Merge-DevicePerformanceCategories.ps1.github/skills/check-pr-performance/docs/device-performance.mdPerformance categories remain excluded from ordinary device-test runs unless explicitly selected. The existing exclusion guards are retained to prevent normal runs from starting measurement workloads. No shipping framework API is added.
Local usage
docs/device-performance.mdand the linked local preparation recipe, then invoke the appropriate driver with both app paths and pinned identities.Result records and comparison summaries now use schema version 3, without remote build/job metadata. Repository, PR, product/harness SHAs, run ordinals, device, OS, architecture, runtime, and SDK identity remain recorded. Rebuild both apps with the same current harness; old-schema results are rejected rather than silently reinterpreted.
Review follow-up
The current revision addresses the retained correctness and local-runner feedback:
warmupCountis required, integer, and non-negative in both parsing and standalone comparison.Development examples
These public writeups contain historical local measurements, not reruns of the current revision. PR-specific experiments do not become built-in scenarios merely because they were used to exercise the tooling.
September 21 review completion
c8289e0ac0merges canonicalupstream/main(f8a2f062a8) without rebasing. This includes the Windows Helix SDK correction (Fix Windows device-test Helix SDK version resolution #38692) and the Apple native layout-reapplication implementation from [Android, iOS/Mac] Fix IsSwipeEnabled Not Working on CarouselView #36428.f5a9310460completes the Windows trusted overlay withHomePage.xaml.cs, fixes the spelling finding, replaces the category source-substring assertion with executable behavior coverage, expands Windows opt-in/discovery checks, and strengthens the Apple workload's outer-bounce and missing-scroll-view checks. Existing embedded swipe/bounce assertions and the Windows centering tolerance remain intact.Post-review CI wiring
7402f342fcwires all six standalone DevicePerformance suites into independent, ten-minute-boundedubuntu-latestandwindows-latestjobs in the existing PowerShell Script Tests workflow. Each suite runs in a freshpwshprocess, all six are attempted, any nonzero exit fails the job, and logs are uploaded even on failure. These are not Pester containers; inherited Pester failures cannot skip the new jobs. Relevant production source changes also trigger the workflow.The fixture now matches production's null-initialized
_isBounceEnabledand executes the realSetBounceEnabledmethod. New assertions distinguish unset, false, and true bounce state. The exact CI step passes locally on Windows; the 60-assertion behavioral suite also passes on repository-pinned PowerShell 7.4. A mutation restoring the old false initialization fails. There is no local Linux runtime installed. The normal push-triggered Ubuntu CI job passed all six suites on Ubuntu 24.04.5 / PowerShell 7.6.5, including 60 behavioral assertions and 138 portable Windows-runner assertions. The hosted Windows CI job also passed all six suites, including its Windows-only fake-process coverage. Per-suite logs were uploaded by both jobs. The overall workflow remains red only because of the two inherited Pester model-policy failures below; neither new job depends on that Pester job. No workflow was manually dispatched, and no native Apple verification is claimed.Validation and limits
All six PowerShell suites pass on PowerShell 7.6.6. The five existing suites also pass on Windows PowerShell 5.1. The new behavior suite passes 60 assertions, executing the actual Cake selector, Android/iOS/MacCatalyst filter adapters, and Apple layout methods against non-UI fixtures. The Windows suite passes 294 assertions on PowerShell 7 and 168 on Windows PowerShell 5.1. In-memory mutations of Cake exclusion, mobile default exclusion, and the Apple layout hook each produce the expected regression failure.
The required build tasks, seven C#
DevicePerformanceTests, full Android and unpackaged Windows Release builds, formatting, and the changed-document spellcheck pass. Existing build warnings remain.Historical initial
android/attempt: FAILED, before tests executed, withInvalid userId -2and XHarness exit 82. That directory is not passing Android evidence. Separateandroid-explicit/retry: PASSED the three target methods (DisabledSwipeTouchHandling,KeepItemsInViewUpdate,CommonControlPropertyUpdates) on API 35; its XML contains five passed tests total, including two unrelated uncategorized AlertDialog tests, and 583 ignored. The retry used the already-built app and the performance driver's explicitTestInstrumentationcontract. No emulator settings were changed; this was not a base/head performance comparison.Historical
windows-smoke/: plumbing self-comparison, not PR performance evidence. Both variants used the same app and commit (c8289e0ac0); the runs exercised the real completion/exit contract.handler-property-update-batchproduced four provenance-valid, correctness-passing records.carouselview-wheel-snap-windowscompleted all four runs but correctly classified them inconclusive: every run recordedmaximumCenterError=120andpositionsOutsideTolerance=10. The separate Windows centering fix #37387 is merged intoinflight/current, not thismainlineage. The failure is preserved, not hidden by relaxing tolerance or pulling unrelated product changes into this tooling PR. These same-build smoke runs are not PR base/head performance comparisons.Native Apple execution remains unverified on this Windows host; the source-level UIKit fixtures are not native Apple evidence. Skill Validation still needs a safe base-workflow correction for its fork-checkout guard. This PR does not bypass that guard or grant automatic merge clearance. Only normal push-triggered checks were started; no expensive workflow was manually triggered.
Additional automatic-check result: Pester scripts finished with 2,266 passing and two failing tests. Both are pre-existing model-policy assertions:
CopilotPipeline.Tests.ps1:66-71andReview-PR.Tests.ps1:326-330require$model = "gpt-5.6-sol", while unchanged upstreamReview-Tests.ps1:592pinsgpt-6-astra. All three files are byte-identical toupstream/main; an earlier independent run has the same two failures. This needs a repository-level policy/test reconciliation; I did not weaken the assertions or change reviewer policy in this performance PR.Historical Android smoke run (2026-09-08): the committed harness
51b4aa62aac7cba83280753d8e4531e028796284ran against the historical base/head of dotnet/maui#35946:d26ab8a854210cf08ab991d8802a4b7186cc8e8f3485ab1f04d68b9f46b802ce2d2f9cbaba42ed72collectionview-keepitemsinview-update10.0.302; Mono /.NET 10.0.1051; all12warmup/measured updates preserved381.7656 ms, head390.22255 ms, delta+2.22%; overlapping rangesneutral; provenance and correctness passedThis historical run exercised
KeepItemsInView, not theKeepScrollOffsetfix in that PR. Both product revisions were unchanged; the native harness sources matched the committed revision, and the category merger added only the required constants. It does not validate the new schema-version-3 emitter on a native device.Issues Fixed
No product issue is closed by this tooling PR. The linked PRs are measurement examples.