Repository navigation
build(frontend-api): ratchet the target onto the conversion groups (#2625) - #2970
Merged
Merged
Conversation
zackees
marked this pull request as ready for review
October 30, 2026 00:11
zackees
enabled auto-merge
October 30, 2026 00:11
Member
Author
|
Handed off to the coordinator. Local signal: PR CI so far: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
frontend/api/CMakeLists.txtnames the three conversion groups, soobs-frontend-apidrops the global
-Wno-conversion/-Wno-sign-conversion/-Wno-float-conversionpins the same way
shared/qt/idiandoes (#2966).Why this target, and why no code changes
It is the last target reachable on Linux that still compiled behind the pins, and its one
group (
frontend/api/build/obs-frontend-api.core+.hpp.cpp→obs-frontend-api.cpp.hpp)was measured clean under all three groups before the flag was added, so the slice carries
no call-site edits. The change is the ratchet entry itself:
ci/conversion_ratchet.py'srepo_ratcheted_dirs()now listsfrontend/api(30 dirs).the Sanitizers lane, so the group can no longer silently regress in a configuration
Tier 2 never compiles.
Everything else left on the list is an
INTERFACElibrary (shared/qt/*widgets,shared/properties-view,shared/media-playback,shared/file-updater), whose sources arecompiled by its consumers' flags — ratcheting those changes every consumer's build, not one
target, so they are not this slice.
Evidence
Reconfigured the Linux tree (
cmake -S . -B build, RelWithDebInfo, the frontend enabled)and replayed the target's own translation unit with the command CMake now generates:
The same TU compiled the same way before the change (positive groups appended by hand) was
also clean — that is the measurement this slice rests on.
gersemi --check frontend/api/CMakeLists.txt: clean.uv run ci/local_gate.py --only self-test:== self-test: ok(includestest_conversion_ratchet.py,test_conversion_card.py,test_frontend_conversion_optins.py).The file carries no
#ifdefon any platform, so the macOS and Windows builds compile thesame TU; only the AppleClang spelling of a diagnostic could differ, and the tree has no
clang to replay it with, so PR CI's app lanes are the confirmation.
Refs #2625, Refs #2938.