Only zip was unpacked. A .tar.gz upload was kept as one opaque file and
the scan still finished as "completed" with nothing analysed.
- The archive format is read from the blob's first bytes (zip, tar, gzip
holding a tar); the stored blob has no file name to go by.
- tar and tar.gz are held to the same ExtractLimits as zip (entry count,
bytes actually written). Entries that would leave the destination are
skipped, and links, devices and FIFOs are never created.
- An uploaded source archive that cannot be unpacked fails the scan run
with the reason, and ingest failures are recorded as a skipped stage,
instead of completing over a tree that was never there. PLC projects and
mobile packages keep their single-file fallback.
- Zip extraction moved from ingest/blob.rs into ingest/archive.rs.
- Nightly target archive-order-intake-tgz uploads the archive fixture as
a .tar.gz; its baseline is identical to the zip's.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p