Split asset reload platform policy

This commit is contained in:
2026-06-05 11:44:28 +02:00
parent c4d00258ff
commit 0236fc6620
8 changed files with 168 additions and 31 deletions

View File

@@ -743,10 +743,11 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
persistent-storage flushing, document browse roots, working-directory picker
availability, prepared-file target planning, work-directory collection export
policy, PPBR data-directory override policy, SonarPen availability, live
asset reload policy, native UI/window state saving, recording cleanup policy,
default canvas resolution, and canvas tip visibility now live in the tested
`platform_policy` catalog and are consumed by both `WindowsPlatformServices`
and the retained non-Windows fallback;
asset reload policy, native UI/window state saving, layout XML file mtime
reload policy, recording cleanup policy, default canvas resolution, and canvas
tip visibility now live in the tested `platform_policy` catalog and are
consumed by both `WindowsPlatformServices` and the retained non-Windows
fallback;
Windows
live app execution now uses injected
`WindowsPlatformServices` from
@@ -761,10 +762,12 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
header consumers lighter while `DEBT-0055` tracks removal of those handles
from `App`.
- `pp_platform_api` also owns `plan_asset_file_load`, the SDK-free file-load
policy consumed by `LayoutManager` for XML layout reload decisions. The
helper preserves desktop mtime-based reload behavior and non-desktop
already-loaded skip behavior while keeping direct platform guards out of the
shared layout parser.
policy consumed by `LayoutManager` for XML layout reload decisions. The pure
probed decision and platform-family policy preserve desktop mtime-based
reload behavior and non-desktop already-loaded skip behavior while keeping
direct platform guards out of the shared layout parser; the live wrapper still
owns the retained `stat` probe until platform storage/file-watch services
replace it.
- `pp_renderer_gl` owns the tested `OpenGlInitialState` startup depth/blend
policy and dispatch application consumed by `App::init`, tested runtime
version/vendor/renderer/GLSL string query dispatch consumed by `App::init`
@@ -916,8 +919,9 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
- `pp_platform_api_tests` covers service dispatch for clipboard read/write,
empty clipboard writes, cursor visibility, virtual-keyboard visibility,
external file display, file sharing, VR lifecycle, layout/asset file load
policy, platform-family export/storage/browse/prepared-file/UI-state/canvas
policies, and picker callbacks without platform SDK headers or a window.
policy including pure probed reload behavior, platform-family
export/storage/browse/prepared-file/UI-state/canvas policies, and picker
callbacks without platform SDK headers or a window.
- `pp_app_core_document_cloud_tests` covers cloud upload no-canvas,
new-document warning, clean publish prompt, and dirty save-before-upload
decisions, plus cloud browse no-canvas/show-browser and selected-download