Skip to content

implement codeaction/resolve #2540

@kinto0

Description

@kinto0

Describe the Bug

pyrefly's main thread is blocked on code actions. I thought the CodeActionTriggerKind::AUTOMATIC filtering would help, but it looks like there are still too many code actions slowing pyrefly down.

in real-world testing, introduce_parameter takes >5s p95, almost 20 seconds p99. vscode asks for this a lot more frequently than it should.

we should ensure all of these code actions are quick to check

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions