Skip to content

replace bootstrap scheduler with a narrower scope scheduler #21985

Open
@tdyas

Description

@tdyas

Pants actually sets up two rule graphs: the regular scheduler and a "bootstrap" scheduler which contains the full Python backend (even if the user is not using Python) so that plugin resolution can make use of Pex machinery.

This leads to word-arounds like the BootstrapStatus engine parameter which lets the Python rules figure out which scheduler they are running under and skip raising an exception (e.g., for BUILD file errors) if running in the bootstrap scheduler.

We should remove this complication to start simplifying the plugin resolution process.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions