From dd93779c263092462ff7e0129d46e9e9c19e77ea Mon Sep 17 00:00:00 2001 From: bdchatham Date: Tue, 14 Jul 2026 13:41:20 -0700 Subject: [PATCH] ci(ecr): build the combined mock_chain_validation-mock_balances flavor per ref The chaos suite's flavor was producible only by the nightly pipeline from main HEAD; a workflow_dispatch for an arbitrary ref could cover every other harness suite but not chaos. Mirrors the nightly step with ecr.yml's shared cache and tag scheme. Co-Authored-By: Claude Fable 5 --- .github/workflows/ecr.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ecr.yml b/.github/workflows/ecr.yml index eb41832100..d2f43fff7d 100644 --- a/.github/workflows/ecr.yml +++ b/.github/workflows/ecr.yml @@ -76,6 +76,22 @@ jobs: build-args: | SEI_CHAIN_REF=${{ inputs.ref || github.sha }} GO_BUILD_TAGS=mock_chain_validation + # mock_balances + mock_chain_validation combined -- the chaos suite's flavor + # (fresh-chain replays with synthetic txs against pre-funded accounts). The + # nightly pipeline builds it from main; this step makes it buildable for an + # arbitrary ref, so a PR head can run the full harness. + - name: Build and push mock_chain_validation-mock_balances seid + uses: docker/build-push-action@v6 + with: + context: '.' + cache-from: type=registry,ref=${{ steps.login-ecr.outputs.registry }}/sei/build-cache:shared + cache-to: type=registry,ref=${{ steps.login-ecr.outputs.registry }}/sei/build-cache:shared,mode=max + platforms: linux/amd64 + push: true + tags: ${{ steps.login-ecr.outputs.registry }}/sei/sei-chain:mock_chain_validation-mock_balances-${{ inputs.tag || inputs.ref || github.sha }} + build-args: | + SEI_CHAIN_REF=${{ inputs.ref || github.sha }} + GO_BUILD_TAGS=mock_balances mock_chain_validation - name: Build and push seid uses: docker/build-push-action@v6 with: