Skip to content

feat(macos): add macOS 13 compatibility - #32

Merged
1lck merged 1 commit into
preview/0.2.0from
codex/macos-13-compatibility
Aug 10, 2026
Merged

1lck merged 1 commit into
preview/0.2.0from
codex/macos-13-compatibility

Conversation

@1lck

@1lck 1lck commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • lower the Swift, app bundle, and Rust Core deployment targets to macOS 13
  • use the macOS 13-compatible SwiftUI onChange signature
  • preserve macOS 14 key handling and empty-state UI with macOS 13 fallbacks
  • cover the database workspace compatibility points present on preview/0.2.0

Verification

  • MACOSX_DEPLOYMENT_TARGET=13.0 ./scripts/build-macos.sh --triple arm64-apple-macosx
  • MACOSX_DEPLOYMENT_TARGET=13.0 swift test --disable-sandbox --parallel --num-workers 1 -Xswiftc -Xfrontend -Xswiftc -disable-round-trip-debug-types (88 tests passed)
  • final executable reports minos 13.0

Follow-up

The local Rust 1.97.1 standard library emits linker warnings indicating it was built for macOS 26. The release toolchain and a real macOS 13 machine still need runtime validation before publicly declaring full support.

@1lck
1lck merged commit becd2d1 into preview/0.2.0 Aug 10, 2026
1 check passed
@xiaoyumuxi
xiaoyumuxi deleted the codex/macos-13-compatibility branch September 10, 2026 15:59
puppyben1 pushed a commit to puppyben1/Lithe-IDEA that referenced this pull request Oct 14, 2026
* ci: 超时或被取消的 macOS 构建也保存 Cargo 编译缓存,打破冷构建超时循环

- Cargo 编译缓存改为准备阶段只恢复,由新增的 save-macos-cargo-build-cache
  以 always() 保存:成功保存精确键,失败/超时/被取消保存 partial 键供下次续用
- universal 构建回退到同工具链的 arm64、x86_64 单架构缓存
- PR 只恢复不保存,避免 PR 作用域条目把 preview 缓存挤出 10 GB 配额
- macOS CI release-build 超时 40 → 60 分钟,覆盖冷 universal 构建(约 45 分钟)
- CI 分类器把新 action 路由到全部 macOS lane,并补测试;同步文档与 Agent Note


* ci: 未编译任何 Rust 单元的失败 job 不再保存重复的 partial 缓存

恢复缓存后打时间戳标记;失败、超时或取消时只有存在比标记更新的
fingerprint 才保存 partial 条目,避免在 Rust 编译前失败的 job 复制一份
约 1 GB 的已恢复内容,挤占仓库 10 GB 缓存配额。


* ci: 单架构构建不再回退到另一架构的 Cargo 编译缓存

只有 universal 构建回退到 arm64、x86_64 条目;x86_64 发布构建不再下载
用不上的 arm64 目标产物。


* test(windows): remote checkout 集成测试使用 30 秒进程预算

tests::git_remote_checkout:: 每个用例克隆真实远端并运行约 30 个 Git 子
进程,Windows 上通常 5–7 秒;preview run 38352195292 中
remote_checkout_force_updates_the_current_branch 无断言失败却在 15 秒
进程期限被终止。SharedRust 与 real-JDT 两条通道与其他多仓库 Git 测试
一致放宽到 30 秒,断言不变。


---------
xiaoyumuxi added a commit that referenced this pull request Nov 14, 2026
PINNED_CORE_REVISION 升到 Lithe-core-rust#33 的合并提交 29b35bf。build.detect
和自动运行项发现按工作区内的 .gitignore 与仓库的 info/exclude 剪掉目录,
.claude/worktrees 下的代理工作树、生成目录和本地副本不再被当成构建根目录,
Build 窗口不会把同一个模块列两遍。中间还带上 #32(Markdown 内联 SVG 保留白名单
绘图元素)。

功能矩阵 build-system-plugins 的说明补上这条行为。
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