From 1f5c87a9a349bb7728489e007bbb184e8cea4802 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Mon, 12 Aug 2024 11:42:31 -0400 Subject: [PATCH 01/24] add assertion monitor in CI --- .github/workflows/orbit-assertion-monitor.yml | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .github/workflows/orbit-assertion-monitor.yml diff --git a/.github/workflows/orbit-assertion-monitor.yml b/.github/workflows/orbit-assertion-monitor.yml new file mode 100644 index 0000000000..2befb8d73f --- /dev/null +++ b/.github/workflows/orbit-assertion-monitor.yml @@ -0,0 +1,57 @@ +name: Monitor Orbit Assertion Events + +on: + workflow_dispatch: + schedule: + # Run every 6 hours + - cron: "0 */6 * * *" + +env: + NEXT_PUBLIC_INFURA_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_KEY }} + ASSERTION_MONITORING_SLACK_TOKEN: ${{ secrets.ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN }} + ASSERTION_MONITORING_SLACK_CHANNEL: ${{ secrets.ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL }} + +jobs: + run-alerting: + runs-on: ubuntu-latest + + steps: + - name: Checkout Bridge + uses: actions/checkout@v4 + with: + repository: OffchainLabs/arbitrum-token-bridge + + - name: Install node_modules + uses: OffchainLabs/actions/node-modules/install@main + + - name: Generate chains JSON + run: yarn workspace arb-token-bridge-ui generateOrbitChainsToMonitor + + - name: Checkout Arbitrum Monitoring repository + uses: actions/checkout@v4 + with: + repository: OffchainLabs/arbitrum-monitoring + path: arbitrum-monitoring + ref: dl/add-assertion-monitor + + - name: Copy chains JSON to Arbitrum Monitoring + run: cp ./packages/arb-token-bridge-ui/public/__auto-generated-orbit-chains.json ./arbitrum-monitoring/packages/assertion-monitor/config.json + + - name: Setup Node for Arbitrum Monitoring + uses: actions/setup-node@v4 + with: + node-version: latest + + - name: Install dependencies for Arbitrum Monitoring + run: cd ./arbitrum-monitoring && yarn install + + - name: Run alerting command + run: cd ./arbitrum-monitoring && yarn assertion-monitor --enableAlerting + env: + NODE_ENV: "CI" + ASSERTION_MONITORING_SLACK_TOKEN: ${{ secrets.ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN }} + ASSERTION_MONITORING_SLACK_CHANNEL: ${{ secrets.ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL }} + + + - name: Clean up + run: rm ./packages/arb-token-bridge-ui/public/__auto-generated-orbit-chains.json From f71b1850b5e7707e83ad5e68c2bdf09f1df045b7 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Mon, 12 Aug 2024 13:31:51 -0400 Subject: [PATCH 02/24] adds core assertion monitor --- .github/workflows/core-assertion-monitor.yml | 61 ++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 .github/workflows/core-assertion-monitor.yml diff --git a/.github/workflows/core-assertion-monitor.yml b/.github/workflows/core-assertion-monitor.yml new file mode 100644 index 0000000000..f83e62b115 --- /dev/null +++ b/.github/workflows/core-assertion-monitor.yml @@ -0,0 +1,61 @@ +name: Monitor Core Assertion Events + +on: + workflow_dispatch: + schedule: + # Run every 6 hours + - cron: "0 */6 * * *" + +env: + NEXT_PUBLIC_INFURA_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_KEY }} + ASSERTION_MONITORING_SLACK_TOKEN: ${{ secrets.CORE_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN }} + ASSERTION_MONITORING_SLACK_CHANNEL: ${{ secrets.CORE_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL }} + NOVA_MONITOR_RPC_URL: ${{ secrets.NOVA_MONITOR_RPC_URL }} + ARB_ONE_MONITOR_RPC_URL: ${{ secrets.ARB_ONE_MONITOR_RPC_URL }} + +jobs: + run-alerting: + runs-on: ubuntu-latest + + steps: + - name: Checkout Bridge + uses: actions/checkout@v4 + with: + repository: OffchainLabs/arbitrum-token-bridge + + - name: Install node_modules + uses: OffchainLabs/actions/node-modules/install@main + + - name: Generate chains JSON + run: yarn workspace arb-token-bridge-ui generateCoreChainsToMonitor + env: + NOVA_MONITOR_RPC_URL: ${{ secrets.NOVA_MONITOR_RPC_URL }} + ARB_ONE_MONITOR_RPC_URL: ${{ secrets.ARB_ONE_MONITOR_RPC_URL }} + ASSERTION_MONITORING: true + + - name: Checkout Arbitrum Monitoring repository + uses: actions/checkout@v4 + with: + repository: OffchainLabs/arbitrum-monitoring + path: arbitrum-monitoring + + - name: Copy chains JSON to Arbitrum Monitoring + run: cp ./packages/arb-token-bridge-ui/public/__auto-generated-core-chains.json ./arbitrum-monitoring/packages/assertion-monitor/config.json + + - name: Setup Node for Arbitrum Monitoring + uses: actions/setup-node@v4 + with: + node-version: latest + + - name: Install dependencies for Arbitrum Monitoring + run: cd ./arbitrum-monitoring && yarn install + + - name: Run alerting command + run: cd ./arbitrum-monitoring && yarn assertion-monitor --enableAlerting + env: + NODE_ENV: "CI" + ASSERTION_MONITORING_SLACK_TOKEN: ${{ secrets.CORE_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN }} + ASSERTION_MONITORING_SLACK_CHANNEL: ${{ secrets.CORE_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL }} + + - name: Clean up + run: rm ./packages/arb-token-bridge-ui/public/__auto-generated-core-chains.json From f30c9ed1e02d0929bd8ea4125fcd43809c00016c Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Mon, 12 Aug 2024 13:32:07 -0400 Subject: [PATCH 03/24] fix ref --- .github/workflows/core-assertion-monitor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/core-assertion-monitor.yml b/.github/workflows/core-assertion-monitor.yml index f83e62b115..8e871f051b 100644 --- a/.github/workflows/core-assertion-monitor.yml +++ b/.github/workflows/core-assertion-monitor.yml @@ -38,6 +38,7 @@ jobs: with: repository: OffchainLabs/arbitrum-monitoring path: arbitrum-monitoring + ref: dl/add-assertion-monitor - name: Copy chains JSON to Arbitrum Monitoring run: cp ./packages/arb-token-bridge-ui/public/__auto-generated-core-chains.json ./arbitrum-monitoring/packages/assertion-monitor/config.json From d3f9bf5ad8873109568084182e82cdbd9afcaee2 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Mon, 12 Aug 2024 13:33:08 -0400 Subject: [PATCH 04/24] updates trigger --- .github/workflows/core-assertion-monitor.yml | 1 + .github/workflows/orbit-assertion-monitor.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/core-assertion-monitor.yml b/.github/workflows/core-assertion-monitor.yml index 8e871f051b..48436912f3 100644 --- a/.github/workflows/core-assertion-monitor.yml +++ b/.github/workflows/core-assertion-monitor.yml @@ -1,6 +1,7 @@ name: Monitor Core Assertion Events on: + push: workflow_dispatch: schedule: # Run every 6 hours diff --git a/.github/workflows/orbit-assertion-monitor.yml b/.github/workflows/orbit-assertion-monitor.yml index 2befb8d73f..006f49a5eb 100644 --- a/.github/workflows/orbit-assertion-monitor.yml +++ b/.github/workflows/orbit-assertion-monitor.yml @@ -1,6 +1,7 @@ name: Monitor Orbit Assertion Events on: + push: workflow_dispatch: schedule: # Run every 6 hours From 8090d6688860691bc9ccd14429caca85057f1001 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:03:34 -0400 Subject: [PATCH 05/24] update refs to main --- .github/workflows/core-assertion-monitor.yml | 2 -- .github/workflows/orbit-assertion-monitor.yml | 1 - 2 files changed, 3 deletions(-) diff --git a/.github/workflows/core-assertion-monitor.yml b/.github/workflows/core-assertion-monitor.yml index 48436912f3..92e559d219 100644 --- a/.github/workflows/core-assertion-monitor.yml +++ b/.github/workflows/core-assertion-monitor.yml @@ -39,8 +39,6 @@ jobs: with: repository: OffchainLabs/arbitrum-monitoring path: arbitrum-monitoring - ref: dl/add-assertion-monitor - - name: Copy chains JSON to Arbitrum Monitoring run: cp ./packages/arb-token-bridge-ui/public/__auto-generated-core-chains.json ./arbitrum-monitoring/packages/assertion-monitor/config.json diff --git a/.github/workflows/orbit-assertion-monitor.yml b/.github/workflows/orbit-assertion-monitor.yml index 006f49a5eb..bd21ed0633 100644 --- a/.github/workflows/orbit-assertion-monitor.yml +++ b/.github/workflows/orbit-assertion-monitor.yml @@ -33,7 +33,6 @@ jobs: with: repository: OffchainLabs/arbitrum-monitoring path: arbitrum-monitoring - ref: dl/add-assertion-monitor - name: Copy chains JSON to Arbitrum Monitoring run: cp ./packages/arb-token-bridge-ui/public/__auto-generated-orbit-chains.json ./arbitrum-monitoring/packages/assertion-monitor/config.json From 6dba9fbe316812fb6a97f60e2464eef78a6c3b63 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Wed, 14 Aug 2024 14:12:40 -0400 Subject: [PATCH 06/24] removes push triggers --- .github/workflows/core-assertion-monitor.yml | 1 - .github/workflows/orbit-assertion-monitor.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/core-assertion-monitor.yml b/.github/workflows/core-assertion-monitor.yml index 92e559d219..30390e5829 100644 --- a/.github/workflows/core-assertion-monitor.yml +++ b/.github/workflows/core-assertion-monitor.yml @@ -1,7 +1,6 @@ name: Monitor Core Assertion Events on: - push: workflow_dispatch: schedule: # Run every 6 hours diff --git a/.github/workflows/orbit-assertion-monitor.yml b/.github/workflows/orbit-assertion-monitor.yml index bd21ed0633..abde38447f 100644 --- a/.github/workflows/orbit-assertion-monitor.yml +++ b/.github/workflows/orbit-assertion-monitor.yml @@ -1,7 +1,6 @@ name: Monitor Orbit Assertion Events on: - push: workflow_dispatch: schedule: # Run every 6 hours From 6b312b3172d6dd5642013c2db7c43fd9f46c817c Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:31:47 -0400 Subject: [PATCH 07/24] ci: test single monitoring file --- .github/workflows/core-assertion-monitor.yml | 60 ------------- .../workflows/core-batch-poster-monitor.yml | 61 ------------- .github/workflows/core-retryable-monitor.yml | 58 ------------- .github/workflows/monitor-config.json | 30 +++++++ .github/workflows/monitoring.yml | 86 +++++++++++++++++++ .github/workflows/orbit-assertion-monitor.yml | 56 ------------ .../workflows/orbit-batch-poster-monitor.yml | 56 ------------ .github/workflows/orbit-retryable-monitor.yml | 56 ------------ 8 files changed, 116 insertions(+), 347 deletions(-) delete mode 100644 .github/workflows/core-assertion-monitor.yml delete mode 100644 .github/workflows/core-batch-poster-monitor.yml delete mode 100644 .github/workflows/core-retryable-monitor.yml create mode 100644 .github/workflows/monitor-config.json create mode 100644 .github/workflows/monitoring.yml delete mode 100644 .github/workflows/orbit-assertion-monitor.yml delete mode 100644 .github/workflows/orbit-batch-poster-monitor.yml delete mode 100644 .github/workflows/orbit-retryable-monitor.yml diff --git a/.github/workflows/core-assertion-monitor.yml b/.github/workflows/core-assertion-monitor.yml deleted file mode 100644 index 30390e5829..0000000000 --- a/.github/workflows/core-assertion-monitor.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: Monitor Core Assertion Events - -on: - workflow_dispatch: - schedule: - # Run every 6 hours - - cron: "0 */6 * * *" - -env: - NEXT_PUBLIC_INFURA_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_KEY }} - ASSERTION_MONITORING_SLACK_TOKEN: ${{ secrets.CORE_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN }} - ASSERTION_MONITORING_SLACK_CHANNEL: ${{ secrets.CORE_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL }} - NOVA_MONITOR_RPC_URL: ${{ secrets.NOVA_MONITOR_RPC_URL }} - ARB_ONE_MONITOR_RPC_URL: ${{ secrets.ARB_ONE_MONITOR_RPC_URL }} - -jobs: - run-alerting: - runs-on: ubuntu-latest - - steps: - - name: Checkout Bridge - uses: actions/checkout@v4 - with: - repository: OffchainLabs/arbitrum-token-bridge - - - name: Install node_modules - uses: OffchainLabs/actions/node-modules/install@main - - - name: Generate chains JSON - run: yarn workspace arb-token-bridge-ui generateCoreChainsToMonitor - env: - NOVA_MONITOR_RPC_URL: ${{ secrets.NOVA_MONITOR_RPC_URL }} - ARB_ONE_MONITOR_RPC_URL: ${{ secrets.ARB_ONE_MONITOR_RPC_URL }} - ASSERTION_MONITORING: true - - - name: Checkout Arbitrum Monitoring repository - uses: actions/checkout@v4 - with: - repository: OffchainLabs/arbitrum-monitoring - path: arbitrum-monitoring - - name: Copy chains JSON to Arbitrum Monitoring - run: cp ./packages/arb-token-bridge-ui/public/__auto-generated-core-chains.json ./arbitrum-monitoring/packages/assertion-monitor/config.json - - - name: Setup Node for Arbitrum Monitoring - uses: actions/setup-node@v4 - with: - node-version: latest - - - name: Install dependencies for Arbitrum Monitoring - run: cd ./arbitrum-monitoring && yarn install - - - name: Run alerting command - run: cd ./arbitrum-monitoring && yarn assertion-monitor --enableAlerting - env: - NODE_ENV: "CI" - ASSERTION_MONITORING_SLACK_TOKEN: ${{ secrets.CORE_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN }} - ASSERTION_MONITORING_SLACK_CHANNEL: ${{ secrets.CORE_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL }} - - - name: Clean up - run: rm ./packages/arb-token-bridge-ui/public/__auto-generated-core-chains.json diff --git a/.github/workflows/core-batch-poster-monitor.yml b/.github/workflows/core-batch-poster-monitor.yml deleted file mode 100644 index bdd0b6f876..0000000000 --- a/.github/workflows/core-batch-poster-monitor.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: Monitor Core Batch Posting - -on: - workflow_dispatch: - schedule: - # Run every 6 hours - - cron: "0 */6 * * *" - -env: - NEXT_PUBLIC_INFURA_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_KEY }} - BATCH_POSTER_MONITORING_SLACK_TOKEN: ${{ secrets.CORE_CHAIN_BATCH_POSTER_MONITORING_SLACK_TOKEN }} - BATCH_POSTER_MONITORING_SLACK_CHANNEL: ${{ secrets.CORE_CHAIN_BATCH_POSTER_MONITORING_SLACK_CHANNEL }} - NOVA_MONITOR_RPC_URL: ${{ secrets.NOVA_MONITOR_RPC_URL }} - ARB_ONE_MONITOR_RPC_URL: ${{ secrets.ARB_ONE_MONITOR_RPC_URL }} - -jobs: - run-alerting: - runs-on: ubuntu-latest - - steps: - - name: Checkout Bridge - uses: actions/checkout@v4 - with: - repository: OffchainLabs/arbitrum-token-bridge - - - name: Install node_modules - uses: OffchainLabs/actions/node-modules/install@main - - - name: Generate chains JSON - run: yarn workspace arb-token-bridge-ui generateCoreChainsToMonitor - env: - NOVA_MONITOR_RPC_URL: ${{ secrets.NOVA_MONITOR_RPC_URL }} - ARB_ONE_MONITOR_RPC_URL: ${{ secrets.ARB_ONE_MONITOR_RPC_URL }} - BATCH_POSTER_MONITORING: true - - - name: Checkout Arbitrum Monitoring repository - uses: actions/checkout@v4 - with: - repository: OffchainLabs/arbitrum-monitoring - path: arbitrum-monitoring - - - name: Copy chains JSON to Arbitrum Monitoring - run: cp ./packages/arb-token-bridge-ui/public/__auto-generated-core-chains.json ./arbitrum-monitoring/packages/batch-poster-monitor/config.json - - - name: Setup Node for Arbitrum Monitoring - uses: actions/setup-node@v4 - with: - node-version: latest - - - name: Install dependencies for Arbitrum Monitoring - run: cd ./arbitrum-monitoring && yarn install - - - name: Run alerting command - run: cd ./arbitrum-monitoring && yarn batch-poster-monitor --enableAlerting - env: - NODE_ENV: "CI" - RETRYABLE_MONITORING_SLACK_TOKEN: ${{ secrets.CORE_CHAIN_BATCH_POSTER_MONITORING_SLACK_TOKEN }} - RETRYABLE_MONITORING_SLACK_CHANNEL: ${{ secrets.CORE_CHAIN_BATCH_POSTER_MONITORING_SLACK_CHANNEL }} - - - name: Clean up - run: rm ./packages/arb-token-bridge-ui/public/__auto-generated-core-chains.json diff --git a/.github/workflows/core-retryable-monitor.yml b/.github/workflows/core-retryable-monitor.yml deleted file mode 100644 index 7ca21eedb0..0000000000 --- a/.github/workflows/core-retryable-monitor.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: Monitor Core Retryables - -on: - workflow_dispatch: - schedule: - # Run once a day at 08:03am GMT (https://github.com/OffchainLabs/arb-monitoring/blob/master/.github/workflows/retryables.yml#L5) - - cron: "3 8 * * *" - -env: - NEXT_PUBLIC_INFURA_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_KEY }} - RETRYABLE_MONITORING_SLACK_TOKEN: ${{ secrets.CORE_CHAIN_RETRYABLE_MONITORING_SLACK_TOKEN }} - RETRYABLE_MONITORING_SLACK_CHANNEL: ${{ secrets.CORE_CHAIN_RETRYABLE_MONITORING_SLACK_CHANNEL }} - NOVA_MONITOR_RPC_URL: ${{ secrets.NOVA_MONITOR_RPC_URL }} - -jobs: - run-alerting: - runs-on: ubuntu-latest - - steps: - - name: Checkout Bridge - uses: actions/checkout@v4 - with: - repository: OffchainLabs/arbitrum-token-bridge - - - name: Install node_modules - uses: OffchainLabs/actions/node-modules/install@main - - - name: Generate chains JSON - run: yarn workspace arb-token-bridge-ui generateCoreChainsToMonitor - env: - NOVA_MONITOR_RPC_URL: ${{ secrets.NOVA_MONITOR_RPC_URL }} - - - name: Checkout Arbitrum Monitoring repository - uses: actions/checkout@v4 - with: - repository: OffchainLabs/arbitrum-monitoring - path: arbitrum-monitoring - - - name: Copy chains JSON to Arbitrum Monitoring - run: cp ./packages/arb-token-bridge-ui/public/__auto-generated-core-chains.json ./arbitrum-monitoring/packages/retryable-monitor/config.json - - - name: Setup Node for Arbitrum Monitoring - uses: actions/setup-node@v4 - with: - node-version: latest - - - name: Install dependencies for Arbitrum Monitoring - run: cd ./arbitrum-monitoring && yarn install - - - name: Run alerting command - run: cd ./arbitrum-monitoring && yarn retryable-monitor --enableAlerting - env: - NODE_ENV: "CI" - RETRYABLE_MONITORING_SLACK_TOKEN: ${{ secrets.CORE_CHAIN_RETRYABLE_MONITORING_SLACK_TOKEN }} - RETRYABLE_MONITORING_SLACK_CHANNEL: ${{ secrets.CORE_CHAIN_RETRYABLE_MONITORING_SLACK_CHANNEL }} - - - name: Clean up - run: rm ./packages/arb-token-bridge-ui/public/__auto-generated-core-chains.json diff --git a/.github/workflows/monitor-config.json b/.github/workflows/monitor-config.json new file mode 100644 index 0000000000..6f35882143 --- /dev/null +++ b/.github/workflows/monitor-config.json @@ -0,0 +1,30 @@ +{ + "core": { + "generateCommand": "generateCoreChainsToMonitor", + "configFile": "__auto-generated-core-chains.json", + "slackTokens": { + "assertion": "CORE_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN", + "batch-poster": "CORE_CHAIN_BATCH_POSTER_MONITORING_SLACK_TOKEN", + "retryable": "CORE_CHAIN_RETRYABLE_MONITORING_SLACK_TOKEN" + }, + "slackChannels": { + "assertion": "CORE_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL", + "batch-poster": "CORE_CHAIN_BATCH_POSTER_MONITORING_SLACK_CHANNEL", + "retryable": "CORE_CHAIN_RETRYABLE_MONITORING_SLACK_CHANNEL" + } + }, + "orbit": { + "generateCommand": "generateOrbitChainsToMonitor", + "configFile": "__auto-generated-orbit-chains.json", + "slackTokens": { + "assertion": "ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN", + "batch-poster": "ORBIT_CHAIN_BATCH_POSTER_MONITORING_SLACK_TOKEN", + "retryable": "ORBIT_RETRYABLE_MONITORING_SLACK_TOKEN" + }, + "slackChannels": { + "assertion": "ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL", + "batch-poster": "ORBIT_CHAIN_BATCH_POSTER_MONITORING_SLACK_CHANNEL", + "retryable": "ORBIT_RETRYABLE_MONITORING_SLACK_CHANNEL" + } + } +} diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml new file mode 100644 index 0000000000..a052381597 --- /dev/null +++ b/.github/workflows/monitoring.yml @@ -0,0 +1,86 @@ +name: Monitoring + +on: + workflow_dispatch: + schedule: + - cron: "0 */6 * * *" # Run every 6 hours + +env: + NEXT_PUBLIC_INFURA_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_KEY }} + NOVA_MONITOR_RPC_URL: ${{ secrets.NOVA_MONITOR_RPC_URL }} + ARB_ONE_MONITOR_RPC_URL: ${{ secrets.ARB_ONE_MONITOR_RPC_URL }} + NODE_ENV: "CI" + +jobs: + setup: + runs-on: ubuntu-latest + steps: + - name: Checkout repositories + uses: actions/checkout@v4 + with: + repository: OffchainLabs/arbitrum-token-bridge + + - name: Install node_modules + uses: OffchainLabs/actions/node-modules/install@main + + - name: Checkout Arbitrum Monitoring repository + uses: actions/checkout@v4 + with: + repository: OffchainLabs/arbitrum-monitoring + path: arbitrum-monitoring + + - name: Setup Node and install dependencies + uses: actions/setup-node@v4 + with: + node-version: latest + - run: cd ./arbitrum-monitoring && yarn install + + - name: Cache Arbitrum Monitoring setup + uses: actions/cache@v2 + with: + path: | + ./arbitrum-monitoring + ./node_modules + key: ${{ runner.os }}-arbitrum-monitoring-${{ hashFiles('**/yarn.lock') }} + + run-monitoring: + needs: setup + runs-on: ubuntu-latest + strategy: + matrix: + chain: [core, orbit] + monitor: [assertion, batch-poster, retryable] + steps: + - name: Restore cached Arbitrum Monitoring setup + uses: actions/cache@v2 + with: + path: | + ./arbitrum-monitoring + ./node_modules + key: ${{ runner.os }}-arbitrum-monitoring-${{ hashFiles('**/yarn.lock') }} + + - name: Load configuration + id: config + run: | + CONFIG=$(cat .github/workflows/monitor-config.json | jq -r '.${{ matrix.chain }}') + echo "generate_command=$(echo $CONFIG | jq -r '.generateCommand')" >> $GITHUB_OUTPUT + echo "config_file=$(echo $CONFIG | jq -r '.configFile')" >> $GITHUB_OUTPUT + echo "slack_token=$(echo $CONFIG | jq -r '.slackTokens.${{ matrix.monitor }}')" >> $GITHUB_OUTPUT + echo "slack_channel=$(echo $CONFIG | jq -r '.slackChannels.${{ matrix.monitor }}')" >> $GITHUB_OUTPUT + + - name: Generate chains JSON + run: yarn workspace arb-token-bridge-ui ${{ steps.config.outputs.generate_command }} + env: + BATCH_POSTER_MONITORING: ${{ matrix.monitor == 'batch-poster' }} + + - name: Copy chains JSON to Arbitrum Monitoring + run: cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ matrix.monitor }}-monitor/config.json + + - name: Run monitoring command + run: cd ./arbitrum-monitoring && yarn ${{ matrix.monitor }}-monitor --enableAlerting + env: + SLACK_TOKEN: ${{ secrets[steps.config.outputs.slack_token] }} + SLACK_CHANNEL: ${{ secrets[steps.config.outputs.slack_channel] }} + + - name: Clean up + run: rm ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} diff --git a/.github/workflows/orbit-assertion-monitor.yml b/.github/workflows/orbit-assertion-monitor.yml deleted file mode 100644 index abde38447f..0000000000 --- a/.github/workflows/orbit-assertion-monitor.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Monitor Orbit Assertion Events - -on: - workflow_dispatch: - schedule: - # Run every 6 hours - - cron: "0 */6 * * *" - -env: - NEXT_PUBLIC_INFURA_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_KEY }} - ASSERTION_MONITORING_SLACK_TOKEN: ${{ secrets.ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN }} - ASSERTION_MONITORING_SLACK_CHANNEL: ${{ secrets.ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL }} - -jobs: - run-alerting: - runs-on: ubuntu-latest - - steps: - - name: Checkout Bridge - uses: actions/checkout@v4 - with: - repository: OffchainLabs/arbitrum-token-bridge - - - name: Install node_modules - uses: OffchainLabs/actions/node-modules/install@main - - - name: Generate chains JSON - run: yarn workspace arb-token-bridge-ui generateOrbitChainsToMonitor - - - name: Checkout Arbitrum Monitoring repository - uses: actions/checkout@v4 - with: - repository: OffchainLabs/arbitrum-monitoring - path: arbitrum-monitoring - - - name: Copy chains JSON to Arbitrum Monitoring - run: cp ./packages/arb-token-bridge-ui/public/__auto-generated-orbit-chains.json ./arbitrum-monitoring/packages/assertion-monitor/config.json - - - name: Setup Node for Arbitrum Monitoring - uses: actions/setup-node@v4 - with: - node-version: latest - - - name: Install dependencies for Arbitrum Monitoring - run: cd ./arbitrum-monitoring && yarn install - - - name: Run alerting command - run: cd ./arbitrum-monitoring && yarn assertion-monitor --enableAlerting - env: - NODE_ENV: "CI" - ASSERTION_MONITORING_SLACK_TOKEN: ${{ secrets.ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN }} - ASSERTION_MONITORING_SLACK_CHANNEL: ${{ secrets.ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL }} - - - - name: Clean up - run: rm ./packages/arb-token-bridge-ui/public/__auto-generated-orbit-chains.json diff --git a/.github/workflows/orbit-batch-poster-monitor.yml b/.github/workflows/orbit-batch-poster-monitor.yml deleted file mode 100644 index e72bbed120..0000000000 --- a/.github/workflows/orbit-batch-poster-monitor.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Monitor Orbit Batch Posting - -on: - workflow_dispatch: - schedule: - # Run every 6 hours - - cron: "0 */6 * * *" - -env: - NEXT_PUBLIC_INFURA_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_KEY }} - BATCH_POSTER_MONITORING_SLACK_TOKEN: ${{ secrets.ORBIT_CHAIN_BATCH_POSTER_MONITORING_SLACK_TOKEN }} - BATCH_POSTER_MONITORING_SLACK_CHANNEL: ${{ secrets.ORBIT_CHAIN_BATCH_POSTER_MONITORING_SLACK_CHANNEL }} - -jobs: - run-alerting: - runs-on: ubuntu-latest - - steps: - - name: Checkout Bridge - uses: actions/checkout@v4 - with: - repository: OffchainLabs/arbitrum-token-bridge - - - name: Install node_modules - uses: OffchainLabs/actions/node-modules/install@main - - - name: Generate chains JSON - run: yarn workspace arb-token-bridge-ui generateOrbitChainsToMonitor - - - name: Checkout Arbitrum Monitoring repository - uses: actions/checkout@v4 - with: - repository: OffchainLabs/arbitrum-monitoring - path: arbitrum-monitoring - - - name: Copy chains JSON to Arbitrum Monitoring - run: cp ./packages/arb-token-bridge-ui/public/__auto-generated-orbit-chains.json ./arbitrum-monitoring/packages/batch-poster-monitor/config.json - - - name: Setup Node for Arbitrum Monitoring - uses: actions/setup-node@v4 - with: - node-version: latest - - - name: Install dependencies for Arbitrum Monitoring - run: cd ./arbitrum-monitoring && yarn install - - - name: Run alerting command - run: cd ./arbitrum-monitoring && yarn batch-poster-monitor --enableAlerting - env: - NODE_ENV: "CI" - BATCH_POSTER_MONITORING_SLACK_TOKEN: ${{ secrets.ORBIT_CHAIN_BATCH_POSTER_MONITORING_SLACK_TOKEN }} - BATCH_POSTER_MONITORING_SLACK_CHANNEL: ${{ secrets.ORBIT_CHAIN_BATCH_POSTER_MONITORING_SLACK_CHANNEL }} - - - - name: Clean up - run: rm ./packages/arb-token-bridge-ui/public/__auto-generated-orbit-chains.json diff --git a/.github/workflows/orbit-retryable-monitor.yml b/.github/workflows/orbit-retryable-monitor.yml deleted file mode 100644 index 84753b7f7a..0000000000 --- a/.github/workflows/orbit-retryable-monitor.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Monitor Orbit Retryables - -on: - workflow_dispatch: - schedule: - # Run once a day at 08:03am GMT (https://github.com/OffchainLabs/arb-monitoring/blob/master/.github/workflows/retryables.yml#L5) - - cron: "3 8 * * *" - -env: - NEXT_PUBLIC_INFURA_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_KEY }} - RETRYABLE_MONITORING_SLACK_TOKEN: ${{ secrets.ORBIT_RETRYABLE_MONITORING_SLACK_TOKEN }} - RETRYABLE_MONITORING_SLACK_CHANNEL: ${{ secrets.ORBIT_RETRYABLE_MONITORING_SLACK_CHANNEL }} - -jobs: - run-alerting: - runs-on: ubuntu-latest - - steps: - - name: Checkout Bridge - uses: actions/checkout@v4 - with: - repository: OffchainLabs/arbitrum-token-bridge - - - name: Install node_modules - uses: OffchainLabs/actions/node-modules/install@main - - - name: Generate chains JSON - run: yarn workspace arb-token-bridge-ui generateOrbitChainsToMonitor - - - name: Checkout Arbitrum Monitoring repository - uses: actions/checkout@v4 - with: - repository: OffchainLabs/arbitrum-monitoring - path: arbitrum-monitoring - - - name: Copy chains JSON to Arbitrum Monitoring - run: cp ./packages/arb-token-bridge-ui/public/__auto-generated-orbit-chains.json ./arbitrum-monitoring/packages/retryable-monitor/config.json - - - name: Setup Node for Arbitrum Monitoring - uses: actions/setup-node@v4 - with: - node-version: latest - - - name: Install dependencies for Arbitrum Monitoring - run: cd ./arbitrum-monitoring && yarn install - - - name: Run alerting command - run: cd ./arbitrum-monitoring && yarn retryable-monitor --enableAlerting - env: - NODE_ENV: "CI" - RETRYABLE_MONITORING_SLACK_TOKEN: ${{ secrets.ORBIT_RETRYABLE_MONITORING_SLACK_TOKEN }} - RETRYABLE_MONITORING_SLACK_CHANNEL: ${{ secrets.ORBIT_RETRYABLE_MONITORING_SLACK_CHANNEL }} - - - - name: Clean up - run: rm ./packages/arb-token-bridge-ui/public/__auto-generated-orbit-chains.json From 5114dc90cc20ff93f8731b93d1ab1cff098db44d Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:32:13 -0400 Subject: [PATCH 08/24] add push trigger --- .github/workflows/monitoring.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index a052381597..b7e6df54d8 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -1,6 +1,7 @@ name: Monitoring on: + push: workflow_dispatch: schedule: - cron: "0 */6 * * *" # Run every 6 hours From 09c27c241f762ba8e99bd3e1e4a4575f7faaed12 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Thu, 15 Aug 2024 09:54:14 -0400 Subject: [PATCH 09/24] fix location --- .github/workflows/monitoring.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index b7e6df54d8..c26ca17318 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -70,7 +70,7 @@ jobs: echo "slack_channel=$(echo $CONFIG | jq -r '.slackChannels.${{ matrix.monitor }}')" >> $GITHUB_OUTPUT - name: Generate chains JSON - run: yarn workspace arb-token-bridge-ui ${{ steps.config.outputs.generate_command }} + run: ls && cd ./arbitrum-token-bridge && yarn workspace arb-token-bridge-ui ${{ steps.config.outputs.generate_command }} env: BATCH_POSTER_MONITORING: ${{ matrix.monitor == 'batch-poster' }} From c4b19042d2c6090e5ca5be6b8e9b7471e1eb4c7c Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Thu, 15 Aug 2024 09:56:28 -0400 Subject: [PATCH 10/24] fix cache --- .github/workflows/monitoring.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index c26ca17318..cfae68d730 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -40,6 +40,7 @@ jobs: uses: actions/cache@v2 with: path: | + ./arbitrum-token-bridge ./arbitrum-monitoring ./node_modules key: ${{ runner.os }}-arbitrum-monitoring-${{ hashFiles('**/yarn.lock') }} @@ -56,6 +57,7 @@ jobs: uses: actions/cache@v2 with: path: | + ./arbitrum-token-bridge ./arbitrum-monitoring ./node_modules key: ${{ runner.os }}-arbitrum-monitoring-${{ hashFiles('**/yarn.lock') }} From f62eba114d3d15407aa70d9556cc37f4f437d21e Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Thu, 15 Aug 2024 10:08:12 -0400 Subject: [PATCH 11/24] remove cache --- .github/workflows/monitoring.yml | 34 ++++++-------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index cfae68d730..8ef55910ac 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -13,8 +13,12 @@ env: NODE_ENV: "CI" jobs: - setup: + run-monitoring: runs-on: ubuntu-latest + strategy: + matrix: + chain: [core, orbit] + monitor: [assertion, batch-poster, retryable] steps: - name: Checkout repositories uses: actions/checkout@v4 @@ -36,32 +40,6 @@ jobs: node-version: latest - run: cd ./arbitrum-monitoring && yarn install - - name: Cache Arbitrum Monitoring setup - uses: actions/cache@v2 - with: - path: | - ./arbitrum-token-bridge - ./arbitrum-monitoring - ./node_modules - key: ${{ runner.os }}-arbitrum-monitoring-${{ hashFiles('**/yarn.lock') }} - - run-monitoring: - needs: setup - runs-on: ubuntu-latest - strategy: - matrix: - chain: [core, orbit] - monitor: [assertion, batch-poster, retryable] - steps: - - name: Restore cached Arbitrum Monitoring setup - uses: actions/cache@v2 - with: - path: | - ./arbitrum-token-bridge - ./arbitrum-monitoring - ./node_modules - key: ${{ runner.os }}-arbitrum-monitoring-${{ hashFiles('**/yarn.lock') }} - - name: Load configuration id: config run: | @@ -72,7 +50,7 @@ jobs: echo "slack_channel=$(echo $CONFIG | jq -r '.slackChannels.${{ matrix.monitor }}')" >> $GITHUB_OUTPUT - name: Generate chains JSON - run: ls && cd ./arbitrum-token-bridge && yarn workspace arb-token-bridge-ui ${{ steps.config.outputs.generate_command }} + run: yarn workspace arb-token-bridge-ui ${{ steps.config.outputs.generate_command }} env: BATCH_POSTER_MONITORING: ${{ matrix.monitor == 'batch-poster' }} From 2a7498d55a3367a32105437ac6839118c0666902 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Thu, 15 Aug 2024 13:36:59 -0400 Subject: [PATCH 12/24] breaks out monitoring into into reusable workflow --- .github/workflows/monitor-config.json | 24 +---------- .github/workflows/monitoring.yml | 40 +++++++++---------- .github/workflows/six-hour-monitoring.yml | 19 +++++++++ .../workflows/twenty-four-hour-monitoring.yml | 18 +++++++++ 4 files changed, 58 insertions(+), 43 deletions(-) create mode 100644 .github/workflows/six-hour-monitoring.yml create mode 100644 .github/workflows/twenty-four-hour-monitoring.yml diff --git a/.github/workflows/monitor-config.json b/.github/workflows/monitor-config.json index 6f35882143..b5fe7ed723 100644 --- a/.github/workflows/monitor-config.json +++ b/.github/workflows/monitor-config.json @@ -1,30 +1,10 @@ { "core": { "generateCommand": "generateCoreChainsToMonitor", - "configFile": "__auto-generated-core-chains.json", - "slackTokens": { - "assertion": "CORE_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN", - "batch-poster": "CORE_CHAIN_BATCH_POSTER_MONITORING_SLACK_TOKEN", - "retryable": "CORE_CHAIN_RETRYABLE_MONITORING_SLACK_TOKEN" - }, - "slackChannels": { - "assertion": "CORE_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL", - "batch-poster": "CORE_CHAIN_BATCH_POSTER_MONITORING_SLACK_CHANNEL", - "retryable": "CORE_CHAIN_RETRYABLE_MONITORING_SLACK_CHANNEL" - } + "configFile": "__auto-generated-core-chains.json" }, "orbit": { "generateCommand": "generateOrbitChainsToMonitor", - "configFile": "__auto-generated-orbit-chains.json", - "slackTokens": { - "assertion": "ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN", - "batch-poster": "ORBIT_CHAIN_BATCH_POSTER_MONITORING_SLACK_TOKEN", - "retryable": "ORBIT_RETRYABLE_MONITORING_SLACK_TOKEN" - }, - "slackChannels": { - "assertion": "ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL", - "batch-poster": "ORBIT_CHAIN_BATCH_POSTER_MONITORING_SLACK_CHANNEL", - "retryable": "ORBIT_RETRYABLE_MONITORING_SLACK_CHANNEL" - } + "configFile": "__auto-generated-orbit-chains.json" } } diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index 8ef55910ac..4af2017e34 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -1,24 +1,30 @@ -name: Monitoring +name: Reusable Monitoring Workflow on: - push: - workflow_dispatch: - schedule: - - cron: "0 */6 * * *" # Run every 6 hours + workflow_call: + inputs: + chain: + required: true + type: string + monitor: + required: true + type: string env: NEXT_PUBLIC_INFURA_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_KEY }} NOVA_MONITOR_RPC_URL: ${{ secrets.NOVA_MONITOR_RPC_URL }} ARB_ONE_MONITOR_RPC_URL: ${{ secrets.ARB_ONE_MONITOR_RPC_URL }} NODE_ENV: "CI" + RETRYABLE_MONITORING_SLACK_TOKEN: ${{ secrets.RETRYABLE_MONITORING_SLACK_TOKEN }} + RETRYABLE_MONITORING_SLACK_CHANNEL: ${{ secrets.RETRYABLE_MONITORING_SLACK_CHANNEL }} + BATCH_POSTER_MONITORING_SLACK_TOKEN: ${{ secrets.BATCH_POSTER_MONITORING_SLACK_TOKEN }} + BATCH_POSTER_MONITORING_SLACK_CHANNEL: ${{ secrets.BATCH_POSTER_MONITORING_SLACK_CHANNEL }} + ASSERTION_MONITORING_SLACK_TOKEN: ${{ secrets.ASSERTION_MONITORING_SLACK_TOKEN }} + ASSERTION_MONITORING_SLACK_CHANNEL: ${{ secrets.ASSERTION_MONITORING_SLACK_CHANNEL }} jobs: run-monitoring: runs-on: ubuntu-latest - strategy: - matrix: - chain: [core, orbit] - monitor: [assertion, batch-poster, retryable] steps: - name: Checkout repositories uses: actions/checkout@v4 @@ -43,25 +49,17 @@ jobs: - name: Load configuration id: config run: | - CONFIG=$(cat .github/workflows/monitor-config.json | jq -r '.${{ matrix.chain }}') + CONFIG=$(cat .github/workflows/monitor-config.json | jq -r '.${{ inputs.chain }}') echo "generate_command=$(echo $CONFIG | jq -r '.generateCommand')" >> $GITHUB_OUTPUT echo "config_file=$(echo $CONFIG | jq -r '.configFile')" >> $GITHUB_OUTPUT - echo "slack_token=$(echo $CONFIG | jq -r '.slackTokens.${{ matrix.monitor }}')" >> $GITHUB_OUTPUT - echo "slack_channel=$(echo $CONFIG | jq -r '.slackChannels.${{ matrix.monitor }}')" >> $GITHUB_OUTPUT - name: Generate chains JSON run: yarn workspace arb-token-bridge-ui ${{ steps.config.outputs.generate_command }} env: - BATCH_POSTER_MONITORING: ${{ matrix.monitor == 'batch-poster' }} + BATCH_POSTER_MONITORING: ${{ inputs.monitor == 'batch-poster' }} - name: Copy chains JSON to Arbitrum Monitoring - run: cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ matrix.monitor }}-monitor/config.json + run: cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json - name: Run monitoring command - run: cd ./arbitrum-monitoring && yarn ${{ matrix.monitor }}-monitor --enableAlerting - env: - SLACK_TOKEN: ${{ secrets[steps.config.outputs.slack_token] }} - SLACK_CHANNEL: ${{ secrets[steps.config.outputs.slack_channel] }} - - - name: Clean up - run: rm ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} + run: cd ./arbitrum-monitoring && yarn ${{ inputs.monitor }}-monitor --enableAlerting diff --git a/.github/workflows/six-hour-monitoring.yml b/.github/workflows/six-hour-monitoring.yml new file mode 100644 index 0000000000..3a1c7457d2 --- /dev/null +++ b/.github/workflows/six-hour-monitoring.yml @@ -0,0 +1,19 @@ +name: 6-Hour Monitoring + +on: + push: + workflow_dispatch: + schedule: + - cron: "0 */6 * * *" # Run every 6 hours + +jobs: + run-monitoring: + strategy: + matrix: + chain: [core, orbit] + monitor: [assertion, batch-poster] + uses: ./.github/workflows/monitoring.yml + with: + chain: ${{ matrix.chain }} + monitor: ${{ matrix.monitor }} + secrets: inherit diff --git a/.github/workflows/twenty-four-hour-monitoring.yml b/.github/workflows/twenty-four-hour-monitoring.yml new file mode 100644 index 0000000000..4c3a4868ea --- /dev/null +++ b/.github/workflows/twenty-four-hour-monitoring.yml @@ -0,0 +1,18 @@ +name: 24-Hour Monitoring + +on: + push: + workflow_dispatch: + schedule: + - cron: "0 0 * * *" # Run every 24 hours at midnight UTC + +jobs: + run-retryable-monitoring: + strategy: + matrix: + chain: [core, orbit] + uses: ./.github/workflows/monitoring.yml + with: + chain: ${{ matrix.chain }} + monitor: retryable + secrets: inherit From 95e75b51930917e42e70e398c5fe4a9faa2709a8 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:18:38 -0400 Subject: [PATCH 13/24] add debug cmd --- .github/workflows/monitoring.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index 4af2017e34..2a8feffaf5 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -59,7 +59,7 @@ jobs: BATCH_POSTER_MONITORING: ${{ inputs.monitor == 'batch-poster' }} - name: Copy chains JSON to Arbitrum Monitoring - run: cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json + run: ls && cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json - name: Run monitoring command run: cd ./arbitrum-monitoring && yarn ${{ inputs.monitor }}-monitor --enableAlerting From 233cfdf15368a1f0999ee865a358a5c60a2a5488 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:24:01 -0400 Subject: [PATCH 14/24] more debug --- .github/workflows/monitoring.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index 2a8feffaf5..fa9f6eee6c 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -59,7 +59,7 @@ jobs: BATCH_POSTER_MONITORING: ${{ inputs.monitor == 'batch-poster' }} - name: Copy chains JSON to Arbitrum Monitoring - run: ls && cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json + run: ls && cd ./arbitrum-monitoring/ && ls && cd packages && ls && cd ../.. && tree -L 2 && cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json - name: Run monitoring command run: cd ./arbitrum-monitoring && yarn ${{ inputs.monitor }}-monitor --enableAlerting From 96b5faaa2b3c9dcfc57a0c9514b847a400c8a31a Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:27:12 -0400 Subject: [PATCH 15/24] debug --- .github/workflows/monitoring.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index fa9f6eee6c..11dcbc804c 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -59,7 +59,7 @@ jobs: BATCH_POSTER_MONITORING: ${{ inputs.monitor == 'batch-poster' }} - name: Copy chains JSON to Arbitrum Monitoring - run: ls && cd ./arbitrum-monitoring/ && ls && cd packages && ls && cd ../.. && tree -L 2 && cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json + run: cd ./arbitrum-monitoring && tree -L 3 && cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json - name: Run monitoring command run: cd ./arbitrum-monitoring && yarn ${{ inputs.monitor }}-monitor --enableAlerting From bb3f85927af0d2a4da66c5d30aca0486cef0e710 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:30:18 -0400 Subject: [PATCH 16/24] update ref --- .github/workflows/monitoring.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index 11dcbc804c..2d698ecbfd 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -39,6 +39,7 @@ jobs: with: repository: OffchainLabs/arbitrum-monitoring path: arbitrum-monitoring + ref: main - name: Setup Node and install dependencies uses: actions/setup-node@v4 @@ -59,7 +60,7 @@ jobs: BATCH_POSTER_MONITORING: ${{ inputs.monitor == 'batch-poster' }} - name: Copy chains JSON to Arbitrum Monitoring - run: cd ./arbitrum-monitoring && tree -L 3 && cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json + run: cd ./arbitrum-monitoring/packages && ls && cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json - name: Run monitoring command run: cd ./arbitrum-monitoring && yarn ${{ inputs.monitor }}-monitor --enableAlerting From 58439b73c1cc0a0e174dcd166c2648dbe1f90020 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:42:03 -0400 Subject: [PATCH 17/24] break out into new file per monitor --- .../assertion-monitoring.yml} | 5 ++--- .../monitoring/batch-poster-monitoring.yml | 18 ++++++++++++++++++ .../{ => monitoring}/monitor-config.json | 0 .../workflows/{ => monitoring}/monitoring.yml | 3 +-- .../retryable-monitoring.yml} | 0 5 files changed, 21 insertions(+), 5 deletions(-) rename .github/workflows/{six-hour-monitoring.yml => monitoring/assertion-monitoring.yml} (73%) create mode 100644 .github/workflows/monitoring/batch-poster-monitoring.yml rename .github/workflows/{ => monitoring}/monitor-config.json (100%) rename .github/workflows/{ => monitoring}/monitoring.yml (90%) rename .github/workflows/{twenty-four-hour-monitoring.yml => monitoring/retryable-monitoring.yml} (100%) diff --git a/.github/workflows/six-hour-monitoring.yml b/.github/workflows/monitoring/assertion-monitoring.yml similarity index 73% rename from .github/workflows/six-hour-monitoring.yml rename to .github/workflows/monitoring/assertion-monitoring.yml index 3a1c7457d2..921bca38fd 100644 --- a/.github/workflows/six-hour-monitoring.yml +++ b/.github/workflows/monitoring/assertion-monitoring.yml @@ -1,4 +1,4 @@ -name: 6-Hour Monitoring +name: Assertion Monitoring on: push: @@ -11,9 +11,8 @@ jobs: strategy: matrix: chain: [core, orbit] - monitor: [assertion, batch-poster] uses: ./.github/workflows/monitoring.yml with: chain: ${{ matrix.chain }} - monitor: ${{ matrix.monitor }} + monitor: assertion secrets: inherit diff --git a/.github/workflows/monitoring/batch-poster-monitoring.yml b/.github/workflows/monitoring/batch-poster-monitoring.yml new file mode 100644 index 0000000000..9d6a1f48c4 --- /dev/null +++ b/.github/workflows/monitoring/batch-poster-monitoring.yml @@ -0,0 +1,18 @@ +name: Batch Poster Monitoring + +on: + push: + workflow_dispatch: + schedule: + - cron: "0 */6 * * *" # Run every 6 hours + +jobs: + run-monitoring: + strategy: + matrix: + chain: [core, orbit] + uses: ./.github/workflows/monitoring.yml + with: + chain: ${{ matrix.chain }} + monitor: batch-poster + secrets: inherit diff --git a/.github/workflows/monitor-config.json b/.github/workflows/monitoring/monitor-config.json similarity index 100% rename from .github/workflows/monitor-config.json rename to .github/workflows/monitoring/monitor-config.json diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring/monitoring.yml similarity index 90% rename from .github/workflows/monitoring.yml rename to .github/workflows/monitoring/monitoring.yml index 2d698ecbfd..4af2017e34 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring/monitoring.yml @@ -39,7 +39,6 @@ jobs: with: repository: OffchainLabs/arbitrum-monitoring path: arbitrum-monitoring - ref: main - name: Setup Node and install dependencies uses: actions/setup-node@v4 @@ -60,7 +59,7 @@ jobs: BATCH_POSTER_MONITORING: ${{ inputs.monitor == 'batch-poster' }} - name: Copy chains JSON to Arbitrum Monitoring - run: cd ./arbitrum-monitoring/packages && ls && cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json + run: cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json - name: Run monitoring command run: cd ./arbitrum-monitoring && yarn ${{ inputs.monitor }}-monitor --enableAlerting diff --git a/.github/workflows/twenty-four-hour-monitoring.yml b/.github/workflows/monitoring/retryable-monitoring.yml similarity index 100% rename from .github/workflows/twenty-four-hour-monitoring.yml rename to .github/workflows/monitoring/retryable-monitoring.yml From b9ede979ecd44eabdf185470be87a2c9038ed413 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:43:08 -0400 Subject: [PATCH 18/24] fix name --- .github/workflows/monitoring/retryable-monitoring.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/monitoring/retryable-monitoring.yml b/.github/workflows/monitoring/retryable-monitoring.yml index 4c3a4868ea..0a0254a446 100644 --- a/.github/workflows/monitoring/retryable-monitoring.yml +++ b/.github/workflows/monitoring/retryable-monitoring.yml @@ -1,4 +1,4 @@ -name: 24-Hour Monitoring +name: Retryable Monitoring on: push: From 36d0e86c38dc91bcf4e2b3c8af578c10aa63898f Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:45:35 -0400 Subject: [PATCH 19/24] move files --- .github/workflows/{monitoring => }/assertion-monitoring.yml | 0 .github/workflows/{monitoring => }/batch-poster-monitoring.yml | 0 .github/workflows/{monitoring => }/monitor-config.json | 0 .github/workflows/{monitoring => }/monitoring.yml | 0 .github/workflows/{monitoring => }/retryable-monitoring.yml | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{monitoring => }/assertion-monitoring.yml (100%) rename .github/workflows/{monitoring => }/batch-poster-monitoring.yml (100%) rename .github/workflows/{monitoring => }/monitor-config.json (100%) rename .github/workflows/{monitoring => }/monitoring.yml (100%) rename .github/workflows/{monitoring => }/retryable-monitoring.yml (100%) diff --git a/.github/workflows/monitoring/assertion-monitoring.yml b/.github/workflows/assertion-monitoring.yml similarity index 100% rename from .github/workflows/monitoring/assertion-monitoring.yml rename to .github/workflows/assertion-monitoring.yml diff --git a/.github/workflows/monitoring/batch-poster-monitoring.yml b/.github/workflows/batch-poster-monitoring.yml similarity index 100% rename from .github/workflows/monitoring/batch-poster-monitoring.yml rename to .github/workflows/batch-poster-monitoring.yml diff --git a/.github/workflows/monitoring/monitor-config.json b/.github/workflows/monitor-config.json similarity index 100% rename from .github/workflows/monitoring/monitor-config.json rename to .github/workflows/monitor-config.json diff --git a/.github/workflows/monitoring/monitoring.yml b/.github/workflows/monitoring.yml similarity index 100% rename from .github/workflows/monitoring/monitoring.yml rename to .github/workflows/monitoring.yml diff --git a/.github/workflows/monitoring/retryable-monitoring.yml b/.github/workflows/retryable-monitoring.yml similarity index 100% rename from .github/workflows/monitoring/retryable-monitoring.yml rename to .github/workflows/retryable-monitoring.yml From 93cc52d08e9bea69cac576e08385d48f12c22f7d Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:48:52 -0400 Subject: [PATCH 20/24] remove push and rename --- .../{assertion-monitoring.yml => assertion-monitor.yml} | 3 +-- .../{batch-poster-monitoring.yml => batch-poster-monitor.yml} | 3 +-- .../{retryable-monitoring.yml => retryable-monitor.yml} | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) rename .github/workflows/{assertion-monitoring.yml => assertion-monitor.yml} (89%) rename .github/workflows/{batch-poster-monitoring.yml => batch-poster-monitor.yml} (88%) rename .github/workflows/{retryable-monitoring.yml => retryable-monitor.yml} (90%) diff --git a/.github/workflows/assertion-monitoring.yml b/.github/workflows/assertion-monitor.yml similarity index 89% rename from .github/workflows/assertion-monitoring.yml rename to .github/workflows/assertion-monitor.yml index 921bca38fd..3d40abd11a 100644 --- a/.github/workflows/assertion-monitoring.yml +++ b/.github/workflows/assertion-monitor.yml @@ -1,7 +1,6 @@ -name: Assertion Monitoring +name: Assertion Monitor on: - push: workflow_dispatch: schedule: - cron: "0 */6 * * *" # Run every 6 hours diff --git a/.github/workflows/batch-poster-monitoring.yml b/.github/workflows/batch-poster-monitor.yml similarity index 88% rename from .github/workflows/batch-poster-monitoring.yml rename to .github/workflows/batch-poster-monitor.yml index 9d6a1f48c4..a742fb56a1 100644 --- a/.github/workflows/batch-poster-monitoring.yml +++ b/.github/workflows/batch-poster-monitor.yml @@ -1,7 +1,6 @@ -name: Batch Poster Monitoring +name: Batch Poster Monitor on: - push: workflow_dispatch: schedule: - cron: "0 */6 * * *" # Run every 6 hours diff --git a/.github/workflows/retryable-monitoring.yml b/.github/workflows/retryable-monitor.yml similarity index 90% rename from .github/workflows/retryable-monitoring.yml rename to .github/workflows/retryable-monitor.yml index 0a0254a446..9e910185f1 100644 --- a/.github/workflows/retryable-monitoring.yml +++ b/.github/workflows/retryable-monitor.yml @@ -1,7 +1,6 @@ -name: Retryable Monitoring +name: Retryable Monitor on: - push: workflow_dispatch: schedule: - cron: "0 0 * * *" # Run every 24 hours at midnight UTC From 69274ff0868c7b1cbcae9014f20671e49f821acd Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Fri, 16 Aug 2024 10:09:42 -0400 Subject: [PATCH 21/24] restore individual slack token/chain specifiers --- .github/workflows/monitor-config.json | 24 ++++++++++++++++++++++-- .github/workflows/monitoring.yml | 15 +++++++++------ 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/.github/workflows/monitor-config.json b/.github/workflows/monitor-config.json index b5fe7ed723..6f35882143 100644 --- a/.github/workflows/monitor-config.json +++ b/.github/workflows/monitor-config.json @@ -1,10 +1,30 @@ { "core": { "generateCommand": "generateCoreChainsToMonitor", - "configFile": "__auto-generated-core-chains.json" + "configFile": "__auto-generated-core-chains.json", + "slackTokens": { + "assertion": "CORE_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN", + "batch-poster": "CORE_CHAIN_BATCH_POSTER_MONITORING_SLACK_TOKEN", + "retryable": "CORE_CHAIN_RETRYABLE_MONITORING_SLACK_TOKEN" + }, + "slackChannels": { + "assertion": "CORE_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL", + "batch-poster": "CORE_CHAIN_BATCH_POSTER_MONITORING_SLACK_CHANNEL", + "retryable": "CORE_CHAIN_RETRYABLE_MONITORING_SLACK_CHANNEL" + } }, "orbit": { "generateCommand": "generateOrbitChainsToMonitor", - "configFile": "__auto-generated-orbit-chains.json" + "configFile": "__auto-generated-orbit-chains.json", + "slackTokens": { + "assertion": "ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_TOKEN", + "batch-poster": "ORBIT_CHAIN_BATCH_POSTER_MONITORING_SLACK_TOKEN", + "retryable": "ORBIT_RETRYABLE_MONITORING_SLACK_TOKEN" + }, + "slackChannels": { + "assertion": "ORBIT_CHAIN_ASSERTION_MONITORING_SLACK_CHANNEL", + "batch-poster": "ORBIT_CHAIN_BATCH_POSTER_MONITORING_SLACK_CHANNEL", + "retryable": "ORBIT_RETRYABLE_MONITORING_SLACK_CHANNEL" + } } } diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index 4af2017e34..bf33675ba9 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -15,12 +15,6 @@ env: NOVA_MONITOR_RPC_URL: ${{ secrets.NOVA_MONITOR_RPC_URL }} ARB_ONE_MONITOR_RPC_URL: ${{ secrets.ARB_ONE_MONITOR_RPC_URL }} NODE_ENV: "CI" - RETRYABLE_MONITORING_SLACK_TOKEN: ${{ secrets.RETRYABLE_MONITORING_SLACK_TOKEN }} - RETRYABLE_MONITORING_SLACK_CHANNEL: ${{ secrets.RETRYABLE_MONITORING_SLACK_CHANNEL }} - BATCH_POSTER_MONITORING_SLACK_TOKEN: ${{ secrets.BATCH_POSTER_MONITORING_SLACK_TOKEN }} - BATCH_POSTER_MONITORING_SLACK_CHANNEL: ${{ secrets.BATCH_POSTER_MONITORING_SLACK_CHANNEL }} - ASSERTION_MONITORING_SLACK_TOKEN: ${{ secrets.ASSERTION_MONITORING_SLACK_TOKEN }} - ASSERTION_MONITORING_SLACK_CHANNEL: ${{ secrets.ASSERTION_MONITORING_SLACK_CHANNEL }} jobs: run-monitoring: @@ -52,6 +46,8 @@ jobs: CONFIG=$(cat .github/workflows/monitor-config.json | jq -r '.${{ inputs.chain }}') echo "generate_command=$(echo $CONFIG | jq -r '.generateCommand')" >> $GITHUB_OUTPUT echo "config_file=$(echo $CONFIG | jq -r '.configFile')" >> $GITHUB_OUTPUT + echo "slack_token=$(echo $CONFIG | jq -r '.slackTokens.${{ inputs.monitor }}')" >> $GITHUB_OUTPUT + echo "slack_channel=$(echo $CONFIG | jq -r '.slackChannels.${{ inputs.monitor }}')" >> $GITHUB_OUTPUT - name: Generate chains JSON run: yarn workspace arb-token-bridge-ui ${{ steps.config.outputs.generate_command }} @@ -63,3 +59,10 @@ jobs: - name: Run monitoring command run: cd ./arbitrum-monitoring && yarn ${{ inputs.monitor }}-monitor --enableAlerting + env: + RETRYABLE_MONITORING_SLACK_TOKEN: ${{ secrets[steps.config.outputs.slack_token] }} + RETRYABLE_MONITORING_SLACK_CHANNEL: ${{ secrets[steps.config.outputs.slack_channel] }} + BATCH_POSTER_MONITORING_SLACK_TOKEN: ${{ secrets[steps.config.outputs.slack_token] }} + BATCH_POSTER_MONITORING_SLACK_CHANNEL: ${{ secrets[steps.config.outputs.slack_channel] }} + ASSERTION_MONITORING_SLACK_TOKEN: ${{ secrets[steps.config.outputs.slack_token] }} + ASSERTION_MONITORING_SLACK_CHANNEL: ${{ secrets[steps.config.outputs.slack_channel] }} From 8d7f79529726177bec2336eb70a183e6a924248d Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Fri, 16 Aug 2024 13:37:31 -0400 Subject: [PATCH 22/24] update cron --- .github/workflows/retryable-monitor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/retryable-monitor.yml b/.github/workflows/retryable-monitor.yml index 9e910185f1..1eb61275de 100644 --- a/.github/workflows/retryable-monitor.yml +++ b/.github/workflows/retryable-monitor.yml @@ -3,7 +3,7 @@ name: Retryable Monitor on: workflow_dispatch: schedule: - - cron: "0 0 * * *" # Run every 24 hours at midnight UTC + - cron: "3 8 * * *" # Run once a day at 08:03am GMT jobs: run-retryable-monitoring: From ff6d92712338af798b81f1dd4e0565f3d2a00b28 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Mon, 19 Aug 2024 09:01:21 -0400 Subject: [PATCH 23/24] restores push trigger --- .github/workflows/assertion-monitor.yml | 1 + .github/workflows/batch-poster-monitor.yml | 1 + .github/workflows/retryable-monitor.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/assertion-monitor.yml b/.github/workflows/assertion-monitor.yml index 3d40abd11a..5ab11fdf5d 100644 --- a/.github/workflows/assertion-monitor.yml +++ b/.github/workflows/assertion-monitor.yml @@ -1,6 +1,7 @@ name: Assertion Monitor on: + push: workflow_dispatch: schedule: - cron: "0 */6 * * *" # Run every 6 hours diff --git a/.github/workflows/batch-poster-monitor.yml b/.github/workflows/batch-poster-monitor.yml index a742fb56a1..383f6a8e15 100644 --- a/.github/workflows/batch-poster-monitor.yml +++ b/.github/workflows/batch-poster-monitor.yml @@ -1,6 +1,7 @@ name: Batch Poster Monitor on: + push: workflow_dispatch: schedule: - cron: "0 */6 * * *" # Run every 6 hours diff --git a/.github/workflows/retryable-monitor.yml b/.github/workflows/retryable-monitor.yml index 1eb61275de..ef17c157e8 100644 --- a/.github/workflows/retryable-monitor.yml +++ b/.github/workflows/retryable-monitor.yml @@ -1,6 +1,7 @@ name: Retryable Monitor on: + push: workflow_dispatch: schedule: - cron: "3 8 * * *" # Run once a day at 08:03am GMT From 9153db084cfd79804ceea80b6f001613a993c617 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Mon, 19 Aug 2024 11:47:33 -0400 Subject: [PATCH 24/24] update names --- .github/workflows/assertion-monitor.yml | 1 + .github/workflows/batch-poster-monitor.yml | 1 + .github/workflows/retryable-monitor.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/assertion-monitor.yml b/.github/workflows/assertion-monitor.yml index 5ab11fdf5d..a29ceae4ae 100644 --- a/.github/workflows/assertion-monitor.yml +++ b/.github/workflows/assertion-monitor.yml @@ -8,6 +8,7 @@ on: jobs: run-monitoring: + name: Assertion Monitor (${{ matrix.chain }}) strategy: matrix: chain: [core, orbit] diff --git a/.github/workflows/batch-poster-monitor.yml b/.github/workflows/batch-poster-monitor.yml index 383f6a8e15..8d9af811f0 100644 --- a/.github/workflows/batch-poster-monitor.yml +++ b/.github/workflows/batch-poster-monitor.yml @@ -8,6 +8,7 @@ on: jobs: run-monitoring: + name: Batch Poster Monitor (${{ matrix.chain }}) strategy: matrix: chain: [core, orbit] diff --git a/.github/workflows/retryable-monitor.yml b/.github/workflows/retryable-monitor.yml index ef17c157e8..4b251bbbee 100644 --- a/.github/workflows/retryable-monitor.yml +++ b/.github/workflows/retryable-monitor.yml @@ -8,6 +8,7 @@ on: jobs: run-retryable-monitoring: + name: Retryables Monitor (${{ matrix.chain }}) strategy: matrix: chain: [core, orbit]