-
-
Notifications
You must be signed in to change notification settings - Fork 836
add benchmark mini command #10430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add benchmark mini command #10430
Changes from 5 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -25,6 +25,7 @@ jobs: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if: ${{ needs.validate-commentor.outputs.valid == 'true' }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| outputs: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| benchmark: ${{ steps.set_benchmark.outputs.benchmark }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| sysbench-test-time: ${{ steps.set_benchmark.outputs.sysbench-test-time }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| comment-body: ${{ steps.set_body.outputs.body }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Check for Deploy Trigger | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -40,6 +41,20 @@ jobs: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| id: set_benchmark | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| echo "benchmark=true" >> $GITHUB_OUTPUT | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Check for Deploy Mini Trigger | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| uses: dolthub/pull-request-comment-trigger@v2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| id: check | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| trigger: '#benchmark-mini' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| reaction: rocket | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| env: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Set Benchmark Mini | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if: ${{ steps.check.outputs.triggered == 'true' }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| id: check | |
| with: | |
| trigger: '#benchmark-mini' | |
| reaction: rocket | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Set Benchmark Mini | |
| if: ${{ steps.check.outputs.triggered == 'true' }} | |
| id: check_mini | |
| with: | |
| trigger: '#benchmark-mini' | |
| reaction: rocket | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Set Benchmark Mini | |
| if: ${{ steps.check_mini.outputs.triggered == 'true' }} |
Copilot
AI
Feb 6, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This condition references steps.check.outputs.triggered, but because both "Check for Deploy Trigger" and "Check for Deploy Mini Trigger" steps use the same ID (check), this will reference the wrong step. After fixing the duplicate ID on line 46, this should be updated to reference the correct step ID (e.g., steps.check_mini.outputs.triggered).
| id: check | |
| with: | |
| trigger: '#benchmark-mini' | |
| reaction: rocket | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Set Benchmark Mini | |
| if: ${{ steps.check.outputs.triggered == 'true' }} | |
| id: check_mini | |
| with: | |
| trigger: '#benchmark-mini' | |
| reaction: rocket | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Set Benchmark Mini | |
| if: ${{ steps.check_mini.outputs.triggered == 'true' }} |
Copilot
AI
Feb 6, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This references steps.set_benchmark.outputs.sysbench-test-time, but this code is in the performance job, not the check-comments job where the steps are defined. This should reference the job output instead: needs.check-comments.outputs.sysbench-test-time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an inconsistency in the flag name used. Line 34 uses
--sysbenchTestTime(camelCase), but line 105 uses--sysbench-test-time(kebab-case). These should match. Based on the pattern used in other flags in this file (like--init-big-repo,--noms-bin-format,--issue-number), the kebab-case version on line 105 appears to be correct, so line 34 should use--sysbench-test-timeinstead.