Skip to content

Move MyPy type preciseness reporting to Coveralls#240

Merged
bdraco merged 2 commits into
aio-libs:masterfrom
aiolibsbot:koan/implement-239
May 18, 2026
Merged

Move MyPy type preciseness reporting to Coveralls#240
bdraco merged 2 commits into
aio-libs:masterfrom
aiolibsbot:koan/implement-239

Conversation

@aiolibsbot

@aiolibsbot aiolibsbot commented May 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Migrates the MyPy type preciseness coverage report from Codecov to Coveralls, matching the convention adopted by aio-libs/multidict (#1231) and aio-libs/frozenlist (#758). Pytest coverage continues to be uploaded to Codecov.

Closes #239

Changes

  • .codecov.yml: drop the typing flag entry under coverage.status.project and decrement after_n_builds from 20 to 19 (lint job no longer uploads to Codecov).
  • .github/workflows/ci-cd.yml: stop wiring CODECOV_TOKEN into the reusable linters workflow.
  • .github/workflows/reusable-linters.yml: drop the codecov-token input and replace the codecov/codecov-action@v6 step with coverallsapp/github-action@v2 (cobertura format, MyPy flag, debug/measure gated on runner.debug).
  • CHANGES/239.contrib.rst: changelog fragment documenting the move.

Test plan

  • CI on the PR confirms the lint job uploads the MyPy cobertura report to Coveralls without referencing CODECOV_TOKEN.
  • Codecov check no longer waits on a MyPy upload (after_n_builds: 19).

Generated by Kōan /implement


Quality Report

Changes: 4 files changed, 14 insertions(+), 18 deletions(-)

Code scan: clean

Tests: failed (FAILED)

Branch hygiene: clean

Generated by Kōan post-mission quality pipeline

The MyPy cobertura report is now uploaded to Coveralls instead
of Codecov, matching the convention adopted by aio-libs/multidict
and aio-libs/frozenlist.

Closes aio-libs#239

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided There is a change note present in this PR label May 18, 2026
Comment thread CHANGES/239.contrib.rst Outdated
@bdraco

bdraco commented May 18, 2026

Copy link
Copy Markdown
Member

Looks like a faithful port of aio-libs/multidict#1231

@bdraco bdraco marked this pull request as ready for review May 18, 2026 16:17
@codspeed-hq

codspeed-hq Bot commented May 18, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 4 untouched benchmarks


Comparing aiolibsbot:koan/implement-239 (a7fef80) with master (315e356)

Open in CodSpeed

@codecov

codecov Bot commented May 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.54%. Comparing base (315e356) to head (a7fef80).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #240      +/-   ##
==========================================
+ Coverage   97.72%   99.54%   +1.81%     
==========================================
  Files          17       10       -7     
  Lines         881      439     -442     
  Branches       44       17      -27     
==========================================
- Hits          861      437     -424     
+ Misses         12        2      -10     
+ Partials        8        0       -8     
Flag Coverage Δ
CI-GHA 97.49% <ø> (-0.24%) ⬇️
MyPy ?
OS-Linux 97.49% <ø> (ø)
OS-Windows 94.53% <ø> (ø)
OS-macOS 94.53% <ø> (ø)
Py-3.10.11 92.71% <ø> (ø)
Py-3.10.20 94.53% <ø> (ø)
Py-3.11.15 96.12% <ø> (ø)
Py-3.11.9 94.30% <ø> (ø)
Py-3.12.10 94.30% <ø> (ø)
Py-3.12.13 96.12% <ø> (ø)
Py-3.13.13 96.12% <ø> (ø)
Py-3.14.4 94.26% <ø> (ø)
Py-3.14.5 96.10% <ø> (ø)
Py-3.14.5t 96.10% <ø> (ø)
Py-pypy3.10.16-7.3.19 78.13% <ø> (ø)
VM-macos-latest 94.53% <ø> (ø)
VM-ubuntu-latest 97.49% <ø> (ø)
VM-windows-11-arm 94.30% <ø> (ø)
VM-windows-latest 94.53% <ø> (ø)
pytest 97.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bdraco bdraco merged commit c151676 into aio-libs:master May 18, 2026
55 of 56 checks passed
@aiolibsbot aiolibsbot deleted the koan/implement-239 branch May 18, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided There is a change note present in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate MyPy coverage from Codecov to Coveralls

2 participants