ci(audio): clarify macOS prebuild artifact suffix - #6275
Conversation
The macOS audio prebuild job now packages both arm64 and x64 slices from the macos-14 runner, but the artifact name still advertised only arm64. Add a matrix suffix so that upload-artifact names the macOS bundle accurately while leaving other platform names unchanged. Constraint: Existing collect job downloads prebuilds-* and should not need a pattern change Confidence: high Scope-risk: narrow Tested: actionlint v1.7.7 .github/workflows/audio-capture-prebuilds.yml Tested: node YAML parse for .github/workflows/audio-capture-prebuilds.yml Tested: git diff --check
qwen-code-ci-bot
left a comment
There was a problem hiding this comment.
Hi @barry166, thanks for the contribution!
The PR body doesn't follow our pull request template. The required headings are missing:
## What this PR does## Why it's needed## Reviewer Test Plan(with "How to verify", "Evidence (Before & After)", and "Tested on" sub-sections)## Risk & Scope## Linked Issues
The current headings (Summary, Testing, Review notes) don't match. Could you restructure the PR body to use the template? It helps reviewers understand the change and verify it works — especially the "Reviewer Test Plan" section, even for CI-only changes (e.g., paste the actionlint output and confirm collect still merges correctly).
中文说明
Hi @barry166,感谢贡献!
PR 正文没有按照我们的 PR 模板 填写。缺少以下必填标题:
## What this PR does## Why it's needed## Reviewer Test Plan(包含 "How to verify"、"Evidence (Before & After)" 和 "Tested on" 子部分)## Risk & Scope## Linked Issues
当前的标题(Summary、Testing、Review notes)与模板不匹配。请按照模板重新组织 PR 正文。这有助于 reviewer 理解变更并验证效果——即使是纯 CI 改动也需要 "Reviewer Test Plan" 部分(例如贴上 actionlint 的输出,并确认 collect 仍能正确合并)。
— Qwen Code · qwen3.7-max
qwen-code-ci-bot
left a comment
There was a problem hiding this comment.
No review findings. Downgraded from Approve to Comment: CI still running.
— qwen3.7-max via Qwen Code /review
wenshao
left a comment
There was a problem hiding this comment.
No review findings. Downgraded from Approve to Comment: CI still running.
— qwen3.7-max via Qwen Code /review
wenshao
left a comment
There was a problem hiding this comment.
No issues found. LGTM!
— GPT-5 via Qwen Code /review
|
@qwen-code /triage |
|
Thanks for the PR @barry166! (Re-running triage — the PR body has been updated since the last run.) Template looks good now ✓ — all required sections are present. Problem: real and well-documented. Issue #5649 identified this naming inconsistency as a follow-up from PR #5643 — the macOS artifact says Direction: straightforward CI naming fix. Clearly within scope — artifact names should accurately describe their contents. Approach: minimal (2+/1-), exactly matches the suggested fix from #5649. Focused, no scope creep. Moving on to code review. 🔍 中文说明感谢 PR @barry166!(重新运行 triage——PR 正文已更新。) 模板现在完整 ✓ 问题:真实存在,在 issue #5649 中作为 PR #5643 的 follow-up 被记录。macOS artifact 名称标注为 方向:简单的 CI 命名修复,明确在项目范围内。 方案:最小改动(2+/1-),与 #5649 建议的修复方式完全一致。范围聚焦,无额外改动。 进入代码审查 🔍 — Qwen Code · qwen3.7-max |
Code ReviewThe diff is clean and correct. Two changes, both necessary:
The GitHub Actions expression No correctness bugs, no security concerns, no convention violations. This is a textbook minimal CI fix. Real-Scenario TestingN/A — this is a CI workflow change with no user-visible behavior. The
All 9 non-skipped CI checks on this PR are green. 中文说明代码审查diff 干净且正确。两处改动都是必要的:
GitHub Actions 表达式 无正确性 bug、无安全隐患、无规范违反。 真实场景测试不适用——这是纯 CI workflow 改动,无用户可见行为。 所有 9 项非跳过的 CI 检查均为绿色。 — Qwen Code · qwen3.7-max |
|
Stepping back: this is about as clean as a CI naming fix gets. The problem is real (documented in #5649 as a follow-up to #5643), the solution is the exact 3-line change the issue suggested, and my independent proposal was identical. The diff does one thing, does it minimally, and the The previous triage run's A maintainer has already approved. All CI checks are green. No reservations. Approving. ✅ 中文说明总结:这是一个非常干净的 CI 命名修复。问题真实存在(#5649 中作为 #5643 的 follow-up 记录),方案就是 issue 中建议的 3 行改动,我的独立提案与之完全一致。diff 只做一件事,改动最小, 上一次 triage 的 maintainer 已批准。所有 CI 检查为绿色。无顾虑。 批准 ✅ — Qwen Code · qwen3.7-max |
qwen-code-ci-bot
left a comment
There was a problem hiding this comment.
LGTM, looks ready to ship. ✅
What this PR does
arm64+x64suffix.AI-assisted: yes
Human reviewed: yes
Why it's needed
The macOS audio prebuild job now produces a universal archive from the macos-14 runner, but the upload artifact name still advertised only
arm64. The explicit suffix makes the artifact name match the contents without changing the collect job'sprebuilds-*download pattern.Reviewer Test Plan
How to verify
.github/workflows/audio-capture-prebuilds.ymland confirm only the macOS matrix entry getsartifact_suffix: 'arm64+x64'.matrix.archfor other platforms.prebuilds-*artifacts unchanged.Evidence (Before & After)
prebuilds-macos-14-arm64even though the job packages both arm64 and x64 slices.prebuilds-macos-14-arm64+x64; all other artifact names are unchanged.Tested on
actionlint v1.7.7 .github/workflows/audio-capture-prebuilds.yml.github/workflows/audio-capture-prebuilds.ymlgit diff --checkRisk & Scope
Low risk. This only changes the CI artifact display/upload name for the macOS prebuild matrix entry and leaves artifact collection patterns unchanged.
Linked Issues
Fixes #5649