[Ci Monitor] Auto uploaded performance data to sglang_ci_data repo (#10976)

This commit is contained in:
Xiaoyu Zhang
2025-09-29 16:17:27 +08:00
committed by GitHub
parent 5942fdb480
commit 6f16bf9d9d
3 changed files with 731 additions and 11 deletions

View File

@@ -2,8 +2,7 @@ name: CI Monitor
on:
schedule:
# Run every 6 hours at 00:00, 06:00, 12:00, 18:00 UTC
- cron: '0 */6 * * *'
- cron: '0 */12 * * *'
workflow_dispatch:
inputs:
limit:
@@ -16,6 +15,10 @@ concurrency:
group: ci-monitor-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
actions: read
jobs:
ci-monitor:
if: github.repository == 'sgl-project/sglang'|| github.event_name == 'pull_request'
@@ -50,7 +53,7 @@ jobs:
PYTHONIOENCODING: utf-8
run: |
cd scripts/ci_monitor
python ci_analyzer_perf.py --token $GITHUB_TOKEN --limit 500 --output-dir performance_tables_$(date +%Y%m%d_%H%M%S)
python ci_analyzer_perf.py --token $GITHUB_TOKEN --limit ${{ github.event.inputs.limit || '1000' }} --output-dir performance_tables_$(date +%Y%m%d_%H%M%S) --upload-to-github
- name: Upload Analysis Results
uses: actions/upload-artifact@v4