Repository navigation
Revert "feat(desktop): Liquid Glass tab bar in the main window top bar (#12867)" - #13548
Merged
Merged
Conversation
Collaborator
Author
|
Verified on named bundle |
kodjima33
force-pushed
the
kodjima33/revert-12867
branch
from
September 12, 2026 03:30
10c235d to
7ab1cd5
Compare
8 tasks done
Git-on-my-level
added a commit
that referenced
this pull request
Sep 12, 2026
PR #12867 looked right on a local Xcode 26 named bundle and shipped the icon-less system Picker fallback: Liquid Glass sat behind #if compiler(>=6.2) while desktop CI (GHA desktop-swift-ci.yml and Codemagic omi-desktop-swift-release/-preview) compiled with Xcode 16.4, so the ship toolchain never typechecked the glass APIs (#13548 reverted the tab bar). Bump the desktop ship/CI toolchain off 16.4 and make drift impossible: - desktop/macos/ci/xcode-pin.json is now the only place the version (26.6), build (17F113), and expected app path (/Applications/Xcode_26.6.app) live. 26.6/17F113 exists on both vendors: GHA macos-26 image 20260907.0351.1 (default Xcode, /Applications/Xcode_26.6.app) and Codemagic mac_mini_m4 image 'Xcode 26.6.x (default)' (/Applications/Xcode-26.6.app). - run-swift-ci.sh reads the pin file (fails closed when it is missing) and keeps asserting the exact version+build after selection. - desktop-swift-ci.yml macOS jobs move macos-15 -> macos-26, cache key prefixes move xcode164 -> xcode266 so 16.4 caches cannot poison 26.x builds, and the select steps name the pinned version. - codemagic.yaml omi-desktop-swift-release/-preview move xcode: 16.4 -> 26.6 (Android 16.4 and iOS 26.0.1 untouched); the reviewed codemagic_workflow_contract digests are refreshed for that edit. - test_desktop_swift_ci_contract.py loads the pin file instead of literals and adds codemagic pin-agreement + macos-26 runner assertions. Verified locally: bash desktop/macos/tests/test-run-swift-ci.sh (pin 26.6/17F113 sandbox incl. wrong-version/wrong-build/missing-pin sabotage); python3 .github/scripts/test_desktop_swift_ci_contract.py (38 tests OK); python3 .github/scripts/check-release-process-guards.py (exit 0); xcrun swift build -c debug --package-path Desktop on Xcode 26.6 (17F113) completes (1855s).
Git-on-my-level
added a commit
that referenced
this pull request
Sep 12, 2026
New desktop-compiler-gates manifest check: desktop/macos/scripts/ check-desktop-compiler-gates.py fails when Desktop/Sources or Desktop/Tests contain #if compiler(...) / #elseif compiler(...) — the shape that let #12867 compile Liquid Glass out of the Xcode 16.4 ship toolchain while CI stayed green (#13548 reverted the tab bar). Runtime availability gating (if #available(macOS 26, *) with a working fallback) is the sanctioned pattern and passes. The allowlist ships empty and is asserted by exact contents in test_check_desktop_compiler_gates.py, so it cannot silently grow; entries require a documented reason and a matching path+line. checks-manifest.yaml also extends desktop-swift-ci-contract triggers with the pin file, runner script, launcher test, and codemagic.yaml so every pin consumer re-runs the contract test on drift. Verified locally: python3 .github/scripts/test_check_desktop_compiler_gates.py (9 tests OK — planted #if compiler(>=6.2) glassEffect sabotage fails the checker and removing it passes); python3 desktop/macos/scripts/ check-desktop-compiler-gates.py on the real tree reports none found; make preflight manifest lane: all selected checks pass except the pre-existing loaded-host flake in test_pr_preflight.py SingleFlightTests.test_identical_processes_join_and_execute_once, which fails 3/3 on pristine origin/main at the same host load (passes in isolation) and is unrelated to this diff.
Git-on-my-level
added a commit
that referenced
this pull request
Sep 13, 2026
…13564) * ci(desktop): pin ship/CI Xcode to 26.6 (17F113) from one source of truth PR #12867 looked right on a local Xcode 26 named bundle and shipped the icon-less system Picker fallback: Liquid Glass sat behind #if compiler(>=6.2) while desktop CI (GHA desktop-swift-ci.yml and Codemagic omi-desktop-swift-release/-preview) compiled with Xcode 16.4, so the ship toolchain never typechecked the glass APIs (#13548 reverted the tab bar). Bump the desktop ship/CI toolchain off 16.4 and make drift impossible: - desktop/macos/ci/xcode-pin.json is now the only place the version (26.6), build (17F113), and expected app path (/Applications/Xcode_26.6.app) live. 26.6/17F113 exists on both vendors: GHA macos-26 image 20260907.0351.1 (default Xcode, /Applications/Xcode_26.6.app) and Codemagic mac_mini_m4 image 'Xcode 26.6.x (default)' (/Applications/Xcode-26.6.app). - run-swift-ci.sh reads the pin file (fails closed when it is missing) and keeps asserting the exact version+build after selection. - desktop-swift-ci.yml macOS jobs move macos-15 -> macos-26, cache key prefixes move xcode164 -> xcode266 so 16.4 caches cannot poison 26.x builds, and the select steps name the pinned version. - codemagic.yaml omi-desktop-swift-release/-preview move xcode: 16.4 -> 26.6 (Android 16.4 and iOS 26.0.1 untouched); the reviewed codemagic_workflow_contract digests are refreshed for that edit. - test_desktop_swift_ci_contract.py loads the pin file instead of literals and adds codemagic pin-agreement + macos-26 runner assertions. Verified locally: bash desktop/macos/tests/test-run-swift-ci.sh (pin 26.6/17F113 sandbox incl. wrong-version/wrong-build/missing-pin sabotage); python3 .github/scripts/test_desktop_swift_ci_contract.py (38 tests OK); python3 .github/scripts/check-release-process-guards.py (exit 0); xcrun swift build -c debug --package-path Desktop on Xcode 26.6 (17F113) completes (1855s). * ci(desktop): fail closed on compiler-gated Apple SDK APIs New desktop-compiler-gates manifest check: desktop/macos/scripts/ check-desktop-compiler-gates.py fails when Desktop/Sources or Desktop/Tests contain #if compiler(...) / #elseif compiler(...) — the shape that let #12867 compile Liquid Glass out of the Xcode 16.4 ship toolchain while CI stayed green (#13548 reverted the tab bar). Runtime availability gating (if #available(macOS 26, *) with a working fallback) is the sanctioned pattern and passes. The allowlist ships empty and is asserted by exact contents in test_check_desktop_compiler_gates.py, so it cannot silently grow; entries require a documented reason and a matching path+line. checks-manifest.yaml also extends desktop-swift-ci-contract triggers with the pin file, runner script, launcher test, and codemagic.yaml so every pin consumer re-runs the contract test on drift. Verified locally: python3 .github/scripts/test_check_desktop_compiler_gates.py (9 tests OK — planted #if compiler(>=6.2) glassEffect sabotage fails the checker and removing it passes); python3 desktop/macos/scripts/ check-desktop-compiler-gates.py on the real tree reports none found; make preflight manifest lane: all selected checks pass except the pre-existing loaded-host flake in test_pr_preflight.py SingleFlightTests.test_identical_processes_join_and_execute_once, which fails 3/3 on pristine origin/main at the same host load (passes in isolation) and is unrelated to this diff. * changelog(desktop): mark ci xcode pin as internal-only (kind: none) The desktop changelog check requires an in-repo fragment for production desktop paths even with the no-changelog-needed label: the label is invisible after merge and would redden main's Release Eligibility run. This PR is CI/infra only (toolchain pin + fail-closed gate), so the marker is kind: none. * ci(desktop): raise verify ceiling to 90m for the first cold macos-26 full lane Measured on run 34687313733 (PR #13564): with the pin moved to Xcode 26.6, every cache cold under the new xcode266 keys, the full Swift suite ran past 55 minutes and the 60-minute job ceiling cancelled the job mid serial-cluster. Every completed suite was green (one wedged batch cost 1650s before its 1500s watchdog bisected it cleanly; zero test failures) — purely a timing ceiling, so: - desktop-swift-verify timeout-minutes 60 -> 90 - full-lane OMI_SWIFT_TEST_STEP_BUDGET_SECONDS 2700 -> 4200 Both changes cite the run; contract test constants updated to match. * test(ci): close compiler-gate checker holes from review Match compiler() anywhere in #if/#elseif, ignore block-commented directives, and fail closed when the scan root has no Swift files. * test(app): accept ActionItemsFetcher due-window params #13570 added dueStartDate/dueEndDate to ActionItemsFetcher on main. GitHub analyzes the merge of this PR, so the existing test stubs must accept those named args or Dart Analyze fails. * style(app): dart format test stubs at line-length 120 CI Check Dart formatting uses --line-length 120 after pub get. * chore: restore dart test stubs from origin/main after merge format noise * test(app): match ActionItemsFetcher due-window params
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.
Reverts #12867 (
90bffb2e81).Why
The PR replaced the glyph-and-word pills in the top bar with a native segmented control. Its Liquid Glass renderer is gated behind
#if compiler(>=6.2), and CI compiles with Xcode 16.4, so every shipped build gets the icon-less fallbackPicker: a plain grayChat | Memories | Tasks | Appssegmented control. The PR was merged withREVIEW_REQUIREDand no approving human review. Nik asked for the revert.Restores
TopNavigationDestinationRow/TopNavigationPill/GlassPillBackgroundand the previousTopNavigationBarLayoutTests. Adds a changelog fragment.Product invariants affected
top-navigation-<index>identifiers; only the control rendering the row goes back to what shipped before feat(desktop): Liquid Glass tab bar in the main window top bar #12867.Failure-Class: none
Verification
git revertapplied cleanly onorigin/main(the changelog fragment from feat(desktop): Liquid Glass tab bar in the main window top bar #12867 was already consolidated into v0.12.339 so it needed no removal).omi-revert-12867built and launched via./run.sh --yolo; top bar shows the glyph+word pills again (screenshot in PR comment).🤖 Generated with Claude Code
https://claude.ai/code/session_01GwzT9jwAJzNP275KAfQjpP