hundreds-father-404
12/13/2021, 10:09 PMscala_junit_test is using compatible_resolves instead of resolve. Is that intentional?witty-crayon-22786
12/13/2021, 10:45 PMhundreds-father-404
12/13/2021, 10:47 PMIf not supplied, the default resolve will be used. Otherwise, one resolve that is compatible with all dependency targets will be used.Will fix these both as prework to https://github.com/pantsbuild/pants/issues/13621. (Helps me to understand these code paths better also)
witty-crayon-22786
12/13/2021, 10:47 PMwitty-crayon-22786
12/13/2021, 10:47 PMhundreds-father-404
12/13/2021, 10:49 PMwitty-crayon-22786
12/13/2021, 10:50 PMwitty-crayon-22786
12/13/2021, 10:50 PMhundreds-father-404
12/13/2021, 10:52 PMif i doWhat does "do" mean here specifically? I'm talking about two prework PRs: 1) fix all test targets to use
resolve instead of compatible_resolves,
2) have resolve force the resolve rather than just mix it in. get rid of the --use-resolve optionwitty-crayon-22786
12/13/2021, 10:52 PMwitty-crayon-22786
12/13/2021, 10:53 PMhundreds-father-404
12/14/2021, 5:23 PMwitty-crayon-22786
12/14/2021, 5:54 PMwitty-crayon-22786
12/14/2021, 5:54 PMhundreds-father-404
12/14/2021, 5:57 PM./pants test working entirely, but punting on fixing go vet. We don't need to land go vet in 2.9witty-crayon-22786
12/14/2021, 5:57 PMwitty-crayon-22786
12/14/2021, 5:58 PMhundreds-father-404
12/14/2021, 6:01 PMresolve vs compatible_resolves handling, and probably doesn't make sense to hand off that
But the followup task I had was to add compatible_resolves to jvm_artifact target. That might be able to be split out beforehand? I've been wondering for example if we want a different help message for that field than the compatible_resolves that we use with java_source et al? A different --default-compatible-resolves option too perhaps? Even if none of it gets wired up, implementing the help message and thinking that through could helphundreds-father-404
12/14/2021, 6:01 PMfast-nail-55400
12/14/2021, 6:02 PMhundreds-father-404
12/14/2021, 6:02 PMhundreds-father-404
12/14/2021, 6:05 PMtest_embed_in_source_code
This breaks at https://github.com/pantsbuild/pants/blob/5e3317be8335bc349bc3b4444b885c70390cf8e8/src/python/pants/backend/go/util_rules/build_pkg_target.py#L86-L93. I think we need to be merging test_embed_config and embed_config, not overwritingfast-nail-55400
12/14/2021, 6:11 PMfast-nail-55400
12/14/2021, 6:11 PMfast-nail-55400
12/14/2021, 6:12 PM@pytest.mark.xfail ? Then I’ll fix later todayfast-nail-55400
12/14/2021, 8:10 PM