fix: Standardize error handling in shell scripts with errexit, nounset, and pipefail (fixes #1556).#1562
Conversation
…t, and pipefail (fixes y-scope#1556).
WalkthroughThis pull request standardizes error handling across 32 shell scripts by replacing shorthand Bash options ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related issues
Pre-merge checks and finishing touches✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (33)
🧰 Additional context used🧠 Learnings (22)📓 Common learnings📚 Learning: 2024-11-15T16:28:08.644ZApplied to files:
📚 Learning: 2025-07-07T17:43:04.349ZApplied to files:
📚 Learning: 2024-11-18T16:49:20.248ZApplied to files:
📚 Learning: 2025-07-07T17:41:15.655ZApplied to files:
📚 Learning: 2025-07-01T14:51:19.172ZApplied to files:
📚 Learning: 2025-09-04T12:26:54.788ZApplied to files:
📚 Learning: 2025-08-25T16:27:50.549ZApplied to files:
📚 Learning: 2025-05-06T09:48:55.408ZApplied to files:
📚 Learning: 2025-02-12T22:24:17.723ZApplied to files:
📚 Learning: 2025-08-25T06:29:59.610ZApplied to files:
📚 Learning: 2025-08-19T14:41:28.901ZApplied to files:
📚 Learning: 2025-05-06T10:07:04.654ZApplied to files:
📚 Learning: 2025-07-01T14:52:02.418ZApplied to files:
📚 Learning: 2025-07-01T14:52:15.217ZApplied to files:
📚 Learning: 2025-10-20T21:05:30.417ZApplied to files:
📚 Learning: 2025-10-13T03:32:19.293ZApplied to files:
📚 Learning: 2025-08-13T14:48:49.020ZApplied to files:
📚 Learning: 2025-05-26T16:03:05.519ZApplied to files:
📚 Learning: 2025-08-25T00:45:05.464ZApplied to files:
📚 Learning: 2025-07-23T09:54:45.185ZApplied to files:
📚 Learning: 2025-07-01T14:52:15.217ZApplied to files:
⏰ 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). (11)
🔇 Additional comments (32)
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 |
…t, and pipefail (fixes y-scope#1556). (y-scope#1562)
Description
Add the long form
to all shell scripts in the repo.
Checklist
breaking change.
Validation performed
start_clp.shon a host without Docker installed and observed the script exited immediately after an error was reportedSummary by CodeRabbit