Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/ci3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,19 +318,17 @@ jobs:
uses: benchmark-action/github-action-benchmark@52576c92bccf6ac60c8223ec7eb2565637cae9ba # v1.22.1
with: *ci_benchmark_args

- name: Notify Slack and dispatch ClaudeBox on failure
- name: Notify Slack on failure
if: failure() && startsWith(github.ref, 'refs/tags/v')
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
GIT_REF: ${{ github.ref }}
RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
TEST_SET: ${{ matrix.test_set }}
run: |
./ci3/slack_notify_with_claudebox_kickoff "#alerts-next-scenario" \
"Nightly Spartan Scenario FAILED in ci3.yml (set ${TEST_SET}, nightly tag ${GIT_REF}): <${RUN_URL}|View Run> (🤖)" \
"Nightly Spartan Scenario tests failed (matrix set ${TEST_SET}, nightly tag ${GIT_REF}). CI run: ${RUN_URL}. Investigate the scenario test failure and identify the root cause." \
--link "$RUN_URL"
./ci3/slack_notify \
"Nightly Spartan Scenario FAILED in ci3.yml (set ${TEST_SET}, nightly tag ${GIT_REF}): <${RUN_URL}|View Run>" \
"#alerts-next-scenario"

# Spartan network benchmarks triggered on-demand from a PR label.
# Runs TPS and proving benchmarks in parallel, uploads results to a PR-specific
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/nightly-bench-10tps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,13 @@ jobs:
"Nightly 10 TPS benchmark PASSED (image ${IMAGE}) :white_check_mark: <${RUN_URL}|View Run>" \
"#alerts-next-scenario"

- name: Notify Slack and dispatch ClaudeBox on failure
- name: Notify Slack on failure
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
run: |
IMAGE="${{ needs.select-image.outputs.image_label || 'unknown' }}"
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
./ci3/slack_notify_with_claudebox_kickoff "#alerts-next-scenario" \
"Nightly 10 TPS benchmark FAILED (image ${IMAGE}): <${RUN_URL}|View Run> (🤖)" \
"Nightly 10 TPS benchmark failed (image ${IMAGE}). CI run: ${RUN_URL}. Investigate the benchmark failure and identify the root cause." \
--link "$RUN_URL"
./ci3/slack_notify \
"Nightly 10 TPS benchmark FAILED (image ${IMAGE}): <${RUN_URL}|View Run>" \
"#alerts-next-scenario"
30 changes: 12 additions & 18 deletions .github/workflows/nightly-spartan-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,18 +232,16 @@ jobs:
"Nightly Spartan TPS benchmarks PASSED (nightly tag ${TAG}) :white_check_mark: <${RUN_URL}|View Run>" \
"#alerts-next-scenario"

