Skip to content

ci: remove Codecov upload job - #409

Merged
mlieberman85 merged 1 commit into
darnitdevorg:mainfrom
mlieberman85:remove-codecov
Aug 29, 2026
Merged

ci: remove Codecov upload job#409
mlieberman85 merged 1 commit into
darnitdevorg:mainfrom
mlieberman85:remove-codecov

Conversation

@mlieberman85

Copy link
Copy Markdown
Contributor

Summary

Removes the coverage job from .github/workflows/ci.yml. The job's sole purpose was uploading coverage.xml to Codecov via codecov/codecov-action@v4, and both fail_ci_if_error: false and continue-on-error: true meant the check always showed green regardless of whether the upload actually landed.

Why

  • No codecov.yml config in the repo -- if uploads were reaching Codecov, they used defaults.
  • Nothing else in the tree consumes coverage.xml (no follow-up jobs, no scripts, no doc references). The coverage run existed only to feed the upload step.
  • The check was contributing a green-checkmark cargo cult -- it always passed regardless of what happened.

What changed

Deletes the entire coverage: job (36 lines). build's needs: [test, lint] is unaffected -- it never depended on coverage. Verified no other Codecov references anywhere in the repo.

Not in scope

  • Rolling coverage measurement into another job or exposing it as a metric elsewhere. If someone wants coverage locally: uv run pytest --cov=packages/darnit/src --cov=packages/darnit-baseline/src. If we want it in CI later, add it back with a real consumer.

The `coverage` job in ci.yml ran pytest with --cov flags solely to
upload coverage.xml to Codecov via `codecov/codecov-action@v4`. Both
`fail_ci_if_error: false` and `continue-on-error: true` meant the
check always showed green regardless of whether the upload actually
landed. No `codecov.yml` config exists in the repo, so the upload
uses defaults if it reaches Codecov at all.

Nothing else in the tree consumes coverage.xml -- no follow-up jobs,
no scripts, no doc references. Removing the whole job rather than
just the upload step avoids leaving a coverage run without a purpose.

`build`'s `needs: [test, lint]` is unaffected -- it never depended on
coverage. Verified no other Codecov references anywhere in the repo.
@mlieberman85
mlieberman85 merged commit 3672d80 into darnitdevorg:main Aug 29, 2026
7 checks passed
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