Repository navigation
fix(setup): install hooks before toolchain checks - #21450
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Bead |
|
The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/39096093835 at b246059 failed: cmux app scheme compile (Debug), cmux-next Release compile (Xcode 26). |
Changelog
Previously a first setup failure (missing Xcode, Metal, Rust, or Ghostty prerequisites) exited before installing hooks, leaving every worktree in the clone without the formatter guard. Hook installation is now the first setup action, so failures cannot leave an unguarded checkout.
Validation:
git diff --check; shell flow reviewed.Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Fixes setup so clone-local formatting hooks install before toolchain and submodule checks.
Previously, a failed first setup (missing Xcode, Metal, Rust, or Ghostty prerequisites) exited before hook installation, leaving every worktree in the clone without the formatter guard. Hook installation now runs first, so a setup failure can't leave an unguarded checkout.
Written for commit 0f98270. Summary will update on new commits.