From 0e0ad13beb357b83faffcda48586641ebfd88b7b Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Wed, 12 Aug 2026 21:52:35 +0300 Subject: fix: address adversarial-review findings (validate error visibility + portable paste snippets) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - validate.yml: stream curl output directly; the response=$(...) capture under set -euo pipefail swallowed the validation error body on non-2xx (job failed with a bare exit code and no explanation) - AGENTS.md + README.md: quote the ?ref=production endpoint (zsh globs bare ?) and fetch via Accept: application/vnd.github.raw instead of jq + base64 (BSD/GNU base64 flag drift) codecov.yml payload unchanged (byte-frozen to spec Appendix B). T9078: IS-609 🤖 Generated by [robots](https://vyos.io) --- .github/workflows/validate.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.github/workflows/validate.yml') diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index f6096b0..4741ea8 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -22,8 +22,7 @@ jobs: - name: Validate codecov.yml structure run: | set -euo pipefail - response=$(curl -sS --fail-with-body -X POST \ + curl -sS --fail-with-body -X POST \ --connect-timeout 10 --max-time 60 \ --data-binary @codecov.yml \ - https://codecov.io/validate) - echo "$response" + https://codecov.io/validate -- cgit v1.2.3