From 6fc067cda80f2a4171a46d665b0db5ced8e05ef6 Mon Sep 17 00:00:00 2001 From: 3alpha <15694175+3alpha@users.noreply.github.com> Date: Wed, 24 Jun 2026 17:49:49 +0200 Subject: [PATCH 1/2] ci: add tropibot repository_dispatch + metadata to sync-test, align attestation-test with org spec - sync-test.yml: add repository_dispatch trigger for tropibot-sync-test and forward pr_number, head_ref, sender metadata to the reusable workflow. - attestation-test.yml: hard-code consensus_client to lodestar and remove the now-redundant package_variant override (the reusable workflow defaults to hoodi); align metadata mapping with sync-test.yml. --- .github/workflows/attestation-test.yml | 9 ++++----- .github/workflows/sync-test.yml | 7 ++++++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/attestation-test.yml b/.github/workflows/attestation-test.yml index f8321f0..3d700c1 100644 --- a/.github/workflows/attestation-test.yml +++ b/.github/workflows/attestation-test.yml @@ -15,10 +15,9 @@ jobs: attestation-test: uses: dappnode/workflows/.github/workflows/staking-attestation-test.yml@master with: - package_variant: "hoodi" - consensus_client: ${{ github.event.client_payload.consensus_client || 'lodestar' }} + consensus_client: "lodestar" execution_client: ${{ github.event.client_payload.execution_client || inputs.execution_client || '' }} - pr_number: ${{ github.event.client_payload.pr_number || '' }} - head_ref: ${{ github.event.client_payload.head_ref || github.ref }} - sender: ${{ github.event.client_payload.sender || github.actor }} + pr_number: ${{ github.event.client_payload.pr_number || github.event.pull_request.number || '' }} + head_ref: ${{ github.event.client_payload.head_ref || github.event.pull_request.head.ref || github.ref_name }} + sender: ${{ github.event.client_payload.sender || github.event.pull_request.user.login || github.actor }} secrets: inherit diff --git a/.github/workflows/sync-test.yml b/.github/workflows/sync-test.yml index ed59fec..e7cf240 100644 --- a/.github/workflows/sync-test.yml +++ b/.github/workflows/sync-test.yml @@ -1,6 +1,8 @@ name: Execution Client Sync Test on: + repository_dispatch: + types: [tropibot-sync-test] workflow_dispatch: inputs: execution_client: @@ -19,5 +21,8 @@ jobs: uses: dappnode/workflows/.github/workflows/staking-sync-test.yml@master with: consensus_client: "lodestar" - execution_client: ${{ inputs.execution_client || '' }} + execution_client: ${{ github.event.client_payload.execution_client || inputs.execution_client || '' }} + pr_number: ${{ github.event.client_payload.pr_number || github.event.pull_request.number || '' }} + head_ref: ${{ github.event.client_payload.head_ref || github.event.pull_request.head.ref || github.ref_name }} + sender: ${{ github.event.client_payload.sender || github.event.pull_request.user.login || github.actor }} secrets: inherit From 16a049c70b6910c014e98852a63a7cdcbc6b1ec8 Mon Sep 17 00:00:00 2001 From: 3alpha <15694175+3alpha@users.noreply.github.com> Date: Wed, 24 Jun 2026 18:40:18 +0200 Subject: [PATCH 2/2] ci: forward ipfs_hash to staker test reusable workflows Adds an optional workflow_dispatch input 'ipfs_hash' to sync-test and attestation-test, and forwards it (along with the existing client_payload fallback) to the reusable workflows. When provided, the reusable workflow prefers the supplied hash over the freshly built one. --- .github/workflows/attestation-test.yml | 6 ++++++ .github/workflows/sync-test.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/attestation-test.yml b/.github/workflows/attestation-test.yml index 3d700c1..e826921 100644 --- a/.github/workflows/attestation-test.yml +++ b/.github/workflows/attestation-test.yml @@ -10,6 +10,11 @@ on: required: true type: choice options: [geth, nethermind, besu, erigon, reth] + ipfs_hash: + description: "Optional pre-built IPFS hash to test against" + required: false + type: string + default: "" jobs: attestation-test: @@ -20,4 +25,5 @@ jobs: pr_number: ${{ github.event.client_payload.pr_number || github.event.pull_request.number || '' }} head_ref: ${{ github.event.client_payload.head_ref || github.event.pull_request.head.ref || github.ref_name }} sender: ${{ github.event.client_payload.sender || github.event.pull_request.user.login || github.actor }} + ipfs_hash: ${{ github.event.client_payload.ipfs_hash || inputs.ipfs_hash || '' }} secrets: inherit diff --git a/.github/workflows/sync-test.yml b/.github/workflows/sync-test.yml index e7cf240..962e4ce 100644 --- a/.github/workflows/sync-test.yml +++ b/.github/workflows/sync-test.yml @@ -10,6 +10,11 @@ on: required: true type: choice options: [geth, nethermind, besu, erigon, reth] + ipfs_hash: + description: "Optional pre-built IPFS hash to test against" + required: false + type: string + default: "" pull_request: branches: - "main" @@ -25,4 +30,5 @@ jobs: pr_number: ${{ github.event.client_payload.pr_number || github.event.pull_request.number || '' }} head_ref: ${{ github.event.client_payload.head_ref || github.event.pull_request.head.ref || github.ref_name }} sender: ${{ github.event.client_payload.sender || github.event.pull_request.user.login || github.actor }} + ipfs_hash: ${{ github.event.client_payload.ipfs_hash || inputs.ipfs_hash || '' }} secrets: inherit