Files
workinf_Blender_Wasm/docs/web/KNOWN_LIMITATIONS.md
mes123456 11a69f6354
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled
feat(web): bind Clip acceptance receipts to a frozen candidate
run-clip-headed.mjs --freeze hardlink-snapshots the served source tree into
web/.frozen/CLIP-<stamp>-<wasm8> with a sha256 manifest; --candidate refuses a
tree that does not verify, and the Playwright config serves the frozen root.
Receipts record servedBy, servedRoot, frozenAt and the manifest sha256, and
check-clip-headed.mjs re-verifies them against disk.

The full suite passes 28/28 on the frozen candidate
(tests/golden/CLIP-HEADED-20261204-155221, wasm 3c81eb06, manifest 695b50c0);
release acceptance stays NOT_CLAIMED.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-04 16:09:13 +08:00

10 KiB
Raw Blame History

Web Blender Modeler V1 Known Limitations

These limits apply to 0.1.0-rc.1. A successful bounded gate is scoped to the declared operation, fixture, resource budget and browser configuration. The capability claim is the 31/31 support matrix in tools/web/manual/feature-matrix.json (local or official server/native backend), enforced by tools/web/check-parity-claim.mjs. See V1_SCOPE.md for the normative product boundary; the legacy parity-ledger.json is historical planning data.

Browser and deployment

  • Chromium is the only V1 browser baseline. Firefox, WebKit, mobile browsers, touch, pen, IME and non-Chromium accessibility compatibility are not release claims.
  • Production requires HTTPS. http://127.0.0.1 is allowed for local verification; public plain HTTP and file:// are unsupported. All app, Worker and engine assets must remain same-origin.
  • The base viewport uses WebGL2. OffscreenCanvas is a second tested production path. WebGPU is used only for the declared bounded NanoVDB path and is subject to adapter availability and limits.

Single-thread and pthread selection

  • AUTO selects pthread only when crossOriginIsolated, SharedArrayBuffer and Worker capability gates are all ready. Otherwise it selects the single-thread variant and reports the pthread gate.
  • A pthread initialization failure under AUTO is cleaned up before one single-thread attempt. A resource request failure outside this path remains an error.
  • A JS, WASM or pthread Worker SHA-256 mismatch is fatal (ENGINE_VARIANT_INTEGRITY_FAILED): there is no integrity fallback and no project is opened.
  • PTHREAD_REQUIRED blocks when its platform gate is not ready. SINGLE_REQUIRED never attempts pthread. A mixed app/manifest releaseId returns REFRESH_REQUIRED before engine initialization or project open; a full reload is required.
  • Both variants declare 256 initial WebAssembly pages (16 MiB) and a 32,768-page ceiling (2 GiB). This is a manifest ceiling, not a memory reservation or availability guarantee; Chromium, the OS or the device can reject growth earlier.

Project storage

  • OPFS and IndexedDB are bound to the exact scheme, host and port. Moving between origins does not migrate projects. Clearing site data or a browser profile deletes locally stored projects and caches.
  • Chromium and the operating system control quota. V1 reserves no minimum capacity and cannot infer that navigator.storage.estimate() free space will remain available through a save.
  • Atomic save preserves the last committed revision on quota failure, but the new revision is not durable until save succeeds. Export critical projects before upgrades and before deleting caches.
  • IndexedDB schema migration is forward-only. OPFS project manifest schema has no general reverse migration. An older app is blocked when it cannot read the current schema.

CPU, WASM and GPU budgets

  • The RC gates cover 100k, 1M and 10M geometry fixtures; they are not an unlimited scene-size claim. Imports and operations can block earlier when their own vertex, element, transfer, time or memory budgets are exceeded.
  • A texture asset is limited by protocol to 64 MiB, 16,384 pixels per dimension and 256 requested assets per scene. The actual WebGL MAX_TEXTURE_SIZE, address space and GPU memory may be lower. The release gate exercised 4K and 8K textures, not every format or 16K residency combination.
  • VDB input is bounded to 512 MiB, a NanoVDB bundle to 1 GiB, each chunk to 16 MiB and declared GPU residency to at most 512 MiB. Actual maxStorageBufferBindingSize and maxBufferSize may be lower.
  • NanoVDB pages are explicit and LRU-bounded. Automatic viewport page-fault feedback, depth-composed production demand paging and an unbounded multi-grid material system are not included in V1.
  • GPU device loss or budget failure releases and recreates viewport resources where supported; it does not modify Blender Main or OPFS project bytes. A reduced scene or budget may still be required.

Known web UI gaps (observed 2026-11-25)

  • The Rendering workspace Outliner gap is closed by desktop parity, and its earlier reading was incomplete: desktop's Rendering workspace has no Outliner area at all (its native screen holds Properties, Dope Sheet and Image Editor), so there are no object rows to show there in the first place, and the web layout now hides the panel instead of drawing one that can never fill. The engine exports Outliner rows only for the active workspace, so an unconditional panel in a workspace without a native Outliner could only ever render empty. Layout, Modeling and Animation still render the panel and its rows; object picking for a render still starts from those.

Residual evidence gaps

  • The armature headed regression is resolved, and its earlier diagnosis was wrong: the armature object was never missing from the Outliner. Probe snapshots show it as 2:PoseConstraintArmatureObject under its parent ScaledRigParent, which is what desktop make_object_parent_hierarchy_collections builds, and the row stays stable across repeated OUTLINER_TOGGLE_EXPAND rebuilds. Ten headed hardware reruns of armature panel operates on the selected bone in web/tests/e2e/armature-editor-coverage-ui-production.spec.ts failed all ten times because the expand loop in web/tests/fixtures/native-ui-workflow.ts clicked a label list scanned before earlier replies landed: it re-clicked rows the reply had just opened, closing them, so each round flipped the same four rows and the loop never settled. The armature is the only one of the six objects one level deeper, so it is the only case that enters that loop; the other five armature cases pass. The loop now re-reads each row's own label before clicking and waits for that toggle to reach the tree; no timeout budget was widened. The case passes headed with hardware GPU after the fix, and the whole coverage file re-ran 6/6 PASS on the current tree (panel case 48.5 s).
  • Revision-conflict handling is per command in the engine Worker, not one shared protocol contract: moveNLAStrip, editEditorContext, editShaderNode, setSequencerStrips, setSculptMeshAttributes and the requested baseRevision of the modifier, constraint, curve-topology, Grease Pencil, NLA property, AOV, lightgroup, NLA stack and sequencer transition commands are compared against currentSnapshot inline. editShaderNode reports staleness as INVALID_ARGUMENT; every other checked command reports REVISION_CONFLICT. The shared contract and its tests live in web/protocol/web-engine-revisions.ts and web/tests/unit/web-engine-revisions.test.mjs.
  • Keyframe evidence stays PARTIAL: the Outliner keyframe case outliner-keyframe-keys-web proves the native keyframing operators ran and an action datablock appeared. The Outliner tree does not expose fcurve or keyframe counts, so no count assertion is made. No new engine evidence is claimed.
  • The Clip suite's remaining limits are recorded here rather than left implicit: (1) the Graph is coordinate-faithful, not drawing-identical — knots are SVG circles (r = 3) instead of desktop's 8-segment wire circles, so [clip-graph] asserts the data-space mapping (0..efra × −10..10) to 0.6 px plus the View2D-style wheel zoom and 全部 reset (the middle-drag pan is implemented but not asserted), not a pixel diff; (2) the stabilization pixel composite is asserted on tripod-motion at frame 24 with unmuted markers only — rotation and autoscale are asserted through the returned matrix in [clip-stab], not against pixels; (3) stabilization is hardened where desktop is degenerate: a single configured track yields NaN in desktop BKE_tracking_stabilization_data_get, while the web engine returns CLIP_STABILIZATION_NONFINITE (INVALID_ARGUMENT) so a misconfigured clip fails recoverably — [clip-stab-composite] therefore configures two translation tracks and three rotation tracks. The undistortion and track/plane panel gaps are closed: [clip-undistort] asserts the distorted-grid pixels change with the clip render flag and revert to identity once k1..k3 are zeroed (full-frame reads only, mirroring need_undistortion_postprocess; proxy reads keep the prebuilt proxy images), clip.track_copy_color has its panel button with CLIP_OT_track_copy_color semantics (the active track's colour copied onto the other view-selected tracks), and plane use_auto_keying is exposed — with it off, a corner drag re-derives the plane through BKE_tracking_track_plane_from_existing_motion instead of keying. The full suite passes 28/28 on the dev candidate (receipt tests/golden/CLIP-HEADED-20261204-124651) and 28/28 on a frozen candidate: run-clip-headed.mjs --freeze hardlink-snapshots the served source tree (web/app, web/protocol, tools/web, docs/web/deployment-contract.json) and binds every file by sha256 in manifest.json; --candidate refuses a tree that does not verify; the receipt records servedBy, servedRoot, frozenAt and the manifest sha256, and check-clip-headed.mjs re-verifies them against disk (receipt tests/golden/CLIP-HEADED-20261204-155221, manifest 695b50c0…, wasm 3c81eb06…). Release acceptance stays NOT_CLAIMED until the user's hands-on acceptance.
  • The per-editor cross-walk of these gaps lives in MODULE-COVERAGE.md, which records one row per EDITOR_TYPES entry and the stable gap ids MOD-<module>-NN.

Blender feature scope

Complete PBVH sculpt/paint, arbitrary Geometry Nodes and Shader evaluation, full physics solvers, Cycles, final video encoding, Python/Text autorun, add-ons and native GPU backends are either bounded, server-only or excluded. The exact family slices and stable blockers are in parity-ledger.json; unsupported data must be preserved or explicitly blocked, not reported as executed.

Use DEPLOYMENT.md for installation and rollback requirements, and operations-diagnostics.json for stable failure signals and data-safe recovery boundaries.