python / python/mypy

Suport various reports in parallel mode

Open
#21,342 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature parallel checking
Dominant language
Python
Stars
20.6k
Forks
3.3k
PR merge metrics
PR metrics pending

Description

Various reports, like type coverage/type precision reports are nor supported in parallel mode. It would be great to support this. The non-trivial part is that we write to the same file deep in the reporters logic. Instead workers should either write per-file reports that will be aggregated by the coordinator, or send them back to the coordinator over IPC (which may require more code changes).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests; start by tracing the parallel workers, coordinator, and reporters logic that writes type coverage and type precision reports. Compare per-file aggregation with coordinator IPC, then verify that the reports work in parallel mode without workers writing to the same file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.