| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:cad4e71d-983d-b758-2251-18f4c6171145 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D5FE:5314B:2F85831:3ED175D:6B002B76 |
| html-safe-nonce | 2aa2fac72ef16ab3cd2a9b8b97dc8deea68885fd4907c82f491771cc32674d94 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUZFOjUzMTRCOjJGODU4MzE6M0VEMTc1RDo2QjAwMkI3NiIsInZpc2l0b3JfaWQiOiI5MTEzNzg0MTg3MTU1OTE3Njg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8a40ace4563e2d068efa43e5e9e7590534c644d62136c0f14ebe07f771acd17c |
| hovercard-subject-tag | pull_request:3568556163 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/mypy/21292/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/e3be0f4bb03460c572b4adadd8d8b1a96ed9bdc6981bbdb1e9faedba6dce0493/python/mypy/pull/21292 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e3be0f4bb03460c572b4adadd8d8b1a96ed9bdc6981bbdb1e9faedba6dce0493/python/mypy/pull/21292 |
| og:image:alt | SQLite writes can become a major bottleneck for parallel runs, since only one write can be active at any time. Sharding helps a lot and was pretty easy to implement and reason about.
We need to be ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JukkaL |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/mypy/pull/21292#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21292 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21292 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fmypy |
| Reload | https://github.com/python/mypy/pull/21292 |
| Reload | https://github.com/python/mypy/pull/21292 |
| Reload | https://github.com/python/mypy/pull/21292 |
| python | https://github.com/python |
| mypy | https://github.com/python/mypy |
| Code | https://github.com/python/mypy |
| Issues2.7k (2.7k) | https://github.com/python/mypy/issues |
| Pull requests547 (547) | https://github.com/python/mypy/pulls |
| Actions | https://github.com/python/mypy/actions |
| Projects | https://github.com/python/mypy/projects |
| Wiki | https://github.com/python/mypy/wiki |
| Security and quality | https://github.com/python/mypy/security |
| Insights | https://github.com/python/mypy/insights |
| https://github.com/python/mypy |
| JukkaL | https://github.com/JukkaL |
| master | https://github.com/python/mypy/tree/master |
| sqlite-sharding | https://github.com/python/mypy/tree/sqlite-sharding |
| Conversation | https://github.com/python/mypy/pull/21292 |
| Commits17 (17) | https://github.com/python/mypy/pull/21292/commits |
| Checks | https://github.com/python/mypy/pull/21292/checks |
| Files changed | https://github.com/python/mypy/pull/21292/files |
| Use sharding for sqlite cache (16 shards) | https://github.com/python/mypy/pull/21292#top |
| JukkaL | https://github.com/JukkaL |
| master | https://github.com/python/mypy/tree/master |
| sqlite-sharding | https://github.com/python/mypy/tree/sqlite-sharding |
|
| https://github.com/JukkaL |
| JukkaL | https://github.com/JukkaL |
| Apr 22, 2026 | https://github.com/python/mypy/pull/21292#issue-4310591014 |
| #21215 | https://github.com/python/mypy/issues/21215 |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| JukkaL | https://github.com/JukkaL |
| April 22, 2026 15:13 | https://github.com/python/mypy/pull/21292#commits-pushed-dc48791 |
|
| https://github.com/JukkaL |
| WIP shard sqlite cache | https://github.com/python/mypy/pull/21292/commits/dc487914a11b648533aaddd6243aab80df929781 |
| dc48791 | https://github.com/python/mypy/pull/21292/commits/dc487914a11b648533aaddd6243aab80df929781 |
|
| https://github.com/JukkaL |
| Fix missing commit | https://github.com/python/mypy/pull/21292/commits/93bbeb9b06efa1ea5a534d6c195fb39d671e08a9 |
| 93bbeb9 | https://github.com/python/mypy/pull/21292/commits/93bbeb9b06efa1ea5a534d6c195fb39d671e08a9 |
|
| https://github.com/JukkaL |
| WIP use autocommit | https://github.com/python/mypy/pull/21292/commits/494c8adbe59688bb9610b88a198a0ec726f5fdfe |
| 494c8ad | https://github.com/python/mypy/pull/21292/commits/494c8adbe59688bb9610b88a198a0ec726f5fdfe |
|
| https://github.com/JukkaL |
| Strip extension | https://github.com/python/mypy/pull/21292/commits/fbcea0e0e3f7e9839451d1d9d322cfba6a850257 |
| fbcea0e | https://github.com/python/mypy/pull/21292/commits/fbcea0e0e3f7e9839451d1d9d322cfba6a850257 |
|
| https://github.com/JukkaL |
| One commit per module (instead of per insertion, or per SCC) | https://github.com/python/mypy/pull/21292/commits/c176f29dd63a5c3c4cd26c9054580cd6185e8727 |
| c176f29 | https://github.com/python/mypy/pull/21292/commits/c176f29dd63a5c3c4cd26c9054580cd6185e8727 |
|
| https://github.com/JukkaL |
| Fix sharding issue | https://github.com/python/mypy/pull/21292/commits/0bbb7ed988991fadddcc1ffe2cc3a348359843c0 |
| 0bbb7ed | https://github.com/python/mypy/pull/21292/commits/0bbb7ed988991fadddcc1ffe2cc3a348359843c0 |
|
| https://github.com/JukkaL |
| Use a mypyc optimized hashing algorithm | https://github.com/python/mypy/pull/21292/commits/13ba5622db241ec4ce2d35e18a6f7ed9f1ba0442 |
| 13ba562 | https://github.com/python/mypy/pull/21292/commits/13ba5622db241ec4ce2d35e18a6f7ed9f1ba0442 |
|
| https://github.com/JukkaL |
| Improve hash used for sharding | https://github.com/python/mypy/pull/21292/commits/224d5bbfe202b5527eeea8bbeb34f0efd74568f2 |
| 224d5bb | https://github.com/python/mypy/pull/21292/commits/224d5bbfe202b5527eeea8bbeb34f0efd74568f2 |
|
| https://github.com/JukkaL |
| Default to 16 shards and make shard count configurable (hidden option) | https://github.com/python/mypy/pull/21292/commits/1e45e93e3a7071bf52f3c773dc7f3f111b8a5209 |
| 1e45e93 | https://github.com/python/mypy/pull/21292/commits/1e45e93e3a7071bf52f3c773dc7f3f111b8a5209 |
|
| https://github.com/JukkaL |
| Refactor a bit | https://github.com/python/mypy/pull/21292/commits/a2aa9e8906fe526bdda9ac716fbb63fe9b57e1ca |
| a2aa9e8 | https://github.com/python/mypy/pull/21292/commits/a2aa9e8906fe526bdda9ac716fbb63fe9b57e1ca |
|
| https://github.com/JukkaL |
| Fix | https://github.com/python/mypy/pull/21292/commits/76602c31c9c2c70934cbc01fe379d99ebbd2a3e8 |
| 76602c3 | https://github.com/python/mypy/pull/21292/commits/76602c31c9c2c70934cbc01fe379d99ebbd2a3e8 |
|
| https://github.com/JukkaL |
| Fix | https://github.com/python/mypy/pull/21292/commits/4c40915117f30e75b16c466b42e301ad49ccc894 |
| 4c40915 | https://github.com/python/mypy/pull/21292/commits/4c40915117f30e75b16c466b42e301ad49ccc894 |
|
| https://github.com/JukkaL |
| Polish | https://github.com/python/mypy/pull/21292/commits/3d76f07bf143f115abc9a0ff870412fe2f122008 |
| 3d76f07 | https://github.com/python/mypy/pull/21292/commits/3d76f07bf143f115abc9a0ff870412fe2f122008 |
|
| https://github.com/JukkaL |
| Use final constant for shard count | https://github.com/python/mypy/pull/21292/commits/171d8ac50a6035a13714f8f0228e608a62c50ea0 |
| 171d8ac | https://github.com/python/mypy/pull/21292/commits/171d8ac50a6035a13714f8f0228e608a62c50ea0 |
|
| https://github.com/JukkaL |
| Update cache diff scripts | https://github.com/python/mypy/pull/21292/commits/0ce0136bdf955ece29a622f04f88cbe071390be9 |
| 0ce0136 | https://github.com/python/mypy/pull/21292/commits/0ce0136bdf955ece29a622f04f88cbe071390be9 |
|
| https://github.com/JukkaL |
| Fix test | https://github.com/python/mypy/pull/21292/commits/81170c0e4b3e7f16359355258c0454924e16c034 |
| 81170c0 | https://github.com/python/mypy/pull/21292/commits/81170c0e4b3e7f16359355258c0454924e16c034 |
|
| https://github.com/JukkaL |
| Update convert-cache.py | https://github.com/python/mypy/pull/21292/commits/65f2cb95d69d8d0cddeedad6410fb81e5098ad74 |
| 65f2cb9 | https://github.com/python/mypy/pull/21292/commits/65f2cb95d69d8d0cddeedad6410fb81e5098ad74 |
| https://github.com/JukkaL |
| JukkaL | https://github.com/JukkaL |
| ilevkivskyi | https://github.com/ilevkivskyi |
| April 22, 2026 17:01 | https://github.com/python/mypy/pull/21292#event-24764794994 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Apr 22, 2026 | https://github.com/python/mypy/pull/21292#issuecomment-4298482212 |
| mypy_primer | https://github.com/hauntsaninja/mypy_primer |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
Apr 22, 2026
| https://github.com/python/mypy/pull/21292#pullrequestreview-4156680774 |
|
View reviewed changes
| https://github.com/python/mypy/pull/21292/files/65f2cb95d69d8d0cddeedad6410fb81e5098ad74 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| https://github.com/python/mypy/pull/21292#pullrequestreview-4156680774 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| mypy/build.py | https://github.com/python/mypy/pull/21292/files/65f2cb95d69d8d0cddeedad6410fb81e5098ad74#diff-ea1209369af1f6691068ac958d46d42ed5ab3a6d1529f63d891ca9cab58e3998 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Apr 22, 2026 | https://github.com/python/mypy/pull/21292#discussion_r3125778634 |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| JukkaL | https://github.com/JukkaL |
| Apr 22, 2026 | https://github.com/python/mypy/pull/21292#discussion_r3125994656 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Apr 22, 2026 | https://github.com/python/mypy/pull/21292#discussion_r3126933011 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://docs.python.org/3/library/sqlite3.html#sqlite3.Connection.isolation_level | https://docs.python.org/3/library/sqlite3.html#sqlite3.Connection.isolation_level |
| @hauntsaninja | https://github.com/hauntsaninja |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Apr 22, 2026 | https://github.com/python/mypy/pull/21292#discussion_r3127021241 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| hauntsaninja | https://github.com/hauntsaninja |
| Apr 22, 2026 | https://github.com/python/mypy/pull/21292#discussion_r3127123711 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| JukkaL | https://github.com/JukkaL |
| Apr 23, 2026 | https://github.com/python/mypy/pull/21292#discussion_r3129641164 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Apr 23, 2026 | https://github.com/python/mypy/pull/21292#discussion_r3129703312 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| mypy/util.py | https://github.com/python/mypy/pull/21292/files/65f2cb95d69d8d0cddeedad6410fb81e5098ad74#diff-c5edcfc3c53fb5caee266e3df073504e99c876a4de33367d71591cc205ecf0ec |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Apr 22, 2026 | https://github.com/python/mypy/pull/21292#discussion_r3125788276 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| JukkaL | https://github.com/JukkaL |
| Apr 22, 2026 | https://github.com/python/mypy/pull/21292#discussion_r3125977071 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Apr 22, 2026 | https://github.com/python/mypy/pull/21292#discussion_r3126871784 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| https://github.com/JukkaL |
| JukkaL | https://github.com/JukkaL |
| Apr 22, 2026 | https://github.com/python/mypy/pull/21292#issuecomment-4298786739 |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| https://github.com/JukkaL |
| JukkaL | https://github.com/JukkaL |
| Apr 22, 2026 | https://github.com/python/mypy/pull/21292#event-24767118917 |
| https://github.com/JukkaL |
| JukkaL | https://github.com/JukkaL |
| Apr 23, 2026 | https://github.com/python/mypy/pull/21292#issuecomment-4303734848 |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| https://github.com/JukkaL |
| JukkaL | https://github.com/JukkaL |
| ee9c9e1 | https://github.com/python/mypy/commit/ee9c9e1ac9a805952949173677b8695ef70856c4 |
| Apr 23, 2026 | https://github.com/python/mypy/pull/21292#event-24792263527 |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| https://github.com/JukkaL |
| JukkaL | https://github.com/JukkaL |
| April 23, 2026 10:44 | https://github.com/python/mypy/pull/21292#event-24792264512 |
| https://github.com/cburroughs |
| cburroughs | https://github.com/cburroughs |
|
May 14, 2026
| https://github.com/python/mypy/pull/21292#ref-issue-4448636261 |
|
evaluate options for reacting to new mypy db sharding options
pantsbuild/pants#23352
| https://github.com/pantsbuild/pants/issues/23352 |
| https://github.co/hiddenchars |
| https://github.com/python/mypy/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21292 |
|
| https://github.com/ilevkivskyi |
|
ilevkivskyi
| https://github.com/ilevkivskyi |
|
| https://github.com/python/mypy/pull/21292/files/65f2cb95d69d8d0cddeedad6410fb81e5098ad74 |
|
| https://github.com/hauntsaninja |
|
hauntsaninja
| https://github.com/hauntsaninja |
|
| https://github.com/python/mypy/pull/21292/files/65f2cb95d69d8d0cddeedad6410fb81e5098ad74 |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
| Please reload this page | https://github.com/python/mypy/pull/21292 |
|
| https://github.com/JukkaL |
|
| https://github.com/ilevkivskyi |
|
| https://github.com/hauntsaninja |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |