Last I remember the check was part of the CI run. Why do we need a separate
script now?
I feel I am missing something here.
Is it because CI run may have been run not on the final rebased version
(missing 1-2 unrelated patches) and as a final stop gap?

Also, thanks for always trying to improve and simplify our pipelines, Mick!

On Fri, 26 Sep 2025 at 19:06, Francisco Guerrero <[email protected]> wrote:

> Nice! +1
>
> On 2025/09/26 17:48:28 Mick wrote:
> > I'd like to propose the following patch:
> >
> https://github.com/apache/cassandra/compare/trunk...thelastpickle:cassandra:mck/gha-lint
> >
> > It's a one-liner `check-code.sh` and is light and quick to run at ~6
> minutes.
> >
> > We are supposed to always run `ant check` (what check-code.sh does)
> before merging, but it's understandably an easy thing to forget now and
> again.  Such a lightweight gh action will I believe prevent most of the
> breakages, since many of us push our dev branches to gh.  I'm not in favour
> of making it any heavier (that can be a seperate discussion for latter),
> nor at first trying to change/improve our checkstyle rules (that too can be
> done separately).
> >
> >
> > Example result run here:
> https://github.com/thelastpickle/cassandra/actions/runs/17880689988/job/50847932781
> >
> > Any objections ?   (a jira ticket will be created)
> >
> > regards,
> > Mick
>

Reply via email to