Skip to content

build(properties-view): ratchet the target onto the conversion groups (#2625) - #3067

Merged
zackees merged 1 commit into
masterfrom
build/2625-conversion-properties-view
Oct 30, 2026
Merged

zackees merged 1 commit into
masterfrom
build/2625-conversion-properties-view

Conversation

@zackees

@zackees zackees commented Oct 30, 2026

Copy link
Copy Markdown
Member

Refs #2625 (slice: shared/properties-view).

shared/properties-view/CMakeLists.txt names the three conversion groups for C++,
beside its existing target_compile_options for MSVC. No call-site edits: the
target's one unity group (build/properties-view.core+.hpp.cpp, which pulls in
properties-view.hpp, double-slider.hpp, double-slider.cpp.hpp,
properties-view.moc.hpp, spinbox-ignorewheel.cpp.hpp) already states its
conversions.

Measurement (before the change)

Replayed the target's own TU inside the obs-appimage-228 base image, i.e. the
lane's own compiler and dep set — gcc-toolset-14 14.2.1 (GCC 14.2.1), Qt 6.11.2
and /opt/obs-deps/headers — with -fsyntax-only -fPIC on top of the target's
normal include set:

g++ -fsyntax-only ... -Wconversion -Wsign-conversion -Wfloat-conversion \
    shared/properties-view/build/properties-view.core+.hpp.cpp
# exit 0, 0 first-party diagnostics, 0 from the dependency headers

So the global -Wno-conversion / -Wno-sign-conversion /
-Wno-float-conversion in cmake/linux/compilerconfig.cmake hid no code in this
target: the slice is the ratchet entry itself, the same shape as #2970
(frontend/api). The PR's own Sanitizers lane is the authoritative run, and
ci/ci_scope.py selects it for this PR because the CMakeLists now names a group.

Ratchet state

uv run --no-project ci/conversion_ratchet.py lists 31 directories, with
shared/properties-view added. Its four consumers: frontend, frontend-tools
and decklink-output-ui are already ratcheted; plugins/aja-output-ui is the
last one left and is the next slice, so the flags this target publishes as an
INTERFACE target reach a ratcheted consumer in every build today except that
plugin.

ci/test_conversion_ratchet.py, ci/test_ci_scope.py and
ci/test_frontend_conversion_optins.py: 64 tests, OK.

Build tooling only, so no docs/features.md line (per #2625). No new tests, so
no Test cost line.

Local ./lint could not run to completion on this host: its lane container has
no git on PATH, so ci/check_changes.py exits before the checks. The
workflow's own lanes are the gate.

…#2625)

shared/properties-view joins the conversion ratchet: naming the three groups in
its own target_compile_options() needs no call-site edits, because the target's
one unity group (build/properties-view.core+.hpp.cpp) already states its
conversions.

Evidence, measured on the lane's own toolchain (gcc-toolset-14 14.2.1) inside
the AppImage base image with /opt/obs-deps and Qt 6.11.2: the TU replays with
-zero- first-party diagnostics with -Wconversion -Wsign-conversion
-Wfloat-conversion, against zero before (the global pins hid none of its code).

repo_ratcheted_dirs() now lists 31 directories, so a PR that touches this
target's sources or this CMakeLists selects the Sanitizers lane and pays for
its own diagnostic (#2923). The app target and the other three consumers
(frontend, frontend-tools, decklink-output-ui) are already ratcheted;
aja-output-ui is the last consumer left, and it is next.

@zackees zackees left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coordinator review: LGTM. A one-target ratchet slice for #2625, measured with the lane's own compiler and deps: GCC 14.2.1, Qt 6.11.2, exit 0 with all three groups on. It has no call-site edits, and it follows the pattern of the earlier slices. Queue on green.

@zackees
zackees enabled auto-merge October 30, 2026 12:42
@zackees
zackees added this pull request to the merge queue Oct 30, 2026
@zackees

zackees commented Oct 30, 2026

Copy link
Copy Markdown
Member Author

Handed off to the coordinator: CI is green on 51601f32a (17 pass, 25 skipped — the jobs ci/ci_scope.py selects for a build-only change), the PR is queued to merge, and the ratchet tests (61) pass locally. Local ./lint cannot complete on this host (its lane container has no git on PATH, so ci/check_changes.py exits early); the workflow lanes are the gate.

plugins/aja-output-ui remains the only consumer without an opt-in; it is unmeasurable here (ENABLE_AJA=OFF in every preset and CI lane), so the next verifiable slice is plugins/obs-ffmpeg/ffmpeg-mux (PR #3068).

Merged via the queue into master with commit 39551c1 Oct 30, 2026
42 checks passed
@zackees
zackees deleted the build/2625-conversion-properties-view branch October 30, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant