Skip to content

feat(sdk): Add Uno.HotTesting.Reactive to the Extensions group - #2305

Closed
Xiaoy312 wants to merge 1 commit into
mainfrom
dev/xygu/20261007/sdk-mvux-bundle-hottesting
Closed

Xiaoy312 wants to merge 1 commit into
mainfrom
dev/xygu/20261007/sdk-mvux-bundle-hottesting

Conversation

@Xiaoy312

@Xiaoy312 Xiaoy312 commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): unoplatform/uno.extensions#3211

PR Type

What kind of change does this PR introduce?

  • Feature

What is the current behavior?

The Extensions group in src/Uno.Sdk/packages.json doesn't list Uno.HotTesting.Reactive.

What is the new behavior?

  • Uno.HotTesting.Reactive is added to the Extensions group, which stays at 8.0.0-dev.72, a version that already includes the package.
  • The same entry is mirrored in the manifest copy embedded in src/Uno.Sdk/ReadMe.md.

This pairs with unoplatform/uno#25095. That change makes the Uno.Sdk reference the package for UnoFeatures=MVUX in non-optimized builds, with PrivateAssets="all" and an UnoDisableHotTesting opt-out. It also adds the package to uno's src/Uno.Sdk/packages.json.

This edit is temporary. On preview SDKs the updater takes each group's package list from the Uno.Sdk.Private manifest (MergeLocalOverridesOnly in tools/Uno.Sdk.Updater/Program.cs), and it regenerates the ReadMe manifest from packages.json. So:

Merge order: merge only after unoplatform/uno#25095 is in a published Uno.Sdk.Private. Merged earlier, the next bot PR reverts it. If the uno change ships first and this PR hasn't merged, MVUX Debug builds skip the package with the message UNOB0028; they don't fail. If the bot picks up the entry first, this PR can be closed.

Where the entry sits in the list doesn't matter for version detection: the updater probes the first package whose name contains both Uno and WinUI, which is still Uno.Extensions.Authentication.WinUI.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Associated with an issue (GitHub or internal)

Other information

Validation:

  • packages.json parses, and the embedded ReadMe manifest is identical to it.
  • build/Verify-NuGetDependenciesOnNuGetOrg.ps1 -ManifestPath src/Uno.Sdk/packages.json passes: all checked coordinates are on nuget.org.
  • End-to-end coverage comes from the MVUX template matrix in CI, once the updater bot moves Uno.Sdk.Private past the uno change.

Known risk: Uno.HotTesting.Reactive now takes its version from the Extensions group, which the updater picks by probing Uno.Extensions.Authentication.WinUI alone. The updater doesn't check that every package in a group exists at that version, so an Extensions build published without HotTesting would leave a dangling coordinate. Verify-NuGetDependenciesOnNuGetOrg.ps1 would catch that in CI.

No release/stable/* backport: Uno.HotTesting.Reactive has no stable build yet.

🤖 Generated with Claude Code

The Uno.Sdk references it for the MVUX feature in non-optimized builds
(unoplatform/uno, branch dev/xygu/20261007/sdk-mvux-bundle-hottesting).
The updater never adds packages to an existing group, so the manifest
entry is added here; it is appended last so the group's version probe
stays on Uno.Extensions.Authentication.WinUI.

Refs unoplatform/uno.extensions#3211

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@Xiaoy312

Xiaoy312 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

Marking as draft: this should wait until unoplatform/uno#25095 is merged and included in a published Uno.Sdk.Private build. Merged earlier, the next "chore: Update Uno.Sdk" bot run would revert this entry. If the bot picks up the entry from that Uno.Sdk.Private on its own first, this PR can be closed instead.

@Xiaoy312

Xiaoy312 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

we will just wait on the bot to pick up the entry from uno.sdk.private, instead of moving forward with this pr.
KEEPING THIS OPEN for now, as a reminder/item to check back
so waiting on new nuget.org release, and then bot sync...

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

Xiaoy312 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

Status check: why #2309 doesn't include Uno.HotTesting.Reactive yet

Nothing is broken; it's timing. #2309 was built from an Uno.Sdk.Private that predates the merge of unoplatform/uno#25095.

What #2309 picked up

  • It moves SdkVersion to Uno.Sdk.Private 7.0.0-dev.1646, the newest version on the Uno dev feed the updater reads.
  • The nuspec of 1646 says it was built from master commit c3366639d1 (#25103, 14:44 UTC).
  • feat(sdk): Bundle Uno.HotTesting.Reactive with MVUX uno#25095 was merged at 15:41 UTC as 26b7f82d65, four commits later. So 1646 has neither the package in its packages.json nor the MVUX mapping.

Where the build with the change is

  • The master CI build for 26b7f82d65 is 7.0-dev.1647. When I checked, it was still running: "Build - Managed Binaries" was in progress and "Publish - Dev NuGet" hadn't started.
  • Some of its test stages failed. Recent master builds (1639, 1640) also failed tests and were still published to the dev feed, so that shouldn't block publishing.
  • Until 1647 is on the dev feed, each bot run keeps taking 1646.

Why the bot will pick it up once 1647 is out

  • Templates main is on a 7.0 preview, so the updater uses MergeLocalOverridesOnly.
  • That function replaces each existing group's package list with the SDK's (existing with { Packages = sg.Packages }).
  • It keeps the local group version as the baseline, so Extensions stays at 8.0.0-dev.72 rather than dropping to uno's 7.4.0-dev.81.
  • So once the bot pulls 1647 or later, Uno.HotTesting.Reactive should land in Extensions automatically.

When to check back
The updater runs every 6 hours (00:00, 06:00, 12:00 and 18:00 UTC). If 1647 is published before then, the next run should update #2309 (it reuses sdk/update/dev) or open a new bot PR. If a later bot PR still lacks the package, first check that its SdkVersion is 1647 or later.

Keeping this PR open as the reminder until that happens.

@Xiaoy312

Xiaoy312 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

the changes was picked up in #2310 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants