Skip to content

ci: fetch AuraFace for the nightly golden tests - #464

Merged
bmachek merged 2 commits into
mainfrom
claude/great-heisenberg-nnk7c5
Oct 31, 2026
Merged

bmachek merged 2 commits into
mainfrom
claude/great-heisenberg-nnk7c5

Conversation

@bmachek

@bmachek bmachek commented Oct 31, 2026

Copy link
Copy Markdown
Member

Why

The nightly Golden tests (all model assets) run failed (job):

auraface_matches_insightface_reference ... FAILED
LRG_REQUIRE_GOLDENS demands the `auraface` golden assets, but they are missing:
needs …/yunet_face_detection.onnx and …/auraface_glintr100.onnx

#460 added the auraface golden family and committed its reference embedding to face_goldens.json, so LRG_REQUIRE_GOLDENS=all now requires the AuraFace model. golden-tests-full.yml never downloaded it. (YuNet is present; the message lists both files because the test checks for both.)

What

  • golden-tests-full.yml: download glintr100.onnx from Hugging Face as auraface_glintr100.onnx. AuraFace isn't a release asset, and the server fetches it the same way (routes/face_recognizer.rs). The step takes repo, revision, file and sha256 from auraface_source in face_goldens.json, which records the exact file the reference came from. It checks the hash with sha256sum -c, so a moved or changed upstream file fails the job instead of producing a confusing numeric mismatch.
  • Docs: added auraface to the LRG_REQUIRE_GOLDENS family names in CLAUDE.md, AGENTS.md, CONTRIBUTING.md, server-rs/README.md and docs/wiki/Dev-Server-README.md.

PR CI (server-rs-tests.yml, LRG_REQUIRE_GOLDENS=face) is unchanged. auraface is a separate family, so PRs still skip it.

Testing

  • Workflow YAML parses. The jq extraction gives fal/AuraFace-v1 af6d057c… glintr100.onnx a7933ea5….
  • scripts/check-docs.py passes.
  • Not tested: the download itself. huggingface.co is blocked from the environment this was written in. Running the workflow by hand (workflow_dispatch) on this branch will check it end to end.

Generated by Claude Code

#460 added the `auraface` golden family together with a committed reference
embedding, so `LRG_REQUIRE_GOLDENS=all` now demands auraface_glintr100.onnx —
but golden-tests-full.yml never downloaded it, and the nightly went red
(auraface_matches_insightface_reference: assets missing).

AuraFace is not a release asset; the server pulls it from Hugging Face at a
pinned commit. The workflow now does the same, reading repo, revision, file
and sha256 from `auraface_source` in face_goldens.json (the source the
reference was made from) and failing on a hash mismatch.

Docs list `auraface` among the LRG_REQUIRE_GOLDENS family names
(CLAUDE.md, AGENTS.md, CONTRIBUTING.md, server-rs/README.md,
Dev-Server-README.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HaMMvs5Zqtm9RhCkDHer9F
@bmachek
bmachek merged commit 7872f09 into main Oct 31, 2026
4 checks passed
@bmachek
bmachek deleted the claude/great-heisenberg-nnk7c5 branch October 31, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants