cool-easter-32542
05/12/2025, 6:21 PMpackage goal. In our case, the package goal was taking 20-40 minutes to complete.
Upon debugging, we discovered the source of this slowdown was due to the pants.backend.docker.utils.suggest_renames method. Using local pants source, we commented out the offending call in the docker build context creation, and the package goal completed quickly.
Pants version
2.27.0.dev3
OS
Found this on MacOS, but probably exists on Linux too.
Additional info
N/A
pantsbuild/pants