Skip to content

[epic] Reworking solver internals to avoid simple Var pinning #3123

Closed

Description

@stroxler

Describe the Bug

This issue tracks a single unit of work - improving Pyrefly's constraint solver so that we can accumulate bounds on Vars and otherwise solve them in an intelligent way where eager pinning cannot - to serve as a parent for multiple issues mapping to specific behaviors and bug reports.

The overall context is that Pyrefly is evolving from a solver that simply pins Vars immediately on all comparison to one that can do proper bounds-based constraint solving, and we know of multiple usability issues that are actually all tied in with the same design problem:

Those issues track different end-user behavior, but this issue tracks the actual project to solve them.

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Activity

  1. added this to the V1 Release milestone on Apr 13, 2026
  2. added theissue type on Apr 13, 2026
  3. changed the issue type fromtoon Apr 13, 2026
  4. github-actions commented on Apr 29, 2026

    @github-actions

    This issue has someone assigned, but has not had recent activity for more than 2 weeks.

    If you are still working on this issue, please add a comment so everyone knows. Otherwise, please unassign yourself and allow someone else to take over.

    Thank you for your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions