Files
workinf_Blender_Wasm/docs/web/KNOWN_LIMITATIONS.md
mes123456 d9ce49d2d5 docs(web): cross-walk editor modules to e2e coverage and open gaps
One row per EDITOR_TYPES entry with the e2e assertion or headed receipt it rests on, a stable MOD-<module>-NN gap register, and a compliance test that keeps the matrix aligned with the editor list and the register.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 13:57:15 +08:00

7.2 KiB

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 renders an empty Outliner: the same project shows its object rows in Layout, Modeling and Animation, but the Rendering workspace's outliner area renders zero rows, so objects cannot be picked from there. Verified against the built bundle with the same project id. Depth-inspection and row selection from most objects still work in the other workspaces, which is what the teaching chapters rely on meanwhile.

Residual evidence gaps

  • The armature headed regression is deterministic, not the suspected flake: 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, and the other five armature cases pass. Every rerun times out at web/tests/fixtures/native-ui-workflow.ts:166 waiting for the Outliner row [role="treeitem"][aria-label="PoseConstraintArmatureObject"]; the failure snapshot lists five of the six scene objects and omits that row, even though the status line reports Active PoseConstraintArmatureObject · Objects 6 and the Properties name field shows the object. The armature object therefore has no Outliner row at all, which is a user-visible gap; it is escalated to a fix task and stays unfixed in this batch. The case is never marked skipped or retried to green.
  • 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 and NLA property commands are compared against currentSnapshot inline. setSceneViewLayerAOVs, setSceneViewLayerLightgroups, setNLAStack and setSequencerTransitions carry a revision field but do not reject a stale value, and editShaderNode reports staleness as INVALID_ARGUMENT. The shared contract and its tests live in web/protocol/web-engine-revisions.ts and web/tests/unit/web-engine-revisions.test.mjs; Worker adoption is a separate infrastructure batch.
  • 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 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.