Skip to content

libobs: Extract source name setter without behavior changes (Refs #4630) - #4643

Merged
zackees merged 2 commits into
masterfrom
test/4630-source-set-name
Nov 11, 2026
Merged

zackees merged 2 commits into
masterfrom
test/4630-source-set-name

Conversation

@zackees

@zackees zackees commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Refs #4630.

Characterize source rename ordering against actual libobs, then extract obs_source_set_name into its own C unity member. The setter body is preserved byte-for-byte after the file-local canvas predicate call rename; the standalone predicate has the exact original flag expression. Public/private/canvas dispatch, name publication, previous/new payloads and signal order remain unchanged.

This is the C-only prerequisite. No Rust replacement, existing C test, public header, WebSocket plugin, workflow or shared native test graph changes. The graph is explicitly a subset (docs/rust-port/cc-build.md:862-867). No user-visible behavior changes.

Commits: characterization 6f624eda3, then behavior-neutral extraction e5ab2d1f3 (pre-attestation 7411ba352). Both range-diff identically to the independently reviewed preparation commits after rebasing onto 33a851b5d. Characterization passed the original body before extraction in preparation; a failing Rust RED commit belongs to the later swap.

Validation after rebase:

  • Actual-library GCC build with C-reference and hybrid enabled: each passes test_source_set_name 5/5, test_context_names 15/15 and test_canvas_rules_callers 9/9, all three CTest entries, no skips (exit 0).
  • Dynamic export parity: identical 1,767-symbol sets (exit 0).
  • Standalone GCC and Clang syntax replay with production flags (Clang excludes two GCC-only warning options): exit 0.
  • Registration/build-group/ported-source/cmocka include/Windows diagnostic policy tests: 25 passing (exit 0).
  • Full ./lint exactly once with SOLDR_PORCELAIN=0, 1200s deadline: exit 0, lane lint ok (74.4s). Soldr reused content-keyed passing Rust verdicts.
  • Normalized setter body and predicate parity, sibling unity preservation, range-diff and whitespace checks: pass.

The mandatory ./push also completed prooft attestation for Rust fmt, Clippy and Dylint (exit 0); only commit-message attestation trailers changed the extraction commit.

Retained landing evidence: local-test-YR0aRo.log, local-test-0eQnp0.log and local-test-OtKrZs.log under the local test-report artifact directory.

Native Windows/macOS runtime, full Tier 2, Rust Tier 1/3, sanitizer and hosted checks remain unverified locally. Tier 4 does not apply to this C-only behavior-neutral prerequisite.

Ci-Attestation: {"at":1794364030,"gate":"rust/all/fmt","host":"linux-x86_64","key":"","lane":"lint","parents":["6f624eda30bf70b159ebca1548e48ed4c45e48cc"],"secs":305,"stamp":"79c16051c601ac98296889cb44efcdb4","tree":"543657097e14d8e6595d236f13b01597de2c6002","v":1,"via":"run"}
Ci-Attestation: {"at":1794364030,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["6f624eda30bf70b159ebca1548e48ed4c45e48cc"],"secs":305,"stamp":"9260720600f77c37f3b2645630af1fcc","tree":"543657097e14d8e6595d236f13b01597de2c6002","v":1,"via":"run"}
Ci-Attestation: {"at":1794364030,"gate":"rust/x86_64-unknown-linux-gnu/dylint","host":"linux-x86_64","key":"","lane":"dylint","parents":["6f624eda30bf70b159ebca1548e48ed4c45e48cc"],"secs":305,"stamp":"f0139dfceb206cb23e0df92a3e13089e","tree":"543657097e14d8e6595d236f13b01597de2c6002","v":1,"via":"run"}
@zackees
zackees added this pull request to the merge queue Nov 11, 2026
Merged via the queue into master with commit 8c8ac54 Nov 11, 2026
41 checks passed
@zackees
zackees deleted the test/4630-source-set-name branch November 11, 2026 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant