66
77## How uploads work today
88
9- - ` ci.yml ` calls ` codecov/codecov-action@v4 ` with ` use_oidc: true ` during
10- the ` test-unit ` job.
9+ - ` ci.yml ` calls pinned ` codecov/codecov-action ` v7.0.0 with
10+ ` use_oidc: true ` during the ` test-unit ` job.
1111- OIDC uploads do not require a long-lived ` CODECOV_TOKEN ` ; the action
1212 exchanges the GitHub OIDC token for a short-lived Codecov credential.
1313- ` fail_ci_if_error: false ` keeps CI green even if Codecov is temporarily
14- unreachable.
14+ unreachable or the repository has not yet been enabled there.
15+ - Coverage still fails closed inside CI: the full suite enforces a 60%
16+ line/branch floor, ` diff-cover ` enforces 80% on changed code, and
17+ security-critical modules have separate 90% gates.
18+
19+ ## Current external status
20+
21+ On 2026-07-30, CI run
22+ [ ` 30575838038 ` ] ( https://github.com/brownjuly2003-code/agentflow/actions/runs/30575838038 )
23+ completed every test and local coverage gate successfully. Codecov OIDC token
24+ exchange and upload queueing also succeeded, but Codecov returned
25+ ` Repository not found ` while processing the report. This is an external
26+ repository-activation gap, not a test or coverage failure. Complete the
27+ one-time setup below before treating the Codecov dashboard or badge as current.
1528
1629## One-time setup
1730
@@ -40,7 +53,8 @@ Expected response: `Valid!`.
4053## Verify the pipeline
4154
42551 . Push a commit to ` main ` or open a pull request.
43- 2 . Confirm the ` Upload coverage ` step in ` test-unit ` succeeds.
56+ 2 . After the repository is enabled in Codecov, confirm the ` Upload coverage `
57+ step reports a successful external upload.
44583 . Open the Codecov dashboard and confirm a new report appears for the
4559 commit SHA.
46604 . Reload ` README.md ` on GitHub — the ` codecov ` badge should resolve to
@@ -57,3 +71,8 @@ Expected response: `Valid!`.
5771- Coverage for ` tests/ ` , ` scripts/ ` , ` examples/ ` , ` sdk-ts/ ` , and
5872 ` notebooks/ ` is ignored because those directories are not part of the
5973 production surface.
74+
75+ These Codecov policies are additional reporting/status checks once the
76+ external repository is enabled. The blocking repository-owned coverage floors
77+ remain the ` pytest-cov ` , ` diff-cover ` , and module-specific commands in
78+ ` .github/workflows/ci.yml ` .
0 commit comments