Add editor sample regression pack
This commit is contained in:
1 parent
c55f34780f
commit
06010c5922
31 files changed
+3258
-110
No files matched your search
@@ -23,6 +23,14 @@ Both the editor Diagnostics window and the `cargo validate-levels` headless comm
|
||||
entry point. The command supports `--project <path>` and `--json`; the editor can select the live
|
||||
owning actor for an attributed finding. Blocking errors produce a nonzero headless exit status.
|
||||
|
||||
The optional editor regression pack has one conventional manifest at
|
||||
`assets/samples/editor_samples.ron`. Schema v1 contains exactly one Brush, Material, Terrain,
|
||||
Physics Placement, and Rendering sample with stable metadata, project-relative scene paths, and
|
||||
explicit manual checks. `cargo validate-samples` validates that catalog and combines its findings
|
||||
with the authoritative project report. Projects without the manifest remain valid ordinary
|
||||
projects; Blacksite CI invokes the sample command to make the complete pack mandatory for this
|
||||
repository.
|
||||
|
||||
Project validation covers the project manifest and asset roots, registry IDs/sources/dependencies,
|
||||
generated static mesh manifests, material and shader documents, post effects, scene and prefab
|
||||
graphs, authored model/material/texture/brush/collider references, rendering profiles, and
|
||||
@@ -34,6 +42,10 @@ startup entrypoint. Unknown newer scene schemas are rejected rather than down-st
|
||||
requirements are explicit findings; for example, Solari projects record the required forward-path
|
||||
fallback QA when ray tracing is unavailable.
|
||||
|
||||
Terrain descriptors participate in the same actor-owned dependency pass. Their authored dimensions,
|
||||
height and weight grids, chunk settings, base material, and material layers are validated before
|
||||
hydration so a sample or shipping scene cannot hide an invalid or unresolved terrain reference.
|
||||
|
||||
## Consequences
|
||||
|
||||
- Headless and editor validation share result semantics and finding ownership.
|
||||
@@ -42,3 +54,7 @@ fallback QA when ray tracing is unavailable.
|
||||
Gitea #44 acceptance verifies the shared gate against real development output.
|
||||
- Asset formats added later must register their dependencies with this validator and extend the
|
||||
valid, missing, cyclic, and incompatible project-fixture matrix.
|
||||
- The sample manifest is discovery and regression metadata, not a second project-settings schema;
|
||||
editor UI and headless tooling consume the same scene ordering and validation result.
|
||||
- CI must hydrate Git LFS before validation because a pointer file is intentionally treated as
|
||||
missing runtime content.
|
||||
Reference in new issue
Block a user