https://linen.dev logo
m

Michel

01/05/2021, 5:17 AM
why do we have a format step before the build?
u

user

01/05/2021, 5:18 AM
This step takes almost 8 minutes and because our story around python caching is great, we are doing the same thing when we actually build
u

user

01/05/2021, 7:49 AM
I think it’s trading a couple min of overhead for a very long time to know formatting worked.
u

user

01/05/2021, 7:50 AM
What we should do to get the best of both worlds is to make the check an optional Gradle step we specify in CI
u

user

01/05/2021, 7:50 AM
Then we guarantee we aren’t duplicating work and it also fails fast.
u

user

02/09/2021, 12:07 AM
This takes upwards of 7 min which isn't trivial.