Skip to content

fix: add set -o pipefail to fablo.sh to prevent silent pipeline failures#745

Open
Nikhil2510192 wants to merge 1 commit into
hyperledger-labs:mainfrom
Nikhil2510192:fix/add-pipefail-to-fablo-sh
Open

fix: add set -o pipefail to fablo.sh to prevent silent pipeline failures#745
Nikhil2510192 wants to merge 1 commit into
hyperledger-labs:mainfrom
Nikhil2510192:fix/add-pipefail-to-fablo-sh

Conversation

@Nikhil2510192
Copy link
Copy Markdown

Problem:
fablo.sh was missing set -o pipefail, allowing pipeline errors
to be silently swallowed. With only set -e, the exit code of a
pipeline is determined by the last command — if an earlier command
fails, the script continues executing without error.

Fix:
Added set -o pipefail after set -e on line 2 of fablo.sh.

Testing

  • npm run test:unit ✅ (17/17 passing)

Fixes #744

Signed-off-by: jiel <nikhilpagadala2006@gmail.com>
Copilot AI review requested due to automatic review settings May 7, 2026 06:29
Copy link
Copy Markdown

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

Adds set -o pipefail to the top-level fablo.sh entrypoint script so pipeline failures are not silently ignored when set -e is enabled, aligning behavior with the reported bug in #744.

Changes:

  • Enable pipefail in fablo.sh so any failure within a pipeline causes the script to fail fast.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Bug: fablo.sh missing set -o pipefail — pipeline errors silently swallowed

2 participants