Skip to content

fix(release CI): fix 'chmod: cannot access 'artifacts/*-macos-*': No such file or directory' - #608

Merged
twitchyliquid64 merged 1 commit into
mainfrom
tom/mip
Jul 1, 2026
Merged

fix(release CI): fix 'chmod: cannot access 'artifacts/*-macos-*': No such file or directory'#608
twitchyliquid64 merged 1 commit into
mainfrom
tom/mip

Conversation

@twitchyliquid64

@twitchyliquid64 twitchyliquid64 commented Jul 1, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Bug Fixes
    • Improved release artifact handling so all platform builds are downloaded and marked executable correctly during release packaging.

@twitchyliquid64
twitchyliquid64 enabled auto-merge (squash) July 1, 2026 04:01
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The release job's CI workflow was updated to broaden the artifact download and chmod glob patterns from platform-specific patterns to a generic pattern matching all artifact names.

Changes

CI Release Artifact Glob Update

Layer / File(s) Summary
Update artifact glob patterns
.github/workflows/ci.yml
Artifact download glob changed from *-linux-* to *-*-*; chmod glob changed from *-{linux,macos}-* to *-*-* to cover all downloaded artifacts.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Poem

A hop, a glob, a widened net,
All artifacts now safely set,
No more picking linux, mac—
Every binary gets its whack (of chmod)!
🐇✨ Ship it, hop away!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the main CI fix by describing the release chmod failure on missing macOS artifacts.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.github/workflows/ci.yml (1)

249-267: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Flatten the downloaded artifacts before using them.

actions/download-artifact@v8 is still using the default merge-multiple: false, so pattern: "*-*-*" downloads each artifact into its own subdirectory. That makes chmod +x artifacts/*-*-* target directories, and the completion/release steps still look for binaries at the wrong paths.

Add merge-multiple: true here, or update the later paths to artifacts/<artifact-name>/<binary>.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/ci.yml around lines 249 - 267, Downloaded artifacts are
being kept in per-artifact subdirectories, so the chmod and completion
generation steps in the workflow use the wrong paths. Update the Download
artifacts step in the ci workflow by enabling merge-multiple in
actions/download-artifact@v8, or adjust the later chmod +x and artifacts/<name>
binary references in the Generate completions step to point to the nested
artifact directories.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In @.github/workflows/ci.yml:
- Around line 249-267: Downloaded artifacts are being kept in per-artifact
subdirectories, so the chmod and completion generation steps in the workflow use
the wrong paths. Update the Download artifacts step in the ci workflow by
enabling merge-multiple in actions/download-artifact@v8, or adjust the later
chmod +x and artifacts/<name> binary references in the Generate completions step
to point to the nested artifact directories.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 56193c52-fa87-4053-827d-3a86d1019f16

📥 Commits

Reviewing files that changed from the base of the PR and between 93e6929 and 5187a1d.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

@twitchyliquid64
twitchyliquid64 merged commit 939afd2 into main Jul 1, 2026
54 checks passed
@twitchyliquid64
twitchyliquid64 deleted the tom/mip branch July 1, 2026 04:18
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.

2 participants