Skip to content

Turn on randomized workload in congestion control simtest (#20690) #1016

Turn on randomized workload in congestion control simtest (#20690)

Turn on randomized workload in congestion control simtest (#20690) #1016

name: Split Cluster Check
on:
push:
branches:
- main
jobs:
validate-mainnet:
runs-on: ubuntu-ghcloud
steps:
- name: checkout code repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
with:
fetch-depth: 0
- name: Run split cluster check script
id: mn-split-cluster-check
continue-on-error: true # if failure, continue to bisect
run: |
SUI_PROTOCOL_CONFIG_CHAIN_OVERRIDE=mainnet \
scripts/compatibility/split-cluster-check.sh origin/mainnet ${{ github.sha }}
- name: Bisect
if: steps.mn-split-cluster-check.outcome == 'failure' && github.event_name == 'push'
run: |
git bisect start ${{ github.event.pull_request.head.sha }} origin/mainnet
SUI_PROTOCOL_CONFIG_CHAIN_OVERRIDE=mainnet \
git bisect run scripts/split-cluster-check.sh origin/mainnet ${{ github.sha }}
git bisect reset
- name: Mark Failures
if: failure()
run: exit 1
validate-testnet:
runs-on: ubuntu-ghcloud
steps:
- name: checkout code repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
with:
fetch-depth: 0
- name: Run split cluster check script
id: tn-split-cluster-check
continue-on-error: true # if failure, continue to bisect
run: |
SUI_PROTOCOL_CONFIG_CHAIN_OVERRIDE=testnet \
scripts/compatibility/split-cluster-check.sh origin/testnet ${{ github.sha }}
- name: Bisect
if: steps.tn-split-cluster-check.outcome == 'failure' && github.event_name == 'push'
run: |
git bisect start ${{ github.event.pull_request.head.sha }} origin/testnet
SUI_PROTOCOL_CONFIG_CHAIN_OVERRIDE=testnet \
git bisect run scripts/split-cluster-check.sh origin/testnet ${{ github.sha }}
git bisect reset
- name: Mark Failures
if: failure()
run: exit 1