ruff
[ty] Defer tokens for files we only import
#31175
Open

[ty] Defer tokens for files we only import #31175

charliermarsh
charliermarsh charliermarsh added ty
charliermarsh charliermarsh added memory
astral-automations-bot
astral-automations-bot
astral-automations-bot
astral-automations-bot
codspeed
charliermarsh charliermarsh marked this pull request as ready for review 1 day ago
charliermarsh charliermarsh requested a review 1 day ago
charliermarsh charliermarsh requested a review 1 day ago
charliermarsh charliermarsh requested a review from MichaReiser MichaReiser 1 day ago
charliermarsh charliermarsh requested a review from dhruvmanila dhruvmanila 1 day ago
MichaReiser
MichaReiser
MichaReiser commented on 2026-12-01
charliermarsh
MichaReiser
MichaReiser
MichaReiser
MichaReiser commented on 2026-12-01
MichaReiser
charliermarsh [ty] Expose the file checking policy on ruff_db::Db
9c7dd078
charliermarsh [ty] Defer tokens for files we only import
38962b7c
charliermarsh Skip shrinking the token buffer when discarding it
b09eb304
charliermarsh charliermarsh changed the title [ty] Release dependency tokens until a caller needs them [ty] Defer tokens for files we only import 18 hours ago
charliermarsh charliermarsh force pushed from 92ddecff to b09eb304 18 hours ago
charliermarsh charliermarsh requested a review 18 hours ago
charliermarsh charliermarsh requested a review 18 hours ago
charliermarsh charliermarsh requested a review 18 hours ago
charliermarsh charliermarsh requested a review 18 hours ago
charliermarsh charliermarsh requested a review 18 hours ago
charliermarsh charliermarsh requested a review 18 hours ago
charliermarsh charliermarsh changed the base branch from main to charlie/ty-module-tokens 18 hours ago
charliermarsh [ty] Write all IDE test files before parsing the cursor file
b4a58231
charliermarsh charliermarsh marked this pull request as draft 18 hours ago
charliermarsh charliermarsh removed review request 17 hours ago
charliermarsh charliermarsh removed review request 17 hours ago
charliermarsh charliermarsh removed review request 17 hours ago
charliermarsh charliermarsh removed review request 17 hours ago
charliermarsh charliermarsh removed review request 17 hours ago
charliermarsh charliermarsh removed review request 17 hours ago
charliermarsh charliermarsh removed review request 17 hours ago
charliermarsh charliermarsh removed review request 17 hours ago
charliermarsh charliermarsh removed review request from dhruvmanila dhruvmanila 17 hours ago
charliermarsh charliermarsh requested a review from MichaReiser MichaReiser 17 hours ago
charliermarsh charliermarsh marked this pull request as ready for review 17 hours ago
MichaReiser
MichaReiser commented on 2026-12-01
MichaReiser
MichaReiser commented on 2026-12-01
MichaReiser
MichaReiser commented on 2026-12-01
charliermarsh charliermarsh marked this pull request as draft 16 hours ago
charliermarsh [ty] Test that cached token readers observe source edits
b6e19313
charliermarsh Shrink token buffers only when caching them
4ba1737b
charliermarsh [ty] Avoid indexing the project when deciding whether to keep tokens
bf21f537
charliermarsh [ty] Keep the file checking policy in ty
8f705b1d
charliermarsh [ty] Distinguish syntax and token requests when loading a module
fea99a3f
charliermarsh [ty] Resolve relative check paths before testing file inclusion
6162c771
charliermarsh Release spare token capacity before linting
12d0bc9d
charliermarsh charliermarsh marked this pull request as ready for review 14 hours ago
charliermarsh [ty] Remove the cleared-module token reuse test
0eb5da8f
astral-automations-bot astral-automations-bot requested a review from MichaReiser MichaReiser 14 hours ago
charliermarsh [ty] Name the token retention policy in ruff_db tests
341a16c8
charliermarsh [ty] Remove two tests of deferred token caching
8b503c6f

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone