Skip to content

Check the whole test corpus in the pyrefly coverage check/report consistency test - #4253

Closed
jorenham wants to merge 1 commit into
meta:mainfrom
jorenham:coverage/glob-desync-tests
Closed

jorenham wants to merge 1 commit into
meta:mainfrom
jorenham:coverage/glob-desync-tests

Conversation

@jorenham

Copy link
Copy Markdown
Collaborator

Summary

The test that keeps coverage check findings consistent with the coverage report untyped symbols ran on an arbitrary list of 19 files, for no obvious reason (mea culpa).
It now globs the COVERAGE_TEST_PATH directory, which currently counts 57 files, which also simplifies the testcase code.

Test Plan

That's indeed the point :)

@jorenham jorenham added the coverage Issues related to `pyrefly coverage` label Jul 22, 2026
@meta-cla meta-cla Bot added the cla signed label Jul 22, 2026
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@rchen152 rchen152 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jorenham Could you rebase this one as well? It LGTM, but it's old enough that we didn't have auto-importing set up yet, and I believe a rebase will trigger the import.

@jorenham
jorenham force-pushed the coverage/glob-desync-tests branch from 1520408 to 2f490bf Compare November 2, 2026 09:12
@github-actions github-actions Bot added size/s and removed size/s labels Nov 2, 2026
@meta-codesync

meta-codesync Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

This pull request has been imported. If you are a Meta employee, you can view this in D129033591. (Because this pull request was imported automatically, there will not be any future comments.)

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@rchen152 rchen152 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@meta-codesync

meta-codesync Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

This pull request has been merged in c35ecb9.

@jorenham
jorenham deleted the coverage/glob-desync-tests branch November 2, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed coverage Issues related to `pyrefly coverage` Merged quansight size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants