Skip to content

Make Maven Fmt/ Lint Job Run Faster #11598

@lqiu96

Description

@lqiu96

From a recent run of the lint job (https://github.com/googleapis/google-cloud-java/actions/runs/15201184035/job/42755490835) took ~30 minutes to run.

Image

Can we make this run faster?

Job details (

- run: mvn -B -ntp com.spotify.fmt:fmt-maven-plugin:check -T 1C
) looks to try and run this in parallel.

Additional options to explore:

  • Can we only fmt this on modules that have code changes instead of running this for the entire repo?
  • Can we only fmt on PRs that have code changes (exclude CI or deps upgrades)?
  • Does the fmt plugin to help speed this up natively? Some configurations that we can play around with?

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions