7d3dc0f2

By: Michael Lynch <git@mtlynch.io>

Classify upload policy errors at the handler boundary

Map image resolution and video duration limits to stable 413 responses while
keeping malformed upload details out of client responses. Remove exported
sentinel errors that production code does not classify, and document the
route-local taxonomy for future changes.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 14s 3s 3s 17s 14s
Eval 53s 1m16s 1m16s 2m09s 35s
Build 2m09s 5m46s 4m14s 6m23s 2m36s
Suite 14s 7m06s 6m08s 6m23s 3m26s

Timeline

0s1m1m20s1m40s2m5m5m20s5m40s6m6m20s