Repository navigation
obs-missing-files: port the missing-file list (Refs #1459) - #1465
Merged
Merged
Conversation
Tier 1 mirrors test_missing_files.c against todo!() shims. obs_missing_files_create panics not yet implemented. Refs obs-rust#1459
The list, each file, its path, and a source name stay on bmalloc. The pointer array is the bmalloc darray. Tier 3 matches the C oracle. The C file moves into the ported unity group. No intentional differences. Refs obs-rust#1459
zackees
reviewed
Oct 20, 2026
zackees
left a comment
Member
There was a problem hiding this comment.
Coordinator review: RED (e81319a) → GREEN (43e6f14) present, C oracle differential parity in obs-c-oracle/missing_files, Tier 2 test_missing_files/test_missing_files_list unchanged and passing on both libobs builds, new unity group registered in source-sets.json. No user-visible change, so no ledger line needed. Looks good; it is in the merge queue.
This was referenced Oct 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.
Refs #1459. Characterization landed in #1460. This is the port.
What and why
obs_missing_files_*andobs_missing_file_*move intoobs-missing-files. The list, each file, the path, and a source name staybmalloc/bstrdup/bfree. The pointer array is thebmallocdarray, sobnum_allocsmatches the C file.add_filedoes not take a reference.appenddoes, and it re-reads the count, so appending a list to itself does not return.destroyfrees a file while its ref is still 1. A script or any other type stores the callback and does not call it.obs_source_get_nameandobs_source_replace_missing_filestay inobs-source.c.h.No intentional differences.
RED → GREEN
e81319a91.soldr cargo test -p obs-data --test obs-tests-core missing_filesreachedobs_missing_files_createand panickednot yet implemented. Theextern "C"shim then aborted.43e6f1409. The same filter passed 17 tests: the 13 Tier 1 cases, the enum pin, the scripted oracle comparison, the alloc balance, and the proptest.obs-rust-linux-validate. The GitHub runner is x86_64. Export sets match, 1766 symbols. OFF loads/build/tree/libobs/libobs.so.30. ON loads/build/tree/libobs-with-rust/libobs.so.30.test_missing_filesandtest_missing_files_listpassed in both. The same four cmocka failures showed up in both:test_group_empty_bounds,test_scene_dup_group_children,test_ws_batch_order,test_ws_current_scene_removed. ON also failedtest_vlc_playlist_gaponce (stop took 2.452 s; the limit is 0.5 s). A rerun of that one test againstlibobs-with-rustpassed in 26 s.ci/test_build_groups.py,ci/test_naming.py, the test-binary inventory, the platform ratchet, perf guards,soldr cargo fmt --all --check, workspace clippy-D warnings, dylint, andsoldr cargo test --workspace --locked. The aarch64-apple-darwin cross lane (clippy, dylint,test --no-run) passed.x86_64-pc-windows-gnuis refused by soldr 0.9.31 on macOS aarch64. The msvc cross dies inccwithstdio.hnot found.ci-lint local-gate runcannot finish here. Theci/self-test hits macOS bash 3.2,/private/var, a missingreadelf, and Apple clang, and that death comes before rustfmt. Those checks were run on their own. No stamp.Checklist
mastere81319a91, then GREEN43e6f1409