mysterious-waiter-14207
07/18/2022, 6:42 AMwitty-crayon-22786
07/18/2022, 2:58 PM-ldebug logs for two successive runs with --no-pantsd where the second one misses should show you the fingerprints for the processes that are being invoked. If you're comfortable including snippets here (or DMing), I can take a look.witty-crayon-22786
07/18/2022, 3:36 PM./pants paths --from=$file1 --to=$file2witty-crayon-22786
07/18/2022, 3:36 PMmysterious-waiter-14207
07/18/2022, 5:55 PMwitty-crayon-22786
07/18/2022, 5:55 PMIt happens both with upstream version and pants_from_source, pants_from_source should also be cached right?yes, both should be cached, although different versions of Pants will have different cache keys
witty-crayon-22786
07/18/2022, 5:56 PMpaths as mentioned above… it will tell you why a dependee needs to be recompiledwitty-crayon-22786
07/18/2022, 5:57 PM./pants dependees $changed-file to see what depends on a filemysterious-waiter-14207
07/18/2022, 5:57 PMmysterious-waiter-14207
07/18/2022, 5:57 PMwitty-crayon-22786
07/18/2022, 5:58 PM--no-pantsd actually recompile things on the second runmysterious-waiter-14207
07/19/2022, 9:16 AMScalaPlugins produced unordered arguments.mysterious-waiter-14207
07/19/2022, 9:29 AMwitty-crayon-22786
07/19/2022, 6:39 PMwitty-crayon-22786
07/19/2022, 6:40 PMmysterious-waiter-14207
07/19/2022, 7:07 PMmysterious-waiter-14207
07/19/2022, 7:26 PMmysterious-waiter-14207
07/19/2022, 7:31 PMmysterious-waiter-14207
07/19/2022, 7:37 PMwitty-crayon-22786
07/19/2022, 7:39 PMwitty-crayon-22786
07/19/2022, 7:39 PMresources that should be loaded in a particular order… or a classpath entry that you want to take precedence over anothermysterious-waiter-14207
07/19/2022, 7:42 PMwitty-crayon-22786
07/19/2022, 7:45 PMSnapshot and Digest sort, and merging them dedupes identical entries (and explode for same-name-different-content), so it doesn’t actually result in more copies of anythingwitty-crayon-22786
07/19/2022, 7:46 PMClasspathEntry ordering and duplicates is really just to affect the arguments for the processesmysterious-waiter-14207
07/19/2022, 7:46 PMwitty-crayon-22786
07/19/2022, 7:47 PMmysterious-waiter-14207
07/19/2022, 7:47 PMwitty-crayon-22786
07/19/2022, 7:47 PMmysterious-waiter-14207
07/19/2022, 7:48 PMmysterious-waiter-14207
07/19/2022, 7:48 PMwitty-crayon-22786
07/19/2022, 7:48 PMA:B:A is equivalent to A:B, since the first matching class is the one that is used.witty-crayon-22786
07/19/2022, 7:48 PMmysterious-waiter-14207
07/19/2022, 7:49 PMwitty-crayon-22786
07/19/2022, 7:50 PMwitty-crayon-22786
07/19/2022, 7:50 PMmysterious-waiter-14207
07/19/2022, 7:52 PMmysterious-waiter-14207
07/19/2022, 7:52 PMwitty-crayon-22786
07/19/2022, 7:52 PMwitty-crayon-22786
07/19/2022, 7:53 PMwitty-crayon-22786
07/19/2022, 7:54 PMwitty-crayon-22786
07/19/2022, 7:55 PMwitty-crayon-22786
07/19/2022, 7:55 PMmysterious-waiter-14207
07/19/2022, 7:58 PMmysterious-waiter-14207
07/19/2022, 8:02 PMwitty-crayon-22786
07/19/2022, 8:02 PMwitty-crayon-22786
07/19/2022, 8:03 PMdict ordering is preserved, but set is randomized per run. so sets are fine unless they are iterated over. particularly if that ends up being the issue here, i’ll want to follow up to add a lint á la https://github.com/pantsbuild/pants/issues/14195#issuecomment-1114087237mysterious-waiter-14207
07/19/2022, 8:04 PMmysterious-waiter-14207
07/19/2022, 8:07 PMmysterious-waiter-14207
07/19/2022, 8:17 PMwitty-crayon-22786
07/19/2022, 8:18 PM