9794c62f

By: Michael Lynch <git@mtlynch.io>

Let SQLite assign media IDs on import

Drop the startID parameter from tinybeans.Convert and the explicit id from
InsertMediaItem so SQLite assigns each media item's primary key. Convert still
orders entries newest-first, so insertion order yields IDs in display order.
InsertMediaItem now returns the assigned ID, which writeMetadataToDB uses to
link each entry's comments and reactions.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 0s 7s 7s 7s 0s
Eval 6s 41s 41s 47s 0s
Build 10s 6m12s 1m44s 1m54s 0s
Suite 0s 7m01s 1m54s 1m54s 0s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s1m50s