aa7a7ccf

By: Michael Lynch <git@mtlynch.io>

Require complete Tinybeans export metadata

Reject Tinybeans exports that omit top-level metadata files or contain
subdirectories without entry metadata.

This change makes `tinybeans.Parse` fail when `journal.json` or
`followers.json` is missing, and when a discovered subdirectory is
missing `metadata.json`. The previous behavior silently accepted partial
exports by treating those files as optional or by skipping directories.
That made it easy to import an incomplete archive without noticing.

The updated tests lock in the stricter contract and now expect errors
containing `reading journal`, `reading followers`, or `metadata.json`
for those incomplete-export cases.

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 33s 33s 34s
Build 3s 2m30s 57s 1m01s
Test - - - -
Deploy - - - -
Suite 0s 3m04s 1m00s 1m01s

Timeline

0s10s20s30s40s50s1m