Repository navigation
obs-scene: Port the scene item ID getter (#3865) - #3869
Conversation
6bd748c to
93935f7
Compare
|
Handed off to the coordinator/chaperone. Auto-merge is enabled for verified head 93935f7. All six new tests pass after rebasing onto d5428c9; range-diff preserved all five patches and merge-tree succeeds. Focused Tier 2 passes both actual libraries with identical 1,767 exports. Local lint only stops at the documented soldr Dylint-driver refusal under clud; earlier steps passed, so hosted Fast Gate must provide Dylint. #3859 has not landed yet: rebase onto master once it does, preserving both accessor modules/README entries and disjoint native graph entries; sort the graph and update its exact inventory count if needed. The worker slot is being returned clean and detached. |
93935f7 to
63332ff
Compare
|
Rebased our pool PR after #3859: replaced 93935f7 with verified remote head 63332ff using the pinned force-with-lease. Range-diff preserves all five commits; only the README conflict resolution differs. Both getter descriptions are combined with every fact retained; no port behavior changed. Native graph merged cleanly. Validation: owning Core category Auto-merge confirmed on the new head. Handed off to the existing chaperone/coordinator. README collision evidence: these siblings appended distinct prose records at the same EOF location (old lines 353), rather than editing the same table row. |
63332ff to
16c9dac
Compare
|
Rebased pool head 63332ff onto current master 19da800; exact force-with-lease pushed and remote head verified as 16c9dac. Range-diff preserves all five patches with only the SDK-enabled native inventory assertion addition (425); no README or port behavior changes. Native inventory (3), graph ordering (2), graph slices (1), port metadata (5), build groups (10), diff-check and all 111 scene::item_ Rust tests pass, including all six ID tests. Series SOLDR_PORCELAIN=0 ./lint passed on #3870 (exit 0; matching passing Dylint verdict reused). Full Tier 2/native platform suites were not repeated. Head-pinned auto-merge confirmed; existing chaperone retains the handoff. |
16c9dac to
d5eed18
Compare
|
Hosted macOS and Windows Rust failures were stale exact one-source registration assertions after the preceding scene logging link support was added. Repair 5cb74f9 pins exact ordered source lists for the two affected targets without weakening any dependency assertions. Seven native registrations and all six item-ID tests pass; inventory, graph ordering and metadata pass. SOLDR_PORCELAIN=0 ./lint passed all earlier lanes and stopped only at the documented soldr Dylint-driver refusal (final three log lines checked); hosted Fast Gate supplies Dylint. Full evidence and artifacts are in the body. Pushed with explicit lease, remote head verified and head-pinned auto-merge re-armed. Handed off to the pool chaperone without waiting on hosted CI. |
5cb74f9 to
f7ac35a
Compare
|
Rebased onto master 58d2c11; replaced 5cb74f9 with f7ac35a using the explicit lease. Kept master’s inventory-based portability checks in place of superseded fixed counts; all six later patches replay unchanged, preserving port modules, README table record and registrations. Range-diff reviewed. Seven native registrations and six focused scene item-ID tests pass; graph sorting, README and portability checks pass. Remote head verified and auto-merge remains enabled. Full Tier 2/native platform suites and hosted CI were not repeated or awaited. |
f7ac35a to
fa7e7ae
Compare
|
Rebased after the 14:43 UTC merges onto origin/master 5de5b53, replacing f7ac35a with fa7e7ae. Retained both README records (including the ID wording correction) and master’s equivalent exact scene logging-stub lists; redundant registration repair became empty. No semantic overlap. Passed whole native_build:: (113), native portability (6), graph sorting (2), README (1), full CI self-tests, obs-c-oracle build and six reduced item-ID Rust/layout/parity tests. Range-diff reviewed. Initial push was blocked by queue protection; after manager dequeue the explicit-lease push succeeded and was verified. Auto-merge re-armed and confirmed. Handed off to the pool manager for hosted checks and queue observation. |
Ports
obs_sceneitem_get_idinto the existingobs-scenecrate. It preserves every signed 64-bit stored ID, returns zero for null with the original debug-level diagnostic, and leaves every item byte unchanged. No intended behavior differences or user-visible change.Fixes #3865, native child of Phase 6 #444.
Commit sequence: C-only actual-library characterization
759b7e225; verbatim extractiona30707c37; Tier 1 RED06179c0c2(observed before rebase as6bd748cbd); Rust GREEN98bb6d5d9. The observed RED commandSOLDR_PORCELAIN=0 SOLDR_RUSTC_WRAPPER=none OBS_PARITY_CASES=reduced soldr cargo test -p obs-data --test obs-tests-core scene::item_id::failed both tests attodo!()(exit 101).The C reference retains the verbatim extracted getter in its ported source group. The Rust shim describes only the prefix through
id, reads only that field without borrowing the item, and delegates null handling to the safe core. Real-header tests measure prefix span, alignment and every offset, including Clong. Differential tests use complete C-owned items, arbitrary signed IDs and independent surrounding flags, comparing all item bytes after calls. The null diagnostic is compared against C in a re-executed child with an exact selector, isolating the global log handler. Proptest persistence is disabled. The native graph registers the C test under suitecore; itstests.dfile only documents that ownership. No public headers, existing C tests, or websocket files were edited. The exported symbol has no Windows benchmark stand-in to remove.Validation:
idtoid ^ 1makescharacterized_edgesfail ati64::MIN, mismatch bit 1 (exit 101). The unchanged actual-library C stored-ID test also caught the mutation when it reached the concurrent Docker build. The core was restored byte-for-byte before the definitive passing runs.docker_task_commandand this slot's warm volume: the unchanged new C characterization passed three repeats against each actual library before extraction, after extraction, and after restoring the Rust swap. The pre-existing scene/canvas characterization also passed three repeats against each library under Xvfb, all 13 C cases each time, with no startup skips.lddproved both loader paths; dynamic exports match exactly (1,767 symbols).-Wall -Wextra -Werror -Wconversion -Wsign-conversion -Wfloat-conversion, using the oracle dependency header shims. Nix Clang requires-Qunused-argumentsfor injected linker-only arguments.SOLDR_PORCELAIN=0 ./lint --fixpassed formatting, CI self-tests, workspace Clippy and all feature Clippy lanes, then exited 1 at Dylint: soldr refused to build the driver from source under clud (no pre-deployed driver for nightly-2026-05-28). Per the worker instructions, no workaround was attempted; hosted Fast Gate must supply Dylint validation.Test cost: 25 debug invocations of the six new tests, longest 0.03 seconds, peak RSS 17,152 KiB. No own threads; the null-log test launches one isolated child. No new Rust test executable; uses the existing Core state category.
The full
./unittest/Tier 2 suite, native macOS/Windows execution and a local-gate attestation were not run. Hosted PR CI remains the merge gate. Tier 4 does not apply to this field reader.Rebased after sibling #3859 merged onto master e53544d.
git range-diffpreserves all five patches with only the combined README record changed; both getter descriptions retain every fact. Native graph entries merged without conflict; graph sorting, native slice, exact inventory and port metadata checks pass. See the rebase evidence comment for focused test and lint results.Hosted CI follow-up: macOS job 128395119537 and Windows job 128395119552 both failed the exact one-source registration assertions for scene audio-window and render-plan Rust-static targets. The preceding link repair intentionally added the aborting logging support; these two assertions now pin the exact ordered two-source lists for those targets and retain every other source/dependency assertion. No runtime getter, C test, header or platform layout was changed.
Focused validation: all seven
canonical_rust_static_registration tests and all sixscene::item_idcore/layout/parity tests pass with reduced parity. Graph sorting, exact normal/SDK inventory and port metadata pass; README record remains in the port table. Existing committed tests and the two hosted failures supply RED evidence. No new test executable or case, allocation-driving generator or threads were added; the seven registration tests take 0.07 seconds. Native macOS/Windows execution and full Tier 2 were not repeated locally.SOLDR_PORCELAIN=0 ./lintpassed formatting, CI self-tests, workspace and feature Clippy; it exited 1 only at the documented soldr refusal to build the Dylint driver under clud. Final three log lines confirm that refusal; hosted Fast Gate must validate Dylint. Artifact:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-3sIWlV.log. Focused tests:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-mRjW9r.logandlocal-test-dRAYhe.log. Range-diff preserves all six preceding commits exactly; new repair commit5cb74f984only updates the two registration contracts.