c3c49ab5

By: Michael Lynch <git@mtlynch.io>

Rewrite image publish tests as table-driven, add shared param/error fields

Convert TestServicePublishesImage and add TestServicePublishesAnimatedImage
to table-driven tests covering the same scenarios as TestServicePublishVideo
(success, unrecognized error, translated domain error, store insert error).
Add fileID and itemToPublish fields to each table so the values passed to
the service are visible in the table rather than duplicated in the run
function, and share errSomeUnanticipatedError/errStoreUnavailable across all
three tests at package level.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 12s 12s 15s 2s
Eval 12s 2m00s 2m00s 2m12s 0s
Build 1m41s 17m01s 3m26s 5m08s 1s
Suite 2s 19m14s 5m05s 5m08s 4s

Timeline

0s1m2m3m4m5m