Skip to content

[cherry-pick][1.16][consensus] fix edge case of block retrieval #32556

[cherry-pick][1.16][consensus] fix edge case of block retrieval

[cherry-pick][1.16][consensus] fix edge case of block retrieval #32556

name: "execution-performance"
on:
workflow_dispatch:
pull_request:
types: [labeled, opened, synchronize, reopened, auto_merge_enabled]
schedule:
- cron: "0 */4 * * *" # This runs every four hours
jobs:
execution-performance:
if: | # Only run on each PR once an appropriate event occurs
(
github.event_name == 'workflow_dispatch' ||
github.event_name == 'schedule' ||
contains(github.event.pull_request.labels.*.name, 'CICD:run-e2e-tests') ||
contains(github.event.pull_request.labels.*.name, 'CICD:run-execution-performance-test') ||
contains(github.event.pull_request.labels.*.name, 'CICD:run-execution-performance-full-test') ||
github.event.pull_request.auto_merge != null
)
uses: ./.github/workflows/workflow-run-execution-performance.yaml
secrets: inherit
with:
GIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
RUNNER_NAME: executor-benchmark-runner
# Run all tests only on the scheduled cadence, or explicitly requested
IS_FULL_RUN: ${{ github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'CICD:run-execution-performance-full-test') }}
# Ignore target determination if on the scheduled cadence, or explicitly requested
IGNORE_TARGET_DETERMINATION: ${{ github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'CICD:run-execution-performance-test') || contains(github.event.pull_request.labels.*.name, 'CICD:run-execution-performance-full-test') }}