b9adc000

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.
Codeberg

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval - - - -
Build 2s 1m04s - -
Test - - - -
Deploy - - - -
Suite 0s 1m05s - -