Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
7ca1bea6
Unverified
Commit
7ca1bea6
authored
Sep 22, 2025
by
Simo Lin
Committed by
GitHub
Sep 22, 2025
Browse files
[router] update ci so only execute benchmarks when labels are added (#10757)
parent
97c38239
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
.github/workflows/pr-benchmark-rust.yml
.github/workflows/pr-benchmark-rust.yml
+6
-3
.github/workflows/pr-test-pd-router.yml
.github/workflows/pr-test-pd-router.yml
+1
-1
No files found.
.github/workflows/pr-benchmark-rust.yml
View file @
7ca1bea6
...
@@ -71,7 +71,8 @@ jobs:
...
@@ -71,7 +71,8 @@ jobs:
github.repository == 'sgl-project/sglang' &&
github.repository == 'sgl-project/sglang' &&
(github.event_name == 'push' ||
(github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' ||
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'benchmark'))
(contains(github.event.pull_request.labels.*.name, 'router-benchmark') &&
contains(github.event.pull_request.labels.*.name, 'run-ci')))
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
name
:
Checkout code
-
name
:
Checkout code
...
@@ -143,7 +144,8 @@ jobs:
...
@@ -143,7 +144,8 @@ jobs:
github.repository == 'sgl-project/sglang' &&
github.repository == 'sgl-project/sglang' &&
(github.event_name == 'push' ||
(github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' ||
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'benchmark'))
(contains(github.event.pull_request.labels.*.name, 'router-benchmark') &&
contains(github.event.pull_request.labels.*.name, 'run-ci')))
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
name
:
Checkout code
-
name
:
Checkout code
...
@@ -209,7 +211,8 @@ jobs:
...
@@ -209,7 +211,8 @@ jobs:
github.repository == 'sgl-project/sglang' &&
github.repository == 'sgl-project/sglang' &&
(github.event_name == 'push' ||
(github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' ||
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'benchmark'))
(contains(github.event.pull_request.labels.*.name, 'router-benchmark') &&
contains(github.event.pull_request.labels.*.name, 'run-ci')))
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
name
:
Checkout code
-
name
:
Checkout code
...
...
.github/workflows/pr-test-pd-router.yml
View file @
7ca1bea6
...
@@ -27,7 +27,7 @@ permissions:
...
@@ -27,7 +27,7 @@ permissions:
jobs
:
jobs
:
test-disaggregation
:
test-disaggregation
:
if
:
github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-ci')
if
:
github.event_name != 'pull_request' ||
(
contains(github.event.pull_request.labels.*.name, 'run-ci')
&& contains(github.event.pull_request.labels.*.name, 'router-benchmark'))
runs-on
:
[
h200
]
runs-on
:
[
h200
]
timeout-minutes
:
45
timeout-minutes
:
45
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment