#7470·LightGBM

[ci] expand testing (tracking issue)

Author: jameslambCreated Sep 29, 2026Updated Oct 1, 2026
Labelsr-packagemaintenancegpu (CUDA)gpu (OpenCL)gpu (ROCm)

Description

The project has been getting many more contributions from first-time contributors recently (yay!). Expanding the testing, linting, etc. in the project would reduce the effort required to review those contributions, by automating more of the checks that human reviewers are currently responsible for.

It'd also help human contributors and LLMs to generate higher-quality first attempts at patches.

This issue tracks that work. I'm mainly opening it to collect links to other PRs for some work I'm planning, but please do comment if you have other ideas for testing areas that are missing in this project, or if you'd like to contribute.

Benefits of this work

  • reduces effort to review contributions
  • improves release confidence
  • hopefully improves the quality of patches authored by automated tools like LLMs (cross-ref: #7434)
  • will likely uncover existing bugs, performance issues, etc.

Approach

More auto-formatting

More linting / static analysis

Benchmarking speed / memory usage

Measuring + enforcing code coverage

Expanded Runtime testing

Miscellaneous other things

  • testing for ABI breaks in lib_lightgbm
  • erroring on more compiler warnings, runtime warnings in unit tests, etc.
  • build-only CUDA and ROCm CI job(s)
    • to at least get some coverage of building, even if actually running is too expensive because it needs GPUs

Notes

I used LLMs to help identify areas in need of testing and possible tools that could help, but wrote this entire issue myself.