Skip to content

Commit 02a3d89

Browse files
committed
Add jobName as query parameter
1 parent 9f02058 commit 02a3d89

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

torchci/clickhouse_queries/vllm/docker_build_runtime/params.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
22
"params": {
33
"repo": "String",
4+
"jobName": "String",
45
"startTime": "DateTime64(3)",
56
"stopTime": "DateTime64(3)"
67
},
78
"tests": [
89
{
910
"repo": "https://github.com/vllm-project/vllm.git",
11+
"jobName": ":docker: build image",
1012
"startTime": "2025-10-01T00:00:00.000",
1113
"stopTime": "2025-11-01T00:00:00.000"
1214
}

torchci/clickhouse_queries/vllm/docker_build_runtime/query.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
-- vLLM Docker Build Image Runtime Trends (main branch only)
2-
-- Tracks runtime for the ":docker: build image" job specifically
3-
-- This is a critical job for build speed monitoring
1+
-- vLLM Single Job Runtime Trends (main branch only)
2+
-- Tracks runtime for a specific job (parameterized for reusability)
3+
-- Default use case: ":docker: build image" job for build speed monitoring
44

55
WITH jobs AS (
66
SELECT
@@ -13,7 +13,7 @@ WITH jobs AS (
1313
WHERE
1414
tupleElement(pipeline, 'repository') = {repo: String }
1515
AND tupleElement(build, 'branch') = 'main'
16-
AND tupleElement(job, 'name') = ':docker: build image'
16+
AND tupleElement(job, 'name') = {jobName: String}
1717
AND tupleElement(job, 'started_at') IS NOT NULL
1818
AND tupleElement(job, 'finished_at') IS NOT NULL
1919
AND tupleElement(job, 'started_at') >= {startTime: DateTime64(3) }

torchci/components/metrics/vllm/CiStabilityTrendPanel.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,3 @@ export default function CiStabilityTrendPanel({
226226
/>
227227
);
228228
}
229-

torchci/pages/metrics/vllm.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ export default function Page() {
423423
{
424424
...timeParams,
425425
repo: VLLM_REPO_URL,
426+
jobName: ":docker: build image",
426427
}
427428
);
428429

0 commit comments

Comments
 (0)