Repository navigation
Description
Context
Full manual master workflow 39831165145, Fast Gate job120007541300 failed its rust-test lane at merged source e1b6499. Its full Flatpak job passed independently; this report preserves the workspace build failure rather than rerunning it or suppressing it in #1760.
After sampler port PR #1750, the C oracle includes the original shader-sampler implementation through rust/obs-c-oracle/oracle/shader_sampler_convert.c:10. rust/obs-c-oracle/build.rs applies -Wsign-conversion in STRICT_FLAGS and -Werror.
At libobs/graphics/shader-sampler-convert.c.h:42:
info->border_color = strtol(value + 1, NULL, 16);The hosted GNU build reports a long-to-uint32_t sign-conversion error and stops obs-c-oracle compilation (cargo exit101). This is a deterministic compilation failure before the applicable differential assertions can run, not an observed runtime failure.
Proposal
Reconcile this original-C oracle input with the existing narrowly scoped compiler-warning compatibility policy. Preserve original C behavior and oracle independence; do not edit C tests/public headers, globally relax warnings, or change Rust results to make tests pass. Inspect source-specific handling in the oracle wrapper/build setup and select the narrowest compatible fix.
Acceptance criteria
- Record RED with the strict oracle compilation reproducing this diagnostic on current master; preserve the original hosted failure/source identity.
- GREEN builds the affected oracle and runs sampler differential coverage/full applicable workspace tests.
- Original C implementation behavior, unchanged C tests and public headers remain preserved; warning treatment is limited to the actual upstream input and compiler diagnostic.
- Normal PR CI and merge queue pass; no unchanged workflow retry is presented as a fix.
Decisions
- Track independently of Flatpak speed changes: the error is in a C-reference dependency of the Rust workspace lane, while full Flatpak compilation and validators succeeded.
- Keep warning policy strict elsewhere and require RED → GREEN evidence. The exact implementation belongs with the oracle/sampler owner.
Related work
- rust: port shader sampler conversion to obs-graphics #1750 / rust: Port graphics/shader-sampler-convert.c to obs-graphics #1716 — sampler conversion port and original unit.
- perf(ci): halve full Flatpak build time and eliminate repeated CEF processing #1760 — observation source and failure/cost accounting.
- build: unify the native C test graph for Cargo and CMake #1805 — active native-test inventory work; coordinate if its oracle/native build graph overlaps.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Oct 22, 2026
Claiming: #1816
fix(libobs): explicit uint32_t cast for sampler BorderColor (#1816) (#…