Repository navigation
feat(sdk): Bundle Uno.HotTesting.Reactive with MVUX - #25095
Merged
Merged
Conversation
Add Uno.HotTesting.Reactive to the Extensions group and reference it implicitly for the MVUX feature in non-optimized builds only, like Uno.UI.HotDesign: the feed-mocking package is dev/test-only and must not reach a published app. Bump the Extensions group to 7.4.0-dev.81, the latest build that ships the package while staying within the current Toolkit and C# Markup pins. Refs unoplatform/uno.extensions#3211 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- UnoDisableHotTesting suppresses the implicit reference. - A MinimumVersion item metadata, honored by ImplicitPackagesResolver, skips the package when UnoExtensionsVersion pins a build older than 7.4, instead of floating it past the pinned Extensions packages. - PrivateAssets="all" keeps the dev-only package out of consumers and out of the nuspec of a library packed in Debug. - Document the behavior, the Release constraint and the lock-file split. Refs unoplatform/uno.extensions#3211 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Replace the MinimumVersion floor with AvailableSince, checked before the nuget.org fallback: - compare numeric parts only, so the floor doesn't rely on how NuGetVersion orders a prerelease against its stable release; - treat floating versions and ranges as unavailable (they restored with NU1103, as no stable HotTesting exists); - skip, rather than fetch the latest from nuget.org, when the shipped manifest has no version for the package, which removes the ordering dependency on the Uno.Templates manifest. Report each skip as UNOB0028 and document it, the --no-restore caveat and the test-project version rule. Refs unoplatform/uno.extensions#3211 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Oct 7, 2026
Closed
Contributor
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25095/docs/index.html |
Xiaoy312
enabled auto-merge
October 8, 2026 15:05
kazo0
approved these changes
Oct 8, 2026
Contributor
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
dr1rrb
approved these changes
Oct 8, 2026
1 of 5 tasks
Contributor
Author
|
@mergify backport servicing/6.8 |
Contributor
✅ Backports have been createdDetails
Cherry-pick of fe7d333 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
2 of 5 tasks
Merged
1 task done
Xiaoy312
added a commit
that referenced
this pull request
Oct 14, 2026
The cherry-pick of #25095 hit a modify/delete conflict on migrating-to-uno-7.md, which doesn't exist on servicing/6.8, and resolved it by adding the whole 7.0 guide. Its "Retarget" word also fails the cspell check. The HotTesting change stays documented in using-the-uno-sdk.md and uno-build-error-codes.md. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Xiaoy312
added a commit
that referenced
this pull request
Oct 16, 2026
The cherry-pick of #25095 hit a modify/delete conflict on migrating-to-uno-7.md, which doesn't exist on servicing/6.8, and resolved it by adding the whole 7.0 guide. Its "Retarget" word also fails the cspell check. The HotTesting change stays documented in using-the-uno-sdk.md and uno-build-error-codes.md. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue: unoplatform/uno.extensions#3211
PR Type:
✨ Feature
What changed? 🚀
Projects using
UnoFeatures=MVUXnow get an implicit reference toUno.HotTesting.Reactive(MVUX feed mocks for previews and UI tests) in non-optimized builds only. The package is in theExtensionsgroup, so it followsUnoExtensionsVersion.packages.json: theExtensionsgroup is bumped from7.3.0-dev.102to7.4.0-dev.81, andUno.HotTesting.Reactiveis appended last.Uno.Extensions.Implicit.Packages.ProjectSystem.targets: in themvuxItemGroup, the reference is gated on$(Optimize) != 'true'andUnoDisableHotTesting(a new opt-out). It carries:PrivateAssets="all", so the dev-only package doesn't flow to projects that reference yours, nor into the nuspec of a library packed in Debug;AvailableSince="7.4".ImplicitPackagesResolver: honorsAvailableSince. It skips the package and logs the newUNOB0028message (Normal importance) when the resolved group version is any of these:using-the-uno-sdk.md;migrating-to-uno-7.md;UNOB0028inuno-build-error-codes.md;UnoDisableHotTestingin the buildschema.The package's own follow-ups (generator incrementality, diagnostic severity, mock accessibility) belong to uno.extensions and are tracked on the issue.
Companion PR: unoplatform/uno.templates#2305 adds the package to the manifest the public
Uno.Sdkships.Validation
Uno.Sdk.csprojbuilds with analyzers enabled: 0 warnings, 0 errors.Uno.Sdk.Private,UnoFeatures=MVUX, net10.0-desktop,UnoImplicitPackagestarget):Uno.HotTesting.Reactive 7.4.0-dev.81withPrivateAssets=all, and theAvailableSincemetadata is stripped.Optimize=true,UnoDisableHotTesting=true,UnoExtensionsVersion7.2.3 or 7.3.0-dev.102,7.*,7.4.*,[7.4.0-dev.81,8.0), and a manifest without the entry (UNOB0028, no nuget.org call).7.4,7.4.0-dev.22and8.0.0-dev.72.build -c Release --no-restorefails fast on an app head with the existingUNOB0019.run-netcore-mobile-template-tests.ps1forcesUnoFeaturesOverride=Svg).PR Checklist ✅
Screenshots Compare Test Runresults. N/A🤖 Generated with Claude Code