Skip to content

Infer resolver version from workspace edition #10587

Open
@ehuss

Description

@ehuss

It would be very helpful to set the resolver version in a virtual workspace based on the edition field being added in RFC 2906. This has been requested several times and has caused some confusion for some users.

That is, if you have:

[workspace]
edition = "2021"
members = ["foo"]

Then this will default workspace.resolver = "2"

The logic for determining the version is here. It should also check the workspace edition. This should also be gated on workspace-inheritance on nightly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-workspace-inheritanceArea: workspace inheritance RFC 2906S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions