Files
SnapOtter/tests/qa
SnapOtterandGitHub 447190afda fix(qa): give the canonical lane meaningful inputs for six tools (#703)
On a bundles-installed container the canonical lane reported six false
failures, all harness gaps rather than product bugs:

- remove-gif-background got a still GIF and correctly refused it; pin the
  animated fixture it actually needs.
- erase-object got no mask part, so the route's 400 was correct; wire the
  mask through SECONDARY_INPUTS the way the other multi-input tools are.
- passport-photo's base route refuses by design (use /analyze or /generate);
  record that in EXPECTED_SELF_REJECT.
- ocr, transcribe-audio and auto-subtitles ran on fixtures carrying none of
  the text or speech they extract, so they emitted empty but valid artifacts
  the oracle read as zero-byte failures. Pin fixtures that carry real content.

Verified red to green against a live v2.2.0 container with every bundle
installed: the six went from 6 fail to 5 pass plus 1 expected-reject, the
multi lane stayed clean (0 fail across 20 tools), and a direct probe showed
the download path was never at fault (ocr on a text-free image returns a
correct 0-byte result; on ocr-clean.png it returns the real text).

Fixes #690
2026-07-31 15:06:24 +08:00
..