Fix SIGPIPE error in update-istio-in-docs.sh script#1404
Merged
istio-testing merged 1 commit intoistio-ecosystem:mainfrom Nov 27, 2025
Merged
Fix SIGPIPE error in update-istio-in-docs.sh script#1404istio-testing merged 1 commit intoistio-ecosystem:mainfrom
istio-testing merged 1 commit intoistio-ecosystem:mainfrom
Conversation
The script was failing in CI with exit code 141 due to SIGPIPE when using 'head -n 2' with 'set -o pipefail'. This temporarily disables pipefail around the problematic command to handle the SIGPIPE gracefully while maintaining script safety. Signed-off-by: Francisco Herrera <fjglira@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1404 +/- ##
==========================================
+ Coverage 80.73% 81.12% +0.39%
==========================================
Files 44 44
Lines 2299 2299
==========================================
+ Hits 1856 1865 +9
+ Misses 326 320 -6
+ Partials 117 114 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
dgn
approved these changes
Nov 27, 2025
Collaborator
dgn
left a comment
There was a problem hiding this comment.
works for me. you could also adjust the yq invocation to only returns first two items I guess, but not sure how hard/readable that is
Contributor
Author
|
/test e2e-kind-olm |
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Nov 27, 2025
* upstream/main: (71 commits) Fix SIGPIPE error in update-istio-in-docs.sh script (istio-ecosystem#1404) Add CLAUDE.md to the sail operator repo (istio-ecosystem#1402) Update AGENTS.md and domain knowledge files (istio-ecosystem#1395) Adding debug information for sample applications (istio-ecosystem#1390) Remove Profile printcolumn from ztunnel status (istio-ecosystem#1386) api: add ZTunnel v1 CRD version (istio-ecosystem#1365) Automatic update for Istio versions in Docs (istio-ecosystem#1374) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1378) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1377) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1376) fix: pin helm to v3 (istio-ecosystem#1375) Make sure to skip cleanup of operator in e2e (istio-ecosystem#1351) Changes on crd-ref-docs templates to add API version to the CRD (istio-ecosystem#1368) Make getProxyVersion robust to changes in istioctl proxy-status format (istio-ecosystem#1346) fix: update codecov ignore pattern for tests directory (istio-ecosystem#1357) Unpining OLM version as 0.38.0 is reverting the breaking change (istio-ecosystem#1347) Test External Control Plane on latest versions (istio-ecosystem#1352) Adding Istio 1.28.0 (istio-ecosystem#1344) Fix make gen errors when vendor folder is present (istio-ecosystem#1348) Add Claude Code command for updating EOL Istio versions (istio-ecosystem#1326) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Nov 27, 2025
* upstream/main: (71 commits) Fix SIGPIPE error in update-istio-in-docs.sh script (istio-ecosystem#1404) Add CLAUDE.md to the sail operator repo (istio-ecosystem#1402) Update AGENTS.md and domain knowledge files (istio-ecosystem#1395) Adding debug information for sample applications (istio-ecosystem#1390) Remove Profile printcolumn from ztunnel status (istio-ecosystem#1386) api: add ZTunnel v1 CRD version (istio-ecosystem#1365) Automatic update for Istio versions in Docs (istio-ecosystem#1374) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1378) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1377) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1376) fix: pin helm to v3 (istio-ecosystem#1375) Make sure to skip cleanup of operator in e2e (istio-ecosystem#1351) Changes on crd-ref-docs templates to add API version to the CRD (istio-ecosystem#1368) Make getProxyVersion robust to changes in istioctl proxy-status format (istio-ecosystem#1346) fix: update codecov ignore pattern for tests directory (istio-ecosystem#1357) Unpining OLM version as 0.38.0 is reverting the breaking change (istio-ecosystem#1347) Test External Control Plane on latest versions (istio-ecosystem#1352) Adding Istio 1.28.0 (istio-ecosystem#1344) Fix make gen errors when vendor folder is present (istio-ecosystem#1348) Add Claude Code command for updating EOL Istio versions (istio-ecosystem#1326) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Nov 28, 2025
* upstream/main: (71 commits) Fix SIGPIPE error in update-istio-in-docs.sh script (istio-ecosystem#1404) Add CLAUDE.md to the sail operator repo (istio-ecosystem#1402) Update AGENTS.md and domain knowledge files (istio-ecosystem#1395) Adding debug information for sample applications (istio-ecosystem#1390) Remove Profile printcolumn from ztunnel status (istio-ecosystem#1386) api: add ZTunnel v1 CRD version (istio-ecosystem#1365) Automatic update for Istio versions in Docs (istio-ecosystem#1374) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1378) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1377) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1376) fix: pin helm to v3 (istio-ecosystem#1375) Make sure to skip cleanup of operator in e2e (istio-ecosystem#1351) Changes on crd-ref-docs templates to add API version to the CRD (istio-ecosystem#1368) Make getProxyVersion robust to changes in istioctl proxy-status format (istio-ecosystem#1346) fix: update codecov ignore pattern for tests directory (istio-ecosystem#1357) Unpining OLM version as 0.38.0 is reverting the breaking change (istio-ecosystem#1347) Test External Control Plane on latest versions (istio-ecosystem#1352) Adding Istio 1.28.0 (istio-ecosystem#1344) Fix make gen errors when vendor folder is present (istio-ecosystem#1348) Add Claude Code command for updating EOL Istio versions (istio-ecosystem#1326) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Nov 28, 2025
* upstream/main: (71 commits) Fix SIGPIPE error in update-istio-in-docs.sh script (istio-ecosystem#1404) Add CLAUDE.md to the sail operator repo (istio-ecosystem#1402) Update AGENTS.md and domain knowledge files (istio-ecosystem#1395) Adding debug information for sample applications (istio-ecosystem#1390) Remove Profile printcolumn from ztunnel status (istio-ecosystem#1386) api: add ZTunnel v1 CRD version (istio-ecosystem#1365) Automatic update for Istio versions in Docs (istio-ecosystem#1374) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1378) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1377) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1376) fix: pin helm to v3 (istio-ecosystem#1375) Make sure to skip cleanup of operator in e2e (istio-ecosystem#1351) Changes on crd-ref-docs templates to add API version to the CRD (istio-ecosystem#1368) Make getProxyVersion robust to changes in istioctl proxy-status format (istio-ecosystem#1346) fix: update codecov ignore pattern for tests directory (istio-ecosystem#1357) Unpining OLM version as 0.38.0 is reverting the breaking change (istio-ecosystem#1347) Test External Control Plane on latest versions (istio-ecosystem#1352) Adding Istio 1.28.0 (istio-ecosystem#1344) Fix make gen errors when vendor folder is present (istio-ecosystem#1348) Add Claude Code command for updating EOL Istio versions (istio-ecosystem#1326) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Nov 28, 2025
* upstream/main: (71 commits) Fix SIGPIPE error in update-istio-in-docs.sh script (istio-ecosystem#1404) Add CLAUDE.md to the sail operator repo (istio-ecosystem#1402) Update AGENTS.md and domain knowledge files (istio-ecosystem#1395) Adding debug information for sample applications (istio-ecosystem#1390) Remove Profile printcolumn from ztunnel status (istio-ecosystem#1386) api: add ZTunnel v1 CRD version (istio-ecosystem#1365) Automatic update for Istio versions in Docs (istio-ecosystem#1374) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1378) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1377) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1376) fix: pin helm to v3 (istio-ecosystem#1375) Make sure to skip cleanup of operator in e2e (istio-ecosystem#1351) Changes on crd-ref-docs templates to add API version to the CRD (istio-ecosystem#1368) Make getProxyVersion robust to changes in istioctl proxy-status format (istio-ecosystem#1346) fix: update codecov ignore pattern for tests directory (istio-ecosystem#1357) Unpining OLM version as 0.38.0 is reverting the breaking change (istio-ecosystem#1347) Test External Control Plane on latest versions (istio-ecosystem#1352) Adding Istio 1.28.0 (istio-ecosystem#1344) Fix make gen errors when vendor folder is present (istio-ecosystem#1348) Add Claude Code command for updating EOL Istio versions (istio-ecosystem#1326) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Nov 28, 2025
* upstream/main: (72 commits) Adding make target to run update-dependencies script (istio-ecosystem#1405) Fix SIGPIPE error in update-istio-in-docs.sh script (istio-ecosystem#1404) Add CLAUDE.md to the sail operator repo (istio-ecosystem#1402) Update AGENTS.md and domain knowledge files (istio-ecosystem#1395) Adding debug information for sample applications (istio-ecosystem#1390) Remove Profile printcolumn from ztunnel status (istio-ecosystem#1386) api: add ZTunnel v1 CRD version (istio-ecosystem#1365) Automatic update for Istio versions in Docs (istio-ecosystem#1374) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1378) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1377) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1376) fix: pin helm to v3 (istio-ecosystem#1375) Make sure to skip cleanup of operator in e2e (istio-ecosystem#1351) Changes on crd-ref-docs templates to add API version to the CRD (istio-ecosystem#1368) Make getProxyVersion robust to changes in istioctl proxy-status format (istio-ecosystem#1346) fix: update codecov ignore pattern for tests directory (istio-ecosystem#1357) Unpining OLM version as 0.38.0 is reverting the breaking change (istio-ecosystem#1347) Test External Control Plane on latest versions (istio-ecosystem#1352) Adding Istio 1.28.0 (istio-ecosystem#1344) Fix make gen errors when vendor folder is present (istio-ecosystem#1348) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Nov 28, 2025
* upstream/main: (72 commits) Adding make target to run update-dependencies script (istio-ecosystem#1405) Fix SIGPIPE error in update-istio-in-docs.sh script (istio-ecosystem#1404) Add CLAUDE.md to the sail operator repo (istio-ecosystem#1402) Update AGENTS.md and domain knowledge files (istio-ecosystem#1395) Adding debug information for sample applications (istio-ecosystem#1390) Remove Profile printcolumn from ztunnel status (istio-ecosystem#1386) api: add ZTunnel v1 CRD version (istio-ecosystem#1365) Automatic update for Istio versions in Docs (istio-ecosystem#1374) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1378) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1377) Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1376) fix: pin helm to v3 (istio-ecosystem#1375) Make sure to skip cleanup of operator in e2e (istio-ecosystem#1351) Changes on crd-ref-docs templates to add API version to the CRD (istio-ecosystem#1368) Make getProxyVersion robust to changes in istioctl proxy-status format (istio-ecosystem#1346) fix: update codecov ignore pattern for tests directory (istio-ecosystem#1357) Unpining OLM version as 0.38.0 is reverting the breaking change (istio-ecosystem#1347) Test External Control Plane on latest versions (istio-ecosystem#1352) Adding Istio 1.28.0 (istio-ecosystem#1344) Fix make gen errors when vendor folder is present (istio-ecosystem#1348) ...
dgn
pushed a commit
to dgn/sail-operator
that referenced
this pull request
Mar 17, 2026
…1404) The script was failing in CI with exit code 141 due to SIGPIPE when using 'head -n 2' with 'set -o pipefail'. This temporarily disables pipefail around the problematic command to handle the SIGPIPE gracefully while maintaining script safety. Signed-off-by: Francisco Herrera <fjglira@gmail.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
What this PR does / why we need it:
The script was failing in CI with exit code 141 due to SIGPIPE when using 'head -n 2' with 'set -o pipefail'. This temporarily disables pipefail around the problematic command to handle the SIGPIPE gracefully while maintaining script safety.
Which issue(s) this PR fixes:
Fixes #
Related Issue/PR ##1403. I'll add the test in a separate PR
Additional information: