From bd909edde63592b0adc9910fcdf4f5a462a6f06f Mon Sep 17 00:00:00 2001 From: James Sturtevant Date: Tue, 6 Jan 2026 11:37:15 -0800 Subject: [PATCH] Fix fuzzing workflow to build guest artifacts before fuzzing When the CI jobs were refactored to use reusable workflows, the dep_fuzzing.yml was changed to download guest artifacts instead of building them directly. However, the standalone Fuzzing.yml scheduled workflow was not updated to call dep_build_guests.yml first, causing all weekly fuzzing runs to fail with 'Artifact not found for name: rust-guests-release'. This adds the missing build-guests job as a dependency of the fuzzing job, matching the pattern used in ValidatePullRequest.yml. Signed-off-by: James Sturtevant --- .github/workflows/Fuzzing.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Fuzzing.yml b/.github/workflows/Fuzzing.yml index d4599bc79..88eb7ff75 100644 --- a/.github/workflows/Fuzzing.yml +++ b/.github/workflows/Fuzzing.yml @@ -9,7 +9,15 @@ permissions: contents: read jobs: + # Build guests first - fuzzing needs the release guest artifacts + build-guests: + uses: ./.github/workflows/dep_build_guests.yml + secrets: inherit + with: + config: release + fuzzing: + needs: build-guests uses: ./.github/workflows/dep_fuzzing.yml with: targets: '["fuzz_host_print", "fuzz_guest_call", "fuzz_host_call", "fuzz_guest_estimate_trace_event", "fuzz_guest_trace"]' # Pass as a JSON array @@ -18,8 +26,8 @@ jobs: notify-failure: runs-on: ubuntu-latest - needs: fuzzing - if: always() && needs.fuzzing.result == 'failure' + needs: [build-guests, fuzzing] + if: always() && (needs.build-guests.result == 'failure' || needs.fuzzing.result == 'failure') permissions: issues: write steps: