Skip to content

Conversation

@achamayou
Copy link
Member

Added guideline for handling pipe operators in shell scripts.

Added guideline for handling pipe operators in shell scripts.
Copilot AI review requested due to automatic review settings January 7, 2026 14:19
@achamayou achamayou requested a review from a team as a code owner January 7, 2026 14:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new code review guideline for shell scripts that requires the use of the pipefail option when pipe operators are present. This ensures that failures in any command within a pipeline are properly detected and not masked by subsequent commands.

Key Changes:

  • Added a guideline requiring set -o pipefail in shell scripts that use pipe operators

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@achamayou
Copy link
Member Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Contributor

Copilot AI commented Jan 7, 2026

@achamayou I've opened a new pull request, #7560, to work on those changes. Once the pull request is ready, I'll request review from you.

@achamayou achamayou enabled auto-merge (squash) January 7, 2026 15:52
@achamayou achamayou merged commit 27ee0eb into main Jan 7, 2026
17 checks passed
@achamayou achamayou deleted the achamayou-patch-1 branch January 7, 2026 15:54
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.

3 participants