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 hotkey background shortcut control to obs-hotkey after extraction #4313
Phase 6 follow-up to #4312. Do not begin the Rust replacement until the behavior-neutral extraction lands. Its branch is port/4312-hotkey-background-control-extract (branch-only, no PR yet).
Port libobs/obs-hotkey-background-control.c.h to obs-hotkey: wake_background_client, obs_hotkeys_retry_background, obs_hotkeys_configure_background and obs_hotkeys_set_background_probe. Preserve null-core early returns, mutex ownership, callback invocation before unlocking, repeated retry/configure wakeups, CONFIGURE_FAILED flag clearing, probe no-op behavior and cancellation of configure when disabling the probe.
Existing characterization: test/cmocka/test_portal_shortcuts.c (unchanged). Add Tier 1 safe-core assertions in the existing obs-tests-core category binary, a renamed original-C oracle and randomized Tier 3 state/callback parity with a mutation check. Keep every applicable Tier 2 fixture (including isolated hotkey and portal consumers) linking the real implementation, and verify hybrid/reference symbols. No Tier 4 network API changes. Public headers and the C++ websocket plugin remain unchanged. Reuse the private lock seam and put host specifics only at the platform/FFI boundary.
Claiming: hotkey background shortcut control on port/4313-hotkey-background-control, stacked on port/4312-hotkey-background-control-extract at c31e2c9 (maintainer-directed branch-only work). 1. Verify/add direct C characterization. 2. Commit RED safe-core tests, then GREEN Rust core/FFI and original-C differential parity. 3. Run focused validation and lint, push branch only; no PR until the queue drains.
Claiming: resume the held hotkey background shortcut swap on port/4313-hotkey-background-control-land after #4931 merged. 1. Cherry-pick only the swap characterization, RED and GREEN commits onto current master, preserving concurrent hotkey work. 2. Re-verify RED, focused Rust and differential tests, focused Tier 2 against both libraries, and lint. 3. Publish the landing PR and arm auto-merge pinned to its verified head in this session.
Landed in #4959 (merge d0be0cd). Background retry, configure and probe control are implemented in obs-hotkey Rust (rust/obs-hotkey/src/ffi/background_control.rs) with the static wake helper in the safe core, plus Tier 1 and differential tests and the hotkey-background-control source set. Closing.
Activity
zackees commentedon Nov 9, 2026
Claiming: hotkey background shortcut control on port/4313-hotkey-background-control, stacked on port/4312-hotkey-background-control-extract at c31e2c9 (maintainer-directed branch-only work). 1. Verify/add direct C characterization. 2. Commit RED safe-core tests, then GREEN Rust core/FFI and original-C differential parity. 3. Run focused validation and lint, push branch only; no PR until the queue drains.
libobs: Extract hotkey background shortcut control
zackees commentedon Nov 17, 2026
Claiming: resume the held hotkey background shortcut swap on port/4313-hotkey-background-control-land after #4931 merged. 1. Cherry-pick only the swap characterization, RED and GREEN commits onto current master, preserving concurrent hotkey work. 2. Re-verify RED, focused Rust and differential tests, focused Tier 2 against both libraries, and lint. 3. Publish the landing PR and arm auto-merge pinned to its verified head in this session.
zackees commentedon Nov 17, 2026
Landed in #4959 (merge d0be0cd). Background retry, configure and probe control are implemented in obs-hotkey Rust (rust/obs-hotkey/src/ffi/background_control.rs) with the static wake helper in the safe core, plus Tier 1 and differential tests and the hotkey-background-control source set. Closing.
libobs: Extract hotkey background shortcut control (obs-rust#4931)
obs-hotkey: Port background shortcut control to Rust (obs-rust#4313) (o…