- name: Notify Slack and dispatch ClaudeBox on failure
- name: Notify Slack on failure
if: ${{ needs.benchmark.result != 'success' }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
run: |
TAG="${{ needs.select-image.outputs.nightly_tag || 'unknown' }}"
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
./ci3/slack_notify_with_claudebox_kickoff "#alerts-next-scenario" \
"Nightly Spartan Benchmarks FAILED (nightly tag ${TAG}): <${RUN_URL}|View Run> (🤖)" \
"Nightly Spartan benchmarks failed (nightly tag ${TAG}). CI run: ${RUN_URL}. Investigate the benchmark failure and identify the root cause." \
--link "$RUN_URL"
./ci3/slack_notify \
"Nightly Spartan Benchmarks FAILED (nightly tag ${TAG}): <${RUN_URL}|View Run>" \
"#alerts-next-scenario"

# ---------------------------------------------------------------------------
# Proving benchmark (env prove-n-tps-fake, namespace prove-n-tps-fake)
Expand Down Expand Up @@ -397,18 +395,16 @@ jobs:
"Nightly proving benchmarks passed (nightly tag ${TAG}) :white_check_mark: <${RUN_URL}|View Run>" \
"#alerts-next-scenario"

- name: Notify Slack and dispatch ClaudeBox on failure
- name: Notify Slack on failure
if: ${{ needs.proving-benchmark.result != 'success' }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
run: |
TAG="${{ needs.select-image.outputs.nightly_tag || 'unknown' }}"
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
./ci3/slack_notify_with_claudebox_kickoff "#alerts-next-scenario" \
"Nightly Proving Benchmarks FAILED (nightly tag ${TAG}): <${RUN_URL}|View Run> (🤖)" \
"Nightly proving benchmarks failed (nightly tag ${TAG}). CI run: ${RUN_URL}. Investigate the benchmark failure and identify the root cause." \
--link "$RUN_URL"
./ci3/slack_notify \
"Nightly Proving Benchmarks FAILED (nightly tag ${TAG}): <${RUN_URL}|View Run>" \
"#alerts-next-scenario"

# ---------------------------------------------------------------------------
# Block capacity benchmark (env block-capacity, namespace nightly-block-capacity)
Expand Down Expand Up @@ -562,18 +558,16 @@ jobs:
"Nightly block capacity benchmarks passed (nightly tag ${TAG}) :white_check_mark: <${RUN_URL}|View Run>" \
"#alerts-next-scenario"

- name: Notify Slack and dispatch ClaudeBox on failure
- name: Notify Slack on failure
if: ${{ needs.block-capacity-benchmark.result != 'success' }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
run: |
TAG="${{ needs.select-image.outputs.nightly_tag || 'unknown' }}"
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
./ci3/slack_notify_with_claudebox_kickoff "#alerts-next-scenario" \
"Nightly Block Capacity Benchmarks FAILED (nightly tag ${TAG}): <${RUN_URL}|View Run> (🤖)" \
"Nightly block capacity benchmarks failed (nightly tag ${TAG}). CI run: ${RUN_URL}. Investigate the benchmark failure and identify the root cause." \
--link "$RUN_URL"
./ci3/slack_notify \
"Nightly Block Capacity Benchmarks FAILED (nightly tag ${TAG}): <${RUN_URL}|View Run>" \
"#alerts-next-scenario"

status:
runs-on: ubuntu-latest
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/test-network-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,12 @@ jobs:
gcp_sa_key: ${{ secrets.GCP_SA_KEY }}
gcp_project_id: ${{ secrets.GCP_PROJECT_ID }}

- name: Notify Slack and dispatch ClaudeBox on failure
- name: Notify Slack on failure
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
run: |
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
./ci3/slack_notify_with_claudebox_kickoff "#alerts-next-scenario" \
"Scenario Tests FAILED (set ${{ matrix.test_set }}, image ${{ inputs.docker_image }}, env ${{ inputs.env_file }}): <${RUN_URL}|View Run> (🤖)" \
"Scenario tests failed (set ${{ matrix.test_set }}, image ${{ inputs.docker_image }}, env ${{ inputs.env_file }}). CI run: ${RUN_URL}. Investigate the scenario test failure and identify the root cause." \
--link "$RUN_URL"
./ci3/slack_notify \
"Scenario Tests FAILED (set ${{ matrix.test_set }}, image ${{ inputs.docker_image }}, env ${{ inputs.env_file }}): <${RUN_URL}|View Run>" \
"#alerts-next-scenario"
10 changes: 4 additions & 6 deletions .github/workflows/weekly-proving-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,13 @@ jobs:
"Weekly real proving benchmark passed (nightly tag ${TAG}) :white_check_mark: <${RUN_URL}|View Run>" \
"#alerts-next-scenario"

- name: Notify Slack and dispatch ClaudeBox on failure
- name: Notify Slack on failure
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
run: |
TAG="${{ needs.select-image.outputs.nightly_tag || 'unknown' }}"
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
./ci3/slack_notify_with_claudebox_kickoff "#alerts-next-scenario" \
"Weekly Real Proving Benchmark FAILED (nightly tag ${TAG}): <${RUN_URL}|View Run> (🤖)" \
"Weekly real proving benchmark failed (nightly tag ${TAG}). CI run: ${RUN_URL}. Investigate the benchmark failure and identify the root cause." \
--link "$RUN_URL"
./ci3/slack_notify \
"Weekly Real Proving Benchmark FAILED (nightly tag ${TAG}): <${RUN_URL}|View Run>" \
"#alerts-next-scenario"
Loading