diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-08-12 21:52:35 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-08-12 21:52:35 +0300 |
| commit | 0e0ad13beb357b83faffcda48586641ebfd88b7b (patch) | |
| tree | 85de56c88f6ab7923b1848b4568c65b1174fdca7 /AGENTS.md | |
| parent | cf580caa3db4b4b1adaa541301d3d9ab8de5323b (diff) | |
| download | codecov-0e0ad13beb357b83faffcda48586641ebfd88b7b.tar.gz codecov-0e0ad13beb357b83faffcda48586641ebfd88b7b.zip | |
fix: address adversarial-review findings (validate error visibility + portable paste snippets)
- 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)
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,5 +17,5 @@ This repo holds the **Codecov Global YAML** for the `vyos` GitHub organization. 2. Keep `codecov.yml` comment-free — Codecov strips comments on dashboard save; any explanatory content lives here in AGENTS.md or in README.md. 3. After merge to `production`, operator pastes from - `gh api repos/vyos/codecov/contents/codecov.yml?ref=production --jq '.content' | base64 -d` + `gh api 'repos/vyos/codecov/contents/codecov.yml?ref=production' -H "Accept: application/vnd.github.raw"` into the dashboard. Repo is the source of truth; dashboard is a cache. |
