Alex B
01/10/2025, 12:01 AMAlex B
01/10/2025, 12:02 AMAlex B
01/10/2025, 12:06 AMephemient
01/10/2025, 12:20 AMephemient
01/10/2025, 12:23 AMAlex B
01/10/2025, 1:14 AMInaki Villar
01/10/2025, 4:07 PM:oss:airbyte-api:server-api:compileKotlin
. Until this task is completed, tasks from other modules, such as :oss:airbyte-commons-converters
or :oss:airbyte-data
, cannot start their respective Kotlin tasks, creating contention.
Since this task is the third slowest (47 seconds), I would recommend extracting and modularizing the project (:oss:airbyte-api:server-api:
) to reduce the compilation unit size. This approach would also allow you to benefit from the avoidance savings of caching outcomes. With smaller projects, the likelihood of hitting the cache increases, especially when changes remain consistent.
It’s important to note that these observations are specific to the build you shared. In a fully cacheable build, Gradle optimizes parallelization automatically. Therefore, I suggest focusing first on the bottlenecks created by projects and tasks with longer durations and analyzing the project dependency graph to better understand the centrality of project nodes.Alex B
01/10/2025, 4:09 PMInaki Villar
01/10/2025, 4:13 PMAlex B
01/10/2025, 4:13 PM