Skip to content

chore: fix small issues found during the grind run and CI speed-up #13

Closed

Description

@zackees

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

  1. 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, yet Format / gersemi passed. ./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-gersemi skipped it (changed-files detection against the feature-branch base? the file list glob?) and fix the action so it can't recur. Check run-clang-format for the same gap.
  2. bug: obs-avc.c get_ue_golomb can evaluate 1 << 32 (undefined behavior) on a truncated SPS #11, obs-avc.c get_ue_golomb 1 << 32 UB. 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.
  3. GATE-001 mirrors are unproven. ci-lint local-gate lint reports no remote job mirroring the local gate. Make the Linux Rust test job (or a lint job) run exactly python3 ci/local_gate.py --lane … and list it in mirrors.

In zackees/ci.yml (ci-lint false positives seen on obs-studio)

  1. GATE-008 on reusable workflows: build-project.yaml is on: workflow_call and is invoked by push.yaml on master pushes, but ci-lint reports "no push trigger". It should follow workflow_call callers.
  2. GATE-012 codeql match: 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 match uses:/check-name contexts.

In zackees/clud (grind)

  1. is_meta_issue.py with a bare issue number: clud tool run github/is_meta_issue.py 4 returned {"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.
  2. Lander on feature-branch PRs with no CI: goal PRs into grind/meta-* got no checks (the repo's PR workflow only targeted master), 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.
  3. Integrator waits on CI with blind sleep 420–540 loops instead of pr_merge_watch.
  4. pr_merge_watch cancels 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

  1. 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>.a instead of <crate>-<hash>.lib. obs-studio works around it with shims: ${{ runner.os == 'macOS' }}; remove that workaround once fixed.

Acceptance criteria

Refs #4, #12

Activity

  1. zackees commented on Oct 9, 2026

    @zackees
    MemberAuthor

    Status per item

    obs-rust/obs-studio

    zackees/ci.yml

    zackees/clud

    zackees/zccache

    Not stamped: #14 was opened before #12 merged, when its base had no ./lint or local-gate. Its CI was fully green. #16 and #17 passed ./lint and ./unittest and were stamped with ci-lint local-gate run.

  2. zackees commented on Oct 9, 2026

    @zackees
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions