cool-easter-32542
09/27/2023, 7:29 PMnamed-caches-dir is set at RuleRunner creation time, and can't always be reliably overridden by passing extra arguments to the RuleRunner in subsequent invocations.
To fix this, the RuleRunner class needs to be modified so that the extra args are consulted when it executes rules.
Pants version
2.17.0 and subsequent versions
OS
Both
Additional info
Source of this issue and discussion: #19430 (comment)
pantsbuild/pants