Render: gate bundled studio-data tests in isolated engine builds (#5493) (#6202)

* claim: post-merge Render review corrections (#5493)

* fix(render): gate bundled studio tests in isolated engine builds (#5493)

Addresses jyviko review comments on #5494: compile the two positive payload-dependent regressions only with bundled-render-library. Keep all assertions and the explicit feature-absent refusals. Reproduced 5 pass / 2 fail before the fix; isolated default, CPU without pack, and CPU with pack tests plus strict scoped Clippy and repository checks pass. No production or CI configuration changes.
This commit is contained in:
selune
2026-10-25 02:29:34 +00:00
committed by GitHub
parent 74004841b4
commit 1623034973
@@ -10,6 +10,7 @@ fn subject() -> Session {
.unwrap();
s
}
#[cfg(feature = "bundled-render-library")]
#[test]
fn native_studios_resolve_without_mutation_and_apply_one_complete_undo() {
let entries = super::entries();
@@ -126,6 +127,7 @@ fn quality_projection_never_claims_adaptive_or_unbounded_profiles() {
assert!(s.execute("render.quality.prepare", &json!({"id":"Q-002","variant":"fixed_samples_png","acknowledge_omissions":false})).is_err());
assert_eq!(s.doc.to_json(), before);
}
#[cfg(feature = "bundled-render-library")]
#[test]
fn resource_availability_and_original_previews_are_bounded_and_nonmutating() {
let mut s = subject();