Repository navigation
Version bump after 6.7 release branch - #23956
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the repo’s NerdBank.GitVersioning version after branching release/stable/6.7, moving master forward to the next dev version line.
Changes:
- Bump
version.jsonfrom6.7-dev.{height}to6.8-dev.{height}.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Author
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23956/wasm-skia-net9/index.html |
kazo0
approved these changes
Aug 4, 2026
kazo0
enabled auto-merge
August 4, 2026 15:27
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
kazo0
disabled auto-merge
August 7, 2026 01:02
kazo0
enabled auto-merge
August 7, 2026 01:02
Contributor
Author
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23956/wasm-skia-net9/index.html |
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.
Summary
Batch 1 of managed sweeps that release collectible-
AssemblyLoadContextpins for a downstream host that loads previewed apps into their own collectible AssemblyLoadContexts and unloads them on reload. On WebAssemblyAssemblyLoadContext.Unloadingis never raised, so process-lifetime static caches that key on (or reference) an app'sAssembly/Type/delegate keep the context alive afterUnload(). Each cache is swept from the existing ALC cleanup hook (Application.CleanupNonDefaultAlcCaches, invoked fromWindow.CloseAlcWindow) or exposes an ALC-scoped removal called from a reachable teardown path — matching the establishedStyle.ClearCachesForNonDefaultAlc/RemoveNonDefaultAlcEntriespattern.Closes #23706
Sweeps landed
ResourceLoader—ClearNonDefaultAlcAssemblies()drops previewed-app lookup assemblies (and their parsed-resource markers) from the process-lifetime_lookupAssemblieslist; wired into the cleanup hook.UIElementNativeRegistrar._classNames(WASM) —ClearNonDefaultAlcEntries()drops the collectible-ALCTypekeys of the element-type→registration-id map (invisible to a desktop-only guard). The JS-side registration map holds only strings (no ALC pin) and is intentionally left intact — its ids come from a shared counter, so deleting entries there could collide with live registrations.AppWindow/ApplicationView/CoreDragDropManagereach gainDestroyForWindowId, mirroringDisplayInformation.DestroyForWindowId, called fromWindow.CloseAlcWindow. These retained the closed window's instance and its event subscribers.CompositionTarget.Rendering(WASM) —ClearNonDefaultAlcHandlers()drops non-default-ALC subscribers from the static handler list; the per-frame dispatch now reuses a snapshot buffer instead of allocating a freshListevery frame.HotReloadClientOperationreleases its rawType[](keeping the curated string list), and the local-operation history is capped to a ~100-entry ring buffer, so retained operations no longer pin every hot-reloaded collectible type.PagePool(WASM/managed Frame) — collapsed to a single lazily-created process-wide instance (eachFramepreviously overwrote a shared static with a new pool, orphaning the old one while its eternal 30s scavenger kept it alive); the scavenger is scheduled at most once and only when pooling is enabled;ClearNonDefaultAlcEntries()drops collectible page-type keys.Type-keyed statics —HtmlElementHelper._cache(WASM) andFeatureConfiguration.Style.UseUWPDefaultStylesOverridegain a collectible-ALC key sweep.Skipped (verified not an ALC pin)
ImageBrush._naturalSizeCache: keyed by data-URI/URL strings, which carry no ALC identity — a memory-bloat concern, not a pin. Out of scope here; noted as a follow-up (hash/LRU the data-URI keys).UnicodeText.ICU._lookupCache: keyed by native-delegate types declared inside the framework (default ALC); app types are never keys. Left unchanged.Out of scope (follow-ups)
Hot-reload delta pipeline retention; image Blob URL lifetime;
FontFamilyLoadercaches.Tests (red/green)
Each sweep is guarded by a test asserting a collectible-ALC-keyed entry is dropped while default-ALC / framework entries are kept:
Given_ResourceLoader_Alc(unit) — proven red by neutering the sweep (fails at the removal assertion), green with it.Given_WindowId_Maps_Alc(unit)Given_ResidualTypeStatics_Alc(unit)Given_HotReloadClientOperation_Alc(runtime, HAS_UNO_WINUI)Notes
Local environment is flaky (package churn / Cecil locks); build+test were run where possible and CI validates the rest. See
specs/048-wasm-alc-pin-sweeps/spec.md.🤖 Generated with Claude Code
This is an automated version bump of the master branch after the creation of the release branch release/stable/6.7, based on #23707