https://pantsbuild.org/ logo
s

sparse-lifeguard-95737

10/04/2022, 7:04 PM
semi-related to other 🧵: if a test run covers N files, what values would make sense for: • displayed description of the run? • path-safe prefix / file name for any extra outputs of the run?
in the single-file case we use: •
field_set.address.spec
field_set.address.path_safe_spec
strawman for the multi-file case: •
f"{field_sets[0].address.spec} and {len(field_sets)-1} other files"
f"{field_sets[0].address.path_safe_spec}+{len(field_sets)-1}"
at first I thought both of these things should be settable by the partitioning logic but I’ve since developed the impression that it’s more pain than gain, so I’d ideally like to simplify and derive both from the set of field-sets / addresses in the partition/batch