From c2bb6f2f74f3d9256e768c36956a3947ef07978e Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 10 Feb 2026 05:51:39 +0000 Subject: [PATCH] fix(ci): handle old/new workspace paths in op-reth-compact-codec job The workspace unification in #19034 moved op-reth from op-reth/ to rust/op-reth/. The compact-codec CI job checks out origin/develop as the base to generate test vectors, but hardcoded the new path which doesn't exist on older commits. This adds path detection to handle both layouts. Co-Authored-By: Kelvin Fichter --- .circleci/continue/rust-ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.circleci/continue/rust-ci.yml b/.circleci/continue/rust-ci.yml index be1897f2949f7..55552e6c1dc65 100644 --- a/.circleci/continue/rust-ci.yml +++ b/.circleci/continue/rust-ci.yml @@ -744,8 +744,16 @@ jobs: git fetch origin $BASE_BRANCH git checkout origin/$BASE_BRANCH - # Generate vectors on base - cargo run --bin op-reth --features "dev" --manifest-path rust/op-reth/bin/Cargo.toml -- test-vectors compact --write + # Generate vectors on base - handle both old and new workspace paths + if [ -f "rust/op-reth/bin/Cargo.toml" ]; then + MANIFEST_PATH="rust/op-reth/bin/Cargo.toml" + elif [ -f "op-reth/bin/Cargo.toml" ]; then + MANIFEST_PATH="op-reth/bin/Cargo.toml" + else + echo "Error: Could not find op-reth bin Cargo.toml" + exit 1 + fi + cargo run --bin op-reth --features "dev" --manifest-path "$MANIFEST_PATH" -- test-vectors compact --write # Return to PR branch git checkout -