soup/.github
Alpamys b46f22433c ci: warm HF Hub cache before tests to fix tiny-model 429 flake
The test job loads sshleifer/tiny-gpt2 and hf-internal-testing/tiny-random-gpt2
from HF Hub. Under transient HF rate-limiting (429) a single matrix cell would
fail the model download (test_v07111.py::TestMiniLLM::test_anchor_term_with_file)
and drop coverage under the 77% gate — observed reding 3 commits today (~2/7
cells per run).

Add a best-effort pre-test step that snapshot_downloads both tiny models with
6 retries + backoff so the tests read from the warmed cache (verified locally:
the test passes with HF_HUB_OFFLINE=1 once the cache is warm). The step never
fails the job — it emits a :⚠️: if warming can't complete.

CI-only; no version bump.
2026-06-04 19:53:33 +05:00
..
ISSUE_TEMPLATE Add GitHub templates, downloads badge, and repo topics 2026-03-23 20:00:32 +05:00
workflows ci: warm HF Hub cache before tests to fix tiny-model 429 flake 2026-06-04 19:53:33 +05:00
FUNDING.yml fix: v0.22.1 — Python 3.9 compat (str | None → Optional[str]), version bump 2026-04-03 13:09:16 +05:00
pull_request_template.md docs: fix src-layout path refs and repoint public docs off gitignored CLAUDE.md 2026-06-01 11:49:11 +05:00