Skip to content

Beautify Bazel configuration errors #11984

@gregestren

Description

@gregestren

tl;dr: apply beautiful error principles to build failures from analysis, select(), configurations, user-defined flags, transitions, and so on.


We have enough experience to identify where current errors fall short. There are straightforward ways we make them clearer, more actionable, and more closely connected to relevant documentation.

I'm starting this for configuration-related errors since this is the Bazel area I know best. More broadly I'd like to extend these principles to Bazel error culture as a whole in the interest of making Bazel more accessible.

Crowd-sourced input on confusing messages welcome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2We'll consider working on this in future. (Assignee optional)team-Configurabilityplatforms, toolchains, cquery, select(), config transitionsteam-DocumentationDocumentation improvements that cannot be directly linked to other team labelstype: documentation (cleanup)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions