Unit tests pass, but the staging endpoint rejects the real request schema the clerk UI sends. The pipeline ships to production anyway. What test is missing?
Select an answer to reveal the explanation.
Short Explanation
Unit tests pass, but the staging endpoint rejects the real clerk-UI schema. Add integration tests that call a staging endpoint with realistic payloads before production. More unit tests do not catch that schema, and shipping on unit tests alone is the bug.
Full Explanation
Integration tests call a staging endpoint with realistic payloads before production deploy. Unit tests do not catch a schema the clerk UI actually sends. Rekognition is not that test, and shipping on unit tests alone is the bug.