Repository navigation
libobs: characterize and extract obs_apply_private_data (Refs #5328) - #5334
Merged
Merged
Conversation
Ci-Attestation: {"at":1795142510,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":248,"stamp":"17f900a02994932518759a2c63edf64c","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142510,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":248,"stamp":"ccf5bfcc792a3010c9db593d0acba8a7","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142510,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":248,"stamp":"a78bf24fc992f136bd908b81e6c12e4b","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142510,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":248,"stamp":"1ab4dc1f4b42d71dc0cbc29c92bcf251","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142255,"gate":"general/all/client-lint","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"2c011209f92517f3e11d203321428595","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142510,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":248,"stamp":"2bb3b71fd3946dd175968f9acccccd35","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142257,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"da683494dbd3b6a6f3a14870d8f52ec4","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142257,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"c030c1ce0c1fea15c89561fd670508d8","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142256,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"1e2ad432b207b9bb7fb3bfdf37c29b14","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142256,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"f0b9d18f57a3a5905ca917e02b129f8f","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142255,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"ade8fde4a55d694130132d0f6e3e5263","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142256,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"51ccc901a27523c84e2f0f2d590e5160","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142256,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"36a2bdafccb3d9cc36a57ce50983820b","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142256,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"9bda67719837f3bf3389e5328b124a19","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142256,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"b8b2292b87b3013ccaef14e138719e34","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142256,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"f951b429d409f763b3aeb1abf7f23fe2","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142255,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"95e3d9cce1539f2d4a8fc4cc26381384","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795142255,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"df3cefd371b6dafa51f0a3efadf5af28bfd82ce738f8c5e0683310f6d6d0b4c5","lane":"client-lint","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":140,"stamp":"1ff0166638cec5e823b2df6ae3d98970","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Ci-Attestation: {"at":1795144024,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"038581e9f2da04d75bcbd198d164014cdef65ffc119bba2197978c0368af76f3","lane":"client-test-x86_64-unknown-linux-gnu","parents":["168d102e5cf709ca2c6d5e780f4487dbc7dcadab"],"secs":1505,"stamp":"c911a60e0f1af7207cc3dea92f2d3ba1","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce","v":1,"via":"run"}
Client-Checks: {"checks":{"base":"168d102e5cf709ca2c6d5e780f4487dbc7dcadab","coverage":"all-tracked-applicable-files","diff":["test/cmocka/test_apply_private_data.c"],"head":"6dfcf1b43f09f473762f52367cbe4b02f104c43d","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504\n compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"9fabe23ba0c762e13ee5bb3f175f6a5e731bf37f61b1e0ba99647e1ab755ae77","tree":"1c8705c3b9ba573ac2cd4379c92af5d152667bce"}}
zackees
marked this pull request as draft
November 20, 2026 03:08
Ci-Attestation: {"at":1795145005,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":412,"stamp":"6de07b09c1abd06cf67f8971416d035e","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795145005,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":412,"stamp":"33e70e0d0786e97ba3282e304f090115","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795145005,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":412,"stamp":"58f6564b14f187d3ffbd881f05fb632f","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795145005,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":412,"stamp":"aa1e84075f150e13b23af503d4435262","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144583,"gate":"general/all/client-lint","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"457c1eacbd89d5ce685e0db686b3ab0f","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795145005,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":412,"stamp":"e3f5955a42f950e9e8f16da82c0964d6","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144588,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"3d93d4b6171e6ad7c705538badff01a9","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144589,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"f973d85f15359f0c867d95c78121a952","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144587,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"047138adbcc3934ae53fca382e7e08e2","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144587,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"dff91019aacb539d500c88d479deec21","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144584,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"9a7622e2bd5d81a6e958188abc6597d6","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144585,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"51d555152124d0c9c5815ebe7e699443","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144587,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"4599b52b0733d2a98bec789d152f7c50","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144588,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"ab987d6439f9ab7db1ba18776a25b702","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144585,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"13abce313faa3b9a304ae940d60807ea","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144586,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"4e14a2c39f956f3fc01716901fbd6ac7","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144583,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"f2b08c9d9f0b0a660f4964dcef2d423c","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
Ci-Attestation: {"at":1795144584,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"9c53b7609d3d3f29cedea09d0d365cffbd623e33936dd6a18247514f6d3c822d","lane":"client-lint","parents":["856d4b62b6c95451974984329580444053e65b41"],"secs":64,"stamp":"b6747035f52338ab8aaf976b6247072c","tree":"d34ceab396827ea4e9308bf1790b8098b638ddbf","v":1,"via":"run"}
zackees
marked this pull request as ready for review
November 20, 2026 03:55
zackees
enabled auto-merge
November 20, 2026 03:55
This was referenced Nov 20, 2026
This was referenced Nov 20, 2026
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.
Adds focused C characterization of
obs_apply_private_data, then extracts its seven-line body verbatim fromlibobs/obs.c.hintolibobs/obs-apply-private-data.c.h. The new implementation joins the core unity group alphabetically. The public-API cmocka target and CTest entry follow the existing private-data registration in the canonical test graph, with its tests.d marker. No link-support file is added.Refs #5328. This is the C-only prerequisite; the separate Rust swap is tracked in #5330. The five cases pin NULL before startup, application into empty storage, stable storage identity and partial merge into existing values, NULL/empty input, caller independence, and retained values after shutdown. Existing C tests and public headers are unchanged. New test code has no implicit narrowing conversions; read-only review checked MSVC /W4 portability.
RED commit
856d4b62b6c95451974984329580444053e65b41adds the unregistered characterization. A real Tier 2 CMake configure succeeded, then Ninja failed withunknown target 'test_apply_private_data'. GREEN registers it and extracts the wrapper. A byte-for-byte comparison with the original body passed.Focused Linux Tier 2 built hybrid libobs, libobs-c-reference, the new test and unchanged
test_core_private_data. Each test passed 25 repetitions against each implementation: 100 CTest executions, including 250 new characterization case executions. Library resolution was checked explicitly in both modes. Export sets are identical at 1,769 symbols. The single full./lintpassed in 355.3 seconds;git diff --checkand the one-agent read-onlyclud-reviewpassed.There is no Rust behavior replacement or protocol change in this prerequisite. Tier 1/3 implementation parity belongs to #5330; Tier 4 does not apply. Native Windows/macOS execution and the complete Tier 2 suite were not run locally. PR and merge-queue policy retain their required checks.
Final publication: head
6ee7aa1688d219727994f5d9dab4cdabcca25048was pushed through./push. Client lint, all six Clippy/Dylint pairs, self-tests and data validators produced 18Ci-Attestationtrailers, but complete client-test proof was not produced. The reduced-profile broad run passed 9,262 tests and timed out two unchanged cases at 30 seconds:source::deinterlace_pacing_parity::buffered_walk_sequencesandtests::platform::pipe_parity::process::dead_pipe_write_survives_concurrent_spawns. The earlier RED full-profile run passed all 9,264 tests plus the 920-test feature configuration. An isolated rerun of those two cases did not reach execution: Soldr reported SIGKILL (-137) while compilingobs-tests-core, after a compiler-reply stall. This does not establish isolated passes. Ordinary PR CI remains required; the failed client-test lane was not attested. No unrelated Rust tests or tooling were changed.