You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rust: Port the private video stop_requested helper to obs-core #4098
stop_requested in libobs/obs-video.c.h:885-896, targeting rust/obs-core after the C prerequisite lands.
Phase and position
Phase 6, one private video orchestration helper; native child of #444.
Dependencies and existing tests
No dedicated characterization exists. First land a C-only characterization and verbatim .c.h extraction in the existing unity group (testing-policy.md:189-216). Then RED Rust stub and GREEN safe core/FFI port with differential C oracle and unchanged Tier 2 coverage. Public headers, existing C tests, obs-audio and obs-websocket remain untouched.
Contract and acceptance
Empty mix list returns true.
Return true exactly when every output reports stopped.
Visit every mix in order, including after the first running output.
Hold mixes_mutex across the complete traversal and all output queries, release it before returning.
Preserve the existing atomic implementation inside video_output_stopped; no new placeholder globals or aborting link stubs.
No intended behavior difference; Tier 4 is inapplicable to this internal helper.
Claiming: stop_requested (#444), worker-pool port-video-helper in obs-studio3. 1. Characterize the C traversal, lock scope, empty list and all stop-state combinations; extract the helper verbatim into its own .c.h in the existing unity group. 2. Land the C-only prerequisite before the Rust swap as required by testing-policy.md. 3. RED then GREEN Rust core/FFI and C-oracle differential coverage. First C-only PR this session; if test graph registration changes, hold it for graph serialization per the pool assignment.
Blocked: waiting on the C-only prerequisite #4099 to land. It is ready, held for graph serialization per the worker-pool assignment; auto-merge is off. Characterization and verbatim extraction are pushed at 0c08e63. Final lint passes; generated graph compile/run passes GCC and Clang; the actual CTest target passes with C-reference and hybrid paths; libobs exports are identical (1767). The broad Tier 2 harness exceeded 900 s after zccache daemon failure and its automatic uncached recovery; full-suite success is not claimed. Rust RED/GREEN and oracle work remain pending because testing-policy.md requires this C prerequisite to land first.
Claiming: continuing worker-pool fix-4099 in obs-studio3. 1. Repair the unaccepted claim metadata on existing prerequisite PR #4099. 2. Fix its Windows characterization compilation failure without changing assertions or production behavior. 3. Validate, push, and retain the graph serialization hold. First fixup expected this session.
Releasing stop_requested temporarily to repair claim acceptance metadata; immediately reclaiming in this same assigned worker-pool session. Existing prerequisite branch: port/4098-video-stop-requested, PR #4099. The issue is assigned but the initial Claiming comment was never accepted; the claim bot ignores repeat claims by an existing assignee.
Claiming: stop_requested prerequisite PR #4099, continuing the assigned worker-pool fix-4099 in obs-studio3 after repairing the missing acceptance metadata. 1. Verify the MSVC max_align_t compilation failure and portable opaque identity token fix. 2. Run GCC and Clang characterization and final lint, push the rebased fixup. 3. Hold #4099 for graph serialization with auto-merge off. First fixup this session; Rust port remains a follow-up after this C prerequisite lands.
The extraction (#4099) closed this issue, but stop_requested in libobs/obs-video-stop-requested.c.h is still C on master (45dc048), and I can't find a Rust port branch for it. Are you still planning the Rust port here, the way #4408 and #4285 follow their extractions? If you've let it go, I'll open a fresh port issue for it and take it: RED Tier 1 mirrors of the characterization, a GREEN obs-core / video_stop_requested module behind a small mixes_mutex field adapter, then Tier 3 parity against the extracted C.
Taking over stale claim from @zackees for the Rust half of stop_requested. This issue is closed, so the port continues on its own issue, #4670, with the plan there: a C bridge in obs-video-stop-requested.c.h, a hidden obs_video_stop_requested in obs-core::video_stop_requested, the unchanged characterization run against the Rust as well, and Tier 3 parity against the extracted C.
Activity
zackees commentedon Nov 9, 2026
Claiming: stop_requested (#444), worker-pool port-video-helper in obs-studio3. 1. Characterize the C traversal, lock scope, empty list and all stop-state combinations; extract the helper verbatim into its own .c.h in the existing unity group. 2. Land the C-only prerequisite before the Rust swap as required by testing-policy.md. 3. RED then GREEN Rust core/FFI and C-oracle differential coverage. First C-only PR this session; if test graph registration changes, hold it for graph serialization per the pool assignment.
zackees commentedon Nov 9, 2026
Blocked: waiting on the C-only prerequisite #4099 to land. It is ready, held for graph serialization per the worker-pool assignment; auto-merge is off. Characterization and verbatim extraction are pushed at 0c08e63. Final lint passes; generated graph compile/run passes GCC and Clang; the actual CTest target passes with C-reference and hybrid paths; libobs exports are identical (1767). The broad Tier 2 harness exceeded 900 s after zccache daemon failure and its automatic uncached recovery; full-suite success is not claimed. Rust RED/GREEN and oracle work remain pending because testing-policy.md requires this C prerequisite to land first.
zackees commentedon Nov 9, 2026
Claiming: continuing worker-pool fix-4099 in obs-studio3. 1. Repair the unaccepted claim metadata on existing prerequisite PR #4099. 2. Fix its Windows characterization compilation failure without changing assertions or production behavior. 3. Validate, push, and retain the graph serialization hold. First fixup expected this session.
zackees commentedon Nov 9, 2026
Releasing stop_requested temporarily to repair claim acceptance metadata; immediately reclaiming in this same assigned worker-pool session. Existing prerequisite branch: port/4098-video-stop-requested, PR #4099. The issue is assigned but the initial Claiming comment was never accepted; the claim bot ignores repeat claims by an existing assignee.
zackees commentedon Nov 9, 2026
Claiming: stop_requested prerequisite PR #4099, continuing the assigned worker-pool fix-4099 in obs-studio3 after repairing the missing acceptance metadata. 1. Verify the MSVC max_align_t compilation failure and portable opaque identity token fix. 2. Run GCC and Clang characterization and final lint, push the rebased fixup. 3. Hold #4099 for graph serialization with auto-merge off. First fixup this session; Rust port remains a follow-up after this C prerequisite lands.
test(libobs): characterize and extract video stop traversal (#4098)
libobs: characterize and extract the video stop traversal (obs-rust#4099
rdoupe commentedon Nov 10, 2026
The extraction (#4099) closed this issue, but
stop_requestedinlibobs/obs-video-stop-requested.c.his still C on master (45dc048), and I can't find a Rust port branch for it. Are you still planning the Rust port here, the way #4408 and #4285 follow their extractions? If you've let it go, I'll open a fresh port issue for it and take it: RED Tier 1 mirrors of the characterization, a GREENobs-core/video_stop_requestedmodule behind a smallmixes_mutexfield adapter, then Tier 3 parity against the extracted C.rdoupe commentedon Nov 11, 2026
Taking over stale claim from @zackees for the Rust half of
stop_requested. This issue is closed, so the port continues on its own issue, #4670, with the plan there: a C bridge inobs-video-stop-requested.c.h, a hiddenobs_video_stop_requestedinobs-core::video_stop_requested, the unchanged characterization run against the Rust as well, and Tier 3 parity against the extracted C.