Skip to content

test: Extract and characterize hotkey background status notification #5301

Closed

Description

@zackees

C-only Phase 6 prerequisite for obs_hotkeys_background_status_changed in libobs/obs-hotkey.c.h:472-476, following merged #5287. This function is still embedded in the hotkey monolith and has no focused C characterization. The Rust swap must follow the separate characterization/extraction required by the testing policy.

Move the body verbatim into libobs/obs-hotkeys-background-status-changed.c.h, retaining the existing C-owned core. Characterize absent core, absent signal handler, exact destination/name/NULL payload, repeated calls, handler replacement and synchronous callback reentry with recording hooks, using #5287's included-source / future external seam style. Update the alphabetical core unity group, canonical test graph, tests.d pointer, every affected isolated hotkey consumer and expected inventory; no public headers or existing C tests change.

Acceptance: RED commit requiring the extracted include, then GREEN extraction; focused characterization against both libraries, native_build:: registration contracts, full ./lint once. No new workflow, WebSocket or held link-support edits. Rust Tier 1 and differential coverage belong to a separately filed follow-up; network Tier 4 does not apply. No user-visible behavior change.

Collision screening: all 17 open PR diffs were screened for the symbol and obs-hotkey.c.h hunks (oversized #4655 checked via a fetched local ref); no overlap. A sibling pool worker may extract obs_get_hotkey_translation later in the same monolith; this extraction does not touch that function. No existing issue found for this symbol. Lane A, priority P2, size:S.

Activity

  1. added
    port
    ready
    P2
    size:S
    on Nov 19, 2026
  2. zackees commented on Nov 19, 2026

    @zackees
    MemberAuthor

    Claiming: hotkey background status notification prerequisite in pool slot obs-studio8, branch test/5301-hotkey-background-status.

    1. Characterize the original C guards, exact signal call, handler replacement and reentry, following libobs: characterize and extract hotkey combination background id (Refs #5275) #5287.
    2. Commit RED for the missing extraction seam, then move the body verbatim and reconcile its unity group and every isolated consumer inventory.
    3. Run focused Tier 2 and native registration checks, one full ./lint, publish through ./push and file the Rust swap follow-up. First PR expected this session.
  3. rdoupe commented on Nov 20, 2026

    @rdoupe
    Collaborator

    Done in #5305: the notification is characterized and extracted; its Rust swap (#5303) has since merged in #5366.

  4. moved this from In progress to Done in obs-rust Multiviewon Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2portreadysize:S

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions