Skip to content

Revert "feat(desktop): Liquid Glass tab bar in the main window top bar (#12867)" - #13548

Merged
kodjima33 merged 1 commit into
mainfrom
kodjima33/revert-12867
Sep 12, 2026
Merged

kodjima33 merged 1 commit into
mainfrom
kodjima33/revert-12867

Conversation

@kodjima33

@kodjima33 kodjima33 commented Sep 12, 2026 •

Copy link
Copy Markdown
Collaborator

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 fallback Picker: a plain gray Chat | Memories | Tasks | Apps segmented control. The PR was merged with REVIEW_REQUIRED and no approving human review. Nik asked for the revert.

Restores TopNavigationDestinationRow / TopNavigationPill / GlassPillBackground and the previous TopNavigationBarLayoutTests. Adds a changelog fragment.

Product invariants affected

Failure-Class: none

Verification

🤖 Generated with Claude Code

https://claude.ai/code/session_01GwzT9jwAJzNP275KAfQjpP

Review in cubic

@kodjima33

Copy link
Copy Markdown
Collaborator Author

Verified on named bundle omi-revert-12867 (built from this branch, ./run.sh --yolo): the top bar renders the glyph+word pills again; omi-ctl navigate tasks → selectedTab: Tasks with the Tasks pill highlighted, back to Chat likewise. Screenshots captured in-process via capture_main_window_png (Chat and Tasks views).

@kodjima33
kodjima33 force-pushed the kodjima33/revert-12867 branch from 10c235d to 7ab1cd5 Compare September 12, 2026 03:30
@kodjima33
kodjima33 merged commit aab8cdf into main Sep 12, 2026
35 checks passed
@kodjima33
kodjima33 deleted the kodjima33/revert-12867 branch September 12, 2026 03:48
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant