Skip to content

Make it easier for humans to figure out which configuration of a target failed to build/test #1395

Description

@cbarrete

When running buck2 build (and also buck2 test after #1394), only the configuration hash gets printed in the output, which is quite unfriendly.

We could instead print the list of modifiers that were applied (if any, otherwise fall back to the current behavior), which are more human readable.

This may however require some bikeshedding about the actual formatting, since it can get quite out of hand when aliases aren't used and/or many are specified. The following example doesn't even have many.

3 TESTS FAILED
  ✗ root//path_to:unit_tests?blah//build/platforms:cxx_standard[26]+blah//build/platforms:compiler[gcc15]+blah//build/platforms:compile_mode[release]
  ✗ root//path_to:unit_tests?blah//build/platforms:cxx_standard[26]+blah//build/platforms:compiler[clang22]+blah//build/platforms:compile_mode[debug]
  ✗ root//path_to:unit_tests?blah//build/platforms:cxx_standard[26]+blah//build/platforms:compiler[clang22]+blah//build/platforms:compile_mode[release]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions