diff --git a/.github/workflows/agent-release-artifacts.yml b/.github/workflows/agent-release-artifacts.yml index 79c421f22a..2b88a4cfb7 100644 --- a/.github/workflows/agent-release-artifacts.yml +++ b/.github/workflows/agent-release-artifacts.yml @@ -16,7 +16,7 @@ env: jobs: prepare: - runs-on: larger-runner + runs-on: ubuntu-latest outputs: tag_date: ${{ steps.taggen.outputs.TAG_DATE }} tag_sha: ${{ steps.taggen.outputs.TAG_SHA }} diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bfda6c1aca..dd74ec077b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -24,8 +24,7 @@ defaults: jobs: test-rs: - runs-on: larger-runner - + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 @@ -46,12 +45,17 @@ jobs: sudo rm -rf /opt/ghc sudo rm -rf "/usr/local/share/boost" sudo rm -rf "$AGENT_TOOLSDIRECTORY" + sudo df -h + sudo du -sh . - name: Run tests - run: cargo test + run: cargo test --release + - name: After + run: | + sudo df -h + sudo du -sh . lint-rs: - runs-on: larger-runner - + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 @@ -74,13 +78,31 @@ jobs: sudo rm -rf /opt/ghc sudo rm -rf "/usr/local/share/boost" sudo rm -rf "$AGENT_TOOLSDIRECTORY" + sudo df -h + sudo du -sh . - name: Check - run: cargo check --all-features --all-targets + run: cargo check --release --all-features --all-targets + - name: After + run: | + sudo df -h + sudo du -sh . - name: Rustfmt run: cargo fmt --all -- --check - name: Clippy run: cargo clippy -- -D warnings + - name: After + run: | + sudo df -h + sudo du -sh . - name: Setup WASM run: rustup target add wasm32-unknown-unknown + - name: After + run: | + sudo df -h + sudo du -sh . - name: Check WASM - run: cargo check -p hyperlane-core --features=strum,test-utils --target wasm32-unknown-unknown + run: cargo check --release -p hyperlane-core --features=strum,test-utils --target wasm32-unknown-unknown + - name: After + run: | + sudo df -h + sudo du -sh . diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7b7d9d5c99..1a92076b62 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -129,7 +129,7 @@ jobs: run: yarn test e2e: - runs-on: larger-runner + runs-on: ubuntu-latest needs: [yarn-build] steps: - uses: actions/setup-node@v3 @@ -156,6 +156,8 @@ jobs: sudo rm -rf /opt/ghc sudo rm -rf "/usr/local/share/boost" sudo rm -rf "$AGENT_TOOLSDIRECTORY" + sudo df -h + sudo du -sh . - name: Install mold linker uses: rui314/setup-mold@v1 @@ -170,6 +172,10 @@ jobs: **/node_modules .yarn key: ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }} + - name: After + run: | + sudo df -h + sudo du -sh . - name: build-cache uses: actions/cache@v3 @@ -178,6 +184,10 @@ jobs: ./* !./rust key: ${{ github.sha }} + - name: After + run: | + sudo df -h + sudo du -sh . - name: cargo-cache uses: actions/cache@v3 @@ -190,10 +200,20 @@ jobs: run: cargo build --release --bin run-locally working-directory: ./rust + - name: After + run: | + sudo df -h + sudo du -sh . + - name: agent tests with CosmWasm - run: RUST_BACKTRACE=1 cargo test --package run-locally --bin run-locally -- cosmos::test --nocapture + run: RUST_BACKTRACE=1 cargo test --release --package run-locally --bin run-locally -- cosmos::test --nocapture working-directory: ./rust + - name: After + run: | + sudo df -h + sudo du -sh . + - name: agent tests excluding CosmWasm run: ./target/release/run-locally working-directory: ./rust @@ -202,6 +222,11 @@ jobs: E2E_CI_TIMEOUT_SEC: '600' E2E_KATHY_MESSAGES: '20' + - name: After + run: | + sudo df -h + sudo du -sh . + - name: cli e2e tests run: ./typescript/cli/ci-test.sh diff --git a/rust/agents/relayer/src/msg/metadata/base.rs b/rust/agents/relayer/src/msg/metadata/base.rs index 054cd8574e..e42b76ed9e 100644 --- a/rust/agents/relayer/src/msg/metadata/base.rs +++ b/rust/agents/relayer/src/msg/metadata/base.rs @@ -181,6 +181,8 @@ impl BaseMetadataBuilder { continue; }; + tracing::warn!("foo"); + // If this is a LocalStorage based checkpoint syncer and it's not // allowed, ignore it if !self.allow_local_checkpoint_syncers