From 16230349732ed138e0c06353b021fa6a400757a3 Mon Sep 17 00:00:00 2001 From: selune <35337584+0xlillith@users.noreply.github.com> Date: Sun, 25 Oct 2026 02:29:34 +0000 Subject: [PATCH] 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. --- crates/engine/src/cmd/render/studio_presets_tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/engine/src/cmd/render/studio_presets_tests.rs b/crates/engine/src/cmd/render/studio_presets_tests.rs index 92b6a8f88..cf63ef809 100644 --- a/crates/engine/src/cmd/render/studio_presets_tests.rs +++ b/crates/engine/src/cmd/render/studio_presets_tests.rs @@ -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();