From 2ea548a86dc23536c0c6c954e46cf53eafd02ce1 Mon Sep 17 00:00:00 2001 From: Tejas Chopra Date: Thu, 4 Jun 2026 12:16:04 -0700 Subject: [PATCH] ci: run relevance tests offline so fastembed doesn't 429 on cache HEAD --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1cde45243..a2767c556 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -233,6 +233,11 @@ jobs: done echo "::error::could not fetch fastembed model from HuggingFace"; exit 1 - name: Run relevance tests + # Offline so fastembed reads the cache the prefetch step just warmed, + # without an unauthenticated cache-validation HEAD that could 429. + env: + HF_HUB_OFFLINE: "1" + TRANSFORMERS_OFFLINE: "1" run: pytest tests/test_relevance.py -v test-agno: