diff --git a/.github/workflows/continuous-benchmark.yaml b/.github/workflows/continuous-benchmark.yaml index e011e8d3..e1fb30d8 100644 --- a/.github/workflows/continuous-benchmark.yaml +++ b/.github/workflows/continuous-benchmark.yaml @@ -54,13 +54,41 @@ jobs: with: payload: | { - "text": "CI benchmarks run status: ${{ job.status }}", + "text": "CI benchmarks (runBenchmark) run status: ${{ job.status }}", "blocks": [ { "type": "section", "text": { "type": "mrkdwn", - "text": "CI benchmarks failed because of ${{ steps.benches.outputs.failed }}.\nView the results <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>" + "text": "CI benchmarks (testSlack) failed because of *${{ steps.benches.outputs.failed }}*." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Qdrant version: *${{ steps.benches.outputs.qdrant_version }}*." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Engine: *${{ steps.benches.outputs.engine_name }}*." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Dataset: *${{ steps.benches.outputs.dataset }}*." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "View the results <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>" } } ] @@ -112,13 +140,41 @@ jobs: with: payload: | { - "text": "CI tenants benchmarks run status: ${{ job.status }}", + "text": "CI benchmarks (runTenantsBenchmark) run status: ${{ job.status }}", "blocks": [ { "type": "section", "text": { "type": "mrkdwn", - "text": "CI tenants benchmarks failed because of ${{ steps.benches.outputs.failed }}.\nView the results <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>" + "text": "CI benchmarks (testSlack) failed because of *${{ steps.benches.outputs.failed }}*." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Qdrant version: *${{ steps.benches.outputs.qdrant_version }}*." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Engine: *${{ steps.benches.outputs.engine_name }}*." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Dataset: *${{ steps.benches.outputs.dataset }}*." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "View the results <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>" } } ] @@ -188,13 +244,41 @@ jobs: with: payload: | { - "text": "CI tenants benchmarks run status: ${{ job.status }}", + "text": "CI benchmarks (runLoadTimeBenchmark) run status: ${{ job.status }}", "blocks": [ { "type": "section", "text": { "type": "mrkdwn", - "text": "CI tenants benchmarks failed because of ${{ steps.benches.outputs.failed }}.\nView the results <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>" + "text": "CI benchmarks (testSlack) failed because of *${{ steps.benches.outputs.failed }}*." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Qdrant version: *${{ steps.benches.outputs.qdrant_version }}*." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Engine: *${{ steps.benches.outputs.engine_name }}*." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Dataset: *${{ steps.benches.outputs.dataset }}*." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "View the results <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>" } } ] diff --git a/tools/run_ci.sh b/tools/run_ci.sh index 9f5eec6b..5405723c 100755 --- a/tools/run_ci.sh +++ b/tools/run_ci.sh @@ -4,12 +4,18 @@ PS4='ts=$(date "+%Y-%m-%dT%H:%M:%SZ") level=DEBUG line=$LINENO file=$BASH_SOURCE set -euo pipefail function handle_err() { - echo "Error occured qdrant_version=${QDRANT_VERSION} engine_name=${ENGINE_NAME} dataset=${DATASETS}" + echo "qdrant_version=${QDRANT_VERSION}" >> $GITHUB_OUTPUT + echo "engine_name=${ENGINE_NAME}" >> $GITHUB_OUTPUT + echo "dataset=${DATASETS}" >> $GITHUB_OUTPUT + echo "failed=error" >> $GITHUB_OUTPUT } function handle_term() { - echo "Timeout occured qdrant_version=${QDRANT_VERSION} engine_name=${ENGINE_NAME} dataset=${DATASETS}" + echo "qdrant_version=${QDRANT_VERSION}" >> $GITHUB_OUTPUT + echo "engine_name=${ENGINE_NAME}" >> $GITHUB_OUTPUT + echo "dataset=${DATASETS}" >> $GITHUB_OUTPUT + echo "failed=timeout" >> $GITHUB_OUTPUT }