-
Notifications
You must be signed in to change notification settings - Fork 5
PR3 of attempting to fix the CI #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR3 of attempting to fix the CI #163
Conversation
WalkthroughThe GitHub Actions workflow for running zsh tests on Alpine has been refactored. The previous single step using Changes
Sequence Diagram(s)sequenceDiagram
participant Workflow
participant Runner
participant Sudo
participant Zsh Test
Workflow->>Runner: Pre-clean zsh config with sudo
Runner->>Sudo: Remove zsh config files, chown dist/
Sudo-->>Runner: Cleanup complete
Workflow->>Runner: Run zsh tests without sudo
Runner->>Zsh Test: Set PS1, run make test_zsh
Zsh Test-->>Runner: Test results
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Possibly related PRs
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
8042b78 to
b032058
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (1)
.github/workflows/test.yml (1)
83-87: Make the test step fail fast & reproducibleConsider adding strict bash flags so the step aborts on the first non-zero exit and on undefined variables; this prevents silent skips:
- export PS1="$ " - make test_zsh + set -euo pipefail + export PS1="$ " + make test_zshMinor, but it hardens the workflow against future edits that append additional commands.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/test.yml(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Cursor Bugbot
- GitHub Check: test-all-shells
- GitHub Check: test-flakiness
1ca5d30 to
4c87e38
Compare
050d354 to
5caef0a
Compare
rohitpaulk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(minor comment, good to go once addressed!)
.github/workflows/test.yml
Outdated
| - name: Run tests against all shells on alpine | ||
| - name: Run zsh tests with proper terminal setup | ||
| run: | | ||
| export PS1="$ " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do these in internal/test_helpers/zsh/your_shell.sh, so that make test_zsh works directly without any additions
Summary by CodeRabbit