You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
infra: the PR that turns a target's ratchet on leaves its sanitizer build to the night's schedule (#2923, #2956) #2960
#2923's mitigation (#2955, ci/ci_scope.py) selects the asan pass for a pull
request that changes a compile input of a target whose CMakeLists names a
conversion group. A compile input is matched by ci/conversion_ratchet.py's SOURCE suffix (.c, .cpp, .hpp, …), so the PR whose only change is the
CMakeLists that turns the ratchet on selects nothing.
#2956 (build(cmake): ratchet decklink-captions onto the conversion groups,
merged 2026-10-29 19:43 UTC) is exactly that shape: one file, plugins/decklink-captions/CMakeLists.txt, +9 -0, adding the -Wconversion;-Wsign-conversion;-Wfloat-conversion group. Its own run
(40940289236) shows Build 🧱 / Sanitize 🧪 … skipping, so the target's first
sanitizer build is still left to the night's sanitizers.yaml — the blind spot #2923 was filed to close, one level up.
The module docstring already promised the opposite: "the PR that adds a target to
the ratchet selects the lane too: the flag is already in its own CMakeLists by
the time the scope runs." The code does not do it, and ci/test_ci_scope.py::test_the_sanitizer_lane_ignores_what_is_not_a_compile_input
asserted hit("frontend/CMakeLists.txt", dirs) is False.
Why it matters
A flag change is a build input: it can surface a diagnostic that only the asan
configuration reports (the unity grouping and -DDEBUG paths #2923 documents),
and the target's own opt-in PR is the cheapest place to pay for it. Without this,
every one of #2625's remaining target slices can land with a sanitizer-only error
and be found hours later by the schedule.
Fix
conversion_ratchet.hit() also matches a ratcheted target's own CMakeLists.txt (exact directory, so a nested frontend/build/CMakeLists.txt is
a different target and does not hit). Tests in ci/test_conversion_ratchet.py
and ci/test_ci_scope.py; docs/ci-tooling.md's selection row updated.
Acceptance
A PR whose only change is <ratcheted dir>/CMakeLists.txt selects Sanitize 🧪 (asan=true); a merge_group run still does not.
A nested CMakeLists and a CMakeLists outside the ratchet select nothing.
Claiming: #2960 — the ratchet opt-in PR selects the sanitizer lane
ci/conversion_ratchet.py: hit() also matches the ratcheted target's own CMakeLists.txt (exact directory only; a nested CMakeLists is another target).
RED: ci/test_conversion_ratchet.py (CMakeLists hits; nested and outside-the-ratchet ones do not) and ci/test_ci_scope.py (a CMakeLists-only pull_request diff selects asan; merge_group does not) — both fail on master, both pass after the change.
GREEN: the hit() change plus docs/ci-tooling.md's selection row; test_conversion_ratchet, test_ci_scope green.
One PR, infra/2923-ratchet-pr-selects-asan, against master. CI-only change, so no platform lane; Tier 1 is Fast Gate.
No decision needed: it restores the behaviour #2955's own docstring promised, and only makes a pull request select a lane the schedule already runs.
Activity
zackees commentedon Oct 29, 2026
Claiming: #2960 — the ratchet opt-in PR selects the sanitizer lane
ci/conversion_ratchet.py:hit()also matches the ratcheted target's ownCMakeLists.txt(exact directory only; a nested CMakeLists is another target).ci/test_conversion_ratchet.py(CMakeLists hits; nested and outside-the-ratchet ones do not) andci/test_ci_scope.py(a CMakeLists-onlypull_requestdiff selects asan;merge_groupdoes not) — both fail on master, both pass after the change.hit()change plusdocs/ci-tooling.md's selection row;test_conversion_ratchet,test_ci_scopegreen.infra/2923-ratchet-pr-selects-asan, againstmaster. CI-only change, so no platform lane; Tier 1 is Fast Gate.No decision needed: it restores the behaviour #2955's own docstring promised, and only makes a pull request select a lane the schedule already runs.
ci: the ratchet opt-in PR runs the sanitizer lane (obs-rust#2923, obs…