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-source-icon-type-getter.c.h to obs-source #4231
Phase 6 source API port, dependent on the behavior-neutral extraction in #4229 landing first. Port obs_source_get_icon_type from libobs/obs-source-icon-type-getter.c.h into obs-source without changing its public C API. Existing real-library test_source_u32_field in test/cmocka/test_module_register_copy_steps.c asserts UNKNOWN and CAMERA after source registration at field-size boundaries. Assess unknown IDs and all enum values before swapping; preserve the no-null-guarantee contract of get_source_info. Required workflow: RED then GREEN safe-core tests in obs-data obs-tests-core, a thin C ABI shim and real registry adapter with Rust-static link support, Tier 3 differential oracle and mutation check, unchanged Tier 2 hybrid/reference tests and symbol parity. No protocol behavior: Tier 4 is inapplicable. No claim for this follow-up; ready only after prerequisite lands.
Claiming: obs_source_get_icon_type Rust swap in pool slot obs-studio14 (im-bo-sw-4231), explicitly stacked on branch port/4229-source-icon-type-extraction at 27b86c4 by maintainer instruction. 1. Commit RED safe-core tests. 2. Implement the core, thin ABI shim, real registry adapter, differential oracle and link support. 3. Verify and push port/4231-source-icon-type in BRANCH-ONLY mode; no PR until the queue drains. First branch expected this session.
Progress: pushed branch port/4231-source-icon-type at 1a4f180, stacked on branch port/4229-source-icon-type-extraction at 27b86c4. Own range: 27b86c4..1a4f180. Separate RED/GREEN commits; four focused tests pass, 273 native-build tests pass, fmt check passes, full lint passes (281.4 s). No test-graph.json/native.rs, existing C test, public header or WebSocket edits. Tier 2 is still running; mutation verification will follow. BRANCH-ONLY: no PR opened; open PRs when the queue drains.
Verification update for port/4231-source-icon-type (head unchanged at 1a4f180): the deliberate +1 icon-result mutation was killed by the deterministic Rust-versus-C differential test (exit 101), and the exact GREEN source is restored. Full lint and 273 native-build tests passed. The local Tier 2 Docker run stalled after configure/build with no test or symbol-parity result; its client was stopped, so Tier 2 and dynamic-symbol parity remain for eventual PR CI. No PR opened. Final restored-source focused rerun is in progress.
Final branch-only handoff: restored-source focused rerun passes all four tests after the mutation was killed. Head remains 1a4f180 on port/4231-source-icon-type; own range is 27b86c4..1a4f180. Native-build tests (273), fmt and full lint passed. Test cost: 25 reduced runs, longest 0.0240 s, peak RSS 19,108 KiB, no test-owned threads. Tier 2 hybrid/reference and dynamic-symbol parity remain unverified locally because the Docker client stalled at configure/build and was stopped. NEEDS-HELP branch port/4231-source-icon-type stacked on branch port/4229-source-icon-type-extraction, open PRs when queue drains. No PR opened.
Activity
zackees commentedon Nov 9, 2026
Claiming: obs_source_get_icon_type Rust swap in pool slot obs-studio14 (im-bo-sw-4231), explicitly stacked on branch port/4229-source-icon-type-extraction at 27b86c4 by maintainer instruction. 1. Commit RED safe-core tests. 2. Implement the core, thin ABI shim, real registry adapter, differential oracle and link support. 3. Verify and push port/4231-source-icon-type in BRANCH-ONLY mode; no PR until the queue drains. First branch expected this session.
zackees commentedon Nov 9, 2026
Progress: pushed branch port/4231-source-icon-type at 1a4f180, stacked on branch port/4229-source-icon-type-extraction at 27b86c4. Own range: 27b86c4..1a4f180. Separate RED/GREEN commits; four focused tests pass, 273 native-build tests pass, fmt check passes, full lint passes (281.4 s). No test-graph.json/native.rs, existing C test, public header or WebSocket edits. Tier 2 is still running; mutation verification will follow. BRANCH-ONLY: no PR opened; open PRs when the queue drains.
zackees commentedon Nov 9, 2026
Verification update for port/4231-source-icon-type (head unchanged at 1a4f180): the deliberate +1 icon-result mutation was killed by the deterministic Rust-versus-C differential test (exit 101), and the exact GREEN source is restored. Full lint and 273 native-build tests passed. The local Tier 2 Docker run stalled after configure/build with no test or symbol-parity result; its client was stopped, so Tier 2 and dynamic-symbol parity remain for eventual PR CI. No PR opened. Final restored-source focused rerun is in progress.
zackees commentedon Nov 9, 2026
Final branch-only handoff: restored-source focused rerun passes all four tests after the mutation was killed. Head remains 1a4f180 on port/4231-source-icon-type; own range is 27b86c4..1a4f180. Native-build tests (273), fmt and full lint passed. Test cost: 25 reduced runs, longest 0.0240 s, peak RSS 19,108 KiB, no test-owned threads. Tier 2 hybrid/reference and dynamic-symbol parity remain unverified locally because the Docker client stalled at configure/build and was stopped. NEEDS-HELP branch port/4231-source-icon-type stacked on branch port/4229-source-icon-type-extraction, open PRs when queue drains. No PR opened.
libobs: Extract the source icon type getter
libobs: Extract the source icon type getter
libobs: Extract the source icon type getter (#4321)
test: Add RED source icon type core coverage (Refs #4231)
obs-source: Port source icon type lookup to Rust (Refs #4231)
test: Add RED source icon type core coverage (Refs #4231)
obs-source: Port source icon type lookup to Rust (Refs #4231)
test: Add RED source icon type core coverage (Refs #4231)
obs-source: Port source icon type lookup to Rust (Refs #4231)
obs-source: Port source icon type lookup to Rust (Refs obs-rust#4231) (…
zackees commentedon Nov 18, 2026
Landed on master in #4498 (24d24f4); verified the merge is an ancestor of origin/master and rust/obs-source/src/ffi/source_icon_type.rs exists there.