Commit acdaf76
authored
[CI] Main2main fall back to fresh mode when target commit is behind baseline (vllm-project#12376)
### What this PR does / why we need it?
A manual workflow_dispatch specifies a TARGET_COMMIT that is older than
the baseline's already-verified VLLM commit, the baseline's adapted code
(which targets a newer VLLM) would produce incorrect version guards for
the older target.
Detect this with merge-base --is-ancestor and force a fresh start from
upstream/main instead.
### Does this PR introduce _any_ user-facing change?
### How was this patch tested?
- vLLM version: v0.24.0
- vLLM main:
vllm-project/vllm@85c09e9
Signed-off-by: wjunLu <wjunlu217@gmail.com>1 parent c6be875 commit acdaf76
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
283 | 297 | | |
284 | 298 | | |
285 | 299 | | |
| |||
0 commit comments