Repository navigation
Description
Snapshot of the last ~80 PRs, ~100 CI runs and the issue list as of 2026-10-13. In that window master took about 95 merges, 18 of 100 recent runs failed (8 Pull, 1 Push, 1 Release plus cancelled reruns), and several failures were process gaps rather than code bugs. Items are ordered by impact. Items marked (session) come from the day's working notes; the evidence column says what could be checked in GitHub.
1. Local Tier 2 is a subset of full CI, so -W ratchet PRs fail only after push
Evidence: #596 (run 38427670246: Ubuntu, Ubuntu Rust libobs, Flatpak, Windows arm64 and Tier 2 Windows all red; rnnoise -Wdouble-promotion errors in plugins/obs-filters), #599 (run 38437634443), #616 (needed e45a2b6: renames left references to the outer variable; GCC accepted, MSVC C4700 and Clang caught it), #606 (run 38443630425, Windows and macOS Tier 2). (session) The local harness builds only libobs, cmocka-tests and decklink, with scripting/QSV/NVENC/AJA/WebRTC off; validate.sh used to print -Werror command lines instead of the errors.
Cost: each ratchet PR took 1-3 CI round trips of 15-40 min and 2-4 fixup commits.
Proposed fix: (repo) add a ./unittest --full-c lane that runs the full Linux configure with scripting ON and -k 0, and make validate.sh print only error: lines plus 3 lines of context. (repo) PR template line for warning ratchets: "built with scripting ON and cross-checked with clang". (repo) Add Linux clang to the local lane so a GCC-only pass is not mistaken for a pass.
2. Dev-cycle scope skipped macOS/Windows, so test-only C++ PRs broke master
Evidence: #603 and #605 passed Linux-only CI, then broke Tier 2 on MSVC (C1189 inline macroized by cmocka.h) and macOS; fixed by #607 and #611 (issue #610). Run 38454403998 (#612) then failed on Windows with the same C1189 because its branch predated #607.
Cost: master red on two platforms for about 1.5 h; unrelated PRs (#612) inherited the failure and needed a rerun or rebase.
Proposed fix: (repo) #611 covers C++ cmocka paths; extend ci_scope.py so any change under test/cmocka/, frontend/utility/ or *.cmake turns on all three OSes. (repo) A merge-queue-style rule: required checks run against the up-to-date merge commit (enable "require branches to be up to date") so a stale branch cannot go green on an old base.
3. Stale plugins/obs-websocket submodule pointers revert merged fixes
Evidence: #492 (reverted #99), #496, #503 (and #497/#502 restore PRs), and #615 today: its first commit moved the pointer from a4040cb72 (#589) back to 7d89109c9, caught only because Tier 2 Linux failed test_ws_transform_bounds (run 38461253060) and by a human review comment. The memory notes already record this three times.
Cost: 3 restore PRs plus 2 revert-fix PRs; fixes silently lost for hours; one CI run per catch.
Proposed fix: (repo) a required check in ci/ that fails if a PR changes a gitlink and the PR title/body does not contain submodule:; or fail when the new pointer is not a descendant of master's pointer (git merge-base --is-ancestor). (repo) ./lint and the pre-push hook run the same check locally. (clud) make git add -A in worktrees refuse gitlinks without --include-submodules.
4. Network flakes drop a platform or fail a job with no retry
Evidence: release-rust run 38433764823 (daily beta, Build windows): timed out downloading windows-deps-2026-08-26-x86.zip; the day's release shipped without Windows; fix #619 still open. (session) A brew download failed the gersemi job. cache-encrypt-on-failure: error warnings appear in Windows jobs of runs 38404957507 and 38454403998 (benign but noisy).
Cost: a missing platform in a user-facing release; manual reruns.
Proposed fix: (repo) merge #619 (3 download attempts with backoff). (repo) wrap brew install steps in a retry helper, or pin gersemi via uvx like the local lint. (repo) the release workflow should fail loudly and rerun only the failed job automatically (gh run rerun --failed) once. Issues #614/#525 (own the dependency cache) remove the root cause.
5. The local gate lock is per clone; worktrees and sessions serialize
Evidence: (session) sessions wait on each other's lock; the lint websocket-submodule check exits 128 in fresh worktrees (shallow submodule). #618 fixed the guard for the CI shallow case.
Cost: minutes of idle wait per push with 2-3 agents in parallel (about 360 merges/3 days from two heavy committers).
Proposed fix: (repo) key the lock by gate lane + content hash, not clone path, and let a second session reuse a cached pass for an identical tree; document git submodule update --init --depth 1 in worktree setup or make the lint check skip when the submodule is absent. (zackees/ci.yml) same change in local-gate.
6. Job logs and run status are hard to get while a run is in flight
Evidence: gh run view --log-failed returned HTTP 502 and empty step names ("UNKNOWN STEP") during this scan; (session) logs are unavailable until the whole run finishes, and the agent hooks block gh run watch and polling loops.
Cost: a 40 min wait on the slowest job before a fast-failing lane (e.g. Windows arm64 at C compile) can be read.
Proposed fix: (clud) provide a sanctioned pr_watch command that streams per-job conclusions and fetches gh api .../jobs/ID/logs as soon as that job finishes. (repo) add fail-fast: true for the build matrix so one platform's red cancels the rest and the run ends sooner.
7. Fork PRs and drafts stall
Evidence: #501 (ProtonDev-sys) opened 08:02, merged 19:56, about 12 h; the first-time-contributor workflow approval was the wait (session: ~10 h). #493 from the same author never merged (no mergedAt). Draft PRs block merge.
Cost: contributor churn; duplicate review effort.
Proposed fix: (repo settings) set "Approve and run workflows" to "Require approval for first-time contributors only", add a bot or admin routine that approves fork runs on label safe-to-test; document that PRs must be marked ready before the lander runs.
8. MSVC rejects unconditional -Wno-* and GCC pragmas
Evidence: (session) D8021 on unconditional -Wno-*; run 38404957507 (#570): obs-c-oracle/oracle/base_drive.c(6) error C2220 for a GCC pragma, fixed by #571.
Cost: one red Windows run each time; Windows is the last platform to compile C changes.
Proposed fix: (repo) add a cmake/ helper obs_c_warning_flag(<gcc-flag>) that wraps flags in $<$<C_COMPILER_ID:GNU,Clang>:> and a lint check that rejects bare -Wno- in CMake lists; (repo) cross-compile check of C with clang-cl on Linux in ./lint (#511 already lints Windows from Linux).
9. Hooks block legitimate commands
Evidence: (session) agent tool hooks reject commands containing PATH= text or cargo:warning text even inside strings/logs.
Cost: agents rewrite commands or lose a step; repeated by every agent.
Proposed fix: (clud) match hooks on the parsed command (assignments only), not substrings; (repo) list the exact blocked patterns in AGENTS.md.
10. Flatpak lane fails without a classified cause
Evidence: runs 38437634443 and 38427670246 (Flatpak red; appstream lint "Given artifact type is incorrect" in 38437634443). #428 already tuned disk cleanup.
Cost: unknown; reruns.
Proposed fix: (repo) confirm whether Flatpak is a required check for ratchet-only PRs; if not, scope it out via ci_scope.py, else file a dedicated issue with the lint output.
Quick wins (under an hour each)
- Merge build: Retry obs-deps downloads so one timeout doesn't drop a platform #619 (download retry) and ci: Keep the obs-websocket guard from failing on a shallow submodule #618 follow-ups.
- Gitlink-change check in
./lintand CI (item 3). -k 0and an error-only filter invalidate.shoutput (item 1).- Retry wrapper for
brew installin workflows (item 4). - Skip the submodule lint when
plugins/obs-websocketis not initialised (item 5). - Switch fork-PR approval to first-time-contributors-only (item 7).
- Add a
obs_c_warning_flaghelper or a lint grep for bare-Wno-(item 8). - Document the blocked hook patterns in AGENTS.md (item 9).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Oct 14, 2026
Claiming the remaining repo-side items (1, 4, 8, 9); mapping of every item to follow when done.
ci: Test that no -W option reaches MSVC unguarded (RED)
ci: Lint CMake for -W options that would reach MSVC (GREEN)
zackees commentedon Oct 14, 2026
Status of every item. The repo-side fixes have landed; items that live outside this repo are listed with where they belong.
validate.shbuilds with-k 0and shows up to 80 error lines (ci: Retry Homebrew downloads, report every Tier 2 compile error (#634 items 1, 4, 9) #721). The PR template asks warning-ratchet PRs for aci-fullbuild or a clang/MSVC cross-check (ci: Retry Homebrew downloads, report every Tier 2 compile error (#634 items 1, 4, 9) #721). The merge queue (ci: Test PRs on their merge result via the merge queue (#692) #716, docs: Master merges go through the merge queue behind CI Gate (#692) #720) runs CI on the merge result.--full-cor clang lane. Theci-fulllabel already runs the full builds on a PR.ci_scope.pyalready sends C++ cmocka changes to all OSes (ci: Run the macOS and Windows jobs for C++ cmocka tests #611).CI Gate ✅check (ci: Test PRs on their merge result via the merge queue (#692) #716, docs: Master merges go through the merge queue behind CI Gate (#692) #720; ruleset "master merge queue (ci: Test PRs on their merge result (merge queue) instead of making contributors rebase and re-run #692)").submodule:(ci: Fail PRs that move a submodule pointer backwards (#693) #717).brew update/brew installretries with backoff (ci: Retry Homebrew downloads, report every Tier 2 compile error (#634 items 1, 4, 9) #721).rerun --failedin the release workflow. infra: Fetch build dependencies from obs-rust repos, not obsproject #614/infra: obs-studio-libs prebuilt build-dependency cache (phase 2 of #520), gated on CI-time measurement #525 (own the dependency cache) address the root cause.local-gate, outside this repo.test_websocket_submodule.py).pr_merge_watchreports per-job results as they land.fail-fast: falsestays: the queue andCI Gate ✅end on the first failed required job, and per-platform results are wanted.-Wflags:ci/msvc_flags.pyin./lintrejects-Woptions that would reach MSVC (ci: Lint CMake for GCC/Clang -W options that would reach MSVC (#634 item 8) #719).ci: Retry Homebrew downloads, report every Tier 2 compile error (obs-…
ci: Lint CMake for GCC/Clang -W options that would reach MSVC (obs-ru…