Skip to content

chore(ci): 暂时搁置 macos-13 (Intel mac) 构建 — GH runner pool 卡死#290

Merged
appergb merged 1 commit into
mainfrom
chore/skip-macos-13-runner
May 6, 2026
Merged

chore(ci): 暂时搁置 macos-13 (Intel mac) 构建 — GH runner pool 卡死#290
appergb merged 1 commit into
mainfrom
chore/skip-macos-13-runner

Conversation

@appergb
Copy link
Copy Markdown
Collaborator

@appergb appergb commented May 6, 2026

User description

背景

GitHub Actions 把 `macos-13` 标记为 deprecated runner,pool 容量紧张。已观测 4 次 release run 都因 mac-13 卡 queue(每次 1-2h)阻塞整个 run conclusion:

Run mac-13 等待时长
25415755417 30+ min
25417633813 1h+
25419948896 5min(手动 cancel)
25420193625 1h+

改动

release-tauri.yml matrix 注释掉 `macos-13` 项:
```diff

  •      # 暂时搁置 Intel mac 构建:...
    
  •      # - platform: macos-13
    
  •      #   rust-target: x86_64-apple-darwin
    
  •      #   updater-target: darwin
    
  •      #   updater-arch: x86_64
    

```

影响

  • macOS arm64 (Apple Silicon) 仍发 dmg
  • Windows x64 + Linux 不变
  • Intel mac 用户在 v1.2.21+ 期间用 Apple Silicon dmg + Rosetta(性能稍降但可用)

恢复条件(任一)

  • GH 把 macos-13 pool 容量恢复
  • GH 提供 macos-14-x86_64 / macos-15-large-x86_64 替代 runner
  • 项目自建 self-host runner

恢复方法:删 4 行注释符即可。


PR Type

Bug fix, Other


Description

  • Comment out macos-13 matrix entry to avoid CI queue delays

  • Retain macos-latest (arm64) build for Apple Silicon and Rosetta

  • Document recovery plan and deprecated runner context in comments


Diagram Walkthrough

flowchart LR
  A["Release CI Matrix"] -- "disables" --> B["macos-13 (Intel)"]
  A -- "keeps" --> C["macos-latest (Arm)"]
  C -- "provides dmg for Intel via Rosetta" --> D["Intel Mac Users"]
Loading

File Walkthrough

Relevant files
Configuration changes
release-tauri.yml
Disable Intel macOS build in release CI matrix                     

.github/workflows/release-tauri.yml

  • Comment out the macos-13 matrix entry, preventing runner queue delays
  • Add a detailed explanation about the deprecated runner and recovery
    steps
  • Keep macos-latest (arm64) job for Apple Silicon and Rosetta fallback
+9/-4     

GitHub Actions 把 macos-13 runner 标记为 deprecated,pool 容量紧张到
每次 dispatch 都 queue 1-2h 拿不到分配。已观测 4 次 release run
(25415755417 / 25417633813 / 25419948896 / 25420193625)均因 mac-13
卡 queue 整个 run conclusion 永远不变 success,阻塞自动化判断。

暂时把 macos-13 matrix 项注释掉:
- macOS arm64 (Apple Silicon) 仍发 dmg
- Windows x64 + Linux 不变
- Intel mac 用户在 v1.2.21+ 期间用 Apple Silicon dmg + Rosetta(性能稍降但可用)

恢复条件(任一):
- GH 把 macos-13 pool 容量恢复
- GH 提供 macos-14-x86_64 或 macos-15-large-x86_64 替代 runner
- 项目 self-host runner

恢复方法:删除注释符即可。
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b2868378bf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +40 to +43
# - platform: macos-13
# rust-target: x86_64-apple-darwin
# updater-target: darwin
# updater-arch: x86_64
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Restore Intel macOS release artifacts

Disabling the only x86_64-apple-darwin matrix entry means tag releases no longer publish either an Intel .dmg or latest-darwin-x86_64.json. The comment says Intel users can use the Apple Silicon DMG via Rosetta, but Rosetta only translates Intel apps on Apple Silicon, not arm64 apps on Intel Macs, so Intel macOS users cannot install/update from these releases.

Useful? React with 👍 / 👎.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@appergb appergb merged commit c0118ee into main May 6, 2026
2 checks passed
@appergb appergb deleted the chore/skip-macos-13-runner branch May 6, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant