[ci] re-organize CI into a graph of reusable workflows #7463

Open
jameslamb opened 1:37am on September 27, 2026 wants to merge 189 Δ into microsoft/lightgbm main from
ci/reusable-workflows

Pull request #7463 quality checks

Code files and functions touched by this pull request are analyzed below.

Quality targets

How does this pull request compare to chosen code quality targets? Read more about code quality targets.

Target name Target value This PR
Maximum Diff Delta per PR 500 189
Maximum comment count per PR 10 1
Pull request maximum business days between activity 3 35
Pull request maximum business days open 5 49

Coupled files

Are there any files from this commit that are always committed alongside another file? This often suggests that there exists code coupling to potentially remove. Read more about code coupling

Committed together % Code file
Coupled code file
Commits in PR with both
100 .readthedocs.yaml
.github/workflows/python_package.yml
1
100 .readthedocs.yaml
docs/env.yml
1
100 .readthedocs.yaml
docs/conf.py
1
100 tests/distributed/_test_distributed.py
python-package/lightgbm/basic.py
1
100 .ci/README.md
docker/README.md
1
100 docs/Makefile
docs/conf.py
1
100 docs/Makefile
docker/README.md
1
100 .github/workflows/swig.yml
.github/workflows/python_package.yml
2
100 .github/workflows/swig.yml
.github/workflows/r_package.yml
2
94 .github/workflows/cpp.yml
.github/workflows/python_package.yml
3
90 .github/workflows/build.yml
.github/workflows/r_package.yml
2
88 .github/workflows/cpp.yml
.github/workflows/r_package.yml
3
85 .ci/lint-r-code.R
docker/README.md
1
85 .readthedocs.yaml
.gitignore
1
80 .github/workflows/swig.yml
.github/workflows/cpp.yml
2
80 .github/workflows/pr.yml
.github/workflows/r_package.yml
2
80 .github/workflows/pr.yml
.github/workflows/python_package.yml
2
80 .github/workflows/pr.yml
.github/workflows/swig.yml
2
80 .github/workflows/pr.yml
.github/workflows/build.yml
2
77 .github/workflows/build.yml
.github/workflows/python_package.yml
2
77 tests/distributed/_test_distributed.py
tests/python_package_test/test_basic.py
1
75 .ci/README.md
docs/conf.py
1
72 .github/workflows/build.yml
.github/workflows/swig.yml
2
70 CONTRIBUTING.md
docker/README.md
1

Biggest files changes in pull request

Path View whole file Lines removed Lines added Final line count
.github/workflows/pr.yml 0 60 60
.github/workflows/main.yml 0 43 43
.github/workflows/python_package.yml 25 0 532
.github/workflows/r_package.yml 23 0 389
.github/workflows/static_analysis.yml 23 0 97
.github/workflows/cpp.yml 21 0 140
.github/workflows/swig.yml 21 0 83
.github/workflows/build.yml 21 0 58
.ci/setup.sh 0 0 ---
.ci/test-python-oldest.sh 0 0 ---
tests/cpp_tests/test_common.cpp 0 0 ---
python-package/lightgbm/basic.py 0 0 ---
docs/Makefile 0 0 ---
tests/distributed/_test_distributed_dataset.py 0 0 ---
tests/distributed/_test_distributed.py 0 0 ---
R-package/configure.win 0 0 ---
.ci/check-python-dists.sh 0 0 ---
.ci/lint-r-code.R 0 0 ---
tests/python_package_test/test_dask.py 0 0 ---
docs/env.yml 0 0 ---
python-package/lightgbm/dask.py 0 0 ---
python-package/lightgbm/sklearn.py 0 0 ---
.gitignore 0 0 ---
docs/Development-Guide.rst 0 0 ---
docker/README.md 0 0 ---
CONTRIBUTING.md 0 0 ---
docs/conf.py 0 0 ---
tests/python_package_test/test_sklearn.py 0 0 ---
.github/workflows/cuda.yml 0 0 ---
docs/Key-Events.md 0 0 ---
docs/build-docs.sh 0 0 ---
include/LightGBM/dataset.h 0 0 ---
.github/workflows/ci-images.yml 0 0 ---
docs/index.rst 0 0 ---
tests/python_package_test/test_basic.py 0 0 ---
tests/distributed/utils.py 0 0 ---
.pre-commit-config.yaml 0 0 ---
.ci/README.md 0 0 ---
src/io/dataset_loader.cpp 0 0 ---
.readthedocs.yaml 0 0 ---
R-package/DESCRIPTION 0 0 ---

️ Biggest functions grown or shrunk by pull request

Which functions had their line count change as part of this pull request?

Could not find any functions changed by this pull request.