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
Per-platform cmake files cmake/os-windows.cmake, cmake/os-macos.cmake, cmake/os-linux.cmake (names match the platform-path rule), each holding that platform's sources, defines and link deps
only a single include(cmake/os-<platform>.cmake) dispatch stays in CMakeLists.txt
Likely must stay / caveats
The one dispatch line is unavoidable. Counts: 5 if chains (12 branches) in 4 files.
Test approach
No unit test possible; verified by the existing native CI builds (ci-full) on all three OS, plus checking that ci/ci_scope.py classifies the new files per platform.
RED first (failing characterisation test or facade stub), then GREEN, per docs/rust-port/testing-policy.md. Add the ci-full label since this touches shared frontend code built natively on all platforms.
Done when the listed files have no platform conditionals other than the documented exceptions, and the ratchet baseline (#848) is lowered accordingly.
Add RED checks for the listed CMake boundaries and path-based platform classification, plus configure-time characterization of Qt/plugin-manager/WhatsNew selection.
Keep one platform include dispatch. The selected per-OS file will define setup macros, called at the existing feature/source stages so order and variable scope stay the same. Preserve Linux/Flatpak/BSD distinctions and the Qt 6.11-only macOS workaround.
Validate focused checks and full native Linux/Windows/macOS builds before merging one PR.
The current ratchet baseline covers C/C++ source, not CMake, so there are no CMake entries to lower in that JSON; the new focused boundary guard will enforce the equivalent zero-host-branch contract for the three shared feature files while allowing the single CMakeLists dispatch. No unrelated C/C++ baseline entries will be removed. Existing native os-*.cmake files remain the host boundary; no new workflow is needed. Full native builds use dispatch because the old ci-full label no longer changes scope.
First PR expected today. One issue at a time in the existing checkout; no Git worktree.
Releasing #889 temporarily; draft #1584 and branch infra/889-frontend-cmake-platform retain the completed facade work.
PR CI 39524528252 passed and the macOS x86_64 app build passed. Full validation 39524526040 was canceled after Windows Tier 2 job 118977902779 failed linking the newly added output-delay test: unresolved cm_print_error in check_delivered. This is the already reported master blocker #1580, not a frontend CMake configure error. The raw failed build log is preserved locally; no crash stack exists because linking failed before tests ran.
I will handle #1580 as the one active issue first, then reclaim #889 and complete the required native validation. No checks are bypassed and the PR remains draft.
Claiming: resuming #889 and existing draft #1584 now that prerequisite #1580 is fixed and merged in #1591.
Rebase the saved facade branch onto current master to include the diagnostic link fix and current CI policy.
Rerun the focused configure/scope/build-group checks and dispatch native full validation on the rebased exact head.
Finish PR CI and the normal merge queue, then close out this issue. Existing facade design and coverage stay in scope; no new workflow or Git worktree.
Completed in #1584 (merge 5ab6e96). The shared frontend CMake files now invoke five operations defined in the existing per-OS files, preserving setup order and caller scope. One include dispatch remains.
Evidence: RED c362372 reproduces four boundary failures; GREEN 48a4436 passes all 86 focused checks and 17 configure scenarios. Full native validation 39529561107 passed all Windows/macOS/Linux app builds, Qt, native Rust/Tier 2 and Flatpak. PR CI 39529557057 and merge-group CI 39531175823 passed. No remaining work for this issue. The C/C++ platform ratchet has no CMake entries; the new focused guard covers the shared CMake boundary.
Activity
zackees commentedon Oct 21, 2026
Claiming: #889, frontend CMake platform facade.
The current ratchet baseline covers C/C++ source, not CMake, so there are no CMake entries to lower in that JSON; the new focused boundary guard will enforce the equivalent zero-host-branch contract for the three shared feature files while allowing the single CMakeLists dispatch. No unrelated C/C++ baseline entries will be removed. Existing native os-*.cmake files remain the host boundary; no new workflow is needed. Full native builds use dispatch because the old ci-full label no longer changes scope.
First PR expected today. One issue at a time in the existing checkout; no Git worktree.
frontend: defer platform CMake setup behind per-OS macros (#889)
zackees commentedon Oct 21, 2026
Releasing #889 temporarily; draft #1584 and branch
infra/889-frontend-cmake-platformretain the completed facade work.PR CI 39524528252 passed and the macOS x86_64 app build passed. Full validation 39524526040 was canceled after Windows Tier 2 job 118977902779 failed linking the newly added output-delay test: unresolved
cm_print_errorincheck_delivered. This is the already reported master blocker #1580, not a frontend CMake configure error. The raw failed build log is preserved locally; no crash stack exists because linking failed before tests ran.I will handle #1580 as the one active issue first, then reclaim #889 and complete the required native validation. No checks are bypassed and the PR remains draft.
zackees commentedon Oct 21, 2026
Claiming: resuming #889 and existing draft #1584 now that prerequisite #1580 is fixed and merged in #1591.
test: characterize frontend CMake platform setup (#889)
frontend: defer platform CMake setup behind per-OS macros (#889)
frontend: isolate CMake platform setup behind per-OS macros (obs-rust…
zackees commentedon Oct 21, 2026
Completed in #1584 (merge 5ab6e96). The shared frontend CMake files now invoke five operations defined in the existing per-OS files, preserving setup order and caller scope. One include dispatch remains.
Evidence: RED c362372 reproduces four boundary failures; GREEN 48a4436 passes all 86 focused checks and 17 configure scenarios. Full native validation 39529561107 passed all Windows/macOS/Linux app builds, Qt, native Rust/Tier 2 and Flatpak. PR CI 39529557057 and merge-group CI 39531175823 passed. No remaining work for this issue. The C/C++ platform ratchet has no CMake entries; the new focused guard covers the shared CMake boundary.