feat(setup): add Git hook dispatcher generation - #81
Conversation
Deploying rstack-cli with
|
| Latest commit: |
37278e3
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://48c4ec08.rstack-cli.pages.dev |
| Branch Preview URL: | https://chenjiahan-feat-git-hook-dis.rstack-cli.pages.dev |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds a typed 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 17ebbf4b9d
ℹ️ 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".
Summary
This PR establishes the generated Git hook runtime needed by the upcoming
rs setupinstaller. It creates shims for all 14 Husky-compatible client hooks and a sharedrunnerdispatcher that finds user-managed hooks one directory above, forwards arguments and stdin, and preserves the hook exit status. Focused tests cover the generated file set and POSIX runtime behavior, including paths with spaces.