Skip to content

rust: Port obs-hotkeys-background-status-changed.c.h to obs-core #5303

Closed

Description

@zackees

Phase 6 Rust swap follow-up for obs_hotkeys_background_status_changed, after the C-only prerequisite #5301 merges. Preserve the C-owned core and signal handler boundary, including NULL core/no handler no-op and the exact hotkey_background_status_changed notification with NULL calldata.

Target crate: obs-core, with safe orchestration logic and a thin FFI boundary. Port every assertion from test_hotkeys_background_status_changed 1:1 to the existing core test binary, retain the immutable C fixture unchanged, add differential coverage against the extracted C oracle including handler replacement and reentry, verify symbol parity and all isolated Rust-static consumers. Tier 4 is not applicable. The C file must first be isolated and characterized by #5301, so implementation waits for that prerequisite. Do not change public headers or existing C tests.

Activity

  1. added
    port
    P2
    size:S
    on Nov 19, 2026
  2. rdoupe commented on Nov 20, 2026

    @rdoupe
    Collaborator

    Claiming: port obs_hotkeys_background_status_changed to obs-core

    The extraction from #5301 is on master (libobs/obs-hotkeys-background-status-changed.c.h, live in libobs.core+.h.c). Plan: RED Tier 1 and differential cases against a stub, then GREEN with the safe orchestration in obs-core behind a thin FFI entry, the unchanged C fixture wired to the Rust symbol plus the C reference, and the file moved to a ported group.

  3. github-actions commented on Nov 20, 2026

    @github-actions

    Claim bot: @rdoupe, this can't be claimed yet: it is blocked by 1 open issue(s) (see "Blocked by" on the issue); claim it once they close.

  4. rdoupe commented on Nov 20, 2026

    @rdoupe
    Collaborator

    Done in #5366 (merged 2026-11-20): obs_hotkeys_background_status_changed now runs through safe Rust in obs-core behind a private C adapter, C unit moved to its reference-only ported group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2portsize:S

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions