From 82f1548856834e7ec911db5e873c7f2601eabb76 Mon Sep 17 00:00:00 2001 From: openhands Date: Fri, 20 Mar 2026 12:47:58 +0000 Subject: [PATCH] fix: parallelize ci.yml steps with depends_on (#1052) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add depends_on declarations so independent CI steps run in parallel. Steps needing submodules (foundry-suite, contracts-local-fork, evolution-tests, node-quality) wait for bootstrap-deps; lightweight checks (single-package-manager, validate-evolution-patch, optimizer-not-mutated, transpiler-tests) start immediately. Critical path: bootstrap-deps (50s) + max(node-quality 400s) ≈ 450s (was ~630s sequential). Co-Authored-By: Claude Opus 4.6 (1M context) --- .woodpecker/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml index 8965707..037b8c6 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/ci.yml @@ -24,6 +24,7 @@ clone: steps: - name: bootstrap-deps + depends_on: [] image: registry.niovi.voyage/harb/node-ci:latest commands: - | @@ -34,6 +35,7 @@ steps: ' - name: foundry-suite + depends_on: [bootstrap-deps] image: registry.niovi.voyage/harb/node-ci:latest commands: - | @@ -48,6 +50,7 @@ steps: ' - name: contracts-local-fork + depends_on: [bootstrap-deps] image: registry.niovi.voyage/harb/node-ci:latest environment: HARB_ENV: BASE_SEPOLIA_LOCAL_FORK @@ -64,6 +67,7 @@ steps: # which is not configured. Re-add when RPC secret is provisioned. - name: transpiler-tests + depends_on: [] image: registry.niovi.voyage/harb/node-ci:latest when: - event: pull_request @@ -82,6 +86,7 @@ steps: ' - name: evolution-tests + depends_on: [bootstrap-deps] image: registry.niovi.voyage/harb/node-ci:latest when: - event: pull_request @@ -102,6 +107,7 @@ steps: ' - name: single-package-manager + depends_on: [] image: registry.niovi.voyage/harb/node-ci:latest commands: - | @@ -114,6 +120,7 @@ steps: ' - name: validate-evolution-patch + depends_on: [] image: registry.niovi.voyage/harb/node-ci:latest when: - event: pull_request @@ -133,6 +140,7 @@ steps: ' - name: optimizer-not-mutated + depends_on: [] image: registry.niovi.voyage/harb/node-ci:latest commands: - | @@ -146,6 +154,7 @@ steps: ' - name: node-quality + depends_on: [bootstrap-deps] image: registry.niovi.voyage/harb/node-ci:latest environment: CI: "true"