diff --git a/.github/assets/hive/expected_failures.yaml b/.github/assets/hive/expected_failures.yaml index ba29ca5e7..61ff69eca 100644 --- a/.github/assets/hive/expected_failures.yaml +++ b/.github/assets/hive/expected_failures.yaml @@ -117,4 +117,4 @@ engine-cancun: # https://github.com/paradigmxyz/reth/issues/8579 sync: - - sync reth -> reth \ No newline at end of file + - sync reth -> reth diff --git a/.github/assets/hive/run_simulator.sh b/.github/assets/hive/run_simulator.sh index 018077bdc..731c94c3f 100755 --- a/.github/assets/hive/run_simulator.sh +++ b/.github/assets/hive/run_simulator.sh @@ -22,8 +22,8 @@ while [ $attempt -lt $max_attempts ]; do # Check if no tests were run. sed removes ansi colors if check_log | grep -q "suites=0"; then - echo "no tests were run, retrying in 5 seconds" - sleep 5 + echo "no tests were run, retrying in 10 seconds" + sleep 10 attempt=$((attempt + 1)) continue fi @@ -35,4 +35,4 @@ while [ $attempt -lt $max_attempts ]; do exit 1 fi done -exit 1 \ No newline at end of file +exit 1 diff --git a/.github/workflows/hive.yml b/.github/workflows/hive.yml index 65063dd01..c1014fe12 100644 --- a/.github/workflows/hive.yml +++ b/.github/workflows/hive.yml @@ -231,3 +231,14 @@ jobs: if: ${{ failure() }} run: | cat hivetests/workspace/logs/reth/client-*.log + notify-on-error: + needs: test + if: failure() + runs-on: + group: Reth + steps: + - name: Discord Webhook Action + uses: tsickert/discord-webhook@v5.3.0 + with: + webhook-url: ${{ secrets.RETH_ALERTS_WEBHOOK }} + content: "Failed run: https://github.com/paradigmxyz/reth/actions/runs/${{ github.run_id }}"