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 obs-service context, state and handler accessors to obs-output #3840
Phase 6 follow-up inventory from #3837 after #1904/#1916/#1923. Remaining libobs/obs-service.c.h units: context_new/insert/remove/free; set_info/set_plugin_data; set_destroy/is_destroying/is_active/set_active/has_output/clear_output/detach_from_output/get_control; get_signal_handler/get_proc_handler; get_info_table/get_plugin_data/get_context_name/get_context_settings. Split into individually reviewable coherent ports as needed. Existing getter/settings/lifecycle C tests characterize public callers; characterize missing hidden behavior first in a C-only commit. Extract each unit verbatim before Tier 1 RED/GREEN, real-header layout and Tier 3 differential/mutation tests, then unchanged Tier 2 on hybrid/reference and identical exported symbols. Preserve private layouts visible to C callers; no public-header or existing C-test edits. Existing hidden signal/procedure getters validate NULL and log under their own function names. No protocol change; no obs-websocket modifications. Module lookup is #3839, weak release/allocation #3838, weak acquisition #3837.
Claiming: obs-service state accessor slice, per pool assignment (obs-studio3).
Characterize set_destroy/is_destroying/is_active/set_active/has_output/clear_output/detach_from_output/get_control in new C-only tests, then extract the C bodies verbatim.
Port this slice to obs-output with Tier 1 RED/GREEN, real-header layouts, Tier 3 differential and mutation coverage.
Blocked: state-accessor slice is implemented and pushed in draft PR #3850 at cc7ae60, rebased onto #3842. Final verification passed: 46 service Rust tests, focused unchanged C lifecycle/getter/settings tests 23/23 per library plus C-only state characterization, identical 1767 exports, mutation killed. A clud command guard refused the final PR-description update, misclassifying quoted lint evidence as a workspace-wide lint execution. Per the pool no-workaround rule, I have not retried or enabled auto-merge. Manager needs to finalize the PR body and queue it. Full evidence is in the pool response file; other #3840 groups remain untouched.
Swap to obs-output in a follow-up PR: Tier 1 RED then GREEN, guarded real field adapter, real-header layout, Tier 3 differential and mutation evidence, unchanged Tier 2 on hybrid and C reference.
The context lifecycle accessors (context_new/insert/remove/free) stay unclaimed.
Step 2 of my claim is up: the info-table and plugin-data accessor swap to safe Rust is in #5379 (RED 0dd0a09, GREEN 42419a6; Tier 2 passes on hybrid and the C reference, twin included).
Done. Every unit in this inventory is now Rust in obs-output except two kinds of C that stay:
obs_service_context_new/insert/remove/free and obs_service_module_roots in libobs/obs-service.c.h. These are the steps the Rust service module (rust/obs-output/src/ffi/service.rs) calls to set up, link and free the C struct obs_service context and to read obs->first_module. Like the other *-fields/adapter files, they stay C with the struct and the core global, which Rust cannot reach.
Activity
zackees commentedon Nov 7, 2026
Claiming: obs-service state accessor slice, per pool assignment (obs-studio3).
refactor: extract service state accessors verbatim (#3840)
refactor: expose private service state field view (#3840)
test: RED service state accessor Rust core (#3840)
feat: GREEN port service state accessors to obs-output (#3840)
test: characterize hidden service state accessors (#3840)
refactor: extract service state accessors verbatim (#3840)
refactor: expose private service state field view (#3840)
test: RED service state accessor Rust core (#3840)
feat: GREEN port service state accessors to obs-output (#3840)
zackees commentedon Nov 7, 2026
Blocked: state-accessor slice is implemented and pushed in draft PR #3850 at cc7ae60, rebased onto #3842. Final verification passed: 46 service Rust tests, focused unchanged C lifecycle/getter/settings tests 23/23 per library plus C-only state characterization, identical 1767 exports, mutation killed. A clud command guard refused the final PR-description update, misclassifying quoted lint evidence as a workspace-wide lint execution. Per the pool no-workaround rule, I have not retried or enabled auto-merge. Manager needs to finalize the PR body and queue it. Full evidence is in the pool response file; other #3840 groups remain untouched.
obs-output: Port service state accessors (obs-rust#3840) (obs-rust#3850)
9 remaining items
rdoupe commentedon Nov 20, 2026
Claiming: obs-service info-table and plugin-data accessors (obs_service_set_info, obs_service_get_info_table, obs_service_set_plugin_data, obs_service_get_plugin_data).
The context lifecycle accessors (context_new/insert/remove/free) stay unclaimed.
test: link the service info accessors into Rust-static fixtures (Refs #…
rdoupe commentedon Nov 21, 2026
Step 2 of my claim is up: the info-table and plugin-data accessor swap to safe Rust is in #5379 (RED 0dd0a09, GREEN 42419a6; Tier 2 passes on hybrid and the C reference, twin included).
libobs: extract hidden service info-table and plugin-data accessors (…
libobs: extract and characterize service handler getters (Refs obs-ru…
obs-output: swap service info-table and plugin-data accessors to safe…
rdoupe commentedon Nov 23, 2026
Done. Every unit in this inventory is now Rust in obs-output except two kinds of C that stay:
obs_service_context_new/insert/remove/freeandobs_service_module_rootsinlibobs/obs-service.c.h. These are the steps the Rust service module (rust/obs-output/src/ffi/service.rs) calls to set up, link and free the Cstruct obs_servicecontext and to readobs->first_module. Like the other*-fields/adapter files, they stay C with the struct and the core global, which Rust cannot reach.libobs/obs-service-find.c.h, which is rust: Port libobs/obs-service-find.c.h to obs-output #5273 (PR obs-output: port hidden service registry lookup to Rust (Refs #5273) #5280).Last swap: #5379. Closing.