Repository navigation
libobs: Characterize and extract owned hotkey translations - #4387
Merged
Merged
Conversation
zackees
enabled auto-merge
November 9, 2026 14:40
zackees
force-pushed
the
test/4372-hotkey-owned-translations-extract
branch
from
November 9, 2026 20:26
b66466b to
9cb501f
Compare
Refs #4372. Pin all eight descriptions, replacement, copied caller buffers, existing registrations, NULL and empty audio values, scene formatting and group isolation through the public API. The three cases pass against hybrid and C reference libobs before extraction.
zackees
force-pushed
the
test/4372-hotkey-owned-translations-extract
branch
from
November 9, 2026 20:43
9cb501f to
543d0f4
Compare
chriscoveries
pushed a commit
to chriscoveries/obsrust-fork
that referenced
this pull request
Nov 9, 2026
* ci: fix master self-tests broken by unchecked merges obs-rust#4387 re-added obs-hotkey-update-atomic.c.h to libobs.core+ after obs-rust#4220 moved it to its ported group, so the C body was compiled twice (test_build_groups, test_ported_sources, test_conversion_measure). obs-rust#4136 gave ci/hooks/pre_commit_fmt.py a bare python3 shebang (test_uv_run). Both landed through admin merges without CI on 2026-11-09. * libobs: clang-format two files from unchecked merges
chriscoveries
pushed a commit
to chriscoveries/obsrust-fork
that referenced
this pull request
Nov 10, 2026
…st#4450) * test(mcp): RED typed tool schema and structured result contract (obs-rust#4445) * feat(mcp): typed tools, structured domain errors and schema snapshot (obs-rust#4445) * docs(mcp): format generated schema by tool for review (obs-rust#4445) * fix(mcp): preserve readiness errors and accurate operation hints (obs-rust#4445) * fix(mcp): retain legacy JSON text ordering and output descriptions (obs-rust#4445) * ci: fix master self-tests broken by unchecked merges (obs-rust#4453) * ci: fix master self-tests broken by unchecked merges obs-rust#4387 re-added obs-hotkey-update-atomic.c.h to libobs.core+ after obs-rust#4220 moved it to its ported group, so the C body was compiled twice (test_build_groups, test_ported_sources, test_conversion_measure). obs-rust#4136 gave ci/hooks/pre_commit_fmt.py a bare python3 shebang (test_uv_run). Both landed through admin merges without CI on 2026-11-09. * libobs: clang-format two files from unchecked merges * test(mcp): RED typed tool schema and structured result contract (obs-rust#4445) * feat(mcp): typed tools, structured domain errors and schema snapshot (obs-rust#4445) * docs(mcp): format generated schema by tool for review (obs-rust#4445) * fix(mcp): preserve readiness errors and accurate operation hints (obs-rust#4445) * fix(mcp): retain legacy JSON text ordering and output descriptions (obs-rust#4445)
chriscoveries
pushed a commit
to chriscoveries/obsrust-fork
that referenced
this pull request
Nov 10, 2026
…obs-rust#4463) The first rebase of obs-rust#4214 kept obs-source-settings-getter.c.h in the core-source unity group although the port deletes it there (moving it to its ported group), so the C compiled twice; obs-rust#4387's forced merge broke master the same way. The prompt now says deletions stay deleted, and check_resolution refuses a file that keeps a line the PR removed and master did not add.
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Characterize
obs_hotkeys_set_audio_hotkeys_translationsandobs_hotkeys_set_sceneitem_hotkeys_translations, then move both bodies and their localSET_Tmacros verbatim fromobs-hotkey.c.hintoobs-hotkey-owned-translations.c.h, registered in sorted core unity order. The distinct filename is necessary becauseobs-hotkey-translations.c.halready holds the ported key-name translations and is excluded from hybrid libobs. All eight ownedbfree/bstrdupslot updates remain unchanged.The new three-case public C suite pins all six audio descriptions and both scene-item descriptions, copied caller buffers, replacement, existing audio registrations, NULL versus empty audio values, scene-name substitution and isolation between the two groups. Scene fixtures are removed from their canvas, and nested destruction tasks are drained before shutdown. Public headers, existing C tests, Rust sources, test-graph.json and native.rs are unchanged.
Characterization commit:
40379d5ab. Behavior-neutral extraction commit:b66466b00. This is the testing policy's prerequisite PR; the Rust swap and its RED/GREEN, Tier 1 and differential coverage are tracked separately in #4378 and wait for this prerequisite to land. Refs #4372.Validation: all three characterization cases passed against both C-reference and hybrid libobs before extraction (0.21 s reference, 0.13 s hybrid) and after extraction (0.10 s each). The focused Docker runs used this slot's existing Tier 2 volume under Xvfb, with
lddconfirming the loaded library; exported dynamic symbol name sets matched before and after. Both extracted function bodies and local macros were checked byte-for-byte. Rust formatting passed using matching soldr evidence, full lint passed in 134.9 s, and the single-reviewer local clud-review found no substantive issues. No new Rust test executable or graph serialization hold.The full local Tier 2 suite, native Windows/macOS runs and sanitizers were not run; PR CI remains the merge gate. Tier 4 does not apply. The single claim comment remains pending in the claim-bot backlog, with no refusal or conflicting claim found.