ci: add StressHouse PR-vs-main benchmark workflow#943
Merged
Conversation
Thin caller for the shared reusable workflow (ClickHouse/integrations-shared-workflows clickhouse-benchmark.yml). A /benchmark-compare comment from a maintainer (or a manual dispatch) benchmarks this PR's build against main on StressHouse and posts a sticky comparison comment back on the PR. Mirrors the workflow already in use in clickhouse-cs, with client: clickhouse-js. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
alex-clickhouse
requested review from
mshustov and
peter-leonov-ch
as code owners
July 13, 2026 13:21
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new GitHub Actions workflow that triggers StressHouse benchmarks to compare a PR build against main, delegating the implementation to the shared reusable workflow in ClickHouse/integrations-shared-workflows.
Changes:
- Introduces an
issue_commenttrigger (/benchmark-compare) and aworkflow_dispatchtrigger (manual PR number). - Calls the shared
clickhouse-benchmark.ymlreusable workflow withclient: clickhouse-jsandprofile: pr-compare. - Configures PR write permissions to allow posting benchmark results back to the PR.
| client: clickhouse-js | ||
| profile: pr-compare | ||
| pr_number: ${{ github.event.issue.number || inputs.pr_number }} | ||
| secrets: inherit |
Comment on lines
+32
to
+33
| # Comment path: only on PRs, only `/benchmark-compare`, only from someone | ||
| # with write access. Manual path: always allowed. |
| (github.event.issue.pull_request && | ||
| startsWith(github.event.comment.body, '/benchmark-compare') && | ||
| contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association)) | ||
| uses: ClickHouse/integrations-shared-workflows/.github/workflows/clickhouse-benchmark.yml@main |
peter-leonov-ch
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
.github/workflows/stresshouse-benchmark-compare.yml— a thin caller for the shared reusable workflow (ClickHouse/integrations-shared-workflows→clickhouse-benchmark.yml).What it does
A
/benchmark-comparecomment from a maintainer (or a manualworkflow_dispatchwith a PR number) benchmarks this PR's build againstmainon StressHouse and posts a sticky comparison comment back on the PR. Theclient:input is set toclickhouse-js.This mirrors the workflow already running successfully in
clickhouse-cs.Prerequisites (org-level, one-time)
WORKFLOW_AUTH_PUBLIC_APP_ID,WORKFLOW_AUTH_PUBLIC_PRIVATE_KEY) must be available to this repo;secrets: inheritforwards them to the reusable workflow.ClickHouse/clickhouse-client-benchmarkswithactions: writeso it can start the dispatch workflow there.🤖 Generated with Claude Code