Skip to content

rust: Port obs-scene-group-enum.c.h to obs-scene after characterization prerequisite #4724

Closed

Description

@zackees

Phase 6 obs-scene follow-up, blocked until prerequisite #4723 lands: swap the isolated libobs/obs-scene-group-enum.c.h implementation of obs_sceneitem_group_enum_items to obs-scene Rust.

Preserve the exact NULL/non-group guard before any field-accessor call, absent context-data no-op, and one obs_scene_enum_items delegation with original callback/param. The existing obs_sceneitem_group_scene_flag and obs_sceneitem_group_scene_data seams expose the needed fields; no private static helper is required. Keep the complete scene enumerator and its snapshot/removal semantics in C.

Prerequisite #4723 adds C characterization for NULL, non-group, empty/absent scene, order, early stop, scene identity and opaque param passthrough (including NULL callback/param), tested before/after extraction against actual hybrid and C-reference libobs. Keep those tests unchanged in the swap. RED safe-core Tier 1 tests then GREEN; use the consolidated obs-tests-core category, original C Tier 3 oracle/differential tests with mutation evidence, unchanged Tier 2 on both libraries and dynamic export parity. Add any real-adapter static-consumer link support required by existing fixtures; no placeholder adapters/globals. Tier 4 is inapplicable.

The prerequisite contains no Rust implementation. This issue is deliberately unclaimed; pick up after #4723 merges. No edits to existing C tests, public headers, websocket or workflows.

Activity

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

    @zackees
    MemberAuthor

    Claiming: Rust swap of obs_sceneitem_group_enum_items on port/4724-scene-group-enum in obs-studio2 (swap-4724), stacked on test/scene-group-enum-extract at ad22c3f per maintainer assignment. 1. Add RED safe-core tests in obs-tests-core. 2. Reuse group-scene access and delegate to the existing scene enumerator; add original-C differential coverage. 3. Replay unchanged Tier 2 against both libraries, run Windows link check and full lint once, and publish branch-only in this session; no PR until the pool manager lands the prerequisite.

  3. moved this from In progress to Ready in obs-rust Multiviewon Nov 13, 2026
  4. rdoupe commented on Nov 16, 2026

    @rdoupe
    Collaborator

    @zackees are you still on this one? It was claimed on 2026-11-11, and port/4724-scene-group-enum carries both this swap and the extraction it needs (#4723) as four finished-looking commits, with no PR. If you've moved on, I can rebase the branch onto master, check it, and open the PR (or two) with your authorship kept; otherwise I'll leave it with you.

  5. zackees commented on Nov 17, 2026

    @zackees
    MemberAuthor

    @rdoupe, yes, please take this one; the pool won't touch it. The extraction prerequisite (#4723) is landing as #4982, so after it merges the branch only needs the Rust swap rebased onto master. Keep the original authorship as you proposed.

  6. rdoupe commented on Nov 18, 2026

    @rdoupe
    Collaborator

    Claiming: #4724, the Rust swap of obs_sceneitem_group_enum_items, as offered on 2026-11-17 now that the extraction (#4982) is on master.

    1. Rebase the swap commits from port/4724-scene-group-enum onto master, keeping the original authorship.
    2. Check RED (safe-core tests against the stub) and GREEN, Tier 3 parity with a mutation check, Tier 2 on both libraries.
    3. Open the PR with the evidence.
  7. moved this from Ready to In progress in obs-rust Multiviewon Nov 18, 2026
  8. rdoupe commented on Nov 18, 2026

    @rdoupe
    Collaborator

    Done: the Rust swap of obs_sceneitem_group_enum_items merged as #5051 (it said Refs, so this stayed open).

  9. moved this from In progress to Done in obs-rust Multiviewon Nov 18, 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