From a5a336f70d1365a6750227e67c77c48496b9e58c Mon Sep 17 00:00:00 2001 From: Amarjeet LNU Date: Fri, 17 Jul 2026 13:45:12 -0700 Subject: [PATCH] fix: post Codecov results as GitHub Checks, not only commit statuses Since early July 2026 Codecov has been posting only legacy commit statuses (`codecov/project`, `codecov/patch`) for this repo. These appear under the PR "Conversation" merge box but NOT on the PR "Checks" tab, so reviewers looking at /checks no longer see coverage results. Earlier PRs (e.g. #5969, Jun 26) correctly posted GitHub check-runs visible on /checks. GitHub Checks are Codecov's default, so this regression is at the GitHub App integration level (the Codecov app losing "Checks: read & write" permission), not a codecov.yml setting -- it affects even PRs that carry no codecov.yml. Add an explicit `github_checks: annotations: true` to document the intended behavior and re-enable check annotations once the app permission is restored. NOTE: this yaml alone does not fully fix visibility. An org/repo admin must re-authorize the Codecov GitHub App so it regains Checks permission (GitHub > aws org > Settings > GitHub Apps > Codecov > Configure, or reconnect the integration from the Codecov dashboard). --- codecov.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/codecov.yml b/codecov.yml index 30328aef30..927bdc67b5 100644 --- a/codecov.yml +++ b/codecov.yml @@ -36,6 +36,16 @@ coverage: target: 70% threshold: 1% +# Post coverage results as GitHub Checks (visible on the PR "Checks" tab), not only +# as legacy commit statuses. Checks are Codecov's default, but making it explicit +# documents the intent and re-enables line annotations once the Codecov GitHub App +# has "Checks: read & write" permission on the repo. NOTE: this yaml alone is not +# sufficient — if Codecov posts only commit statuses (visible under the PR +# "Conversation" merge box but NOT the "Checks" tab), the Codecov GitHub App has lost +# its Checks permission and an org/repo admin must re-authorize it. +github_checks: + annotations: true + comment: layout: "header, diff, flags, components" require_changes: true