Skip to content

refactor(winui): share routed host setup - #4419

Merged
glennawatson merged 3 commits into
mainfrom
tests/winui-routed-host-helpers
Jul 26, 2026
Merged

refactor(winui): share routed host setup#4419
glennawatson merged 3 commits into
mainfrom
tests/winui-routed-host-helpers

Conversation

@glennawatson

@glennawatson glennawatson commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Refactor and dependency maintenance.

What is the new behavior?

The generic and non-generic WinUI routed hosts now use one shared initialization path. Executable test projects explicitly identify themselves as test projects and non-packable projects.

The ReactiveUI.Primitives package family is updated from 7.0.0 to 7.1.0.

What is the current behavior?

The two routed hosts duplicate their initialization logic. Several executable test projects rely on inferred test and packaging metadata. The repository references ReactiveUI.Primitives 7.0.0.

What might this PR break?

None.

Checklist

  • I have read the Contribute guide
  • Tests have been added or updated (for bug fixes / features)
  • Docs have been added or updated (for bug fixes / features)
  • Changes target the main branch
  • PR title follows Conventional Commits

Additional information

The experimental WinUI test project was removed from this PR and will be revisited separately.

- Extract the common routed-host initialization behind a testable contract.

- Add real WinUI coverage across every supported Windows target.

- Mark executable test projects explicitly as tests and non-packable.
- Use the latest compatible ReactiveUI.Primitives release across the target framework matrix.
@glennawatson
glennawatson marked this pull request as ready for review July 26, 2026 03:05
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@codecov

codecov Bot commented Jul 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.35%. Comparing base (180a40b) to head (09c7c7e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4419      +/-   ##
==========================================
+ Coverage   93.15%   93.35%   +0.19%     
==========================================
  Files         345      347       +2     
  Lines       14965    14921      -44     
  Branches     1568     1553      -15     
==========================================
- Hits        13941    13929      -12     
+ Misses        752      731      -21     
+ Partials      272      261      -11     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@glennawatson
glennawatson merged commit ff88f13 into main Jul 26, 2026
12 of 13 checks passed
@glennawatson
glennawatson deleted the tests/winui-routed-host-helpers branch July 26, 2026 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant