Skip to content

fix(ci): upload Codecov coverage via GitHub OIDC - #118

Merged
konih merged 1 commit into
mainfrom
fix/codecov-oidc
Jul 13, 2026
Merged

konih merged 1 commit into
mainfrom
fix/codecov-oidc

Conversation

@konih

@konih konih commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Codecov uploads were silently skipped on every CI run because CODECOV_TOKEN is not configured in the repo (the upload step was conditional on the secret being set).
  • Switches the test job to use_oidc: true, matching the working kollect pattern — no long-lived token required.
  • Removes the token/no-token dual-path plumbing and documents the OIDC + fork-PR behavior in docs/CICD.md and AGENTS.md.

Test plan

Operator follow-up (after merge)

  • Delete unused CODECOV_TOKEN repo secret if present
  • Confirm Codecov GitHub App is installed on platformrelay/MKurator for reliable PR patch comments

CODECOV_TOKEN was unset so every test job skipped the upload step.
Switch to use_oidc: true (kollect pattern) and drop the token
conditional plumbing.
@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@konih
konih merged commit 34b9102 into main Jul 13, 2026
18 checks passed
@konih
konih deleted the fix/codecov-oidc branch July 13, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant