From 81bc41f06cb0db45a0dbf8936c9bef8f1c1838be Mon Sep 17 00:00:00 2001 From: Hubert Bugaj Date: Mon, 25 Aug 2025 11:38:55 +0200 Subject: [PATCH] fix: snapshot compare lotus killed --- .github/workflows/snapshot-parity.yml | 2 +- scripts/tests/snapshot_parity/docker-compose.yml | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/snapshot-parity.yml b/.github/workflows/snapshot-parity.yml index 4338185d4ea0..07f720199fce 100644 --- a/.github/workflows/snapshot-parity.yml +++ b/.github/workflows/snapshot-parity.yml @@ -6,7 +6,7 @@ on: jobs: snapshot-parity: name: Snapshot parity test - runs-on: buildjet-4vcpu-ubuntu-2204 + runs-on: buildjet-8vcpu-ubuntu-2204 steps: - name: Checkout Sources uses: actions/checkout@v4 diff --git a/scripts/tests/snapshot_parity/docker-compose.yml b/scripts/tests/snapshot_parity/docker-compose.yml index 10872bdf0af9..2668a3712692 100644 --- a/scripts/tests/snapshot_parity/docker-compose.yml +++ b/scripts/tests/snapshot_parity/docker-compose.yml @@ -1,6 +1,7 @@ -# Docker compose file to run Forest and Lotus API tests. -version: "3.8" - +# This docker-compose file sets up a testing environment to compare snapshot exports +# between Forest and Lotus Filecoin implementations. +# +# This ensures that both implementations produce identical snapshots from the same starting point. services: init: image: ${FOREST_IMAGE:-ghcr.io/chainsafe/forest:edge} @@ -54,8 +55,8 @@ services: init: condition: service_completed_successfully # To force the daemons run sequentially on CI to get rid of OOM - # forest: - # condition: service_completed_successfully + forest: + condition: service_completed_successfully image: ${LOTUS_IMAGE} volumes: - node-data:/data @@ -66,9 +67,6 @@ services: environment: - FIL_PROOFS_PARAMETER_CACHE=${FIL_PROOFS_PARAMETER_CACHE} - LOTUS_API_LISTENADDRESS=/ip4/0.0.0.0/tcp/${LOTUS_RPC_PORT}/http - - LOTUS_EVENTS_ENABLEACTOREVENTSAPI=1 - - LOTUS_FEVM_ENABLEETHRPC=1 - - LOTUS_CHAININDEXER_ENABLEINDEXER=1 - LOTUS_CHAINSTORE_ENABLESPLITSTORE=false - LOTUS_SYNC_BOOTSTRAP_PEERS=1 - FULLNODE_API_INFO=/dns/lotus/tcp/${LOTUS_RPC_PORT}/http