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 /README.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 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -18,8 +18,8 @@ delta is enumerated in the per-org delta table below — never as comments in `c `https://codecov.io/validate`. The check must pass. 3. After merge to `production`: ```bash - 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" ``` Operator pastes this content into the dashboard editor (linked above), saves, and re-opens the tab to confirm the saved content matches. @@ -27,7 +27,7 @@ delta is enumerated in the per-org delta table below — never as comments in `c ## Paste protocol (operator) 1. Open https://app.codecov.io/account/gh/vyos/yaml in browser. -2. Fetch the merged file via `gh api ... | base64 -d` (above). +2. Fetch the merged file via the quoted `gh api` raw-content command (above). 3. Paste into the dashboard editor. 4. Save. 5. Re-open the dashboard tab. **Codecov strips comments** — the saved content |
