Slackbot
01/06/2023, 4:57 PMEric Haag
01/06/2023, 5:08 PMSo it's the Enterprise API restriction?Ah, not quite. You can get a list of all tasks, their outcomes, etc from the Gradle Enterprise API. The scripts only process the task count and cumulative duration per outcome. Therefore, you could do this pretty easily by leveraging the Gradle Enterprise API, but it's not something that I see making its way into the scripts any time soon.
I think i can use 02 and 03 for now, because 01 is an experiment that only helps to determine a problem that will be also seen in cache experiments anyways, right2 and 3 will not directly help you in determining a project's compatibility with incremental building as both of these experiments run their seconds builds including the
clean task. However, when a project is well optimized for caching, it's a good indicator it will be well optimized for incremental building as well.
You could also probably get away with only running experiment 3. I think that would catch a majority of cache regressions.Dmitriy Voronin
01/06/2023, 5:12 PMEric Haag
01/06/2023, 5:17 PMEtienne Studer
01/06/2023, 6:33 PM