Skip to content

Conversation

@ilevkivskyi
Copy link
Member

@ilevkivskyi ilevkivskyi commented Sep 26, 2025

This is a little preparation for #933.

We need to minimize the number of actions after writing cache, since these are things workers will need to communicate back to coordinator. Previously we updated State.meta after writing cache, but this looks not needed anymore, and would complicate parallel checking.

Also delete couple unused attributes on State.

@ilevkivskyi ilevkivskyi requested a review from JukkaL September 26, 2025 15:08
@github-actions

This comment has been minimized.

@ilevkivskyi
Copy link
Member Author

Hm, graphql-core is crashing on master. We should probably look into that ASAP.

@github-actions

This comment has been minimized.

@ilevkivskyi
Copy link
Member Author

Also for some reason few random projects in shard 1 take much more time to check (on both old and new version). Interestingly, not the same projects on two re-runs. Maybe some problems with the GitHub runner.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

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

@ilevkivskyi
Copy link
Member Author

@JukkaL to speed up things I will merge this tomorrow if there are no objections.

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

It would be nice to update summary to explain what goes on in more detail, but not essential.

@ilevkivskyi
Copy link
Member Author

OK, updated the description.

@ilevkivskyi ilevkivskyi merged commit a12565c into python:master Sep 30, 2025
20 checks passed
@ilevkivskyi ilevkivskyi deleted the do-not-update-meta branch September 30, 2025 11:16
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.

2 participants