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]
When running
buck2 build(and alsobuck2 testafter #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.