Repository navigation
test: share AppState and PipelineManager setup across integration tests - #935
Conversation
|
Noted as a draft, so I am holding off on a full review until it is marked ready for review. If you want one before then, say so here or request me as a reviewer. |
…lper Eyevinn#935 moved build_manager onto common::manager, after Eyevinn#922 added a test that still passed it a registry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
srperens
left a comment
There was a problem hiding this comment.
Verdict: Request changes. The consolidation is right, and every call site I read keeps its old arguments. But the new helper's one code comment says something the code contradicts, and a later test author would act on it.
Requested changes
backend/tests/common/manager.rs:31—// `PipelineManager::new` takes a registry but does not read it.Replace it with what is true: the registry is read to resolve block definitions for the automatic buffer-age probes. A freshBlockRegistrystill carries every built-in, so built-in blocks resolve and user-defined blocks do not.- Optional, but it is this PR's own goal. Main has since added three more hand-built copies:
html_remote_control_property_test.rs,vision_mixer_source_resize_test.rsandvision_mixer_cuda/mod.rs. #917 has merged, so the reason for leavingvision_mixer_fx_test.rsalone no longer holds. A rebase can fold all four in, or a follow-up can.
Claims
| Claim | Verdict | Evidence |
|---|---|---|
| The registry is not read | CONTRADICTED |
backend/src/gst/pipeline/construction.rs:140 — if let Some(def) = registry_ref.get_by_id(&block.block_definition_id).await. The result feeds attach_automatic_probes at backend/src/gst/pipeline/lifecycle.rs:236 — &self.block_definitions, |
| Behaviour is unchanged for the converted tests | CONFIRMED |
Every removed PipelineManager::new and AppState::new call passed the same constant arguments that the helpers now pass. The only arguments that vary per test are events and the media path, and both go through build_with and in_dir |
| The leak canary still runs | CONFIRMED |
In Check (Linux) at 8b61c65, test_pipeline_cleanup_after_stop_and_drop, test_leak_detection_catches_circular_reference and test_delete_running_flow_releases_pipeline all report ok |
Lifetime: TestState declares state before _dir, so the state drops before its directory is removed. The behaviour change the body names, from leaked temp files to a removed directory, is an improvement.
Radius: LOCAL. Test code only, no change under backend/src.
Overlaps: #936 is stacked on this PR and waits for it. No other open PR changes backend/tests/common/. This branch is 24 commits behind main, and a local trial merge with main is clean. I did not compile it (there is no toolchain here). Main's addition to common/mod.rs, gl_elements_available, does not collide with the new manager and state modules.
Tests & CI: at 8b61c65, Check (Linux), Check & Build (WASM), both Linux builds and API Contract Check are green. macOS and Windows were skipped, and nothing here is platform-specific.
Confidence: HIGH
8b61c65 to
0a07635
Compare
|
Claude (AI) here, on Peter Wagenet's account. Addressed in 46c9d2c, on a branch now rebased onto main:
The PR body has the test runs, including one load-related failure of the media player storm test that did not reproduce alone on either this branch or main. |
srperens
left a comment
There was a problem hiding this comment.
This supersedes my Request changes review of 8b61c65. Both requested changes are done. The verdict moves to Comment only because Check (Linux) is red, on a test this diff does not change.
Verdict: Comment. Re-run the failed job. If it goes green, nothing in the diff stands in the way.
Requested changes
- None to the code. A maintainer re-runs the failed job:
gh run rerun 37322947135 --failed.
Claims
| Claim | Verdict | Evidence |
|---|---|---|
| The registry comment is now true | CONFIRMED |
backend/tests/common/manager.rs:31 — // The registry resolves block definitions for the automatic buffer-age. The registry is read during construction, inside block_on: backend/src/gst/pipeline/construction.rs:141 — if let Some(def) = registry_ref.get_by_id(&block.block_definition_id).await. So dropping the registry when build_with returns is safe. |
Every hand-built copy is folded in except port_pool_test |
CONFIRMED |
At this head, git grep "PipelineManager::new(|AppState::new(" -- backend/tests finds only the two helpers and backend/tests/port_pool_test.rs:22 — AppState::new(. On main there are 23 such sites. |
| The red check is not caused by this diff | CONFIRMED |
The failure is thumbnail_tap_cuda_test::thumbnail_on_a_cuda_memory_tee_downloads_first_and_keeps_the_stream_flowing, at the timing assert backend/tests/thumbnail_tap_cuda_test.rs:249 — harness.main_keeps_flowing(Duration::from_millis(500)),. The diff does not touch that file, and its only use of common is backend/tests/thumbnail_tap_cuda_test.rs:202 — common::require_elements(ELEMENTS);, which is unchanged. The diff adds just two pub mod lines to common/mod.rs. |
Diagnosis. The spot-checked conversions (recorder_test, vision_mixer_fx_test, media_player_control_test) pass the same arguments as before. The ones whose events or media path vary per test go through build_with. TestState still drops its state before it removes the directory (backend/tests/common/state.rs:14 — _dir: TempDir,).
Flake note. I found no other failure of this test in the last 40 ci.yml runs. It was added in #973. If it fails again on a re-run, that belongs on an issue against the thumbnail tap, not on this PR.
Radius: LOCAL. The diff is test code only.
Overlaps: #936 is stacked on this PR, and no other open PR touches backend/tests/common/. The branch is one commit behind main (#990, CI only).
Tests & CI: at 46c9d2c, Check (Linux) fails as described above. Build (Linux x86_64/ARM64), Check & Build (WASM), API Contract Check and Static JS Tests pass. macOS and Windows were skipped, and nothing in the diff is platform-specific. I did not build or run anything here.
Confidence: HIGH
Superseded by my review of 46c9d2c: the requested changes are addressed.
|
Posted by Claude on behalf of @wagenet. The red Check (Linux) job is a flake, unrelated to this PR. Could a maintainer re-run the failed job? We don't have rights to.
|
46c9d2c to
910482c
Compare
srperens
left a comment
There was a problem hiding this comment.
Verdict: Approve. This supersedes my Comment review at 46c9d2c, and the verdict moves to Approve. That Comment rested only on a red Check (Linux) in a file this diff does not touch. At 910482c the run is green.
What moved since 46c9d2c
50a56e9andffbc737are a pure rebase. Their+/-lines are identical to the old0a07635..46c9d2c; I compared the two-dot diffs against each one's merge base.910482cis new. It folds the four copies that landed on main in the meantime (qos_probe_criticals_test, plus thevision_mixer_fx_passthrough,overlay_uploadandunderlay_uploadtests) into the shared helpers: +10 −70, with the same arguments as before.
Claims
| Claim | Verdict | Evidence |
|---|---|---|
Every hand-built copy on the PR's base is folded in, except port_pool_test |
CONFIRMED |
git grep "PipelineManager::new(|AppState::new(" -- backend/tests at 910482c finds only the two helpers and port_pool_test (cited below) |
The registry can drop when build_with returns |
CONFIRMED |
My review at 46c9d2c. common/manager.rs is unchanged since |
| Nothing open breaks on the changed helper signatures | CONFIRMED |
build_cpu_manager, build_manager and start_vm now return a bare PipelineManager, and new_app_state is gone. No other open PR adds a call to any of them: I grepped every open PR's diff. #810's new_state and #797's build_manager are their own local helpers |
| CI is green with the converted tests executed | CONFIRMED |
Run 37630277901: Check (Linux), both Linux builds, WASM, API Contract and Static JS all pass |
backend/tests/common/manager.rs:36 — PipelineManager::new(
backend/tests/common/state.rs:34 — AppState::new(
backend/tests/port_pool_test.rs:22 — AppState::new(
Since the PR's base. main has gained three more hand-built copies: common/stinger.rs (AppState::new), stinger_bench.rs (AppState::new) and vision_mixer_input_format/mod.rs (PipelineManager::new). They use the same eight arguments as in_dir and build, so a trial merge onto main@31a4e27 is clean and the constructors match. They stay as copies after the merge. Folding them now or in #936 is the author's call; it does not block this PR.
Radius. LOCAL: test code only, with no backend/src or types change.
Overlaps. #936 is stacked on this PR, so this one lands first. Several open PRs edit the same test files in other hunks: recorder_test.rs (#967 #927 #762), vision_mixer_fx_test.rs (#809 #806 #803) and enum_property_read_test.rs (#922). None of them calls a helper this PR changes, so the likely cost is textual rebases, not compile breaks. No issue owns a design decision here.
Tests & CI. All green at 910482c. macOS and Windows were skipped (no label), and nothing here is platform-specific. I did not build or run anything myself.
Confidence: HIGH
910482c to
3640098
Compare
srperens
left a comment
There was a problem hiding this comment.
Verdict: Approve. This supersedes my Approve at 910482c, which the push dismissed automatically, and the verdict stands. The new head is a rebase plus one fix in the test helper, and the run at this head is green with the new guard executed.
What moved since 910482c
- Commits 1–3 are a rebase. Commit 2 is identical (
git range-diff=). Commits 1 and 3 differ only in conflict context, for example a newmixer_frame_delayparameter that main added tovision_mixer_underlay_upload_test.rs'srun. 3640098is new. Before it,TestStatewas notClone, socommon::state::new().clone()auto-derefed toAppState::clone. That dropped the temp dir at the end of the statement, and a later user-block save failed.TestStatenow derivesCloneand shares the dir through anArc. Call sites that need an ownedAppStatetakeapp().
Claims
| Claim | Verdict | Evidence |
|---|---|---|
| A clone keeps the temp dir alive | CONFIRMED |
backend/tests/common/state.rs:17 — #[derive(Clone)], with backend/tests/common/state.rs:20 — _dir: Arc<TempDir>, |
| The new test guards it | CONFIRMED |
backend/tests/block_properties_persist_test.rs:142 — let state = common::state::new().clone();. Without the derive this still compiles, but it yields a bare AppState whose dir is already gone, so the create_block assertion fails |
| The guard ran in CI | CONFIRMED |
Job 113930284653: test a_cloned_test_state_keeps_its_storage ... ok |
| No other open PR calls a helper this PR changes | CONFIRMED |
I grepped every open PR's diff for common::state::, new_app_state, build_manager(, build_cpu_manager and start_vm(. The only hit is #797's own local build_manager. common/state.rs does not exist on main |
Radius: LOCAL. Test code only, with no change under backend/src or types.
Overlaps: #936 is stacked on this PR, so this one lands first. Trial merges of this head with #809 and with #797 are both clean. Main still carries three hand-built copies: backend/tests/common/stinger.rs:606 — let state = AppState::new(, stinger_bench.rs and vision_mixer_input_format/mod.rs. As in my last review, folding them in is the author's call and does not block this PR. No issue owns a design decision here.
Tests & CI: run 37962991586 at 3640098. Check (Linux), both Linux builds, WASM, API Contract and Static JS all pass. macOS and Windows show skipping, and nothing here is platform-specific. I ran nothing locally.
Confidence: HIGH
Adds common::state (an AppState on a temp dir that lives as long as the state) and common::manager (a PipelineManager built the way start_flow builds one), and uses them in place of the per-file copies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
html_remote_control_property_test, media_player_control_test, vision_mixer_fx_test, vision_mixer_source_resize_test and the vision_mixer_cuda harness each built their own. Correct the helper's comment: PipelineManager does read the registry, to resolve block definitions for the automatic buffer-age probes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
qos_probe_criticals_test and the vision mixer fx passthrough, overlay upload and underlay upload tests landed on main with their own copy of the setup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TestState was not Clone, so common::state::new().clone() derefed to AppState::clone and dropped the TestState, and its temp dir, at the end of the statement. A user block save then failed with "No such file or directory", since blocks storage does not recreate its parent dir. TestState is now Clone and shares the dir through an Arc, so it goes with the last clone. Handlers that need an owned AppState take TestState::app(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3640098 to
0591d91
Compare
srperens
left a comment
There was a problem hiding this comment.
Verdict: Approve. This supersedes my Approve at 3640098, which the push dismissed automatically, and the verdict stands. The new head 0591d91 is a rebase onto 5e1dca8 (#1067) with no change of its own, and the run at this head is green with the guard executed.
What moved since 3640098
git range-diff: commits 2-4 are=. Commit 1 differs only in conflict context from #1065, which turned the Media Player tests into afor decode in [false, true]loop. The PR's line still lands inside it, e.g.backend/tests/bus_signal_watch_balance_test.rs:109—let state = common::state::new();, andfailed_start_teardown_test.rskeeps the newdecodeparameter.common/mod.rskeeps #1067'sskip_known_ci_failure()beside the newpub mod manager;andpub mod state;.
Claims
| Claim | Verdict | Evidence |
|---|---|---|
| A clone keeps the temp dir alive | CONFIRMED |
backend/tests/common/state.rs:17 — #[derive(Clone)], with backend/tests/common/state.rs:20 — _dir: Arc<TempDir>, |
| The guard still exercises it | CONFIRMED |
backend/tests/block_properties_persist_test.rs:142 — let state = common::state::new().clone(); (unchanged from the head I approved) |
| The guard and the rebased tests ran in CI | CONFIRMED |
Check (Linux) job 114955607830 log: test a_cloned_test_state_keeps_its_storage ... ok, test stopping_a_flow_removes_no_more_bus_watches_than_it_added ... ok, test failed_start_unregisters_the_flows_media_players ... ok |
Radius: LOCAL. Test code only, nothing under backend/src or types.
Overlaps: #936 is the only open PR touching common/ or the rebased files, and it is stacked on this one, so this lands first. #1065 added one more hand-built copy that this PR does not fold in: backend/tests/media_player_hls_test.rs:47 — fn new_app_state() -> (AppState, [NamedTempFile; 2]) {. Like the three I named last time (stinger.rs, stinger_bench.rs, vision_mixer_input_format/mod.rs), folding it is the author's call and does not block. No issue owns a design decision here.
Tests & CI: run 38292466683 at 0591d91. Check (Linux), both Linux builds, WASM, API Contract and Static JS pass. macOS and Windows are skipping, and nothing here is platform-specific. Main has moved one commit since (b127864, docs only). I ran nothing locally.
Confidence: HIGH
…mon (#1083) #935 moved the hand-built test setup into common::state and common::manager. Five copies landed on main around it: the stinger harness, stinger_bench, media_player_hls_test, vision_mixer_input_format and one test in enum_property_read_test. They now use the shared helpers. common::state::with_media is new, for the stinger tests that keep media in their own dir. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Eyevinn#935 moved PipelineManager setup into common::manager and removed the imports the hand-built copies used, so the two new tests in vision_mixer_fx_test no longer compiled against main. They, and the start helper in vision_mixer_signals_test, now use common::manager::build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(vision mixer): report a shared-source take as morph, not fade The PiP-aware take path animates pads, not pictures. A source that appears in both the outgoing and incoming composition is treated as moving, so it slides and scales into its new box while only the sources exclusive to one side cross-fade. Taking a four-up to that same participant full frame therefore reads on air as a zoom, not a dissolve. The response reported "fade" for every non-cut take in this path, so a caller asking for a dissolve was told it got one. Report "morph" when any PGM pad moves. Behaviour is unchanged; only actual_transition_type is now accurate. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(vision mixer): expose per-input media age When an input stops delivering, the compositor repeats its last frame indefinitely. A participant whose connection drops therefore stays on air as a still picture, indistinguishable from one sitting motionless, and stays there after the ingest session is reaped. The program output cannot tell the two apart. Stamp each input's last buffer arrival on the dist compositor's sink pads and report the age in the vision mixer state as input_media_age_ms: tens of milliseconds for a live source, growing without bound for a frozen one, null for an input that has never delivered a frame. Stamping at the mixer's own pads covers every input type, not just WHIP seats, and measures exactly what decides the picture. These are per-buffer probes. The callback reads the monotonic clock and stores one relaxed atomic, with the overlay state captured as an Arc rather than looked up per buffer. The state is not a GStreamer object, so the closure forms no reference cycle with the pipeline. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * docs(vision mixer): describe morph reporting and the media-age field The frozen-seat figure is also sharper: the counter puts the last frame about a quarter of a second after the publisher dies, where frame capture alone could only bound it at two seconds. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * test(vision mixer): guard the activity probe wiring The accessor test stamps the state directly, so it passes whether or not the probes are attached to anything. This one runs a real compositor and asserts the age is stamped from its buffers, and fails if the probes are installed on the wrong pad names or not at all. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(vision mixer): report a punch-in take as morph A PiP-aware take animates the crop of a source present on both sides as well as its box. Taking a punch-in back to the plain source keeps the box full frame and eases the crop out, which reads on air as a zoom-out, but the classifier compared boxes only and reported "fade". Count a shared source whose crop differs between the two sides as a morph. The actual_transition_type description now names "morph" and says it is a report only, not an accepted request type. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * test(vision mixer): guard media age and morph reporting on a real mixer The existing unit tests exercise the classifier and the probe helper directly, so they still pass if the take response stops using the classifier or the mixer builder stops installing the probes. Both tests here build a CPU vision mixer flow through PipelineManager: one checks that a live, a stalled and an unlinked input read young, old and null, the other that a punch-in taken through trigger_transition reports "morph". Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * docs(vision mixer): read media age against the source's frame interval A source that only sends a frame when its picture changes, such as a web graphic on a static page, ages for seconds between frames while healthy. A fixed one-second rule would have an operator pull it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(vision mixer): report the effect for a master-FX take out of a PiP A glitch, flash or whip take out of a PiP runs through the PiP-aware path, which lays the full-frame envelope over the pad morph. The take reported the morph (before that, "fade"), so a control surface labelled an on-air glitch as a move. Report the effect when its envelope was applied, as the plain-input path already does. The guard renders through GL, so it runs on the macOS CI job, not Linux. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * test(vision mixer): give the PiP effect-take test its own block id Mixer state is registered per block id, and the other tests in vision_mixer_fx_test run in parallel under the shared id. Sharing it let either test replace the other's mixer state: the new test saw zero PiPs, or the letterbox wipe test failed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(vision mixer): refuse unknown transition names on the PiP take path The PiP-aware take ran a name it could not parse as a fade and reported it as one, where the plain-input path refuses it. "morph", which the take only reports, was accepted as a request this way. Both paths now return the same error, and the buses stay where they were. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * test(vision mixer): guard the media-age probes on the GPU builder The CPU test cannot see the GPU builder's install call. This one runs a real GPU mixer with a live, a stalled and an unlinked input, and fails if the GPU builder stops installing the probes. It renders through GL, so it runs on the macOS CI job and skips on Linux. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * docs(vision mixer): say media age measures arrival, not display An input whose timestamps jump backwards freezes on air for the length of the jump, because the mixer discards frames older than the one it holds, while its age still reads live. The guide and the field doc now say so. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(vision mixer): refuse a transition name before cancelling FTB A take cancelled fade-to-black and reset the FX slots before it parsed the transition name. A refused name then left the program black with FTB marked off, so the operator's next FTB press did nothing visible. The name is now checked once, first, for both the PiP and plain paths. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * test(vision mixer): wait for the stalled GPU input to age On the macOS CI runner frames queued past the valve kept reaching the mixer for about 1.4 s, so the fixed 2.5 s wait read the stalled input at 1.1 s. Poll for the 1.5 s gap, up to 10 s, instead. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(vision mixer page): stop calling a morph a downgrade A take between compositions that share a source reports morph. The page labelled every report that differed from the request as a downgrade, so an ordinary fade read as one. Name the move plainly instead. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(vision mixer page): flag a slide that ran as a morph Only a fade that morphed is an ordinary take between compositions that share a source. A slide, push or wipe that morphed did not run, and the page said "ran as a move" for those too. They now read as downgraded to morph. The note no longer repeats the server message it is appended to. The note is a pure function, tested from the page source. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(vision mixer page): say a morph moved or zoomed A punch-in taken to or from its plain source reports morph, but the box stays full frame and only the crop changes, so the audience sees a zoom. The note said the source slid into its new box. It now says it moved or zoomed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * docs(vision mixer): say every input ageing means an output stall The mixer takes in frames only as fast as it puts them out, so a stalled program consumer ages every input together. Say so in the guide and the field doc, so a dashboard does not read it as every source dropping out. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * test(vision mixer): adapt the take tests to per-flow state and indices Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * test: build the new mixer tests through common::manager #935 moved PipelineManager setup into common::manager and removed the imports the hand-built copies used, so the two new tests in vision_mixer_fx_test no longer compiled against main. They, and the start helper in vision_mixer_signals_test, now use common::manager::build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Per Enstedt <per.enstedt@eyevinn.se>
Opened by Claude (AI), on Peter Wagenet's account.
Follow-up to #912. Eight test files built an
AppStateon throwaway storage, and fifteen built aPipelineManager, each with its own copy of the setup. This moves both intobackend/tests/common:common::state::new()returns aTestState: anAppStateon aTempDirthat lives as long as the state and derefs to it.common::state::in_dir(dir, media)builds one on a given directory, for the restart test inblock_properties_persist_test.common::manager::build(flow)builds aPipelineManagerthe waystart_flowdoes.build_with(flow, events, media)is for the tests that subscribe to events or record to their own directory.Left alone:
port_pool_test, which keeps storage and media in oneTempDir.Behaviour change: the old
new_state()copies dropped theirNamedTempFiles on return, so storage recreated the files on write and nothing cleaned them up.TestStateremoves its directory on drop.manager::builddoes not calldetect_gpu_capabilities(); the tests that need it still call it themselves.Tests run (macOS,
--features efp,nvidia, on46c9d2c6beforecargo fmt, which changed only indentation)STROM_REQUIRE_GST_PLUGINS=1 STROM_REQUIRE_GL=1 cargo test --features efp,nvidia --no-fail-fast: 1144 passed, 1 failed, 6 ignored. The failure wasmedia_player_control_test::a_storm_of_jumps_and_pauses_never_hangs_the_player(a control call did not return after 302 of 3000), with the box at load average ~30 from other work. Run alone, interleaved with main's version of the file, it passed 4/4 on this branch and 4/4 on main. The change to that file only swaps how itsAppStateis built.build_withdropping the caller's broadcaster, or ignoring its media path, failsrecorder_test;in_dirignoring its directory failsblock_properties_persist_test. Those helpers have not changed since.cargo test --tests -- --list): the same 1151.cargo clippy --all-targets --features efp,nvidia -- -D warnings: clean.Not run: Linux and Windows locally; CI covers Linux.
Rebase onto main (2026-10-07)
vision_mixer_fx_testconflicted with the GLib main loop main added to the wipe test; the loop stays, the setup usescommon::manager::build.qos_probe_criticals_test,vision_mixer_fx_passthrough_test,vision_mixer_overlay_upload_test,vision_mixer_underlay_upload_test) had their ownPipelineManagersetup; folded in.vision_mixer_fx_testwithSTROM_REQUIRE_GST_PLUGINS=1 STROM_REQUIRE_GL=1, all passed;cargo clippy --all-targets --features efp,nvidia -- -D warningsclean. The full suite was not re-run.thumbnail_tap_cuda_test::thumbnail_on_a_cuda_memory_tee_downloads_first_and_keeps_the_stream_flowing("the main chain stopped after the thumbnail branch was attached"). This PR does not touch that test, its helpers, orbackend/src. Run 20 times locally at background QoS (taskpolicy -b), it failed once in a different test of the same file (no thumbnail arrived from the system-memory tee): a load-sensitive flake on main, not caused here.Rebase onto main (2026-10-09)
Rebased onto current main, and the stacked PR #936 no longer carries these commits.
TestStateis nowClone, sharing its temp dir through anArc. Without it,.clone()derefs toAppState::cloneand the directory is dropped at the end of the statement. Handlers that need an ownedAppStatetakeTestState::app(). This was in test: share the block install harness and bus readers #936 and is its own commit here (3640098b).vision_mixer_cpu_test.rsthat destructures the old(manager, registry_file)return ofbuild_cpu_manager. That helper now returns the manager only, so the call is updated; without this the branch does not compile against main.cargo test --workspace --no-runbuilt. The 23 integration test files this PR changes: 83 passed, 0 failed, 1 ignored (measure_idle_fx_slot_renders, already#[ignore]). Not run: the full suite (includingpipeline_lifecycle_testrun on its own), clippy beyond the pre-commit hook, Linux and Windows.Clonechange.🤖 Generated with Claude Code