plain-leather-21357
12/06/2018, 8:28 PMgo_library
targets. Basically, when I run filter-minimize
on my repo dir containing my go corpus, the minimized target list is ~33% of the actual list (which could be ok, maybe), and excludes targets that have go_library
BUILD files and tests. The result is that there are well-defined go_library
targets that contain tests, which aren’t covered when discovering targets via minimizewitty-crayon-22786
12/06/2018, 8:30 PMplain-leather-21357
12/06/2018, 8:30 PMwitty-crayon-22786
12/06/2018, 8:30 PM./pants test $go_library
is not testing things transitively...witty-crayon-22786
12/06/2018, 8:30 PMwitty-crayon-22786
12/06/2018, 8:31 PMwitty-crayon-22786
12/06/2018, 8:32 PMgo_test
targets next to all go_library
targets?witty-crayon-22786
12/06/2018, 8:33 PM./pants test $go_library
testing transitively for go would be that it would cause redundancy when you do the standard pants ci dance: https://www.pantsbuild.org/orgs.html#continuous-integrationplain-leather-21357
12/06/2018, 8:33 PMplain-leather-21357
12/06/2018, 8:34 PMwitty-crayon-22786
12/06/2018, 8:34 PMwitty-crayon-22786
12/06/2018, 8:35 PMplain-leather-21357
12/06/2018, 8:37 PMplain-leather-21357
12/06/2018, 8:42 PMwitty-crayon-22786
12/06/2018, 8:44 PMwitty-crayon-22786
12/06/2018, 8:45 PMplain-leather-21357
12/06/2018, 8:45 PMwitty-crayon-22786
12/06/2018, 8:46 PMgo_test
(likely automatically...?), and then those would be your minimization roots, and they would have no dependentsplain-leather-21357
12/06/2018, 8:47 PMwitty-crayon-22786
12/07/2018, 8:26 PMplain-leather-21357
12/08/2018, 1:00 AMgo_binary
in this, as those targets can also have testsenough-analyst-54434
12/08/2018, 6:47 PMthe issue withThat's if we don't implement self.invalidated checking under the v1 engine for single shard testing and if we don't implement test result caching under the v1 engine for sharded testing - which our go support in OSS doesn't support anyhow. So I think adding a transitive flag totesting transitively for go would be that it would cause redundancy when you do the standard pants ci dance: https://www.pantsbuild.org/orgs.html#continuous-integration./pants test $go_library
test.go
and implementing a self.invalidated guard is a viable option.
Looking at history, the non-transitive nature of the task was an original decision in 2015 by Cody perhaps ripe for revisit.witty-crayon-22786
12/10/2018, 10:15 PM--chroot
and etc.witty-crayon-22786
12/10/2018, 10:16 PMplain-leather-21357
12/14/2018, 6:22 PMwitty-crayon-22786
12/14/2018, 6:27 PMchrooting
... our internal tickets on the topic indicate that something like 1% of tests fail under chrootingwitty-crayon-22786
12/14/2018, 6:28 PMenough-analyst-54434
12/14/2018, 6:28 PMwitty-crayon-22786
12/14/2018, 6:29 PMenough-analyst-54434
12/14/2018, 6:29 PMenough-analyst-54434
12/14/2018, 6:30 PMwitty-crayon-22786
12/14/2018, 6:35 PMenough-analyst-54434
12/14/2018, 6:36 PMwitty-crayon-22786
12/14/2018, 6:41 PMenough-analyst-54434
12/14/2018, 6:42 PMenough-analyst-54434
12/14/2018, 6:43 PMwitty-crayon-22786
12/14/2018, 6:45 PMwitty-crayon-22786
12/14/2018, 6:45 PMwitty-crayon-22786
12/14/2018, 6:46 PM