[CI] Fix and extend PR/issue auto-labeling (#51459)
Signed-off-by: Joe Cotant <joe@inferact.ai> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Claude Opus 5
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
d591d1d511
commit
c205726108
+176
-22
@@ -93,6 +93,7 @@ pull_request_rules:
|
||||
- files~=^examples/.*deepseek.*\.py
|
||||
- files~=^tests/.*deepseek.*\.py
|
||||
- files~=^vllm/model_executor/models/.*deepseek.*\.py
|
||||
- files~=^vllm/models/deepseek.*/
|
||||
- files~=^vllm/tool_parsers/.*deepseek.*\.py
|
||||
- files~=^vllm/reasoning/.*deepseek.*\.py
|
||||
- files~=^vllm/transformers_utils/.*deepseek.*\.py
|
||||
@@ -133,9 +134,7 @@ pull_request_rules:
|
||||
- files~=^examples/.*llama.*\.py
|
||||
- files~=^tests/.*llama.*\.py
|
||||
- files~=^vllm/model_executor/models/.*llama.*\.py
|
||||
- files~=^vllm/reasoning/.*llama.*\.py
|
||||
- files~=^vllm/tool_parsers/.*llama.*\.py
|
||||
- files~=^vllm/transformers_utils/.*llama.*\.py
|
||||
- title~=(?i)llama
|
||||
actions:
|
||||
label:
|
||||
@@ -177,9 +176,17 @@ pull_request_rules:
|
||||
description: Automatically apply new-model label
|
||||
conditions:
|
||||
- label != stale
|
||||
- and:
|
||||
- files~=^vllm/model_executor/models/
|
||||
- files=vllm/model_executor/models/registry.py
|
||||
- or:
|
||||
# A model file is added alongside a registry entry. added-files rather
|
||||
# than files: touching an existing model file is a fix or a refactor,
|
||||
# and a PR that removes a model is not a new one.
|
||||
- and:
|
||||
- added-files~=^vllm/model_executor/models/.*\.py$
|
||||
- files=vllm/model_executor/models/registry.py
|
||||
# A new top-level package under vllm/models/. common/ is shared kernel
|
||||
# code rather than a model, and nested packages belong to a model that
|
||||
# already exists.
|
||||
- added-files~=^vllm/models/(?!common/)[^/]+/__init__\.py$
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
@@ -233,16 +240,12 @@ pull_request_rules:
|
||||
conditions:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=^examples/.*gpt[-_]?oss.*\.py
|
||||
- files~=^tests/.*gpt[-_]?oss.*\.py
|
||||
- files~=^tests/entrypoints/openai/test_response_api_with_harmony.py
|
||||
- files~=^tests/entrypoints/test_context.py
|
||||
- files~=^vllm/model_executor/models/.*gpt[-_]?oss.*\.py
|
||||
- files~=^vllm/model_executor/layers/.*gpt[-_]?oss.*\.py
|
||||
- files~=^vllm/entrypoints/openai/parser/harmony_utils.py
|
||||
- files~=^vllm/entrypoints/tool_server.py
|
||||
- files~=^vllm/entrypoints/tool.py
|
||||
- files~=^vllm/entrypoints/context.py
|
||||
# Harmony rendering now lives in the Rust frontend.
|
||||
- files~=^rust/src/chat/src/.*/harmony/
|
||||
- title~=(?i)gpt[-_]?oss
|
||||
- title~=(?i)harmony
|
||||
actions:
|
||||
@@ -256,7 +259,6 @@ pull_request_rules:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=(?i)kimi
|
||||
- files~=(?i)moonshot
|
||||
- title~=(?i)(?:kimi|moonshot)
|
||||
actions:
|
||||
label:
|
||||
@@ -275,12 +277,73 @@ pull_request_rules:
|
||||
add:
|
||||
- k3
|
||||
|
||||
- name: label-glm
|
||||
description: Automatically apply glm label
|
||||
conditions:
|
||||
- label != stale
|
||||
- or:
|
||||
# Anchored to the start of the filename so midashenglm.py (an unrelated
|
||||
# model) does not match.
|
||||
- files~=^vllm/model_executor/models/(?:chat)?glm[^/]*\.py
|
||||
- files~=^tests/.*[/_](?:chat)?glm[^/]*\.py
|
||||
- files~=^vllm/tool_parsers/.*glm.*\.py
|
||||
- files~=^vllm/transformers_utils/.*/(?:chat)?glm[^/]*\.py
|
||||
- title~=(?i)\b(?:chat)?glm
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
- glm
|
||||
|
||||
- name: label-minimax
|
||||
description: Automatically apply minimax label
|
||||
conditions:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=^vllm/models/minimax.*/
|
||||
- files~=^vllm/model_executor/models/.*minimax.*\.py
|
||||
- files~=^vllm/tool_parsers/.*minimax.*\.py
|
||||
- files~=^tests/.*minimax.*\.py
|
||||
- title~=(?i)minimax
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
- minimax
|
||||
|
||||
- name: label-inkling
|
||||
description: Automatically apply inkling label
|
||||
conditions:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=^vllm/models/inkling/
|
||||
- files~=^vllm/tool_parsers/inkling.*\.py
|
||||
- files~=^vllm/renderers/inkling.*\.py
|
||||
- files~=^tests/.*inkling.*\.py
|
||||
- title~=(?i)inkling
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
- inkling
|
||||
|
||||
- name: label-dsv4
|
||||
description: Automatically apply DSv4 label
|
||||
conditions:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=^vllm/models/deepseek_v4/
|
||||
- title~=(?i)(?:\bDSv4\b|deepseek[-\s]?v4)
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
- DSv4
|
||||
|
||||
- name: label-nvidia
|
||||
description: Automatically apply nvidia label
|
||||
conditions:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=cuda
|
||||
# Exclude requirements/: a dependency bump touching requirements/cuda.txt
|
||||
# is not NVIDIA backend work.
|
||||
- files~=^(?!requirements/).*cuda
|
||||
- files~=cutlass
|
||||
- files~=flashinfer
|
||||
- files~=trtllm
|
||||
@@ -300,7 +363,7 @@ pull_request_rules:
|
||||
- files~=^csrc/rocm/
|
||||
- files~=^docker/Dockerfile.rocm
|
||||
- files~=^requirements/rocm.*\.txt
|
||||
- files~=^vllm/model_executor/layers/fused_moe/rocm.*\.py
|
||||
- files~=^vllm/model_executor/layers/fused_moe/.*rocm.*\.py
|
||||
- files~=^vllm/v1/attention/backends/rocm.*\.py
|
||||
- files~=^vllm/v1/attention/backends/mla/rocm.*\.py
|
||||
- files~=^vllm/v1/attention/ops/rocm.*\.py
|
||||
@@ -319,8 +382,8 @@ pull_request_rules:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=^docker/Dockerfile.xpu
|
||||
- files~=^\\.buildkite/intel_jobs/
|
||||
- files=\.buildkite/ci_config_intel.yaml
|
||||
- files~=^\.buildkite/intel_jobs/
|
||||
- files=.buildkite/ci_config_intel.yaml
|
||||
- files=vllm/model_executor/layers/fused_moe/experts/xpu_moe.py
|
||||
- files=vllm/model_executor/kernels/linear/mixed_precision/xpu.py
|
||||
- files=vllm/model_executor/kernels/linear/mxfp8/xpu.py
|
||||
@@ -331,7 +394,6 @@ pull_request_rules:
|
||||
- files=vllm/v1/worker/xpu_worker.py
|
||||
- files=vllm/v1/worker/xpu_model_runner.py
|
||||
- files=vllm/_xpu_ops.py
|
||||
- files=vllm/kernels/xpu_ops.py
|
||||
- files~=^vllm/lora/ops/xpu_ops
|
||||
- files=vllm/lora/punica_wrapper/punica_xpu.py
|
||||
- files=vllm/platforms/xpu.py
|
||||
@@ -367,7 +429,7 @@ pull_request_rules:
|
||||
- files=benchmarks/benchmark_serving_structured_output.py
|
||||
- files=benchmarks/run_structured_output_benchmark.sh
|
||||
- files=docs/features/structured_outputs.md
|
||||
- files=^examples/features/structured_outputs/
|
||||
- files~=^examples/features/structured_outputs/
|
||||
- files~=^tests/v1/structured_output/
|
||||
- files=tests/entrypoints/llm/test_struct_output_generate.py
|
||||
- files~=^vllm/v1/structured_output/
|
||||
@@ -382,8 +444,11 @@ pull_request_rules:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=^vllm/v1/spec_decode/
|
||||
# Model Runner V2 keeps its speculators in a separate subtree.
|
||||
- files~=^vllm/v1/worker/gpu/spec_decode/
|
||||
- files~=^tests/v1/spec_decode/
|
||||
- files=^examples/features/speculative_decoding/
|
||||
- files~=^tests/v1/e2e/spec_decode/
|
||||
- files~=^examples/features/speculative_decoding/
|
||||
- files~=^vllm/model_executor/models/.*eagle.*\.py
|
||||
- files=vllm/model_executor/models/mlp_speculator.py
|
||||
- files~=^vllm/transformers_utils/configs/(eagle|medusa|mlp_speculator)\.py
|
||||
@@ -392,6 +457,33 @@ pull_request_rules:
|
||||
add:
|
||||
- speculative-decoding
|
||||
|
||||
# dflash covers the DFlash and DSpark speculative decoding techniques as one
|
||||
# workstream, matching how they are tracked in the sprint board. It is applied
|
||||
# in addition to speculative-decoding, never instead of it.
|
||||
- name: label-dflash
|
||||
description: Automatically apply dflash label
|
||||
conditions:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=^vllm/v1/spec_decode/dflash\.py
|
||||
- files~=^vllm/v1/worker/gpu/spec_decode/dflash/
|
||||
- files~=^vllm/model_executor/models/.*dflash.*\.py
|
||||
- files~=^tests/.*dflash.*\.py
|
||||
- title~=(?i)dflash
|
||||
- files~=^vllm/v1/worker/gpu/spec_decode/dspark/
|
||||
- files~=^vllm/model_executor/models/.*dspark.*\.py
|
||||
- files~=^vllm/models/deepseek_v4/nvidia/dspark\.py
|
||||
- files~=^vllm/models/deepseek_v4/amd/dspark\.py
|
||||
- files~=^vllm/models/deepseek_v4/xpu/dspark\.py
|
||||
- files~=^vllm/models/kimi_k3/nvidia/dspark_mla\.py
|
||||
- files~=^vllm/transformers_utils/configs/k3_dspark\.py
|
||||
- files~=^tests/.*dspark.*\.py
|
||||
- title~=(?i)dspark
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
- dflash
|
||||
|
||||
- name: label-mrv2
|
||||
description: Automatically apply mrv2 label
|
||||
conditions:
|
||||
@@ -416,7 +508,6 @@ pull_request_rules:
|
||||
- files~=_tpu
|
||||
- files~=tpu_
|
||||
- files~=/tpu/
|
||||
- files~=pallas
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
@@ -432,7 +523,6 @@ pull_request_rules:
|
||||
- -files~=_tpu
|
||||
- -files~=tpu_
|
||||
- -files~=/tpu/
|
||||
- -files~=pallas
|
||||
actions:
|
||||
label:
|
||||
remove:
|
||||
@@ -448,7 +538,6 @@ pull_request_rules:
|
||||
- files~=^tests/parser/
|
||||
- files~=^tests/reasoning/
|
||||
- files~=^tests/entrypoints/openai/.*tool.*
|
||||
- files~=^tests/entrypoints/anthropic/.*tool.*
|
||||
- files~=^vllm/tool_parsers/
|
||||
- files~=^vllm/parser/
|
||||
- files~=^vllm/reasoning/
|
||||
@@ -552,3 +641,68 @@ pull_request_rules:
|
||||
label:
|
||||
add:
|
||||
- kv-connector
|
||||
|
||||
- name: label-scheduler
|
||||
description: Automatically apply scheduler label
|
||||
conditions:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=^vllm/v1/core/sched/
|
||||
- files~=^tests/v1/core/test_scheduler.*\.py
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
- scheduler
|
||||
|
||||
- name: label-kv-cache-manager
|
||||
description: Automatically apply kv-cache-manager label
|
||||
conditions:
|
||||
- label != stale
|
||||
- or:
|
||||
# Scoped to the block/cache allocator in v1/core. KV transfer between
|
||||
# instances is kv-connector, not this.
|
||||
- files~=^vllm/v1/core/(?:kv_cache|block_pool|single_type_kv_cache)
|
||||
- files~=^tests/v1/core/test_(?:kv_cache|single_type_kv_cache|prefix_caching).*\.py
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
- kv-cache-manager
|
||||
|
||||
- name: label-torch-compile
|
||||
description: Automatically apply torch.compile label
|
||||
conditions:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=^vllm/compilation/
|
||||
- files~=^tests/compile/
|
||||
- title~=(?i)torch\.compile
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
- torch.compile
|
||||
|
||||
- name: label-ray
|
||||
description: Automatically apply ray label
|
||||
conditions:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=^vllm/v1/executor/ray_
|
||||
- files~=^tests/.*ray_.*\.py
|
||||
- title~=(?i)\bray\b
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
- ray
|
||||
|
||||
- name: label-vllm-ir
|
||||
description: Automatically apply vllm-ir label
|
||||
conditions:
|
||||
- label != stale
|
||||
- or:
|
||||
- files~=^vllm/ir/
|
||||
- files~=^tests/ir/
|
||||
- title~=(?i)vllm[-\s]?ir
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
- vllm-ir
|
||||
|
||||
Reference in New Issue
Block a user