You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b043d06
Browse filesBrowse the repository at this point in the historyBrowse files
Coverage reaches Codecov: every upload signs in with OIDC (#2162)
* Coverage reaches Codecov: every upload signs in with OIDC
Codecov takes an upload without a token only from a fork's branch. From a
branch of this repository it answers "Token required because branch is
protected", and codecov-action logs that and finishes green. None of the
four legs had a token, so all four collected coverage and Codecov kept
none of it. The newest master commit it holds is 90c00a8, from
2022-11-28, and the newest pull request upload came from a fork on
2026-08-04. On today's master runs of C# Test, F# Test, Interactive Test
and C++ Test, and on #2161's C++ Test, every upload step logs that error.
Each upload step now sets use_oidc in a job granted id-token: write. That
gets a token for the run, so no secret is stored. On a fork's pull request
the action skips it and Codecov still takes the upload without a token.
fail_ci_if_error is set for pushes to master, so a refused upload turns
master red and an outage at Codecov cannot fail a pull request.
The cpp flag from #1038 was uploaded but never declared in codecov.yml,
so it had no path scope and no carry-forward. It is declared now, scoped
to the C++ wrapper that Coverage.md says it measures.
Part of #397
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* codecov.yml is valid: patch and changes sit under status
Codecov's validator rejected the file with "Error at ['coverage',
'changes']: unknown field". Since it was added in 2021, `patch: no` and
`changes: no` had sat directly under `coverage`, while Codecov reads them
under `coverage.status`. For an invalid file Codecov "keep[s] using the
last valid YAML provided" (https://docs.codecov.com/docs/codecov-yaml),
and this one had no valid version. So the flags #798 declared never
applied, and the patch status they meant to turn off has been posted
anyway: it appears on #2162.
Moved under status, the validator answers Valid! and reads back all four
flags with their paths and carry-forward. The comment and Coverage.md
give the command to check the next edit.
Part of #397
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
0 commit comments