Skip to content

Give dynamically generated instructions on how to replicate x.py errors #97338

Open
@jyn514

Description

@jyn514

It can often be difficult to know the minimal command line to reproduce errors, especially when the command CI is running is a full x.py test and the error comes from a test that is rarely run locally. It would be amazing if bootstrap could print how to run the Step for a failed command, to make it easier to replicate the failure locally.

I have some prior work in #86022 that never got merged - a good first step would be to rebase that and address the review comments.

@rustbot label +A-rustbuild +E-hard

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions