You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Berenguer Blasi (Jira)" <ji...@apache.org> on 2023/06/14 05:36:00 UTC

[jira] [Comment Edited] (CASSANDRA-18588) Slow builds due to checkstyle

    [ https://issues.apache.org/jira/browse/CASSANDRA-18588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17732368#comment-17732368 ] 

Berenguer Blasi edited comment on CASSANDRA-18588 at 6/14/23 5:35 AM:
----------------------------------------------------------------------

It should be totally transparent to CI. Both the [jenkins|https://ci-cassandra.apache.org/view/all/job/Cassandra-devbranch/2511/] and the [circle|https://app.circleci.com/pipelines/github/bereng/cassandra/989/workflows/7605c38a-6977-4fa8-a315-f9d756ee02fa] (free) runs lgtm.

CI did already have the {{no-build-test}} flag to avoid that checkstyle check among others so I don't see any improvements there. This benefits mainly local dev imo where {{realclean}} is not run so often.

I'd need some committer to +1


was (Author: bereng):
It should be totally transparent to CI. Both the [jenkins|https://ci-cassandra.apache.org/view/all/job/Cassandra-devbranch/2511/] and the [circle|https://app.circleci.com/pipelines/github/bereng/cassandra/989/workflows/7605c38a-6977-4fa8-a315-f9d756ee02fa] (free) runs lgtm.

CI did already have the {{no-build-test}} flag to avoid that checkstyle check among others so I don't see any improvements there. This benefits mainly local dev imo where {{realclean}} is not run so often.

> Slow builds due to checkstyle
> -----------------------------
>
>                 Key: CASSANDRA-18588
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18588
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 4.1.x, 5.x
>
>
> Builds are terribly slow atm due to checkstyle. But there's an option to cache results and only run on the latest changed files to avoid running over the same files over and over again.
> This brings build times from the current 1m30s to the old 5s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org