Repository navigation
Closed
Description
Context
Small issues noticed during the grind run (meta #4) and the CI speed-up (PR #12). Each is small and independent. Fix what lives in this repo; for other repos, open a PR if the fix is small, otherwise file a precise issue.
Items
In obs-rust/obs-studio
- CI format check missed an unformatted CMake file.
libobs/cmake/rust.cmake(added in phase 2, PR Phase 2: finish cmocka suite (os_path, serializer, darray) + CI + Windows/macOS Tier 2 #10/feat(rust): roadmap phase 2 — os_path, serializer, darray ports + Rust/Tier 2 CI (meta #4) #9) was not gersemi-formatted, yetFormat / gersemipassed../lint(full-tree gersemi 0.25.0) caught it, and PR ci: local gate + attestation skips, quick gate for full builds, ccache for Tier 2 #12 fixes the file. Find out why.github/actions/run-gersemiskipped it (changed-files detection against the feature-branch base? the file list glob?) and fix the action so it can't recur. Checkrun-clang-formatfor the same gap. - bug: obs-avc.c get_ue_golomb can evaluate 1 << 32 (undefined behavior) on a truncated SPS #11,
obs-avc.cget_ue_golomb1 << 32UB. Fix in C, RED → GREEN: add a cmocka test that feeds a truncated SPS (all zero bits) and fails under-fsanitize=undefined, then cap the count and compute unsigned. Closes bug: obs-avc.c get_ue_golomb can evaluate 1 << 32 (undefined behavior) on a truncated SPS #11. - GATE-001 mirrors are unproven.
ci-lint local-gate lintreports no remote job mirroring the local gate. Make the Linux Rust test job (or a lint job) run exactlypython3 ci/local_gate.py --lane …and list it inmirrors.
In zackees/ci.yml (ci-lint false positives seen on obs-studio)
- GATE-008 on reusable workflows:
build-project.yamlison: workflow_calland is invoked bypush.yamlon master pushes, but ci-lint reports "no push trigger". It should followworkflow_callcallers. - GATE-012
codeqlmatch: a plain string match on Flatpak cleanup steps (echo ::group::Remove CodeQL stuff,rm -rf /to_clean/codeql/*) is reported as naming the CodeQL app check. It should only matchuses:/check-name contexts.
In zackees/clud (grind)
is_meta_issue.pywith a bare issue number:clud tool run github/is_meta_issue.py 4returned{"meta": false, "sub_issues": []}for meta: Rust port unit-testing roadmap, phases 2–5 #4, which has 4 sub-issues. The full URL works. The bare number seems to resolve against the wrong repo.- Lander on feature-branch PRs with no CI: goal PRs into
grind/meta-*got no checks (the repo's PR workflow only targetedmaster), and the lander bounced the goal back, costing a full integrate round. The fix in obs-studio is PR ci: local gate + attestation skips, quick gate for full builds, ccache for Tier 2 #12. In clud, grind should detect "no workflow triggers on this base" up front and either dispatch CI or report it in the plan, not after integration. - Integrator waits on CI with blind
sleep 420–540loops instead ofpr_merge_watch. pr_merge_watchcancels the PR's whole workflow run on the first failing job. Other in-flight jobs (full OBS builds) were lost, so their timing and results were gone.
In zackees/zccache
- Windows MSVC: staticlib output materialization looks for lib<crate>-<hash>.a instead of <crate>-<hash>.lib forge-ci/zccache#1937: on Windows MSVC, staticlib output materialization looks for
lib<crate>-<hash>.ainstead of<crate>-<hash>.lib. obs-studio works around it withshims: ${{ runner.os == 'macOS' }}; remove that workaround once fixed.
Acceptance criteria
- Items 1–3 fixed in obs-studio PRs (RED → GREEN where code changes), passing
./lintand./unittest, stamped withci-lint local-gate run. (ci(format): check every commit on dispatch runs; gersemi checks the full tree #14, ci: Linux Rust jobs run the local gate; declare them as GATE-001 mirrors #16, fix(libobs): get_ue_golomb UB on a truncated SPS (1 << 32) #17; ci(format): check every commit on dispatch runs; gersemi checks the full tree #14 predates ci: local gate + attestation skips, quick gate for full builds, ccache for Tier 2 #12 so was not stamped) - Items 4–5: PR or precise issue on zackees/ci.yml, linked here. (fix(ci-lint): GATE-008 follows workflow_call callers; GATE-012 matches only check contexts forge-ci/ci.yml#394)
- Items 6–9: issues (or PRs) on zackees/clud, linked here. (fix(is_meta_issue): resolve a bare issue number against origin, not gh's default talos-hq/clud#1895, grind: feature-stage goal PRs into grind/meta-* can have no CI trigger; detect it in preflight, not at landing talos-hq/clud#1893, grind integrator waits on remote CI with blind sleep 420-540 polls instead of pr_merge_watch talos-hq/clud#1894, fix(pr_merge_watch): never cancel the failing run while its sibling jobs are in progress talos-hq/clud#1896)
- Item 10: fix PR on zackees/zccache if tractable, otherwise a comment on rust: Port the scene item crop arithmetic in obs-scene.c to obs-scene #1937 with root-cause analysis; linked here. (fix(rustc): name staticlib outputs by target archive convention (MSVC .lib) (#1937) forge-ci/zccache#1938)
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
ci: make the Linux Rust jobs run the local gate and list them as mirr…
zackees commentedon Oct 9, 2026
Status per item
obs-rust/obs-studio
rust.cmake: ci(format): check every commit on dispatch runs; gersemi checks the full tree #14 (merged). Root cause:pr-pull.yamlonly targetsmaster, so PR Phase 2: finish cmocka suite (os_path, serializer, darray) + CI + Windows/macOS Tier 2 #10 intogrind/meta-4-7c2egot CI only throughworkflow_dispatch. For that eventcheck-changesusedHEAD~1, so only the branch's last commit was checked, and that commit touched no CMake file, so gersemi was skipped. Dispatch and schedule runs now diff against the merge-base withorigin/<default branch>, which also covers clang-format. gersemi now always checks the full tree (about 1 s). Also fixed: a>> GITHUB_OUTPUTtypo (missing$).get_ue_golombUB: fix(libobs): get_ue_golomb UB on a truncated SPS (1 << 32) #17 (merged, closes bug: obs-avc.c get_ue_golomb can evaluate 1 << 32 (undefined behavior) on a truncated SPS #11). The newtest_avccmocka test compilesobs-avc.cwith UBSan and no recovery. RED:shift exponent 32 is too large. GREEN after capping the count at 31 and using an unsigned shift. Passes withENABLE_RUST_LIBOBSOFF and ON; Tier 2 green on Linux, macOS and Windows.rust-tests-linuxrunspython3 ci/local_gate.py --lane lint --lane rust-testandrust-linux-tier2runs--lane tier2-linux. Both are listed inmirrors, andci-lint local-gate lintno longer reports GATE-001.zackees/ci.yml
workflow_calland 5. GATE-012codeqlstring match: fix(ci-lint): GATE-008 follows workflow_call callers; GATE-012 matches only check contexts forge-ci/ci.yml#394 (open, for review). With it,local-gate linton obs-studio drops to 0 violations.zackees/clud
is_meta_issue.pybare number: fix(is_meta_issue): resolve a bare issue number against origin, not gh's default talos-hq/clud#1895 (open). Root cause:gh repo viewpicks theupstreamremote (obsproject/obs-studio) in a fork clone. The fix usesoriginfirst.sleep 420–540loops: grind integrator waits on remote CI with blind sleep 420-540 polls instead of pr_merge_watch talos-hq/clud#1894 (issue).pr_merge_watchcancels the whole run: fix(pr_merge_watch): never cancel the failing run while its sibling jobs are in progress talos-hq/clud#1896 (open). A failing run is no longer cancelled while any of its jobs is still in flight.zackees/zccache
Fixes #1937). Root cause:rustc_primary_output_filenameincrates/zccache-compiler/src/parse_rustc.rshardcodedlib{name}{extra}.afor staticlibs, ignoring the target. The fix gives<name><extra>.libfor*-msvcand uefi targets. Follow-up: once a soldr/setup-soldr release includes it, drop theshims: ${{ runner.os == 'macOS' }}workaround inbuild-project.yaml.Not stamped: #14 was opened before #12 merged, when its base had no
./lintor local-gate. Its CI was fully green. #16 and #17 passed./lintand./unittestand were stamped withci-lint local-gate run.zackees commentedon Oct 9, 2026
All 10 items resolved or handed off with links (see the checklist above). Open follow-ups live in forge-ci/ci.yml#394, talos-hq/clud#1893/#1894/#1895/#1896, forge-ci/zccache#1938; after a soldr release with #1938, drop the Windows shims workaround.
fix(is_meta_issue): resolve a bare issue number against origin, not g…
fix(pr_merge_watch): never cancel the failing run while its sibling j…